X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2108f33a68772013d4e1c9dc2e476bb8ae77ad8f..6d9022fe3bb50a75b9b5eaf5cf32558e518ba310:/samples/docvwmdi/docview.h diff --git a/samples/docvwmdi/docview.h b/samples/docvwmdi/docview.h index 30bc59fcff..3d0ad4274d 100644 --- a/samples/docvwmdi/docview.h +++ b/samples/docvwmdi/docview.h @@ -6,7 +6,7 @@ // Created: 04/01/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart and Markus Holzem -// Licence: wxWindows license +// Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ @@ -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);