X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/374caf23011649a25e538505c4af173ab0827fd5..567e5e47ee9af2f6e7343cb94bd890a3a6104f1e:/src/xrc/xh_filepicker.cpp 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());