]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/docvwmdi/docview.cpp
getting rid of warnings
[wxWidgets.git] / samples / docvwmdi / docview.cpp
index ab2f34640fce0a2348ded0d985981882d6693271..69ce099317e6715b423a7643cd06ab2b05542e5f 100644 (file)
@@ -203,12 +203,12 @@ MyFrame::MyFrame(wxDocManager *manager, wxFrame *frame, const wxString& title,
 
 void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event) )
 {
 
 void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event) )
 {
-    (void)wxMessageBox("DocView Demo\nAuthor: Julian Smart julian.smart@ukonline.co.uk\nUsage: docview.exe", "About DocView");
+    (void)wxMessageBox("DocView Demo\nAuthor: Julian Smart\nUsage: docview.exe", "About DocView");
 }
 
 // Creates a canvas. Called from view.cpp when a new drawing
 // view is created.
 }
 
 // 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);
 {
   int width, height;
   parent->GetClientSize(&width, &height);