The following code appears to work:
def __init__(self, parent):
res = wx.GetApp().XRC
pre = wx.wizard.PreWizard()
res.LoadOnObject(pre, parent, 'gen_rad_test', pre.GetClassName
())
self.PostCreate(pre)
Do I have this right? Or is there a better way?
Randolph
Robin
2
If it's not broken, don't fix it.
···
On 11/4/09 11:33 AM, R Fritz wrote:
The following code appears to work:
def __init__(self, parent):
res = wx.GetApp().XRC
pre = wx.wizard.PreWizard()
res.LoadOnObject(pre, parent, 'gen_rad_test', pre.GetClassName
())
self.PostCreate(pre)
Do I have this right? Or is there a better way?
--
Robin Dunn
Software Craftsman
R_Fritz
3
LOL!
So long as there are no hidden cracks.
Randolph
···
On Nov 4, 1:02 pm, Robin Dunn <ro...@alldunn.com> wrote:
On 11/4/09 11:33 AM, R Fritz wrote:
> The following code appears to work:
> def __init__(self, parent):
> res = wx.GetApp().XRC
> pre = wx.wizard.PreWizard()
> res.LoadOnObject(pre, parent, 'gen_rad_test', pre.GetClassName
> ())
> self.PostCreate(pre)
> Do I have this right? Or is there a better way?
If it's not broken, don't fix it.