- win = MyMiniFrame(frame, -1, "This is a wxMiniFrame",
- (250, 250), (200, 200),
- wxDEFAULT_FRAME_STYLE | wxTINY_CAPTION_HORIZ)
+ win = MyMiniFrame(frame, "This is a wxMiniFrame",
+ #pos=(250,250), size=(200,200),
+ style=wxDEFAULT_FRAME_STYLE | wxTINY_CAPTION_HORIZ)
+ win.SetSize((200, 200))
+ win.CenterOnParent(wxBOTH)