]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/docvwmdi/docview.h
Remove unused g295.t; g95.t works with any GCC from 2.95.2 to 3.2.
[wxWidgets.git] / samples / docvwmdi / docview.h
index 3d0ad4274d3c85ddb937ea403150b486e2c9e673..2674c6a36efb8fec384d44d3b837c2e2826e6f72 100644 (file)
@@ -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()
 };