Compilation fixes for EMX. Mostly adding includes and declarations that
are missing when not using pre-compiled headers. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -9,6 +9,10 @@
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "timer.h"
|
||||
#endif
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
@@ -51,8 +55,8 @@ void wxTimer::Init()
|
||||
|
||||
wxTimer::~wxTimer()
|
||||
{
|
||||
Stop();
|
||||
wxTimer::Stop();
|
||||
|
||||
wxTimerList.DeleteObject(this);
|
||||
}
|
||||
|
||||
@@ -164,8 +168,8 @@ ULONG wxTimerProc(
|
||||
wxNode* pNode = wxTimerList.Find((ULONG)nIdTimer);
|
||||
|
||||
wxCHECK_MSG(pNode, 0, wxT("bogus timer id in wxTimerProc") );
|
||||
|
||||
wxProcessTimer(*(wxTimer *)pNode->Data());
|
||||
if (pNode)
|
||||
wxProcessTimer(*(wxTimer *)pNode->Data());
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user