X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/374caf23011649a25e538505c4af173ab0827fd5..1ab88038785eb2d6a7f89129a506826bf6887cc6:/src/xrc/xh_dirpicker.cpp?ds=sidebyside diff --git a/src/xrc/xh_dirpicker.cpp b/src/xrc/xh_dirpicker.cpp index 91ad6b0b66..aaf59f963d 100644 --- a/src/xrc/xh_dirpicker.cpp +++ b/src/xrc/xh_dirpicker.cpp @@ -38,7 +38,7 @@ 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), wxDefaultValidator,