X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/42c09d20bbcfe511b26af394fa461064dbda1018..f2049b683752950d1fe91aec07318e7f2122ff16:/src/xrc/xh_dirpicker.cpp diff --git a/src/xrc/xh_dirpicker.cpp b/src/xrc/xh_dirpicker.cpp index ab589e82b3..e70c44e14a 100644 --- a/src/xrc/xh_dirpicker.cpp +++ b/src/xrc/xh_dirpicker.cpp @@ -37,10 +37,10 @@ wxObject *wxDirPickerCtrlXmlHandler::DoCreateResource() picker->Create(m_parentAsWindow, GetID(), - GetParamValue(wxT("default-path")), - GetParamValue(wxT("message")), + GetParamValue(wxT("value")), + GetText(wxT("message")), GetPosition(), GetSize(), - GetStyle(_T("style"), wxDIRP_DEFAULT_STYLE), + GetStyle(wxT("style"), wxDIRP_DEFAULT_STYLE), wxDefaultValidator, GetName());