How to use xrc resource file in wx.wizard.WizardPage?

I am new to wxPython, so bear with me for this newbie question.

From the c++ doc of wxWidgets, i noticed wxWizardPage::wxWizardPage

constructor took a const wxChar *resource parameter as the resource
file for wizard page.But i could not figure out how to do it in
wxPython.

So, anyone can give a small demo? Thanks in advance.

spring lee wrote:

I am new to wxPython, so bear with me for this newbie question.

From the c++ doc of wxWidgets, i noticed wxWizardPage::wxWizardPage

constructor took a const wxChar *resource parameter as the resource
file for wizard page.But i could not figure out how to do it in
wxPython.

So, anyone can give a small demo? Thanks in advance.

I think that parameter is a left-over from the old resource system, which isn't even compiled in anymore. I'm not sure why the parameter is still there.

Instead you should be able to load a wizard page from XRC just like any other panel.

···

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

Thanks. I'll try it.

···

On 26/01/07, Robin Dunn <robin@alldunn.com> wrote:

I think that parameter is a left-over from the old resource system,
which isn't even compiled in anymore. I'm not sure why the parameter is
still there.

Instead you should be able to load a wizard page from XRC just like any
other panel.