<option>1</option>
<border>5</border>
<object class="wxColourPickerCtrl" name="controls_colourpicker">
- <colour>#00ff00</colour>
+ <value>#00ff00</value>
<style>wxCLRP_SHOW_LABEL</style>
</object>
</object>
<message>Here goes a message</message>
<style>wxFLP_OPEN</style>
<wildcard>*.png</wildcard>
- <default-path/>
+ <value/>
</object>
</object>
<object class="sizeritem">
<option>1</option>
<border>5</border>
<object class="wxDirPickerCtrl" name="controls_dirpicker">
- <default-path/>
+ <value/>
<style>wxDIRP_CHANGE_DIR</style>
<message>Here goes a message</message>
</object>
<border>5</border>
<object class="wxFontPickerCtrl" name="controls_fontpicker">
<style>wxFNTP_USEFONT_FOR_LABEL</style>
- <default-font>
+ <value>
<size>20</size>
<sysfont>wxSYS_DEFAULT_GUI_FONT</sysfont>
- </default-font>
+ </value>
</object>
</object>
</object>
picker->Create(m_parentAsWindow,
GetID(),
- GetColour(wxT("colour")),
+ GetColour(wxT("value")),
GetPosition(), GetSize(),
GetStyle(_T("style"), wxCLRP_DEFAULT_STYLE),
wxDefaultValidator,
picker->Create(m_parentAsWindow,
GetID(),
- GetParamValue(wxT("default-path")),
+ GetParamValue(wxT("value")),
GetParamValue(wxT("message")),
GetPosition(), GetSize(),
GetStyle(_T("style"), wxDIRP_DEFAULT_STYLE),
picker->Create(m_parentAsWindow,
GetID(),
- GetParamValue(wxT("default-path")),
+ GetParamValue(wxT("value")),
GetParamValue(wxT("message")),
GetParamValue(wxT("wildcard")),
GetPosition(), GetSize(),
XRC_MAKE_INSTANCE(picker, wxFontPickerCtrl)
wxFont f = *wxNORMAL_FONT;
- if (HasParam(wxT("default-font")))
- f = GetFont(wxT("default-font"));
+ if (HasParam(wxT("value")))
+ f = GetFont(wxT("value"));
picker->Create(m_parentAsWindow,
GetID(),