X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec376c8fd9ff813392030426acd2317c6fa6527e..4b5e178a4c22caac92952131632641c63821fc0c:/src/xrc/xh_dirpicker.cpp diff --git a/src/xrc/xh_dirpicker.cpp b/src/xrc/xh_dirpicker.cpp index 510094a54d..aaf59f963d 100644 --- a/src/xrc/xh_dirpicker.cpp +++ b/src/xrc/xh_dirpicker.cpp @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xh_clrpicker.cpp -// Purpose: XML resource handler for wxColourPickerCtrl +// Name: src/xrc/xh_dirpicker.cpp +// Purpose: XML resource handler for wxDirPickerCtrl // Author: Francesco Montorsi // Created: 2006-04-17 // RCS-ID: $Id$ @@ -37,8 +37,8 @@ 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), wxDefaultValidator,