X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/374caf23011649a25e538505c4af173ab0827fd5..4b5e178a4c22caac92952131632641c63821fc0c:/src/xrc/xh_filepicker.cpp diff --git a/src/xrc/xh_filepicker.cpp b/src/xrc/xh_filepicker.cpp index cf4fa8ba8e..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(); } @@ -40,7 +41,7 @@ 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),