X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..107ea8f0694830232c7df4a1568b707111c04649:/interface/wx/clrpicker.h diff --git a/interface/wx/clrpicker.h b/interface/wx/clrpicker.h index 062c134d13..93391720f7 100644 --- a/interface/wx/clrpicker.h +++ b/interface/wx/clrpicker.h @@ -8,7 +8,6 @@ /** @class wxColourPickerCtrl - @wxheader{clrpicker.h} This control allows the user to select a colour. The generic implementation is a button which brings up a wxColourDialog when clicked. Native @@ -40,7 +39,7 @@ @library{wxcore} @category{pickers} - + @appearance{colourpickerctrl.png} @see wxColourDialog, wxColourPickerEvent */ @@ -51,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. @@ -82,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. @@ -107,7 +106,6 @@ public: /** @class wxColourPickerEvent - @wxheader{clrpicker.h} This event class is used for the events generated by wxColourPickerCtrl.