Applied some of patch [ 650957 ] wxWinCE diff-0.0.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -20,6 +20,13 @@
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
|
||||
#if defined (__WXWINCE__)
|
||||
#include <wingdi.h> // RGB, COLORREF
|
||||
#include <winuser.h> // Global Namespaces ::GetKeyState, ::GetWindowRect
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __WXMICROWIN__
|
||||
// Extra prototypes and symbols not defined by MicroWindows
|
||||
#include "wx/msw/microwin.h"
|
||||
|
@@ -27,7 +27,8 @@
|
||||
|
||||
// CreateDialog
|
||||
|
||||
#ifdef CreateDialog
|
||||
//#ifdef(CreateDialog)
|
||||
#if !defined(__WXWINCE__) && defined(CreateDialog)
|
||||
#undef CreateDialog
|
||||
|
||||
inline HWND CreateDialog(HINSTANCE hInstance,
|
||||
@@ -356,6 +357,16 @@
|
||||
#undef Yield
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(__WXWINCE__) && defined(DrawIcon) //#ifdef DrawIcon
|
||||
#undef DrawIcon
|
||||
inline BOOL DrawIcon(HDC hdc, int x, int y, HICON hicon)
|
||||
{
|
||||
return DrawIconEx(hdc,x,y,hicon,0,0,0,NULL, DI_NORMAL) ;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
// GetWindowProc
|
||||
//ifdef GetWindowProc
|
||||
// #undef GetWindowProc
|
||||
|
Reference in New Issue
Block a user