X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/374caf23011649a25e538505c4af173ab0827fd5..3f6e622f7c5323919c93c2da62bfb7156442b3a0:/src/xrc/xh_dirpicker.cpp diff --git a/src/xrc/xh_dirpicker.cpp b/src/xrc/xh_dirpicker.cpp index 91ad6b0b66..e70c44e14a 100644 --- a/src/xrc/xh_dirpicker.cpp +++ b/src/xrc/xh_dirpicker.cpp @@ -38,9 +38,9 @@ wxObject *wxDirPickerCtrlXmlHandler::DoCreateResource() picker->Create(m_parentAsWindow, GetID(), GetParamValue(wxT("value")), - GetParamValue(wxT("message")), + GetText(wxT("message")), GetPosition(), GetSize(), - GetStyle(_T("style"), wxDIRP_DEFAULT_STYLE), + GetStyle(wxT("style"), wxDIRP_DEFAULT_STYLE), wxDefaultValidator, GetName());