X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..ce7208d49d5ce2ca1dc0b3b83f14f1d04f29c4bf:/src/motif/bmpmotif.cpp diff --git a/src/motif/bmpmotif.cpp b/src/motif/bmpmotif.cpp index 2bd938cdab..d9317536b4 100644 --- a/src/motif/bmpmotif.cpp +++ b/src/motif/bmpmotif.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: bitmap.cpp +// Name: src/motif/bmpmotif.cpp // Purpose: wxBitmap // Author: Julian Smart, originally in bitmap.cpp // Modified by: @@ -17,9 +17,12 @@ #define XtDisplay XTDISPLAY #endif -#include "wx/defs.h" #include "wx/motif/bmpmotif.h" +#ifndef WX_PRECOMP + #include "wx/math.h" +#endif + #ifdef __VMS__ #pragma message disable nosimpint #endif @@ -34,8 +37,6 @@ #include #endif -#include "wx/math.h" - Pixmap XCreateInsensitivePixmap( Display *display, Pixmap pixmap ); static inline wxCharBuffer GetCacheImageName(WXImage image) @@ -124,7 +125,7 @@ WXPixmap wxBitmapCache::GetPixmapFromCache(WXWidget w) while( XmIsGadget( widget ) ) widget = XtParent( widget ); - Pixel fg, bg; + WXPixel fg, bg; XtVaGetValues( widget, XmNbackground, &bg, XmNforeground, &fg,