X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f11bdd03b9623a61bfe3137beeefd7b1256bb9a1..b1d66b5415f7befb45e050d7097571642b8bfa56:/include/wx/timer.h diff --git a/include/wx/timer.h b/include/wx/timer.h index 0e7c41b260..f835029b3c 100644 --- a/include/wx/timer.h +++ b/include/wx/timer.h @@ -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;