X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2108f33a68772013d4e1c9dc2e476bb8ae77ad8f..0e2ff151afc472efd2814c74add5ad4498709d33:/samples/docvwmdi/docview.h?ds=sidebyside diff --git a/samples/docvwmdi/docview.h b/samples/docvwmdi/docview.h index 30bc59fcff..937c6f0e54 100644 --- a/samples/docvwmdi/docview.h +++ b/samples/docvwmdi/docview.h @@ -28,7 +28,7 @@ class MyApp: public wxApp bool OnInit(void); int OnExit(void); - wxFrame *CreateChildFrame(wxDocument *doc, wxView *view, bool isCanvas); + wxMDIChildFrame *CreateChildFrame(wxDocument *doc, wxView *view, bool isCanvas); protected: wxDocManager* m_docManager; @@ -45,7 +45,7 @@ class MyFrame: public wxDocMDIParentFrame wxMenu *editMenu; MyFrame(wxDocManager *manager, wxFrame *frame, const wxString& title, const wxPoint& pos, const wxSize& size, - const long type); + long type); void OnAbout(wxCommandEvent& event); MyCanvas *CreateCanvas(wxView *view, wxFrame *parent);