]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/timer.h
added wxFSVolume patch from George Policello (untested, unreferenced from the project...
[wxWidgets.git] / include / wx / timer.h
index 6a494be5ace5e8eed86072e3d6a4061288d77ead..b5b5cfab04abffd7c631955c57ea8df9bf6588a3 100644 (file)
@@ -49,9 +49,7 @@ public:
     void SetOwner(wxEvtHandler *owner, int id = -1)
         { m_owner = owner; m_idTimer = id; }
 
-#ifdef __WXMAC_X__
-    virtual ~wxTimerBase() {} // Added min for Mac X
-#endif
+    virtual ~wxTimerBase();
 
     // working with the timer
     // ----------------------
@@ -109,8 +107,10 @@ protected:
     #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__)
@@ -167,6 +167,9 @@ public:
     // 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;