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
This commit is contained in:
Robin Dunn
2007-02-06 18:12:49 +00:00
parent 53ab8e0d5f
commit c7ffa7e49f

View File

@@ -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();