]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/bmpmotif.cpp
use libtiff/libjpeg VC-specific include files for all Win32 compilers, including...
[wxWidgets.git] / src / motif / bmpmotif.cpp
index d9317536b4f9cbe425035fdf05ed8c0b0f1506f8..155adc1cf4a35051668b40623793396e7bbb8fe6 100644 (file)
@@ -70,7 +70,7 @@ wxBitmapCache::~wxBitmapCache()
 
 void wxBitmapCache::SetBitmap( const wxBitmap& bitmap )
 {
-    if( m_bitmap != bitmap )
+    if ( !m_bitmap.IsSameAs(bitmap) )
     {
         InvalidateCache();
         m_bitmap = bitmap;