]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxPopupWindow.py
Removed deprecation warnings in OGL and Gizmos
[wxWidgets.git] / wxPython / demo / wxPopupWindow.py
index 014e21c8a23fa8ed42eb3d46aa55afe480b7fd2e..0ee3df748cc6f33373573044495e72e42b6cb2f1 100644 (file)
@@ -55,7 +55,7 @@ class TestPopup(wxPopupWindow):
         self.ReleaseMouse()
 
     def OnRightUp(self, evt):
-        self.Show(false)
+        self.Show(False)
         self.Destroy()
 
 
@@ -80,7 +80,7 @@ class TestTransientPopup(wxPopupTransientWindow):
 
     def ProcessLeftDown(self, evt):
         self.log.write("ProcessLeftDown\n")
-        return false
+        return False
 
     def OnDismiss(self):
         self.log.write("OnDismiss\n")
@@ -113,7 +113,7 @@ class TestPanel(wxPanel):
         sz =  btn.GetSize()
         win.Position(pos, (0, sz.height))
 
-        win.Show(true)
+        win.Show(True)
 
 
     def OnShowPopupTransient(self, evt):
@@ -139,7 +139,7 @@ class TestPanel(wxPanel):
         sz =  btn.GetSize()
         win.Position(pos, (0, sz.height))
 
-        win.Show(true)
+        win.Show(True)
 
 class TestPopupWithListbox(wxPopupWindow):
     def __init__(self, parent, style, log):