]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/timer.h
added support for appearance brushes
[wxWidgets.git] / include / wx / timer.h
index 0e7c41b2603fa3fe42f8527a28dfca7b008f4656..f835029b3cab13bc40386033dc1681cb328f2e52 100644 (file)
@@ -109,8 +109,8 @@ protected:
     #include "wx/motif/timer.h"
 #elif defined(__WXGTK__)
     #include "wx/gtk/timer.h"
-#elif defined(__WXQT__)
-    #include "wx/qt/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;