X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..45fcbf3b7a7c9cfd96e67278e4eaa12e8e015651:/docs/latex/wx/spinbutt.tex?ds=sidebyside

diff --git a/docs/latex/wx/spinbutt.tex b/docs/latex/wx/spinbutt.tex
index b318cdb5cd..cbd1263151 100644
--- a/docs/latex/wx/spinbutt.tex
+++ b/docs/latex/wx/spinbutt.tex
@@ -10,6 +10,10 @@ used next to a text control for increment and decrementing a value.
 \helpref{wxEvtHandler}{wxevthandler}\\
 \helpref{wxObject}{wxobject}
 
+\wxheading{Include files}
+
+<wx/spinbutt.h>
+
 \wxheading{Window styles}
 
 \twocolwidtha{5cm}
@@ -22,10 +26,6 @@ used next to a text control for increment and decrementing a value.
 
 See also \helpref{window styles overview}{windowstyles}.
 
-\wxheading{Remarks}
-
-TODO
-
 \wxheading{Event handling}
 
 To process input from a spin button, use one of these event handler macros to direct input to member
@@ -34,8 +34,8 @@ functions that take a \helpref{wxScrollEvent}{wxscrollevent} argument:
 \twocolwidtha{7cm}
 \begin{twocollist}
 \twocolitem{{\bf EVT\_SPIN(id, func)}}{Catch all scroll commands.}
-\twocolitem{{\bf EVT\_SPIN\_UP(id, func)}}{Catch up (or left) commands.}
-\twocolitem{{\bf EVT\_SPIN\_DOWN(id, func)}}{Catch down (or right) commands.}
+\twocolitem{{\bf EVT\_SPIN\_UP(id, func)}}{Catch up (or left) commands. Win32 only. }
+\twocolitem{{\bf EVT\_SPIN\_DOWN(id, func)}}{Catch down (or right) commands. Win32 only. }
 \twocolitem{{\bf EVT\_COMMAND\_TOP(id, func)}}{Catch a command to put the scroll thumb at the maximum position.}
 \twocolitem{{\bf EVT\_COMMAND\_SCROLL(id, func)}}{Catch all scroll commands.}
 \twocolitem{{\bf EVT\_COMMAND\_TOP(id, func)}}{Catch a command to put the scroll thumb at the maximum position.}
@@ -59,9 +59,9 @@ functions that take a \helpref{wxScrollEvent}{wxscrollevent} argument:
 
 Default constructor.
 
-\func{}{wxSpinButton}{\param{wxWindow*}{ parent}, \param{const wxWindowID }{id},\rtfsp
+\func{}{wxSpinButton}{\param{wxWindow*}{ parent}, \param{wxWindowID }{id},\rtfsp
 \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp
-\param{const 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.
@@ -94,9 +94,9 @@ Destructor, destroying the spin button.
 
 \membersection{wxSpinButton::Create}\label{wxspinbuttoncreate}
 
-\func{bool}{Create}{\param{wxWindow*}{ parent}, \param{const wxWindowID }{id},\rtfsp
+\func{bool}{Create}{\param{wxWindow*}{ parent}, \param{wxWindowID }{id},\rtfsp
 \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp
-\param{const 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.
@@ -134,7 +134,7 @@ Returns the current spin button value.
 
 \membersection{wxSpinButton::SetRange}\label{wxspinbuttonsetrange}
 
-\func{void}{SetRange}{\param{const int}{ min}, \param{const int}{ max}}
+\func{void}{SetRange}{\param{int}{ min}, \param{int}{ max}}
 
 Sets the range of the spin button.
 
@@ -150,7 +150,7 @@ Sets the range of the spin button.
 
 \membersection{wxSpinButton::SetValue}\label{wxspinbuttonsetvalue}
 
-\func{void}{SetValue}{\param{const int}{ value}}
+\func{void}{SetValue}{\param{int}{ value}}
 
 Sets the value of the spin button.
 
