for consistency (probably not important)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44750
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
testWin.SetClientSize(testWin.GetBestSize())
testWin.Show(True)
elif xxx.__class__ == xxxDialog:
testWin.SetClientSize(testWin.GetBestSize())
testWin.Show(True)
elif xxx.__class__ == xxxDialog:
- testWin = g.testWin = res.LoadDialog(None, STD_NAME)
+ testWin = g.testWin = res.LoadDialog(g.frame, STD_NAME)
testWin.panel = testWin
testWin.Layout()
testWin.SetPosition(pos)
testWin.panel = testWin
testWin.Layout()
testWin.SetPosition(pos)
wx.EVT_BUTTON(testWin, wx.ID_CANCEL, self.OnCloseTestWin)
elif xxx.__class__ == xxxWizard:
wiz = wx.wizard.PreWizard()
wx.EVT_BUTTON(testWin, wx.ID_CANCEL, self.OnCloseTestWin)
elif xxx.__class__ == xxxWizard:
wiz = wx.wizard.PreWizard()
- res.LoadOnObject(wiz, None, STD_NAME, 'wxWizard')
+ res.LoadOnObject(wiz, g.frame, STD_NAME, 'wxWizard')
# Find first page (don't know better way)
firstPage = None
for w in wiz.GetChildren():
# Find first page (don't know better way)
firstPage = None
for w in wiz.GetChildren():