void SetOwner(wxEvtHandler *owner, int id = -1)
{ m_owner = owner; m_idTimer = id; }
-#ifdef __DARWIN__
- virtual ~wxTimerBase() { }
-#endif
+ virtual ~wxTimerBase();
// working with the timer
// ----------------------
#include "wx/motif/timer.h"
#elif defined(__WXGTK__)
#include "wx/gtk/timer.h"
-#elif defined(__WXQT__)
- #include "wx/qt/timer.h"
+#elif defined(__WXX11__)
+ #include "wx/x11/timer.h"
+#elif defined(__WXMGL__)
+ #include "wx/mgl/timer.h"
#elif defined(__WXMAC__)
#include "wx/mac/timer.h"
#elif defined(__WXPM__)
// accessors
int GetInterval() const { return m_interval; }
+ // implement the base class pure virtual
+ virtual wxEvent *Clone() const { return new wxTimerEvent(*this); }
+
private:
int m_interval;