]> git.saurik.com Git - wxWidgets.git/commitdiff
Use InvalidateRect for Smartphone.
authorJulian Smart <julian@anthemion.co.uk>
Thu, 31 Mar 2005 08:33:10 +0000 (08:33 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 31 Mar 2005 08:33:10 +0000 (08:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/window.cpp

index f0964a9120459b087e2e6d6e45f50cd79099b038..68136888e9a5bc3219772f966ea79570c5f9a597 100644 (file)
@@ -1347,7 +1347,7 @@ void wxWindowMSW::Refresh(bool eraseBack, const wxRect *rect)
 
         ::RedrawWindow(hWnd, pRect, NULL, flags);
 #else
-        wxUnusedVar( eraseBack );
+        ::InvalidateRect(hWnd, pRect, eraseBack);
 #endif
     }
 }