X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/42c09d20bbcfe511b26af394fa461064dbda1018..1789c1c6022a63d0d7bfdf5242528f526b870bc6:/src/xrc/xh_filepicker.cpp diff --git a/src/xrc/xh_filepicker.cpp b/src/xrc/xh_filepicker.cpp index 3178c07ac4..40e8280551 100644 --- a/src/xrc/xh_filepicker.cpp +++ b/src/xrc/xh_filepicker.cpp @@ -30,6 +30,7 @@ wxFilePickerCtrlXmlHandler::wxFilePickerCtrlXmlHandler() : wxXmlResourceHandler( XRC_ADD_STYLE(wxFLP_FILE_MUST_EXIST); XRC_ADD_STYLE(wxFLP_CHANGE_DIR); XRC_ADD_STYLE(wxFLP_DEFAULT_STYLE); + XRC_ADD_STYLE(wxFLP_USE_TEXTCTRL); AddWindowStyles(); } @@ -39,8 +40,8 @@ wxObject *wxFilePickerCtrlXmlHandler::DoCreateResource() picker->Create(m_parentAsWindow, GetID(), - GetParamValue(wxT("default-path")), - GetParamValue(wxT("message")), + GetParamValue(wxT("value")), + GetText(wxT("message")), GetParamValue(wxT("wildcard")), GetPosition(), GetSize(), GetStyle(_T("style"), wxFLP_DEFAULT_STYLE),