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:
parent
886180cdbf
commit
ba8ac2c7c3
@ -89,7 +89,7 @@ bool wxBitmapButton::Create(wxWindow *parent, wxWindowID id,
|
|||||||
if( size.y != -1 ) best.y = size.y;
|
if( size.y != -1 ) best.y = size.y;
|
||||||
|
|
||||||
PostCreation();
|
PostCreation();
|
||||||
DoSetBitmap();
|
OnSetBitmap();
|
||||||
|
|
||||||
AttachWidget (parent, m_mainWidget, (WXWidget) NULL,
|
AttachWidget (parent, m_mainWidget, (WXWidget) NULL,
|
||||||
pos.x, pos.y, best.x, best.y);
|
pos.x, pos.y, best.x, best.y);
|
||||||
@ -222,7 +222,7 @@ void wxBitmapButton::ChangeBackgroundColour()
|
|||||||
wxDoChangeBackgroundColour(m_mainWidget, m_backgroundColour, true);
|
wxDoChangeBackgroundColour(m_mainWidget, m_backgroundColour, true);
|
||||||
|
|
||||||
// Must reset the bitmaps since the colours have changed.
|
// Must reset the bitmaps since the colours have changed.
|
||||||
DoSetBitmap();
|
OnSetBitmap();
|
||||||
}
|
}
|
||||||
|
|
||||||
wxSize wxBitmapButton::DoGetBestSize() const
|
wxSize wxBitmapButton::DoGetBestSize() const
|
||||||
|
Loading…
Reference in New Issue
Block a user