X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12f5e1e78fe906050ff2fee9529476db332633f0..71a0f42d2a5606098e3e7abbb50b9bb1cd718f9e:/interface/wx/clrpicker.h?ds=sidebyside diff --git a/interface/wx/clrpicker.h b/interface/wx/clrpicker.h index a3fa169d80..913c0fe831 100644 --- a/interface/wx/clrpicker.h +++ b/interface/wx/clrpicker.h @@ -3,7 +3,7 @@ // Purpose: interface of wxColourPickerCtrl // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -29,7 +29,7 @@ (instead of no label at all). @endStyleTable - @beginEventTable{wxColourPickerEvent} + @beginEventEmissionTable{wxColourPickerEvent} @event{EVT_COLOURPICKER_CHANGED(id, func)} The user changed the colour selected in the control either using the button or using text control (see @c wxCLRP_USE_TEXTCTRL; note that @@ -39,7 +39,7 @@ @library{wxcore} @category{pickers} - + @appearance{colourpickerctrl.png} @see wxColourDialog, wxColourPickerEvent */ @@ -50,12 +50,12 @@ public: Initializes the object and calls Create() with all the parameters. */ wxColourPickerCtrl(wxWindow* parent, wxWindowID id, - const wxColour& colour = wxBLACK, + const wxColour& colour = *wxBLACK, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxCLRP_DEFAULT_STYLE, const wxValidator& validator = wxDefaultValidator, - const wxString& name = "colourpickerctrl"); + const wxString& name = wxColourPickerCtrlNameStr); /** Creates a colour picker with the given arguments. @@ -81,12 +81,12 @@ public: creation failed. */ bool Create(wxWindow* parent, wxWindowID id, - const wxColour& colour = wxBLACK, + const wxColour& colour = *wxBLACK, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxCLRP_DEFAULT_STYLE, const wxValidator& validator = wxDefaultValidator, - const wxString& name = "colourpickerctrl"); + const wxString& name = wxColourPickerCtrlNameStr); /** Returns the currently selected colour.