]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/docvwmdi/docview.cpp
getting rid of warnings
[wxWidgets.git] / samples / docvwmdi / docview.cpp
index a0cee0503785d525cbbe9a0eb7889d14079e8936..69ce099317e6715b423a7643cd06ab2b05542e5f 100644 (file)
@@ -208,7 +208,7 @@ void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event) )
 
 // Creates a canvas. Called from view.cpp when a new drawing
 // view is created.
-MyCanvas *MyFrame::CreateCanvas(wxView *view, wxFrame *parent)
+MyCanvas *MyFrame::CreateCanvas(wxView *view, wxMDIChildFrame *parent)
 {
   int width, height;
   parent->GetClientSize(&width, &height);