- win = MyMiniFrame(frame, -1, "This is a wxMiniFrame",
- wxDefaultPosition, wxSize(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)