void wxBitmapCache::SetBitmap( const wxBitmap& bitmap )
{
- if( m_bitmap != bitmap )
+ if ( !m_bitmap.IsSameAs(bitmap) )
{
InvalidateCache();
m_bitmap = bitmap;
while( XmIsGadget( widget ) )
widget = XtParent( widget );
- Pixel fg, bg;
+ WXPixel fg, bg;
XtVaGetValues( widget,
XmNbackground, &bg,
XmNforeground, &fg,