$szTitle = "wxcolourdialog"; include "./_header.inc"; ?>
this class represents the colour chooser dialog.
derived from
wxdialog
wxwindow
wxevthandler
wxobject
include files
<wx/colordlg.h>
see also
wxcolourdialog overview,
wxcolour,
wxcolourdata,
wxgetcolourfromuser
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. custom colours from colour data object will be be used in dialog's colour palette. invalid entries in custom colours list will be ignored on some platforms (gtk) or replaced with white colour on platforms where custom colours palette has fixed size (msw).
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 wxid_cancel otherwise.
include "./_footer.inc"; ?>