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:
@@ -463,6 +463,10 @@ void wxScrollHelper::HandleOnScroll(wxScrollWinEvent& event)
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool needsRefresh = false;
|
bool needsRefresh = false;
|
||||||
|
#ifdef __WXMAC__
|
||||||
|
// OS X blocks on immediate redraws, so make this a refresh
|
||||||
|
needsRefresh = true;
|
||||||
|
#endif
|
||||||
int dx = 0,
|
int dx = 0,
|
||||||
dy = 0;
|
dy = 0;
|
||||||
int orient = event.GetOrientation();
|
int orient = event.GetOrientation();
|
||||||
|
Reference in New Issue
Block a user