More WinCE mods

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-07-11 21:43:57 +00:00
parent 2cf38c9783
commit 086b3a5b02
9 changed files with 42 additions and 12 deletions

View File

@@ -555,6 +555,9 @@ WXDLLEXPORT extern wxWindow *wxGetWindowFromHWND(WXHWND hwnd);
// Get the size of an icon
WXDLLEXPORT extern wxSize wxGetHiconSize(HICON hicon);
// Lines are drawn differently for WinCE and regular WIN32
WXDLLEXPORT void wxDrawLine(HDC hdc, int x1, int y1, int x2, int y2);
// LocalAlloc should be used on WinCE
#ifdef __WXWINCE__
#include <winbase.h>
@@ -563,7 +566,11 @@ WXDLLEXPORT extern wxSize wxGetHiconSize(HICON hicon);
#define GlobalFree LocalFree
#define GlobalLock(mem) mem
#define GlobalUnlock(mem)
#define GlobalSize LocalSize
#define GPTR LPTR
#define GHND LPTR
#define GMEM_MOVEABLE 0
#define GMEM_SHARE 0
#if 0