]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/glcanvas.cpp
rtti api mods added
[wxWidgets.git] / src / x11 / glcanvas.cpp
index 6a6869fc0f4848b279a9d44bd5e1afeb8e8ce102..9fc512eb43bd91b508c2523970758772f8466a1b 100644 (file)
@@ -10,7 +10,7 @@
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "glcanvas.h"
 #endif
 
 #endif
 #include "wx/x11/private.h"
 
+// DLL options compatibility check:
+#include "wx/build.h"
+WX_CHECK_BUILD_OPTIONS("wxGL")
+
 static inline WXWindow wxGetClientAreaWindow(wxWindow* win)
 {
 #ifdef __WXMOTIF__