-MyChild::MyChild(wxMDIParentFrame *parent, const wxString& title,
- const wxPoint& pos, const wxSize& size,
- const long style)
- : wxMDIChildFrame(parent, -1, title, pos, size,
- style | wxNO_FULL_REPAINT_ON_RESIZE)
+MyChild::MyChild(wxMDIParentFrame *parent, const wxString& title)
+ : wxMDIChildFrame(parent, wxID_ANY, title, wxDefaultPosition, wxDefaultSize,
+ wxDEFAULT_FRAME_STYLE | wxNO_FULL_REPAINT_ON_RESIZE)