X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bfb7820116755308b63bf944acca3827577ed132..4e3eeddebdd4897428c0de576def883ac54f357c:/src/xrc/xh_filepicker.cpp diff --git a/src/xrc/xh_filepicker.cpp b/src/xrc/xh_filepicker.cpp index 40e8280551..90965a34ca 100644 --- a/src/xrc/xh_filepicker.cpp +++ b/src/xrc/xh_filepicker.cpp @@ -29,6 +29,7 @@ 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(); @@ -44,7 +45,7 @@ wxObject *wxFilePickerCtrlXmlHandler::DoCreateResource() GetText(wxT("message")), GetParamValue(wxT("wildcard")), GetPosition(), GetSize(), - GetStyle(_T("style"), wxFLP_DEFAULT_STYLE), + GetStyle(wxT("style"), wxFLP_DEFAULT_STYLE), wxDefaultValidator, GetName());