From: Jaakko Salli Date: Wed, 19 Nov 2008 16:29:47 +0000 (+0000) Subject: When calling DrawIconEx(), do not use DI_COMPAT or DI_DEFAULTSIZE on WinCE (fixes... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/591df136d66c3456f9b63c866d5fdfa9d4cef088 When calling DrawIconEx(), do not use DI_COMPAT or DI_DEFAULTSIZE on WinCE (fixes ticket #10200) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/propgrid/advprops.cpp b/src/propgrid/advprops.cpp index 819014523d..da83df34dc 100644 --- a/src/propgrid/advprops.cpp +++ b/src/propgrid/advprops.cpp @@ -1530,7 +1530,10 @@ void wxCursorProperty::OnCustomPaint( wxDC& dc, 0, 0, NULL, - DI_COMPAT | DI_DEFAULTSIZE | DI_NORMAL + #if !defined(__WXWINCE__) + DI_COMPAT | DI_DEFAULTSIZE | + #endif + DI_NORMAL ); #endif }