X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d171743ed3ddbf0178a9d68cf78999a3ca999826..9bb50fd0b04c824fc7ba14c0dc4ba4a2a9a1e6ad:/src/motif/bmpmotif.cpp?ds=sidebyside diff --git a/src/motif/bmpmotif.cpp b/src/motif/bmpmotif.cpp index 1ddb082650..d0f70c18c4 100644 --- a/src/motif/bmpmotif.cpp +++ b/src/motif/bmpmotif.cpp @@ -9,10 +9,13 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "bmpmotif.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #ifdef __VMS #define XtParent XTPARENT #define XtDisplay XTDISPLAY @@ -34,7 +37,8 @@ #if wxHAVE_LIB_XPM #include #endif -#include + +#include "wx/math.h" Pixmap XCreateInsensitivePixmap( Display *display, Pixmap pixmap );