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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user