X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/374caf23011649a25e538505c4af173ab0827fd5..815f65bd0f673965230ed915d794497a8818dd35:/src/xrc/xh_filepicker.cpp?ds=sidebyside diff --git a/src/xrc/xh_filepicker.cpp b/src/xrc/xh_filepicker.cpp index cf4fa8ba8e..90965a34ca 100644 --- a/src/xrc/xh_filepicker.cpp +++ b/src/xrc/xh_filepicker.cpp @@ -29,7 +29,9 @@ wxFilePickerCtrlXmlHandler::wxFilePickerCtrlXmlHandler() : wxXmlResourceHandler( XRC_ADD_STYLE(wxFLP_OVERWRITE_PROMPT); XRC_ADD_STYLE(wxFLP_FILE_MUST_EXIST); XRC_ADD_STYLE(wxFLP_CHANGE_DIR); + XRC_ADD_STYLE(wxFLP_SMALL); XRC_ADD_STYLE(wxFLP_DEFAULT_STYLE); + XRC_ADD_STYLE(wxFLP_USE_TEXTCTRL); AddWindowStyles(); } @@ -40,10 +42,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());