X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/493f1553fdfd276ed9944c5f1c070ee34be13b52..28f5082b3235a349ffc3b99eeacca5049ccd42dd:/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