]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/colordlg.tex
Set/GetWindowMenu added to MDI parent frame under MSW
[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
22\membersection{wxColourDialog::wxColourDialog}
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
39\membersection{wxColourDialog::GetColourData}
40
41\func{wxColourData\&}{GetColourData}{\void}
42
43Returns the \helpref{colour data}{wxcolourdata} associated with the colour dialog.
44
45\membersection{wxColourDialog::ShowModal}
46
47\func{int}{ShowModal}{\void}
48
49Shows the dialog, returning wxID\_OK if the user pressed OK, and wxOK\_CANCEL
50otherwise.
51
52