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{wxcolourdialogctor
}
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. Custom
31 colours from colour data object will be be used in dialog's colour palette.
32 Invalid entries in custom colours list will be ignored on some platforms (GTK)
33 or replaced with white colour on platforms where custom colours palette has
38 \helpref{wxColourData
}{wxcolourdata
}
40 \membersection{wxColourDialog::
\destruct{wxColourDialog
}}\label{wxcolourdialogdtor
}
42 \func{}{\destruct{wxColourDialog
}}{\void}
46 \membersection{wxColourDialog::Create
}\label{wxcolourdialogcreate
}
48 \func{bool
}{Create
}{\param{wxWindow*
}{parent
},
\param{wxColourData*
}{data = NULL
}}
50 Same as
\helpref{constructor
}{wxcolourdialogctor
}.
52 \membersection{wxColourDialog::GetColourData
}\label{wxcolourdialoggetcolourdata
}
54 \func{wxColourData\&
}{GetColourData
}{\void}
56 Returns the
\helpref{colour data
}{wxcolourdata
} associated with the colour dialog.
58 \membersection{wxColourDialog::ShowModal
}\label{wxcolourdialogshowmodal
}
60 \func{int
}{ShowModal
}{\void}
62 Shows the dialog, returning wxID
\_OK if the user pressed OK, and wxID
\_CANCEL