X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec376c8fd9ff813392030426acd2317c6fa6527e..2cd78b2a875c3b7abd8a9f1025e164124fae0088:/docs/latex/wx/clrpicker.tex diff --git a/docs/latex/wx/clrpicker.tex b/docs/latex/wx/clrpicker.tex index cb95378b2e..14f7805290 100644 --- a/docs/latex/wx/clrpicker.tex +++ b/docs/latex/wx/clrpicker.tex @@ -32,11 +32,7 @@ It is only available if \texttt{wxUSE\_COLOURPICKERCTRL} is set to $1$ (the defa \twocolwidtha{5cm}% \begin{twocollist}\itemsep=0pt -\twocolitem{\windowstyle{wxCLRP\_DEFAULT}}{Default style.} -\twocolitem{\windowstyle{wxCLRP\_USE\_TEXTCTRL}}{Creates a text control to the left of the -picker button which is completely managed by the \helpref{wxColourPickerCtrl}{wxcolourpickerctrl} -and which can be used by the user to specify a colour (see \helpref{SetColour}{wxcolourpickerctrlsetcolour}). -The text control is automatically synchronized with button's value. Use functions defined in \helpref{wxPickerBase}{wxpickerbase} to modify the text control.} +\twocolitem{\windowstyle{wxCLRP\_DEFAULT\_STYLE}}{The default style: 0.} \twocolitem{\windowstyle{wxCLRP\_USE\_TEXTCTRL}}{Creates a text control to the left of the picker button which is completely managed by the \helpref{wxColourPickerCtrl}{wxcolourpickerctrl} and which can be used by the user to specify a colour (see \helpref{SetColour}{wxcolourpickerctrlsetcolour}). @@ -47,6 +43,9 @@ The text control is automatically synchronized with button's value. Use function \wxheading{Event handling} +To process a colour picker event, use these event handler macros to direct input to member +functions that take a \helpref{wxColourPickerEvent}{wxcolourpickerevent} argument. + \twocolwidtha{7cm}% \begin{twocollist}\itemsep=0pt \twocolitem{{\bf EVT\_COLOURPICKER\_CHANGED(id, func)}}{The user changed the @@ -70,7 +69,7 @@ the user's input is valid, i.e. recognizable). } \param{const wxColour\& }{colour = *wxBLACK},\rtfsp \param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp \param{const wxSize\& }{size = wxDefaultSize},\rtfsp -\param{long}{ style = wxCP\_DEFAULT\_STYLE},\rtfsp +\param{long}{ style = wxCLRP\_DEFAULT\_STYLE},\rtfsp \param{const wxValidator\& }{validator = wxDefaultValidator}, \param{const wxString\& }{name = ``colourpickerctrl"}} @@ -85,7 +84,7 @@ all the parameters. \param{const wxColour\& }{colour = *wxBLACK},\rtfsp \param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp \param{const wxSize\& }{size = wxDefaultSize},\rtfsp -\param{long}{ style = wxCP\_DEFAULT\_STYLE},\rtfsp +\param{long}{ style = wxCLRP\_DEFAULT\_STYLE},\rtfsp \param{const wxValidator\& }{validator = wxDefaultValidator}, \param{const wxString\& }{name = ``colourpickerctrl"}} @@ -101,7 +100,7 @@ all the parameters. \docparam{size}{Initial size.} -\docparam{style}{The window style, see wxCRLP\_* flags.} +\docparam{style}{The window style, see {\tt wxCRLP\_*} flags.} \docparam{validator}{Validator which can be used for additional date checks.}