Reorganized the tree in the wxPython demo, hooked the MDI demos into

the main demo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-04-18 05:43:08 +00:00
parent d394edcac8
commit 9c67cbec02
4 changed files with 300 additions and 71 deletions

View File

@@ -125,16 +125,17 @@ class MyParentFrame(wxMDIParentFrame):
#----------------------------------------------------------------------
class MyApp(wxApp):
def OnInit(self):
frame = MyParentFrame()
frame.Show(true)
self.SetTopWindow(frame)
return true
if __name__ == '__main__':
class MyApp(wxApp):
def OnInit(self):
frame = MyParentFrame()
frame.Show(true)
self.SetTopWindow(frame)
return true
app = MyApp(0)
app.MainLoop()
app = MyApp(0)
app.MainLoop()