]> git.saurik.com Git - wxWidgets.git/commitdiff
Smartphone fix.
authorWłodzimierz Skiba <abx@abx.art.pl>
Thu, 31 Mar 2005 08:09:28 +0000 (08:09 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Thu, 31 Mar 2005 08:09:28 +0000 (08:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/window.cpp

index a17b0401d29e15b79db3bf669dff18bf5d3f0346..f0964a9120459b087e2e6d6e45f50cd79099b038 100644 (file)
@@ -1340,11 +1340,15 @@ void wxWindowMSW::Refresh(bool eraseBack, const wxRect *rect)
             pRect = NULL;
         }
 
+#ifndef __SMARTPHONE__
         UINT flags = RDW_INVALIDATE | RDW_ALLCHILDREN;
         if ( eraseBack )
             flags |= RDW_ERASE;
 
         ::RedrawWindow(hWnd, pRect, NULL, flags);
+#else
+        wxUnusedVar( eraseBack );
+#endif
     }
 }