X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/18b9d1a13c513bc0e2df984cf21b3bc131864c61..04fa04d8067d235ab45b5bc05b65f0679634b541:/src/xrc/xh_bttn.cpp?ds=inline diff --git a/src/xrc/xh_bttn.cpp b/src/xrc/xh_bttn.cpp index 963efd0848..926b6849b9 100644 --- a/src/xrc/xh_bttn.cpp +++ b/src/xrc/xh_bttn.cpp @@ -54,7 +54,7 @@ wxObject *wxButtonXmlHandler::DoCreateResource() if ( GetParamNode("bitmap") ) { wxDirection dir; - const wxString dirstr = GetParamValue("direction"); + const wxString dirstr = GetParamValue("bitmapposition"); if ( dirstr.empty() || dirstr == "wxLEFT" ) dir = wxLEFT; else if ( dirstr == "wxRIGHT" )