X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec376c8fd9ff813392030426acd2317c6fa6527e..6f026b5b63fe7ccb025e84509886f74772b9df13:/src/xrc/xh_clrpicker.cpp?ds=sidebyside diff --git a/src/xrc/xh_clrpicker.cpp b/src/xrc/xh_clrpicker.cpp index 2d71b823bb..690275e67b 100644 --- a/src/xrc/xh_clrpicker.cpp +++ b/src/xrc/xh_clrpicker.cpp @@ -1,9 +1,8 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xh_clrpicker.cpp +// Name: src/xrc/xh_clrpicker.cpp // Purpose: XML resource handler for wxColourPickerCtrl // Author: Francesco Montorsi // Created: 2006-04-17 -// RCS-ID: $Id$ // Copyright: (c) 2006 Francesco Montorsi // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -36,9 +35,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());