+class WXDLLEXPORT wxTimerEvent : public wxEvent
+{
+public:
+ wxTimerEvent(int id = 0, int interval = 0) : wxEvent(id)
+ {
+ m_eventType = wxEVT_TIMER;
+
+ m_interval = interval;
+ }
+
+ // accessors
+ int GetInterval() const { return m_interval; }
+
+private:
+ int m_interval;
+
+ DECLARE_DYNAMIC_CLASS(wxTimerEvent)
+};
+
+typedef void (wxEvtHandler::*wxTimerEventFunction)(wxTimerEvent&);
+
+#define EVT_TIMER(id, func) \
+ DECLARE_EVENT_TABLE_ENTRY( wxEVT_TIMER, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxTimerEventFunction) & func, NULL),
+
+#endif // wxUSE_GUI && wxUSE_TIMER
+
+// ----------------------------------------------------------------------------
+// wxStopWatch: measure time intervals with up to 1ms resolution
+// ----------------------------------------------------------------------------
+
+#if wxUSE_STOPWATCH
+