X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/374caf23011649a25e538505c4af173ab0827fd5..f239a20092359e3c914adb79bd39f3f5d2b2e06f:/src/xrc/xh_filepicker.cpp?ds=sidebyside diff --git a/src/xrc/xh_filepicker.cpp b/src/xrc/xh_filepicker.cpp index cf4fa8ba8e..df544fa0f5 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(); } @@ -40,10 +41,10 @@ wxObject *wxFilePickerCtrlXmlHandler::DoCreateResource() picker->Create(m_parentAsWindow, GetID(), GetParamValue(wxT("value")), - GetParamValue(wxT("message")), + GetText(wxT("message")), GetParamValue(wxT("wildcard")), GetPosition(), GetSize(), - GetStyle(_T("style"), wxFLP_DEFAULT_STYLE), + GetStyle(wxT("style"), wxFLP_DEFAULT_STYLE), wxDefaultValidator, GetName());