X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/acbd13a365fe2bd7ed6bafd19dc26775a256d499..8c9f8f91cd62335261ee29762747218f28d129de:/samples/docvwmdi/docview.h diff --git a/samples/docvwmdi/docview.h b/samples/docvwmdi/docview.h index 937c6f0e54..ce603abd72 100644 --- a/samples/docvwmdi/docview.h +++ b/samples/docvwmdi/docview.h @@ -5,8 +5,8 @@ // Modified by: // Created: 04/01/98 // RCS-ID: $Id$ -// Copyright: (c) Julian Smart and Markus Holzem -// Licence: wxWindows license +// Copyright: (c) Julian Smart +// Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ @@ -16,6 +16,8 @@ #ifndef __DOCVIEWSAMPLEH__ #define __DOCVIEWSAMPLEH__ +#include "wx/mdi.h" +#include "wx/docview.h" #include "wx/docmdi.h" class wxDocManager; @@ -48,7 +50,7 @@ class MyFrame: public wxDocMDIParentFrame long type); void OnAbout(wxCommandEvent& event); - MyCanvas *CreateCanvas(wxView *view, wxFrame *parent); + MyCanvas *CreateCanvas(wxView *view, wxMDIChildFrame *parent); DECLARE_EVENT_TABLE() };