X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2a19d941d7796fcc82e752b036eea5f8ed0fa2c..b1d66b5415f7befb45e050d7097571642b8bfa56:/include/wx/timer.h diff --git a/include/wx/timer.h b/include/wx/timer.h index ae1da9917b..f835029b3c 100644 --- a/include/wx/timer.h +++ b/include/wx/timer.h @@ -111,8 +111,6 @@ protected: #include "wx/gtk/timer.h" #elif defined(__WXMGL__) #include "wx/mgl/timer.h" -#elif defined(__WXQT__) - #include "wx/qt/timer.h" #elif defined(__WXMAC__) #include "wx/mac/timer.h" #elif defined(__WXPM__) @@ -169,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;