XRC Question

I would like to create a class, descended from wxDialog (or wxFrame)
that loads itself from an XRC resource. I found this page on two-stage
creation in the wiki
(http://wiki.wxpython.org/index.cgi/TwoStageCreation), which implies
that this is possible to do. However, I've just started using XRC and
so I'm not sure what the mechanics are. Can anyone provide some
direction?

Thanks,
Nathan

···

--
Nathan R. Yergler
http://yergler.net/~nathan

Nathan R. Yergler wrote:

I would like to create a class, descended from wxDialog (or wxFrame)
that loads itself from an XRC resource. I found this page on two-stage
creation in the wiki
(http://wiki.wxpython.org/index.cgi/TwoStageCreation), which implies
that this is possible to do. However, I've just started using XRC and
so I'm not sure what the mechanics are. Can anyone provide some
direction?

Good question. I've just updated that wiki page with what I think will work, but it is untested so let me know how it goes.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Yes, that approach worked. Thanks.

NRY

···

On Mon, 2003-05-05 at 18:23, Robin Dunn wrote:

Nathan R. Yergler wrote:
> I would like to create a class, descended from wxDialog (or wxFrame)
> that loads itself from an XRC resource. I found this page on two-stage
> creation in the wiki
> (http://wiki.wxpython.org/index.cgi/TwoStageCreation), which implies
> that this is possible to do. However, I've just started using XRC and
> so I'm not sure what the mechanics are. Can anyone provide some
> direction?
>

Good question. I've just updated that wiki page with what I think will
work, but it is untested so let me know how it goes.

--
Nathan R. Yergler
http://yergler.net/~nathan