]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/samples/pySketch/pySketch.py
corrected code to not suppose that Write() always writes all the data it was given
[wxWidgets.git] / wxPython / samples / pySketch / pySketch.py
index d0e5344699c1b64766f5fce0906d3a3f268c2f6a..309516b1e023938aa3a2c77fd05ca4ccd3310eb2 100644 (file)
@@ -374,7 +374,7 @@ class DrawingFrame(wxFrame):
         self.topPanel.SetAutoLayout(True)
         self.topPanel.SetSizer(topSizer)
 
-        self.SetSizeHints(minW=250, minH=200)
+        self.SetSizeHints(250, 200)
         self.SetSize(wxSize(600, 400))
 
         # Select an initial tool.