X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bfb7820116755308b63bf944acca3827577ed132..cb41a69b152026d6c586d21148e34913291cd733:/src/xrc/xh_dirpicker.cpp diff --git a/src/xrc/xh_dirpicker.cpp b/src/xrc/xh_dirpicker.cpp index aaf59f963d..8fab3a7fc0 100644 --- a/src/xrc/xh_dirpicker.cpp +++ b/src/xrc/xh_dirpicker.cpp @@ -3,7 +3,6 @@ // Purpose: XML resource handler for wxDirPickerCtrl // Author: Francesco Montorsi // Created: 2006-04-17 -// RCS-ID: $Id$ // Copyright: (c) 2006 Francesco Montorsi // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -27,6 +26,7 @@ wxDirPickerCtrlXmlHandler::wxDirPickerCtrlXmlHandler() : wxXmlResourceHandler() XRC_ADD_STYLE(wxDIRP_USE_TEXTCTRL); XRC_ADD_STYLE(wxDIRP_DIR_MUST_EXIST); XRC_ADD_STYLE(wxDIRP_CHANGE_DIR); + XRC_ADD_STYLE(wxDIRP_SMALL); XRC_ADD_STYLE(wxDIRP_DEFAULT_STYLE); AddWindowStyles(); } @@ -40,7 +40,7 @@ wxObject *wxDirPickerCtrlXmlHandler::DoCreateResource() GetParamValue(wxT("value")), GetText(wxT("message")), GetPosition(), GetSize(), - GetStyle(_T("style"), wxDIRP_DEFAULT_STYLE), + GetStyle(wxT("style"), wxDIRP_DEFAULT_STYLE), wxDefaultValidator, GetName());