compilation fix after operator==() removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -96,14 +96,12 @@ void wxBitmapButton::OnSetBitmap()
|
||||
bool wxBitmapButton::ChangeBitmap(const wxBitmap& bmp)
|
||||
{
|
||||
wxBitmap bitmap = bmp.Ok() ? bmp : m_bmpNormal;
|
||||
if ( bitmap != m_bitmap )
|
||||
{
|
||||
m_bitmap = bitmap;
|
||||
if ( bitmap.IsSameAs(m_bitmap) )
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
m_bitmap = bitmap;
|
||||
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool wxBitmapButton::Enable(bool enable)
|
||||
|
Reference in New Issue
Block a user