]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/timer.h
fixed bug with the caret positioning after SetValue() introduced by the last commit
[wxWidgets.git] / include / wx / timer.h
index c7459e915296ed7f6bc2a89d2c831655f2ce2d8d..f835029b3cab13bc40386033dc1681cb328f2e52 100644 (file)
@@ -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;