1 \section{\class{wxColourDialog
}}\label{wxcolourdialog
}
3 This class represents the colour chooser dialog.
5 \wxheading{Derived from
}
7 \helpref{wxDialog
}{wxdialog
}\\
8 \helpref{wxWindow
}{wxwindow
}\\
9 \helpref{wxEvtHandler
}{wxevthandler
}\\
10 \helpref{wxObject
}{wxobject
}
12 \wxheading{Include files
}
18 \helpref{wxColourDialog Overview
}{wxcolourdialogoverview
},
\helpref{wxColour
}{wxcolour
},
\helpref{wxColourData
}{wxcolourdata
}
20 \latexignore{\rtfignore{\wxheading{Members
}}}
22 \membersection{wxColourDialog::wxColourDialog
}\label{wxcolourdialogwxcolourdialog
}
24 \func{}{wxColourDialog
}{\param{wxWindow*
}{parent
},
\param{wxColourData*
}{data = NULL
}}
26 Constructor. Pass a parent window, and optionally a pointer to a block of colour
27 data, which will be copied to the colour dialog's colour data.
31 \helpref{wxColourData
}{wxcolourdata
}
33 \membersection{wxColourDialog::
\destruct{wxColourDialog
}}
35 \func{}{\destruct{wxColourDialog
}}{\void}
39 \membersection{wxColourDialog::Create
}
41 \func{bool
}{Create
}{\param{wxWindow*
}{parent
},
\param{wxColourData*
}{data = NULL
}}
43 Same as
\helpref{constructor
}{wxcolourdialogwxcolourdialog
}.
45 \membersection{wxColourDialog::GetColourData
}
47 \func{wxColourData\&
}{GetColourData
}{\void}
49 Returns the
\helpref{colour data
}{wxcolourdata
} associated with the colour dialog.
51 \membersection{wxColourDialog::ShowModal
}
53 \func{int
}{ShowModal
}{\void}
55 Shows the dialog, returning wxID
\_OK if the user pressed OK, and wxOK
\_CANCEL