]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/scrolbar.cpp
since DoScreenToClient and ClientToScreen in toplvlcmn are implemented by calling...
[wxWidgets.git] / src / mac / carbon / scrolbar.cpp
index 07fb9476df61d8356f4d3853ada9dcd2e6ec1fb1..a38962776d062a9a389488a160f2cb7b3041d32d 100644 (file)
@@ -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() ;
 }