X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/272ebf16f85536aced3277ebd69e0c70eabf8d0a..7b25d8e7bd0eca9f0f6efe62b3721d14c394dac9:/src/os2/timer.cpp diff --git a/src/os2/timer.cpp b/src/os2/timer.cpp index f102ace512..1aebce5ee1 100644 --- a/src/os2/timer.cpp +++ b/src/os2/timer.cpp @@ -46,7 +46,7 @@ ULONG wxTimerProc(HWND hwnd, ULONG, int nIdTimer, ULONG); // macros // ---------------------------------------------------------------------------- -IMPLEMENT_ABSTRACT_CLASS(wxTimer, wxObject) +IMPLEMENT_ABSTRACT_CLASS(wxTimer, wxEvtHandler) void wxTimer::Init() { @@ -169,7 +169,7 @@ ULONG wxTimerProc( wxCHECK_MSG(pNode, 0, wxT("bogus timer id in wxTimerProc") ); if (pNode) - wxProcessTimer(*(wxTimer *)pNode->Data()); + wxProcessTimer(*(wxTimer *)pNode->GetData()); return 0; }