precision is platform-dependent, but in general will not be better than 1ms nor
worse than 1s.
-There are two different ways to use this class:
+There are three different ways to use this class:
\begin{enumerate}
\item You may derive a new class from wxTimer and override the
\helpref{Notify}{wxtimernotify} member to perform the required action.
\item Or you may redirect the notifications to any
-\helpref{wxEvtHandler}{wxevthandler} derived object by using the non default
+\helpref{wxEvtHandler}{wxevthandler} derived object by using the non-default
constructor or \helpref{SetOwner}{wxtimersetowner}. Then use the {\tt EVT\_TIMER}
macro to connect it to the event handler which will receive
\helpref{wxTimerEvent}{wxtimerevent} notifications.
after constructing it before it actually starts sending notifications. It can
be stopped later with \helpref{Stop}{wxtimerstop}.
-{\bf NB:} note that timer can only be used from the main thread currently.
+{\bf Note:} A timer can only be used from the main thread.
\wxheading{Derived from}
\helpref{wxEvtHandler}{wxevthandler}
+\helpref{wxObject}{wxobject}
\wxheading{Include files}
Creates a timer and associates it with {\it owner}. Please see
\helpref{SetOwner}{wxtimersetowner} for the description of parameters.
-\membersection{wxTimer::\destruct{wxTimer}}
+\membersection{wxTimer::\destruct{wxTimer}}\label{wxtimerdtor}
\func{}{\destruct{wxTimer}}{\void}
\membersection{wxTimer::Start}\label{wxtimerstart}
-\func{bool}{Start}{\param{int}{milliseconds = -1}, \param{bool }{oneShot = {\tt false}}}
+\func{bool}{Start}{\param{int }{milliseconds = -1}, \param{bool }{oneShot = {\tt false}}}
(Re)starts the timer. If {\it milliseconds}\/ parameter is -1 (value by default),
the previous value is used. Returns {\tt false} if the timer could not be started,
\end{verbatim}
+\wxheading{Derived from}
+
+\helpref{wxEvent}{wxevent}
+
\wxheading{Include files}
<wx/timer.h>