don't require <value> node in wxColourPickerCtrl's XRC handler, use black as default (i.e. do the same that C++ code does)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2006-07-15 15:34:34 +00:00
parent 984f1d84fd
commit e96ff06fc4

View File

@@ -36,7 +36,7 @@ wxObject *wxColourPickerCtrlXmlHandler::DoCreateResource()
picker->Create(m_parentAsWindow,
GetID(),
GetColour(wxT("value")),
GetColour(wxT("value"), *wxBLACK),
GetPosition(), GetSize(),
GetStyle(_T("style"), wxCLRP_DEFAULT_STYLE),
wxDefaultValidator,