]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxMiniFrame.py
Added wxRTTI for the new wxVScrolledWindow, wxVListBox, and
[wxWidgets.git] / wxPython / demo / wxMiniFrame.py
index 2e947486e87f9f80ca92f7255869bb034d2d8f8a..b92e300eda39cf40e46f7114404578a3dc4c1292 100644 (file)
@@ -14,9 +14,10 @@ class MyMiniFrame(wxMiniFrame):
         EVT_CLOSE(self, self.OnCloseWindow)
 
     def OnCloseMe(self, event):
-        self.Close(true)
+        self.Close(True)
 
     def OnCloseWindow(self, event):
+        print "OnCloseWindow"
         self.Destroy()
 
 #---------------------------------------------------------------------------
@@ -28,7 +29,7 @@ def runTest(frame, nb, log):
     win.SetSize((200, 200))
     win.CenterOnParent(wxBOTH)
     frame.otherWin = win
-    win.Show(true)
+    win.Show(True)
 
 
 #---------------------------------------------------------------------------
@@ -44,3 +45,12 @@ def runTest(frame, nb, log):
 
 overview = """\
 """
+
+
+
+
+
+if __name__ == '__main__':
+    import sys,os
+    import run
+    run.main(['', os.path.basename(sys.argv[0])])