IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton, wxButton)
+
#include "wx/osx/private.h"
//---------------------------------------------------------------------------
return true;
}
-void wxBitmapButton::DoSetBitmap(const wxBitmap& bitmap, State which)
-{
- wxBitmapButtonBase::DoSetBitmap(bitmap, which);
-
- // we don't support any other states currently
- if ( which == State_Normal )
- {
- m_peer->SetBitmap( bitmap );
- }
-}
-
wxSize wxBitmapButton::DoGetBestSize() const
{
wxSize best(m_marginX, m_marginY);