X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5b932572d4386de0a1383982b96ef45c25ee05..1978421a6d8b81c1f8a961da4b8ddf544fec7b1b:/src/gtk/glcanvas.cpp?ds=sidebyside diff --git a/src/gtk/glcanvas.cpp b/src/gtk/glcanvas.cpp index c55808b96f..f9599d1aa4 100644 --- a/src/gtk/glcanvas.cpp +++ b/src/gtk/glcanvas.cpp @@ -9,10 +9,13 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "glcanvas.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/setup.h" #if wxUSE_GLCANVAS @@ -33,6 +36,10 @@ extern "C" #include "wx/gtk/win_gtk.h" +// DLL options compatibility check: +#include "wx/build.h" +WX_CHECK_BUILD_OPTIONS("wxGL") + //--------------------------------------------------------------------------- // global data //---------------------------------------------------------------------------