From: Julian Smart <julian@anthemion.co.uk>
Date: Thu, 31 Mar 2005 08:33:10 +0000 (+0000)
Subject: Use InvalidateRect for Smartphone.
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/16d652a54c48f307697191a9d817b8e1b17a0228

Use InvalidateRect for Smartphone.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/src/msw/window.cpp b/src/msw/window.cpp
index f0964a9120..68136888e9 100644
--- a/src/msw/window.cpp
+++ b/src/msw/window.cpp
@@ -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
     }
 }