Contents Up Previous Next

wxColourDialog: wxDialogBox

Overview

This class represents the colour chooser dialog. This is available under Motif and Windows. Under XView there seem to be some problems, probably related to modal dialogs.

wxColourDialog::wxColourDialog
wxColourDialog::~wxColourDialog
wxColourDialog::GetColourData
wxColourDialog::Show


wxColourDialog::wxColourDialog

void 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.


wxColourDialog::~wxColourDialog

void ~wxColourDialog(void)

Destructor.


wxColourDialog::GetColourData

wxColourData& GetColourData(void)

Returns the colour data associated with the colour dialog.


wxColourDialog::Show

Bool Show(Bool flag)

Shows the dialog, returning TRUE if the user pressed Ok, and FALSE otherwise.