X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fc25a89ac1e6c5208db24bfc0abc8666b791dc6..59455c67d444c12f6d6a59e0c16528554c8b4c30:/contrib/samples/ogl/studio/view.h diff --git a/contrib/samples/ogl/studio/view.h b/contrib/samples/ogl/studio/view.h index 11cb3aeb1e..9b15ec4345 100644 --- a/contrib/samples/ogl/studio/view.h +++ b/contrib/samples/ogl/studio/view.h @@ -12,7 +12,7 @@ #ifndef _STUDIO_VIEW_H_ #define _STUDIO_VIEW_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) // #pragma interface "view.h" #endif @@ -132,7 +132,7 @@ class csDiagramView: public wxView DECLARE_EVENT_TABLE() public: - wxFrame* frame; + wxMDIChildFrame* frame; csCanvas* canvas; wxList m_selections; };