]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_clrpicker.cpp
Add virtual wxSizer::DoInsert() to replace Insert().
[wxWidgets.git] / src / xrc / xh_clrpicker.cpp
index 58afba8f72b7182bd3df74c4de34a16e804a2658..5c458697b0b03f0a95ef5a04004d282db3c270e0 100644 (file)
@@ -36,9 +36,9 @@ wxObject *wxColourPickerCtrlXmlHandler::DoCreateResource()
 
    picker->Create(m_parentAsWindow,
                   GetID(),
-                  GetColour(wxT("colour")),
+                  GetColour(wxT("value"), *wxBLACK),
                   GetPosition(), GetSize(),
-                  GetStyle(_T("style"), wxCLRP_DEFAULT_STYLE),
+                  GetStyle(wxT("style"), wxCLRP_DEFAULT_STYLE),
                   wxDefaultValidator,
                   GetName());