rewrite to avoid unnecessary redraws
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -133,7 +133,7 @@ bool wxSlider::Create(wxWindow *parent, wxWindowID id,
|
||||
}
|
||||
|
||||
m_macControl = UMANewControl( parent->GetMacRootWindow() , &bounds ,
|
||||
title , true , value , minValue , maxValue,
|
||||
title , false , value , minValue , maxValue,
|
||||
kControlSliderProc + kControlSliderLiveFeedback + ( ( style & wxSL_AUTOTICKS ) ? kControlSliderHasTickMarks : 0 ) , (long) this ) ;
|
||||
|
||||
wxASSERT_MSG( m_macControl != NULL , "No valid mac control" ) ;
|
||||
|
Reference in New Issue
Block a user