Updates for the sample apps. Some readme's, show how to use py2exe,
InnoSetup, etc. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -193,20 +193,11 @@ class DoodleFrame(wxFrame):
|
||||
self.doodle = DoodleWindow(self, -1)
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
|
||||
class DoodleApp(wxApp):
|
||||
def OnInit(self):
|
||||
frame = DoodleFrame(None)
|
||||
frame.Show(true)
|
||||
self.SetTopWindow(frame)
|
||||
return true
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
if __name__ == '__main__':
|
||||
app = DoodleApp(0)
|
||||
app = wxPySimpleApp()
|
||||
frame = DoodleFrame(None)
|
||||
frame.Show(true)
|
||||
app.MainLoop()
|
||||
|
||||
|
Reference in New Issue
Block a user