EVT_CLOSE(self, self.OnCloseWindow)
def OnCloseMe(self, event):
- self.Close(true)
+ self.Close(True)
def OnCloseWindow(self, event):
+ print "OnCloseWindow"
self.Destroy()
#---------------------------------------------------------------------------
win.SetSize((200, 200))
win.CenterOnParent(wxBOTH)
frame.otherWin = win
- win.Show(true)
+ win.Show(True)
#---------------------------------------------------------------------------
overview = """\
"""
+
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])