/////////////////////////////////////////////////////////////////////////////
-// Name: xh_clrpicker.cpp
-// Purpose: XML resource handler for wxColourPickerCtrl
+// Name: src/xrc/xh_dirpicker.cpp
+// Purpose: XML resource handler for wxDirPickerCtrl
// Author: Francesco Montorsi
// Created: 2006-04-17
// RCS-ID: $Id$
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();
}
picker->Create(m_parentAsWindow,
GetID(),
- GetParamValue(wxT("default-path")),
- GetParamValue(wxT("message")),
+ GetParamValue(wxT("value")),
+ GetText(wxT("message")),
GetPosition(), GetSize(),
- GetStyle(_T("style"), wxDIRP_DEFAULT_STYLE),
+ GetStyle(wxT("style"), wxDIRP_DEFAULT_STYLE),
wxDefaultValidator,
GetName());