X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2108f33a68772013d4e1c9dc2e476bb8ae77ad8f..4fcd60c72f6b90f5063f7000ff5a80a9004055a3:/samples/docvwmdi/docview.h 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);