]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/samples/doodle/superdoodle.py
don't forget to backport manifest and wxLocale fix
[wxWidgets.git] / wxPython / samples / doodle / superdoodle.py
index b589e72baa9d3a2a897f39cd0e79cf89f81d4386..08ee49339e497318d4374caa3b520036e3b52737 100644 (file)
@@ -53,7 +53,7 @@ class DoodleFrame(wxFrame):
 
         # Tell the frame that it should layout itself in response to
         # size events.
-        self.SetAutoLayout(true)
+        self.SetAutoLayout(True)
         self.SetSizer(box)
 
 
@@ -213,7 +213,7 @@ class ControlPanel(wxPanel):
         box.Add(tGrid, 0, wxALL, spacing)
         box.Add(ci, 0, wxEXPAND|wxALL, spacing)
         self.SetSizer(box)
-        self.SetAutoLayout(true)
+        self.SetAutoLayout(True)
 
         # Resize this window so it is just large enough for the
         # minimum requirements of the sizer.
@@ -261,7 +261,7 @@ class ColourIndicator(wxWindow):
     def __init__(self, parent):
         wxWindow.__init__(self, parent, -1, style=wxSUNKEN_BORDER)
         self.SetBackgroundColour(wxWHITE)
-        self.SetSize(wxSize(-1, 40))
+        self.SetSize(wxSize(-1, 45))
         self.colour = self.thickness = None
         EVT_PAINT(self, self.OnPaint)
 
@@ -348,7 +348,7 @@ instructions: </p>
         lc.height.AsIs()
         button.SetConstraints(lc)
 
-        self.SetAutoLayout(true)
+        self.SetAutoLayout(True)
         self.Layout()
         self.CentreOnParent(wxBOTH)
 
@@ -358,9 +358,9 @@ instructions: </p>
 class DoodleApp(wxApp):
     def OnInit(self):
         frame = DoodleFrame(None)
-        frame.Show(true)
+        frame.Show(True)
         self.SetTopWindow(frame)
-        return true
+        return True
 
 
 #----------------------------------------------------------------------