From b6a9c1fe8989e36c1f4e1c7bd1e46fb8c9b6a1ca Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 16 Feb 2007 08:16:37 +0000 Subject: [PATCH] Added support for hover bitmap git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/xrc/xh_bmpbt.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xrc/xh_bmpbt.cpp b/src/xrc/xh_bmpbt.cpp index 7b1b22db03..bdf588ac9b 100644 --- a/src/xrc/xh_bmpbt.cpp +++ b/src/xrc/xh_bmpbt.cpp @@ -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; } -- 2.47.2