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:
@@ -16,10 +16,11 @@
|
||||
|
||||
#include "wx/msw/wrapwin.h"
|
||||
|
||||
|
||||
#if defined (__WXWINCE__)
|
||||
#include <wingdi.h> // RGB, COLORREF
|
||||
#define ERRFALSE(x)
|
||||
#include <winuser.h> // Global Namespaces ::GetKeyState, ::GetWindowRect
|
||||
#include "wx/msw/winundef.h"
|
||||
#endif
|
||||
|
||||
|
||||
@@ -555,6 +556,7 @@ WXDLLEXPORT void wxDrawLine(HDC hdc, int x1, int y1, int x2, int y2);
|
||||
#ifdef __WXWINCE__
|
||||
#include <winbase.h>
|
||||
|
||||
#if _WIN32_WCE <= 211
|
||||
#define GlobalAlloc LocalAlloc
|
||||
#define GlobalFree LocalFree
|
||||
#define GlobalLock(mem) mem
|
||||
@@ -564,6 +566,7 @@ WXDLLEXPORT void wxDrawLine(HDC hdc, int x1, int y1, int x2, int y2);
|
||||
#define GHND LPTR
|
||||
#define GMEM_MOVEABLE 0
|
||||
#define GMEM_SHARE 0
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
|
||||
|
@@ -244,7 +244,7 @@
|
||||
// Default is 1
|
||||
//
|
||||
// Recommended setting: 0 unless you do plan to develop MT applications
|
||||
#define wxUSE_THREADS 1
|
||||
#define wxUSE_THREADS 0
|
||||
|
||||
// If enabled (1), compiles wxWindows streams classes
|
||||
#define wxUSE_STREAMS 1
|
||||
|
@@ -317,7 +317,11 @@
|
||||
#undef IsMaximized
|
||||
inline BOOL IsMaximized(HWND hwnd)
|
||||
{
|
||||
#ifdef __WXWINCE__
|
||||
return FALSE;
|
||||
#else
|
||||
return IsZoomed(hwnd);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -327,7 +331,11 @@
|
||||
#undef GetFirstChild
|
||||
inline HWND GetFirstChild(HWND hwnd)
|
||||
{
|
||||
#ifdef __WXWINCE__
|
||||
return 0;
|
||||
#else
|
||||
return GetTopWindow(hwnd);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@@ -931,9 +931,12 @@ WXDLLIMPEXP_BASE int wxSystem(const wxChar *psz);
|
||||
#ifdef __WXWINCE__
|
||||
WXDLLIMPEXP_BASE char* strdup(const char* s);
|
||||
WXDLLIMPEXP_BASE void *calloc( size_t num, size_t size );
|
||||
|
||||
#if _WIN32_WCE <= 211
|
||||
WXDLLIMPEXP_BASE int isspace(int c);
|
||||
WXDLLIMPEXP_BASE int isascii( int c );
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// multibyte to wide char conversion functions and macros
|
||||
|
Reference in New Issue
Block a user