]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/ogl/studio/view.h
Compile fix for sound without threads. Not sure
[wxWidgets.git] / contrib / samples / ogl / studio / view.h
index 11cb3aeb1ed1d1b5634e3010475d1018d6d776e2..9b15ec43457e7339aa787c32faa4744c66c78e8e 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _STUDIO_VIEW_H_
 #define _STUDIO_VIEW_H_
 
 #ifndef _STUDIO_VIEW_H_
 #define _STUDIO_VIEW_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 // #pragma interface "view.h"
 #endif
 
 // #pragma interface "view.h"
 #endif
 
@@ -132,7 +132,7 @@ class csDiagramView: public wxView
 DECLARE_EVENT_TABLE()
 
 public:
 DECLARE_EVENT_TABLE()
 
 public:
-  wxFrame*      frame;
+  wxMDIChildFrame*      frame;
   csCanvas*     canvas;
   wxList        m_selections;
 };
   csCanvas*     canvas;
   wxList        m_selections;
 };