]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/colordlg.tex
added SetStatusText method (avoiding dc.Clear)
[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
954b8ae6
JS
12\wxheading{Include files}
13
14<wx/colordlg.h>
15
a660d684
KB
16\wxheading{See also}
17
18\helpref{wxColourDialog Overview}{wxcolourdialogoverview}, \helpref{wxColour}{wxcolour}, \helpref{wxColourData}{wxcolourdata}
19
20\latexignore{\rtfignore{\wxheading{Members}}}
21
f6bcfd97 22\membersection{wxColourDialog::wxColourDialog}\label{wxcolourdialogwxcolourdialog}
a660d684
KB
23
24\func{}{wxColourDialog}{\param{wxWindow* }{parent}, \param{wxColourData* }{data = NULL}}
25
26Constructor. Pass a parent window, and optionally a pointer to a block of colour
27data, which will be copied to the colour dialog's colour data.
28
29\wxheading{See also}
30
31\helpref{wxColourData}{wxcolourdata}
32
33\membersection{wxColourDialog::\destruct{wxColourDialog}}
34
35\func{}{\destruct{wxColourDialog}}{\void}
36
37Destructor.
38
f6bcfd97
BP
39\membersection{wxColourDialog::Create}
40
41\func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxColourData* }{data = NULL}}
42
43Same as \helpref{constructor}{wxcolourdialogwxcolourdialog}.
44
a660d684
KB
45\membersection{wxColourDialog::GetColourData}
46
47\func{wxColourData\&}{GetColourData}{\void}
48
49Returns the \helpref{colour data}{wxcolourdata} associated with the colour dialog.
50
51\membersection{wxColourDialog::ShowModal}
52
53\func{int}{ShowModal}{\void}
54
55Shows the dialog, returning wxID\_OK if the user pressed OK, and wxOK\_CANCEL
56otherwise.
57
58