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
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#ifdef __GNUG__
|
||||||
|
#pragma implementation "app.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
// For compilers that support precompilation, includes "wx.h".
|
// For compilers that support precompilation, includes "wx.h".
|
||||||
#include "wx/wxprec.h"
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
|
@@ -24,6 +24,9 @@
|
|||||||
#include "wx/icon.h"
|
#include "wx/icon.h"
|
||||||
#include "wx/msgdlg.h"
|
#include "wx/msgdlg.h"
|
||||||
#include "wx/module.h"
|
#include "wx/module.h"
|
||||||
|
#if wxUSE_STATUSBAR
|
||||||
|
#include "wx/statusbr.h"
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/dcprint.h"
|
#include "wx/dcprint.h"
|
||||||
|
@@ -108,6 +108,10 @@ wxPen::wxPen(
|
|||||||
wxThePenList->AddPen(this);
|
wxThePenList->AddPen(this);
|
||||||
} // end of wxPen::wxPen
|
} // end of wxPen::wxPen
|
||||||
|
|
||||||
|
int wx2os2PenStyle(
|
||||||
|
int nWxStyle
|
||||||
|
);
|
||||||
|
|
||||||
bool wxPen::RealizeResource()
|
bool wxPen::RealizeResource()
|
||||||
{
|
{
|
||||||
BOOL bOk;
|
BOOL bOk;
|
||||||
|
@@ -9,6 +9,10 @@
|
|||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#ifdef __GNUG__
|
||||||
|
#pragma implementation "timer.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
// For compilers that support precompilation, includes "wx.h".
|
// For compilers that support precompilation, includes "wx.h".
|
||||||
#include "wx/wxprec.h"
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
@@ -51,8 +55,8 @@ void wxTimer::Init()
|
|||||||
|
|
||||||
wxTimer::~wxTimer()
|
wxTimer::~wxTimer()
|
||||||
{
|
{
|
||||||
Stop();
|
|
||||||
wxTimer::Stop();
|
wxTimer::Stop();
|
||||||
|
|
||||||
wxTimerList.DeleteObject(this);
|
wxTimerList.DeleteObject(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -164,8 +168,8 @@ ULONG wxTimerProc(
|
|||||||
wxNode* pNode = wxTimerList.Find((ULONG)nIdTimer);
|
wxNode* pNode = wxTimerList.Find((ULONG)nIdTimer);
|
||||||
|
|
||||||
wxCHECK_MSG(pNode, 0, wxT("bogus timer id in wxTimerProc") );
|
wxCHECK_MSG(pNode, 0, wxT("bogus timer id in wxTimerProc") );
|
||||||
|
if (pNode)
|
||||||
wxProcessTimer(*(wxTimer *)pNode->Data());
|
wxProcessTimer(*(wxTimer *)pNode->Data());
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -17,6 +17,8 @@
|
|||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/settings.h"
|
#include "wx/settings.h"
|
||||||
#include "wx/window.h"
|
#include "wx/window.h"
|
||||||
|
#include "wx/frame.h"
|
||||||
|
#include "wx/app.h"
|
||||||
#include "wx/dcclient.h"
|
#include "wx/dcclient.h"
|
||||||
#include "wx/dcmemory.h"
|
#include "wx/dcmemory.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -36,6 +36,7 @@
|
|||||||
#include "wx/intl.h"
|
#include "wx/intl.h"
|
||||||
#include "wx/frame.h"
|
#include "wx/frame.h"
|
||||||
#include "wx/control.h"
|
#include "wx/control.h"
|
||||||
|
#include "wx/containr.h" // wxSetFocusToChild()
|
||||||
#endif //WX_PRECOMP
|
#endif //WX_PRECOMP
|
||||||
|
|
||||||
#include "wx/os2/private.h"
|
#include "wx/os2/private.h"
|
||||||
|
@@ -35,6 +35,7 @@
|
|||||||
#include "wx/scrolwin.h"
|
#include "wx/scrolwin.h"
|
||||||
#include "wx/radiobox.h"
|
#include "wx/radiobox.h"
|
||||||
#include "wx/slider.h"
|
#include "wx/slider.h"
|
||||||
|
#include "wx/statbox.h"
|
||||||
#include "wx/statusbr.h"
|
#include "wx/statusbr.h"
|
||||||
#include "wx/toolbar.h"
|
#include "wx/toolbar.h"
|
||||||
#include "wx/settings.h"
|
#include "wx/settings.h"
|
||||||
@@ -2932,7 +2933,7 @@ MRESULT wxWindowOS2::OS2WindowProc(
|
|||||||
if ( bProcessed )
|
if ( bProcessed )
|
||||||
{
|
{
|
||||||
// we never set focus from here
|
// we never set focus from here
|
||||||
mResult = FALSE;
|
mResult = (MRESULT)FALSE;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user