1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 %% Purpose: wxSpinEvent documentation
4 %% Author: Vadim Zeitlin
8 %% Copyright: (c) Vadim Zeitlin
9 %% License: wxWidgets 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>
32 \helpref{wxSpinButton
}{wxspinbutton
} and
\helpref{wxSpinCtrl
}{wxspinctrl
}
34 \latexignore{\rtfignore{\wxheading{Members
}}}
36 \membersection{wxSpinEvent::wxSpinEvent
}\label{wxspineventctor
}
38 \func{}{wxSpinEvent
}{\param{wxEventType
}{commandType = wxEVT
\_NULL},
\param{int
}{id =
0}}
40 The constructor is not normally used by the user code.
42 \membersection{wxSpinEvent::GetPosition
}\label{wxspineventgetposition
}
44 \constfunc{int
}{GetPosition
}{\void}
46 Retrieve the current spin button or control value.
48 \membersection{wxSpinEvent::SetPosition
}\label{wxspineventsetposition
}
50 \func{void
}{SetPosition
}{\param{int
}{pos
}}
52 Set the value associated with the event.