]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxButton.py
fixed the width of the (week day as number) field, should be 1, not 2
[wxWidgets.git] / wxPython / demo / wxButton.py
index a02cc6f5ab422f420d842b9591fbebb335017307..2a92effc126f4a33d4abbfdc6efc090c4c39228d 100644 (file)
@@ -7,7 +7,8 @@ import images
 
 class TestPanel(wxPanel):
     def __init__(self, parent, log):
 
 class TestPanel(wxPanel):
     def __init__(self, parent, log):
-        wxPanel.__init__(self, parent, -1)
+        wxPanel.__init__(self, parent, -1,
+                         style=wxNO_FULL_REPAINT_ON_RESIZE)
         self.log = log
 
         b = wxButton(self, 10, "Hello", wxPoint(20, 20))
         self.log = log
 
         b = wxButton(self, 10, "Hello", wxPoint(20, 20))