X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fc25a89ac1e6c5208db24bfc0abc8666b791dc6..adb8a71bbc0ba11aad0b417db24f7267a250b6c3:/contrib/samples/ogl/studio/studio.h diff --git a/contrib/samples/ogl/studio/studio.h b/contrib/samples/ogl/studio/studio.h index 0104a16456..b739730356 100644 --- a/contrib/samples/ogl/studio/studio.h +++ b/contrib/samples/ogl/studio/studio.h @@ -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();