X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76a5e5d21ee1a6230d777ce0209b2df4c6075f0f..2078220ed6605d5d3bba16afe1a231b3e92fa9d8:/src/mac/carbon/scrolbar.cpp diff --git a/src/mac/carbon/scrolbar.cpp b/src/mac/carbon/scrolbar.cpp index 07fb9476df..a38962776d 100644 --- a/src/mac/carbon/scrolbar.cpp +++ b/src/mac/carbon/scrolbar.cpp @@ -89,7 +89,8 @@ void wxScrollBar::SetScrollbar(int position, int thumbSize, int range, int pageS SetControlViewSize( (ControlHandle) m_macControl , m_pageSize ) ; } } - Refresh() ; + if ( refresh ) + MacRedrawControl() ; }