/**
@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
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.
/**
@class wxColourPickerEvent
- @wxheader{clrpicker.h}
This event class is used for the events generated by wxColourPickerCtrl.