X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6e711d5c093dcc758e3f1670caf845612ea9fa92..8beeef5f05e31bca568bfe0e654f8c89cd8689a6:/include/wx/timer.h diff --git a/include/wx/timer.h b/include/wx/timer.h index c7459e9152..f835029b3c 100644 --- a/include/wx/timer.h +++ b/include/wx/timer.h @@ -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;