(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
@library{wxcore}
@category{pickers}
- <!-- @appearance{colourpickerctrl.png} -->
+ @appearance{colourpickerctrl.png}
@see wxColourDialog, wxColourPickerEvent
*/
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.
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.