X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/305329c2f18dc3db4148d9206b0f123176920168..9bf6a1b80cb856903e15387ebecc926142e73010:/docs/latex/wx/fontpicker.tex diff --git a/docs/latex/wx/fontpicker.tex b/docs/latex/wx/fontpicker.tex index 4f06ac899a..60549ad2eb 100644 --- a/docs/latex/wx/fontpicker.tex +++ b/docs/latex/wx/fontpicker.tex @@ -28,6 +28,10 @@ It is only available if \texttt{wxUSE\_FONTPICKERCTRL} is set to $1$ (the defaul +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{Window styles} \twocolwidtha{5cm}% @@ -44,6 +48,9 @@ The text control is automatically synchronized with button's value. Use function \wxheading{Event handling} +To process a font picker event, use these event handler macros to direct input to member +functions that take a \helpref{wxFontPickerEvent}{wxfontpickerevent} argument. + \twocolwidtha{7cm}% \begin{twocollist}\itemsep=0pt \twocolitem{{\bf EVT\_FONTPICKER\_CHANGED(id, func)}}{The user changed the font @@ -60,7 +67,7 @@ user's input is valid, i.e. recognizable). } \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxFontPickerCtrl::wxFontPickerCtrl}\label{wxfontpickerctrl} +\membersection{wxFontPickerCtrl::wxFontPickerCtrl}\label{wxfontpickerctrlctor} \func{}{wxFontPickerCtrl}{\param{wxWindow *}{parent},\rtfsp \param{wxWindowID}{ id},\rtfsp @@ -92,8 +99,8 @@ all the parameters. \docparam{id}{The identifier for the control.} -\docparam{font}{The initial font shown in the control. The default -\texttt{wxNORMAL\_FONT} value means to use the default font.} +\docparam{font}{The initial font shown in the control. If \texttt{wxNullFont} +is given, the default font is used.} \docparam{pos}{Initial position.} @@ -163,6 +170,10 @@ This event class is used for the events generated by +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{Event handling} To process input from a wxFontPickerCtrl, use one of these event handler macros to