]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/glcanvas.cpp
scope added for keyboard handler
[wxWidgets.git] / src / motif / glcanvas.cpp
index 48ce77e6deab85d41e0e31ef6706f8c8fde99ad9..65f2f0526cac2f9f201b4281d3deb09714088e99 100644 (file)
@@ -10,7 +10,7 @@
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "glcanvas.h"
 #endif
 
@@ -21,6 +21,7 @@
 #include "wx/glcanvas.h"
 #include "wx/utils.h"
 #include "wx/app.h"
+#include "wx/log.h"
 
 #ifdef __VMS
 # pragma message disable nosimpint
 #endif
 #include "wx/motif/private.h"
 
+// DLL options compatibility check:
+#include "wx/build.h"
+WX_CHECK_BUILD_OPTIONS("wxGL")
+
 #ifdef OLD_MESA
 // workaround for bug in Mesa's glx.c
 static int bitcount( unsigned long n )