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