X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/73c62f54176f802faed18a1e0ee78d64ad122da6..58c132bbfcbbed7ca67ed6c2c278306b885bee48:/docs/latex/wx/spinbutt.tex?ds=sidebyside diff --git a/docs/latex/wx/spinbutt.tex b/docs/latex/wx/spinbutt.tex index 29467299af..d10be46118 100644 --- a/docs/latex/wx/spinbutt.tex +++ b/docs/latex/wx/spinbutt.tex @@ -3,8 +3,7 @@ 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 (Win32 and GTK only -currently). +as wxSpinButton is not implemented for all 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 @@ -32,7 +31,7 @@ required, 5.80 is recommended) the full 32 bit range is supported. \begin{twocollist}\itemsep=0pt \twocolitem{\windowstyle{wxSP\_HORIZONTAL}}{Specifies a horizontal spin button (note that this style is not supported in wxGTK).} \twocolitem{\windowstyle{wxSP\_VERTICAL}}{Specifies a vertical spin button.} -\twocolitem{\windowstyle{wxSP\_ARROW\_KEYS}}{The user can use arrow keys.} +\twocolitem{\windowstyle{wxSP\_ARROW\_KEYS}}{The user can use arrow keys to change the value.} \twocolitem{\windowstyle{wxSP\_WRAP}}{The value wraps at the minimum and maximum.} \end{twocollist} @@ -46,7 +45,7 @@ See also \helpref{window styles overview}{windowstyles}. \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxSpinButton::wxSpinButton}\label{wxspinbuttonconstr} +\membersection{wxSpinButton::wxSpinButton}\label{wxspinbuttonctor} \func{}{wxSpinButton}{\void} @@ -54,7 +53,8 @@ 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}, +%\param{const wxValidator\& }{validator = wxDefaultValidator},\rtfsp \param{const wxString\& }{name = ``spinButton"}} Constructor, creating and showing a spin button. @@ -79,7 +79,7 @@ Constructor, creating and showing a spin button. \helpref{wxSpinButton::Create}{wxspinbuttoncreate}, \helpref{wxValidator}{wxvalidator} -\membersection{wxSpinButton::\destruct{wxSpinButton}} +\membersection{wxSpinButton::\destruct{wxSpinButton}}\label{wxspinbuttondtor} \func{void}{\destruct{wxSpinButton}}{\void} @@ -89,11 +89,12 @@ 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}, +%\param{const wxValidator\& }{validator = wxDefaultValidator},\rtfsp \param{const wxString\& }{name = ``spinButton"}} Scrollbar creation function called by the spin button constructor. -See \helpref{wxSpinButton::wxSpinButton}{wxspinbuttonconstr} for details. +See \helpref{wxSpinButton::wxSpinButton}{wxspinbuttonctor} for details. \membersection{wxSpinButton::GetMax}\label{wxspinbuttongetmax}