]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_bmpbt.cpp
Fix incorrect event handler functions casts in wxRibbonPanel code.
[wxWidgets.git] / src / xrc / xh_bmpbt.cpp
index 7b1b22db036f155a0a91edfcbdab733489e1a5b6..d5ae4ec9dc03ad0abdda75406a84330fadd77e7f 100644 (file)
@@ -3,7 +3,6 @@
 // Purpose:     XRC resource for bitmap buttons
 // Author:      Brian Gavin
 // Created:     2000/09/09
-// RCS-ID:      $Id$
 // Copyright:   (c) 2000 Brian Gavin
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -58,6 +57,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;
 }