// macros
// ----------------------------------------------------------------------------
-IMPLEMENT_ABSTRACT_CLASS(wxTimer, wxObject)
+IMPLEMENT_ABSTRACT_CLASS(wxTimer, wxEvtHandler)
void wxTimer::Init()
{
wxCHECK_MSG(pNode, 0, wxT("bogus timer id in wxTimerProc") );
if (pNode)
- wxProcessTimer(*(wxTimer *)pNode->Data());
+ wxProcessTimer(*(wxTimer *)pNode->GetData());
return 0;
}