Compile with EVC 3.0 2002

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-07-15 22:28:21 +00:00
parent e7647357c6
commit 42d11c8e66
7 changed files with 25 additions and 7 deletions

View File

@@ -236,8 +236,9 @@ bool wxAppBase::ProcessIdle()
bool wxAppBase::SendIdleEvents(wxWindow* win, wxIdleEvent& event)
{
bool needMore = FALSE;
win->OnInternalIdle();
if (wxIdleEvent::CanSend(win))
{
event.SetEventObject(win);
@@ -246,7 +247,6 @@ bool wxAppBase::SendIdleEvents(wxWindow* win, wxIdleEvent& event)
if (event.MoreRequested())
needMore = TRUE;
}
wxWindowList::compatibility_iterator node = win->GetChildren().GetFirst();
while ( node )
{

View File

@@ -1403,7 +1403,8 @@ char *strdup(const char *s)
}
#endif
#if (defined(__MWERKS__) && !defined(__MACH__)) || defined(__WXWINCE__)
#if (defined(__MWERKS__) && !defined(__MACH__)) || (defined(__WXWINCE__) && _WIN32_WCE <= 211)
int isascii( int c )
{
return ( c >= 0 && c < 128 );
@@ -1418,8 +1419,11 @@ void *calloc( size_t num, size_t size )
return ptr;
}
#if (_WIN32_WCE <= 211)
int isspace(int c)
{
return (c == ' ');
}
#endif
#endif

View File

@@ -40,6 +40,8 @@
#include "wx/icon.h"
#endif
#include "wx/msw/private.h" // needs to be before #include <commdlg.h>
#include "wx/sysopt.h"
#include "wx/dcprint.h"
#include "wx/module.h"
@@ -52,8 +54,6 @@
#include <string.h>
#include <math.h>
#include "wx/msw/private.h" // needs to be before #include <commdlg.h>
#if wxUSE_COMMON_DIALOGS && !defined(__WXMICROWIN__)
#include <commdlg.h>
#endif