From c7ffa7e49fca41a19d7ec85763ad2ab84693a24a Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 6 Feb 2007 18:12:49 +0000 Subject: [PATCH] Backport Mac optimization to always use Refresh instead of Update git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/scrlwing.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/generic/scrlwing.cpp b/src/generic/scrlwing.cpp index 99e9a43640..89744747aa 100644 --- a/src/generic/scrlwing.cpp +++ b/src/generic/scrlwing.cpp @@ -463,6 +463,10 @@ void wxScrollHelper::HandleOnScroll(wxScrollWinEvent& event) } bool needsRefresh = false; +#ifdef __WXMAC__ + // OS X blocks on immediate redraws, so make this a refresh + needsRefresh = true; +#endif int dx = 0, dy = 0; int orient = event.GetOrientation();