// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
-#ifdef __VMS
-#define XtParent XTPARENT
-#define XtDisplay XTDISPLAY
-#endif
-
#include "wx/motif/bmpmotif.h"
#ifndef WX_PRECOMP
void wxBitmapCache::SetBitmap( const wxBitmap& bitmap )
{
- if( m_bitmap != bitmap )
+ if ( !m_bitmap.IsSameAs(bitmap) )
{
InvalidateCache();
m_bitmap = bitmap;