]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/colordlg.tex
Sorry, I went and removed consts as per the style guide :-)
[wxWidgets.git] / docs / latex / wx / colordlg.tex
CommitLineData
a660d684
KB
1\section{\class{wxColourDialog}}\label{wxcolourdialog}
2
3This class represents the colour chooser dialog.
4
5\wxheading{Derived from}
6
7\helpref{wxDialog}{wxdialog}\\
8\helpref{wxWindow}{wxwindow}\\
9\helpref{wxEvtHandler}{wxevthandler}\\
10\helpref{wxObject}{wxobject}
11
12\wxheading{See also}
13
14\helpref{wxColourDialog Overview}{wxcolourdialogoverview}, \helpref{wxColour}{wxcolour}, \helpref{wxColourData}{wxcolourdata}
15
16\latexignore{\rtfignore{\wxheading{Members}}}
17
18\membersection{wxColourDialog::wxColourDialog}
19
20\func{}{wxColourDialog}{\param{wxWindow* }{parent}, \param{wxColourData* }{data = NULL}}
21
22Constructor. Pass a parent window, and optionally a pointer to a block of colour
23data, which will be copied to the colour dialog's colour data.
24
25\wxheading{See also}
26
27\helpref{wxColourData}{wxcolourdata}
28
29\membersection{wxColourDialog::\destruct{wxColourDialog}}
30
31\func{}{\destruct{wxColourDialog}}{\void}
32
33Destructor.
34
35\membersection{wxColourDialog::GetColourData}
36
37\func{wxColourData\&}{GetColourData}{\void}
38
39Returns the \helpref{colour data}{wxcolourdata} associated with the colour dialog.
40
41\membersection{wxColourDialog::ShowModal}
42
43\func{int}{ShowModal}{\void}
44
45Shows the dialog, returning wxID\_OK if the user pressed OK, and wxOK\_CANCEL
46otherwise.
47
48