def OnCloseMe(self, event):
- self.Close(true)
+ self.Close(True)
def OnCloseWindow(self, event):
self.Destroy()
def runTest(frame, nb, log):
win = MyFrame(frame, -1, "This is a wxFrame", size=(350, 200),
- style = wxDEFAULT_FRAME_STYLE | wxFRAME_TOOL_WINDOW )
+ style = wxDEFAULT_FRAME_STYLE)# | wxFRAME_TOOL_WINDOW )
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])])
+