]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/glcanvas.h
compilation fix for cygwin
[wxWidgets.git] / include / wx / gtk1 / glcanvas.h
index ae7de3acc6da1d226d80943666db39d1fb820b5a..472ba104ff53a88a736e43116ebf14b0a84a9d9e 100644 (file)
@@ -9,7 +9,7 @@
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "glcanvas.h"
 #endif
 
@@ -100,7 +100,7 @@ private:
 // wxGLCanvas
 //---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGLCanvas: public wxScrolledWindow
+class WXDLLEXPORT wxGLCanvas: public wxWindow
 {
 public:
    inline wxGLCanvas() {