X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/316df2f2092c93b3be74a4aada32e70bed90b510..3340066af696862df9394469b341b700fe4e3a68:/samples/docvwmdi/docview.cpp diff --git a/samples/docvwmdi/docview.cpp b/samples/docvwmdi/docview.cpp index a0cee05037..69ce099317 100644 --- a/samples/docvwmdi/docview.cpp +++ b/samples/docvwmdi/docview.cpp @@ -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);