X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/392751754e224616f01ce454830177b7a2b24b2b..134198f1b773199b5506c302bf9510831d0319f5:/docs/latex/wx/spinbutt.tex diff --git a/docs/latex/wx/spinbutt.tex b/docs/latex/wx/spinbutt.tex index d10be46118..046b7f3ca0 100644 --- a/docs/latex/wx/spinbutt.tex +++ b/docs/latex/wx/spinbutt.tex @@ -3,7 +3,8 @@ A wxSpinButton has two small up and down (or left and right) arrow buttons. It is often used next to a text control for increment and decrementing a value. Portable programs should try to use \helpref{wxSpinCtrl}{wxspinctrl} instead -as wxSpinButton is not implemented for all platforms. +as wxSpinButton is not implemented for all platforms but wxSpinCtrl is as it +degenerates to a simple \helpref{wxTextCtrl}{wxtextctrl} on such platforms. {\bf NB:} the range supported by this control (and wxSpinCtrl) depends on the platform but is at least {\tt -0x8000} to {\tt 0x7fff}. Under GTK and @@ -25,6 +26,10 @@ required, 5.80 is recommended) the full 32 bit range is supported. +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{Window styles} \twocolwidtha{5cm} @@ -53,8 +58,7 @@ Default constructor. \func{}{wxSpinButton}{\param{wxWindow*}{ parent}, \param{wxWindowID }{id},\rtfsp \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp -\param{long}{ style = wxSP\_HORIZONTAL}, -%\param{const wxValidator\& }{validator = wxDefaultValidator},\rtfsp +\param{long}{ style = wxSP\_HORIZONTAL},\rtfsp \param{const wxString\& }{name = ``spinButton"}} Constructor, creating and showing a spin button. @@ -71,13 +75,11 @@ Constructor, creating and showing a spin button. \docparam{style}{Window style. See \helpref{wxSpinButton}{wxspinbutton}.} -\docparam{validator}{Window validator.} - \docparam{name}{Window name.} \wxheading{See also} -\helpref{wxSpinButton::Create}{wxspinbuttoncreate}, \helpref{wxValidator}{wxvalidator} +\helpref{wxSpinButton::Create}{wxspinbuttoncreate} \membersection{wxSpinButton::\destruct{wxSpinButton}}\label{wxspinbuttondtor} @@ -89,8 +91,7 @@ Destructor, destroys the spin button control. \func{bool}{Create}{\param{wxWindow*}{ parent}, \param{wxWindowID }{id},\rtfsp \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp -\param{long}{ style = wxSP\_HORIZONTAL}, -%\param{const wxValidator\& }{validator = wxDefaultValidator},\rtfsp +\param{long}{ style = wxSP\_HORIZONTAL},\rtfsp \param{const wxString\& }{name = ``spinButton"}} Scrollbar creation function called by the spin button constructor.