This class represents the colour chooser dialog.
Derived from
wxDialog
wxWindow
wxEvtHandler
wxObject
Include files
<wx/colordlg.h>
See also
wxColourDialog Overview, wxColour, wxColourData
Members
wxColourDialog::wxColourDialog
wxColourDialog::~wxColourDialog
wxColourDialog::Create
wxColourDialog::GetColourData
wxColourDialog::ShowModal
wxColourDialog(wxWindow* parent, wxColourData* data = NULL)
Constructor. Pass a parent window, and optionally a pointer to a block of colour data, which will be copied to the colour dialog's colour data.
See also
~wxColourDialog()
Destructor.
bool Create(wxWindow* parent, wxColourData* data = NULL)
Same as constructor.
wxColourData& GetColourData()
Returns the colour data associated with the colour dialog.
int ShowModal()
Shows the dialog, returning wxID_OK if the user pressed OK, and wxOK_CANCEL otherwise.