]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_bmpbt.cpp
Fix wxHash{Set,Map} compilation with g++ 4.7 in C++11 mode.
[wxWidgets.git] / src / xrc / xh_bmpbt.cpp
index 7b1b22db036f155a0a91edfcbdab733489e1a5b6..bdf588ac9bc35c6e513e431b11fc5e549c13b3b9 100644 (file)
@@ -58,6 +58,8 @@ wxObject *wxBitmapButtonXmlHandler::DoCreateResource()
         button->SetBitmapFocus(GetBitmap(wxT("focus")));
     if (GetParamNode(wxT("disabled")))
         button->SetBitmapDisabled(GetBitmap(wxT("disabled")));
         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;
 }
 
     return button;
 }