- frame->Show(true);
-
- SetTopWindow(frame);
-
- return TRUE;
-}
-
-
-// ---------------------------------------------------------------------------
-// MyFrame
-// ---------------------------------------------------------------------------
-
-// Define my frame constructor
-MyFrame::MyFrame(wxWindow *parent, const wxWindowID id, const wxString& title,
- const wxPoint& pos, const wxSize& size, const long style)
- : wxMDIParentFrame(parent, id, title, pos, size, style)
-{
- nWinCreated = 0 ;
-
- // Give it an icon
- SetIcon(wxICON(mondrian));
-