X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/374caf23011649a25e538505c4af173ab0827fd5..03c6117e8f6c958c1bc2602132ded643fc703cbf:/src/xrc/xh_dirpicker.cpp 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,