compilation fix after wxBitmap image changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2009-06-24 14:49:53 +00:00
parent 886180cdbf
commit ba8ac2c7c3

View File

@ -89,7 +89,7 @@ bool wxBitmapButton::Create(wxWindow *parent, wxWindowID id,
if( size.y != -1 ) best.y = size.y;
PostCreation();
DoSetBitmap();
OnSetBitmap();
AttachWidget (parent, m_mainWidget, (WXWidget) NULL,
pos.x, pos.y, best.x, best.y);
@ -222,7 +222,7 @@ void wxBitmapButton::ChangeBackgroundColour()
wxDoChangeBackgroundColour(m_mainWidget, m_backgroundColour, true);
// Must reset the bitmaps since the colours have changed.
DoSetBitmap();
OnSetBitmap();
}
wxSize wxBitmapButton::DoGetBestSize() const