]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/ogl/studio/studio.cpp
Cleaned up some comments, reorganized some code
[wxWidgets.git] / contrib / samples / ogl / studio / studio.cpp
index 48c0b44fd1b4ff982d75db3a40329d6bc95e899c..ce7ca8b60906ecb2817ca559f15b676597a2aff5 100644 (file)
@@ -288,7 +288,7 @@ wxMDIChildFrame *csApp::CreateChildFrame(wxDocument *doc, wxView *view, wxMenu**
 }
 
 // Creates a canvas. Called by OnInit as a child of the main window
-csCanvas *csApp::CreateCanvas(wxView *view, wxFrame *parent)
+csCanvas *csApp::CreateCanvas(wxView *view, wxMDIChildFrame *parent)
 {
   int width, height;
   parent->GetClientSize(&width, &height);