- wxDocMDIChildFrame *subframe = new wxDocMDIChildFrame(doc, view, GetMainFrame(), -1, "Child Frame",
- wxPoint(10, 10), wxSize(300, 300), wxDEFAULT_FRAME_STYLE);
+ wxDocMDIChildFrame *subframe =
+ new wxDocMDIChildFrame(doc, view, GetMainFrame(), -1, "Child Frame",
+ wxPoint(10, 10), wxSize(300, 300),
+ wxDEFAULT_FRAME_STYLE |
+ wxNO_FULL_REPAINT_ON_RESIZE);