1 \section{\class{wxColourDialog
}}\label{wxcolourdialog
}
3 This class represents the colour chooser dialog.
5 \wxheading{Derived from
}
7 \helpref{wxDialog
}{wxdialog
}\\
8 \helpref{wxTopLevelWindow
}{wxtoplevelwindow
}\\
9 \helpref{wxWindow
}{wxwindow
}\\
10 \helpref{wxEvtHandler
}{wxevthandler
}\\
11 \helpref{wxObject
}{wxobject
}
13 \wxheading{Include files
}
19 \helpref{wxCore
}{librarieslist
}
23 \helpref{wxColourDialog Overview
}{wxcolourdialogoverview
},\\
24 \helpref{wxColour
}{wxcolour
},\\
25 \helpref{wxColourData
}{wxcolourdata
},\\
26 \helpref{wxGetColourFromUser
}{wxgetcolourfromuser
}
28 \latexignore{\rtfignore{\wxheading{Members
}}}
30 \membersection{wxColourDialog::wxColourDialog
}\label{wxcolourdialogctor
}
32 \func{}{wxColourDialog
}{\param{wxWindow*
}{parent
},
\param{wxColourData*
}{data = NULL
}}
34 Constructor. Pass a parent window, and optionally a pointer to a block of colour
35 data, which will be copied to the colour dialog's colour data. Custom
36 colours from colour data object will be be used in dialog's colour palette.
37 Invalid entries in custom colours list will be ignored on some platforms (GTK)
38 or replaced with white colour on platforms where custom colours palette has
43 \helpref{wxColourData
}{wxcolourdata
}
45 \membersection{wxColourDialog::
\destruct{wxColourDialog
}}\label{wxcolourdialogdtor
}
47 \func{}{\destruct{wxColourDialog
}}{\void}
51 \membersection{wxColourDialog::Create
}\label{wxcolourdialogcreate
}
53 \func{bool
}{Create
}{\param{wxWindow*
}{parent
},
\param{wxColourData*
}{data = NULL
}}
55 Same as
\helpref{constructor
}{wxcolourdialogctor
}.
57 \membersection{wxColourDialog::GetColourData
}\label{wxcolourdialoggetcolourdata
}
59 \func{wxColourData\&
}{GetColourData
}{\void}
61 Returns the
\helpref{colour data
}{wxcolourdata
} associated with the colour dialog.
63 \membersection{wxColourDialog::ShowModal
}\label{wxcolourdialogshowmodal
}
65 \func{int
}{ShowModal
}{\void}
67 Shows the dialog, returning wxID
\_OK if the user pressed OK, and wxID
\_CANCEL