]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_clrpicker.cpp
Take basic style into account when showing style under cursor
[wxWidgets.git] / src / xrc / xh_clrpicker.cpp
index 4f977b20f21ec18be0039981c7268b4f1d1234d5..be815f65410e287fdfe092c29d3b982e22ea729e 100644 (file)
@@ -36,7 +36,7 @@ wxObject *wxColourPickerCtrlXmlHandler::DoCreateResource()
 
    picker->Create(m_parentAsWindow,
                   GetID(),
 
    picker->Create(m_parentAsWindow,
                   GetID(),
-                  GetColour(wxT("value")),
+                  GetColour(wxT("value"), *wxBLACK),
                   GetPosition(), GetSize(),
                   GetStyle(_T("style"), wxCLRP_DEFAULT_STYLE),
                   wxDefaultValidator,
                   GetPosition(), GetSize(),
                   GetStyle(_T("style"), wxCLRP_DEFAULT_STYLE),
                   wxDefaultValidator,