X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4707b84cd074ff2ae9ada99579f864eb300f8774..544ab85e05ac2eb8bfa507bb8f81b87a69b2000c:/interface/wx/clrpicker.h diff --git a/interface/wx/clrpicker.h b/interface/wx/clrpicker.h index af52b96cc4..7389afabf0 100644 --- a/interface/wx/clrpicker.h +++ b/interface/wx/clrpicker.h @@ -3,9 +3,16 @@ // Purpose: interface of wxColourPickerCtrl // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +#define wxCLRP_USE_TEXTCTRL (wxPB_USE_TEXTCTRL) +#define wxCLRP_DEFAULT_STYLE 0 +#define wxCLRP_SHOW_LABEL 0x0008 + +wxEventType wxEVT_COLOURPICKER_CHANGED; + + /** @class wxColourPickerCtrl @@ -29,7 +36,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,13 +46,15 @@ @library{wxcore} @category{pickers} - + @appearance{colourpickerctrl} @see wxColourDialog, wxColourPickerEvent */ class wxColourPickerCtrl : public wxPickerBase { public: + wxColourPickerCtrl(); + /** Initializes the object and calls Create() with all the parameters. */ @@ -122,6 +131,8 @@ public: class wxColourPickerEvent : public wxCommandEvent { public: + wxColourPickerEvent(); + /** The constructor is not normally used by the user code. */