]> git.saurik.com Git - wxWidgets.git/commitdiff
don't require <value> node in wxColourPickerCtrl's XRC handler, use black as default...
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 15 Jul 2006 15:34:34 +0000 (15:34 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 15 Jul 2006 15:34:34 +0000 (15:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/xrc/xh_clrpicker.cpp

index 4f977b20f21ec18be0039981c7268b4f1d1234d5..be815f65410e287fdfe092c29d3b982e22ea729e 100644 (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,