]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxCalendar.py
cache return value of wxGetOsVersion
[wxWidgets.git] / wxPython / demo / wxCalendar.py
index 962679a35105848c94a152a803c497466a3db849..181e79d85f329107b9f4abd478a06493a75331d2 100644 (file)
@@ -229,7 +229,8 @@ class TestPanel(wxPanel):
 
 class CalendFrame(wxFrame):
     def __init__(self, parent, id, title, log):
-        wxFrame.__init__(self, parent, id, title, wxPyDefaultPosition, wxSize(400, 400))
+        wxFrame.__init__(self, parent, id, title, size=wxSize(400, 400),
+                         style=wxDEFAULT_FRAME_STYLE|wxNO_FULL_REPAINT_ON_RESIZE)
         EVT_CLOSE(self, self.OnCloseWindow)
 
         self.log = log