X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e82bd96142ecb6261762bec2da10fac0ff74178..669b65b94575865adc226d35a0de0dd81dde1e5f:/src/msw/glcanvas.cpp diff --git a/src/msw/glcanvas.cpp b/src/msw/glcanvas.cpp index 5180f0d602..f854b48a7e 100644 --- a/src/msw/glcanvas.cpp +++ b/src/msw/glcanvas.cpp @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "glcanvas.h" #endif @@ -26,10 +26,15 @@ #include "wx/settings.h" #include "wx/intl.h" #include "wx/log.h" + #include "wx/app.h" #endif #include "wx/msw/private.h" +// DLL options compatibility check: +#include "wx/build.h" +WX_CHECK_BUILD_OPTIONS("wxGL") + #include "wx/glcanvas.h" /* @@ -54,6 +59,7 @@ # pragma comment( lib, "glu32" ) #endif + static const wxChar *wxGLCanvasClassName = wxT("wxGLCanvasClass"); static const wxChar *wxGLCanvasClassNameNoRedraw = wxT("wxGLCanvasClassNR");