]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxLayoutConstraints.py
Removed deprecation warnings in OGL and Gizmos
[wxWidgets.git] / wxPython / demo / wxLayoutConstraints.py
index 8e63a12af2856436cdf4f6d3de51e2d485353c41..4ffa033924320edb4dbca493d69d1330141e2974 100644 (file)
@@ -6,7 +6,7 @@ from wxPython.wx import *
 class TestLayoutConstraints(wxPanel):
     def __init__(self, parent):
         wxPanel.__init__(self, parent, -1)
-        self.SetAutoLayout(true)
+        self.SetAutoLayout(True)
         EVT_BUTTON(self, 100, self.OnButton)
 
         self.SetBackgroundColour(wxNamedColour("MEDIUM ORCHID"))