X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1807c27dbced16268d76dbdbfdf3f09d2f501b2a..1978421a6d8b81c1f8a961da4b8ddf544fec7b1b:/src/x11/glcanvas.cpp?ds=inline diff --git a/src/x11/glcanvas.cpp b/src/x11/glcanvas.cpp index 6a6869fc0f..9fc512eb43 100644 --- a/src/x11/glcanvas.cpp +++ b/src/x11/glcanvas.cpp @@ -10,7 +10,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "glcanvas.h" #endif @@ -32,6 +32,10 @@ #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__