X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec376c8fd9ff813392030426acd2317c6fa6527e..0aab87fddd7cb1a350132772de9d379e1485616e:/src/xrc/xh_clrpicker.cpp diff --git a/src/xrc/xh_clrpicker.cpp b/src/xrc/xh_clrpicker.cpp index 2d71b823bb..5c458697b0 100644 --- a/src/xrc/xh_clrpicker.cpp +++ b/src/xrc/xh_clrpicker.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xh_clrpicker.cpp +// Name: src/xrc/xh_clrpicker.cpp // Purpose: XML resource handler for wxColourPickerCtrl // Author: Francesco Montorsi // Created: 2006-04-17 @@ -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());