#if defined (__WXWINCE__)
#include <wingdi.h> // RGB, COLORREF
#if defined (__WXWINCE__)
#include <wingdi.h> // RGB, COLORREF
#define GlobalAlloc LocalAlloc
#define GlobalFree LocalFree
#define GlobalLock(mem) mem
#define GlobalAlloc LocalAlloc
#define GlobalFree LocalFree
#define GlobalLock(mem) mem