X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4683727281b45d366d0351bc35a118021b09e4a2..943ca237540a8bdf62d87f0c94de7d0ad02c0e16:/wxPython/demo/wxCalendar.py?ds=inline diff --git a/wxPython/demo/wxCalendar.py b/wxPython/demo/wxCalendar.py index 962679a351..181e79d85f 100644 --- a/wxPython/demo/wxCalendar.py +++ b/wxPython/demo/wxCalendar.py @@ -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