Added support for hover bitmap

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2007-02-16 08:16:37 +00:00
parent 23a5584da6
commit b6a9c1fe89

View File

@ -58,6 +58,8 @@ wxObject *wxBitmapButtonXmlHandler::DoCreateResource()
button->SetBitmapFocus(GetBitmap(wxT("focus")));
if (GetParamNode(wxT("disabled")))
button->SetBitmapDisabled(GetBitmap(wxT("disabled")));
if (GetParamNode(wxT("hover")))
button->SetBitmapHover(GetBitmap(wxT("hover")));
return button;
}