]>
Commit | Line | Data |
---|---|---|
1 | \section{\class{wxColourDialog}}\label{wxcolourdialog} | |
2 | ||
3 | This 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 | ||
22 | Constructor. Pass a parent window, and optionally a pointer to a block of colour | |
23 | data, 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 | ||
33 | Destructor. | |
34 | ||
35 | \membersection{wxColourDialog::GetColourData} | |
36 | ||
37 | \func{wxColourData\&}{GetColourData}{\void} | |
38 | ||
39 | Returns the \helpref{colour data}{wxcolourdata} associated with the colour dialog. | |
40 | ||
41 | \membersection{wxColourDialog::ShowModal} | |
42 | ||
43 | \func{int}{ShowModal}{\void} | |
44 | ||
45 | Shows the dialog, returning wxID\_OK if the user pressed OK, and wxOK\_CANCEL | |
46 | otherwise. | |
47 | ||
48 |