// 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"
#if wxHAVE_LIB_XPM
#include <X11/xpm.h>
#endif
-#include <math.h>
+
+#include "wx/math.h"
Pixmap XCreateInsensitivePixmap( Display *display, Pixmap pixmap );