compilation fix after operator==() removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user