]> git.saurik.com Git - wxWidgets.git/commitdiff
When calling DrawIconEx(), do not use DI_COMPAT or DI_DEFAULTSIZE on WinCE (fixes...
authorJaakko Salli <jaakko.salli@dnainternet.net>
Wed, 19 Nov 2008 16:29:47 +0000 (16:29 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Wed, 19 Nov 2008 16:29:47 +0000 (16:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/propgrid/advprops.cpp

index 819014523d9aa2d36fa3c8df068f8540d3126cb8..da83df34dca1cce69c1d6738f944872b525772d7 100644 (file)
@@ -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
             }