]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/glcanvas.h
Common code for the same handling of wxSL_INVERSE.
[wxWidgets.git] / include / wx / gtk1 / glcanvas.h
index 29f3deabc35271904519c2bcb031fc854b601d34..f4c812ffa893d761b416e5b888b9d0c704bc204d 100644 (file)
@@ -1,6 +1,6 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        glcanvas.h
-// Purpose:     wxGLCanvas, for using OpenGL/Mesa with wxWindows and GTK
+// Purpose:     wxGLCanvas, for using OpenGL/Mesa with wxWidgets and GTK
 // Author:      Robert Roebling
 // Modified by:
 // Created:     17/8/98
@@ -9,13 +9,13 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-#pragma interface "glcanvas.h"
-#endif
-
 #ifndef _WX_GLCANVAS_H_
 #define _WX_GLCANVAS_H_
 
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
+#pragma interface "glcanvas.h"
+#endif
+
 #include "wx/scrolwin.h"
 #include "wx/app.h"