X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/272ebf16f85536aced3277ebd69e0c70eabf8d0a..4092a27504cfac416b0e1888a04ad0715711836d:/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; }