]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/ogl/studio/studio.h
overseeing the obvious, there is already a perfect scroll call for HIView...
[wxWidgets.git] / contrib / samples / ogl / studio / studio.h
index 0104a164561d319b3d59f8ff71af08ba98c559d4..b7397303562b8f298a5f4d360fe967c689b1c6c5 100644 (file)
@@ -34,7 +34,7 @@ class csFrame;
 // Define a new application
 class csApp: public wxApp
 {
-    friend csFrame;
+    friend class csFrame;
 public:
     csApp();
     ~csApp();
@@ -60,7 +60,7 @@ public:
     void CreateDiagramToolBar(wxFrame* parent);
 
     wxMDIChildFrame *CreateChildFrame(wxDocument *doc, wxView *view, wxMenu** editMenu);
-    csCanvas *CreateCanvas(wxView *view, wxFrame *parent);
+    csCanvas *CreateCanvas(wxView *view, wxMDIChildFrame *parent);
 
     // Fill out the project tree control
     void FillProjectTreeCtrl();