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:
Julian Smart
2002-12-10 12:13:25 +00:00
parent c8c29c490b
commit 368c9c6d84
6 changed files with 73 additions and 9 deletions

View File

@@ -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