]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/timercmn.cpp
simpler define handling
[wxWidgets.git] / src / common / timercmn.cpp
index 8cfe29d11362d339c03c6e49e19d22fdc1cc4448..defa3b9dd40d08d18a3a7bf6ebb384cb08dd850a 100644 (file)
@@ -39,7 +39,9 @@
 // wxWin macros
 // ----------------------------------------------------------------------------
 
-IMPLEMENT_ABSTRACT_CLASS(wxTimerEvent, wxEvent)
+IMPLEMENT_DYNAMIC_CLASS(wxTimerEvent, wxEvent)
+
+wxDEFINE_EVENT(wxEVT_TIMER, wxTimerEvent);
 
 // ============================================================================
 // wxTimerBase implementation