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
},\\
19 \helpref{wxColour
}{wxcolour
},\\
20 \helpref{wxColourData
}{wxcolourdata
},\\
21 \helpref{wxGetColourFromUser
}{wxgetcolourfromuser
}
23 \latexignore{\rtfignore{\wxheading{Members
}}}
25 \membersection{wxColourDialog::wxColourDialog
}\label{wxcolourdialogwxcolourdialog
}
27 \func{}{wxColourDialog
}{\param{wxWindow*
}{parent
},
\param{wxColourData*
}{data = NULL
}}
29 Constructor. Pass a parent window, and optionally a pointer to a block of colour
30 data, which will be copied to the colour dialog's colour data.
34 \helpref{wxColourData
}{wxcolourdata
}
36 \membersection{wxColourDialog::
\destruct{wxColourDialog
}}
38 \func{}{\destruct{wxColourDialog
}}{\void}
42 \membersection{wxColourDialog::Create
}
44 \func{bool
}{Create
}{\param{wxWindow*
}{parent
},
\param{wxColourData*
}{data = NULL
}}
46 Same as
\helpref{constructor
}{wxcolourdialogwxcolourdialog
}.
48 \membersection{wxColourDialog::GetColourData
}
50 \func{wxColourData\&
}{GetColourData
}{\void}
52 Returns the
\helpref{colour data
}{wxcolourdata
} associated with the colour dialog.
54 \membersection{wxColourDialog::ShowModal
}
56 \func{int
}{ShowModal
}{\void}
58 Shows the dialog, returning wxID
\_OK if the user pressed OK, and wxOK
\_CANCEL