X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0bcc480680ecdf368839c119f5e984df757f893..feb6cde446a73ac2fe9ea0528d6c6eb16cc040fd:/docs/latex/wx/spinctrl.tex diff --git a/docs/latex/wx/spinctrl.tex b/docs/latex/wx/spinctrl.tex index 44570693f6..da0c9befc5 100644 --- a/docs/latex/wx/spinctrl.tex +++ b/docs/latex/wx/spinctrl.tex @@ -30,13 +30,19 @@ wxSpinCtrl combines \helpref{wxTextCtrl}{wxtextctrl} and \wxheading{Event handling} To process input from a spin button, use one of these event handler macros to direct input to member -functions that take a \helpref{wxScrollEvent}{wxscrollevent} argument: +functions that take a \helpref{wxSpinEvent}{wxspinevent} argument: \twocolwidtha{7cm} \begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_SPINCTRL(id, func)}}{Generated whenever spinctrl is updated} +\twocolitem{{\bf EVT\_SPINCTRL(id, func)}}{Generated whenever the numeric value +of the spinctrl is updated} \end{twocollist}% +You may also use the \helpref{wxSpinButton}{wxspinbutton} event macros, however +the corresponding events will not be generated under all platforms. Finally, if +the user modifies the text in the edit part of the spin control directly, the +{\tt EVT\_TEXT} is generated, like for the \helpref{wxTextCtrl}{wxtextctrl}. + \wxheading{See also} \helpref{Event handling overview}{eventhandlingoverview},