X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aae0472bf3086707216125e4caa8650caeeeaf97..dde4740fe1dddbb2738a0afd054f493cb0dd67d1:/src/motif/bmpmotif.cpp diff --git a/src/motif/bmpmotif.cpp b/src/motif/bmpmotif.cpp index 2e800542f2..d0f70c18c4 100644 --- a/src/motif/bmpmotif.cpp +++ b/src/motif/bmpmotif.cpp @@ -9,12 +9,16 @@ // 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 #endif #include "wx/defs.h" @@ -33,7 +37,8 @@ #if wxHAVE_LIB_XPM #include #endif -#include + +#include "wx/math.h" Pixmap XCreateInsensitivePixmap( Display *display, Pixmap pixmap );