git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-02-01 02:48:21 +00:00
parent 4683727281
commit 943ca23754
2 changed files with 7 additions and 2 deletions

View 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