]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxMiniFrame.py
Removed deprecation warnings in OGL and Gizmos
[wxWidgets.git] / wxPython / demo / wxMiniFrame.py
index 2e947486e87f9f80ca92f7255869bb034d2d8f8a..fd7c6c7f45235cb6edefdb760dd2f5f8e0a1e053 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)
 
 
 #---------------------------------------------------------------------------