]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_clrpicker.cpp
removed unused variable
[wxWidgets.git] / src / xrc / xh_clrpicker.cpp
index 58afba8f72b7182bd3df74c4de34a16e804a2658..be815f65410e287fdfe092c29d3b982e22ea729e 100644 (file)
@@ -36,7 +36,7 @@ wxObject *wxColourPickerCtrlXmlHandler::DoCreateResource()
 
    picker->Create(m_parentAsWindow,
                   GetID(),
-                  GetColour(wxT("colour")),
+                  GetColour(wxT("value"), *wxBLACK),
                   GetPosition(), GetSize(),
                   GetStyle(_T("style"), wxCLRP_DEFAULT_STYLE),
                   wxDefaultValidator,