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:
Stefan Neis
2002-08-25 17:58:44 +00:00
parent 2ebb116d15
commit 272ebf16f8
7 changed files with 23 additions and 4 deletions

View File

@@ -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;
}