Add GetBitmap support to wxButton in wxUniv

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-09-23 17:40:22 +00:00
parent 15908f0a43
commit a4e72041fb
2 changed files with 6 additions and 0 deletions

View File

@@ -146,6 +146,11 @@ void wxButton::Click()
// misc
// ----------------------------------------------------------------------------
wxBitmap wxButton::DoGetBitmap(State WXUNUSED(which)) const
{
return m_bitmap;
}
void wxButton::DoSetBitmap(const wxBitmap& bitmap, State which)
{
// we support only one bitmap right now, although this wouldn't be