/////////////////////////////////////////////////////////////////////////////
-// Name: bitmap.cpp
+// Name: src/motif/bmpmotif.cpp
// Purpose: wxBitmap
// Author: Julian Smart, originally in bitmap.cpp
// Modified by:
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "bmpmotif.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#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
#include <X11/xpm.h>
#endif
-#include "wx/math.h"
-
Pixmap XCreateInsensitivePixmap( Display *display, Pixmap pixmap );
static inline wxCharBuffer GetCacheImageName(WXImage image)
while( XmIsGadget( widget ) )
widget = XtParent( widget );
- Pixel fg, bg;
+ WXPixel fg, bg;
XtVaGetValues( widget,
XmNbackground, &bg,
XmNforeground, &fg,