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 "app.h"
#endif
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"

View File

@ -24,6 +24,9 @@
#include "wx/icon.h"
#include "wx/msgdlg.h"
#include "wx/module.h"
#if wxUSE_STATUSBAR
#include "wx/statusbr.h"
#endif
#endif
#include "wx/dcprint.h"

View File

@ -108,6 +108,10 @@ wxPen::wxPen(
wxThePenList->AddPen(this);
} // end of wxPen::wxPen
int wx2os2PenStyle(
int nWxStyle
);
bool wxPen::RealizeResource()
{
BOOL bOk;

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

View File

@ -17,6 +17,8 @@
#ifndef WX_PRECOMP
#include "wx/settings.h"
#include "wx/window.h"
#include "wx/frame.h"
#include "wx/app.h"
#include "wx/dcclient.h"
#include "wx/dcmemory.h"
#endif

View File

@ -36,6 +36,7 @@
#include "wx/intl.h"
#include "wx/frame.h"
#include "wx/control.h"
#include "wx/containr.h" // wxSetFocusToChild()
#endif //WX_PRECOMP
#include "wx/os2/private.h"

View File

@ -35,6 +35,7 @@
#include "wx/scrolwin.h"
#include "wx/radiobox.h"
#include "wx/slider.h"
#include "wx/statbox.h"
#include "wx/statusbr.h"
#include "wx/toolbar.h"
#include "wx/settings.h"
@ -2932,7 +2933,7 @@ MRESULT wxWindowOS2::OS2WindowProc(
if ( bProcessed )
{
// we never set focus from here
mResult = FALSE;
mResult = (MRESULT)FALSE;
}
break;