// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "bmpmotif.h"
#endif
#ifdef __VMS
#define XtParent XTPARENT
+#define XtDisplay XTDISPLAY
#endif
#include "wx/defs.h"
(WXDisplay*)wxGetDisplay();
XImage *ximage = XGetImage( (Display*)m_display,
- (Drawable)m_bitmap.GetPixmap(),
+ (Drawable)m_bitmap.GetDrawable(),
0, 0,
m_bitmap.GetWidth(), m_bitmap.GetHeight(),
AllPlanes, ZPixmap );
m_insensPixmap =
(WXPixmap)XCreateInsensitivePixmap( (Display*)m_display,
- (Pixmap)m_bitmap.GetPixmap() );
+ (Pixmap)m_bitmap.GetDrawable() );
m_recalcPixmaps.insens = !m_insensPixmap;
return m_insensPixmap;