1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 %% Purpose: wxSpinEvent documentation
4 %% Author: Vadim Zeitlin
8 %% Copyright: (c) Vadim Zeitlin
9 %% License: wxWindows license
10 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
12 \section{\class{wxSpinEvent
}}\label{wxspinevent
}
14 This event class is used for the events generated by
15 \helpref{wxSpinButton
}{wxspinbutton
} and
\helpref{wxSpinCtrl
}{wxspinctrl
}.
17 \wxheading{Derived from
}
19 \helpref{wxNotifyEvent
}{wxnotifyevent
}\\
20 \helpref{wxCommandEvent
}{wxcommandevent
}\\
21 \helpref{wxEvent
}{wxevent
}\\
22 \helpref{wxObject
}{wxobject
}
24 \wxheading{Include files
}
26 <wx/spinbutt.h> or <wx/spinctrl.h>
30 \helpref{wxSpinButton
}{wxspinbutton
} and
\helpref{wxSpinCtrl
}{wxspinctrl
}
32 \latexignore{\rtfignore{\wxheading{Members
}}}
34 \membersection{wxSpinEvent::wxSpinEvent
}\label{wxspineventctor
}
36 \func{}{wxSpinEvent
}{\param{wxEventType
}{commandType = wxEVT
\_NULL},
\param{int
}{id =
0}}
38 The constructor is not normally used by the user code.
40 \membersection{wxSpinEvent::GetPosition
}\label{wxspineventgetposition
}
42 \constfunc{int
}{GetPosition
}{\void}
44 Retrieve the current spin button or control value.
46 \membersection{wxSpinEvent::SetPosition
}\label{wxspineventsetposition
}
48 \func{void
}{SetPosition
}{\param{int
}{pos
}}
50 Set the value associated with the event.