X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/52147d1c4bb54b904253e388da76747e459157c0..66f75561893ea7b4bf429d1882d9cc0407ba932d:/src/osx/scrolbar_osx.cpp?ds=inline diff --git a/src/osx/scrolbar_osx.cpp b/src/osx/scrolbar_osx.cpp index 3a992ca618..cbe8cdfe87 100644 --- a/src/osx/scrolbar_osx.cpp +++ b/src/osx/scrolbar_osx.cpp @@ -4,7 +4,7 @@ // Author: Stefan Csomor // Modified by: // Created: 1998-01-01 -// RCS-ID: $Id: scrolbar.cpp 54129 2008-06-11 19:30:52Z SC $ +// RCS-ID: $Id$ // Copyright: (c) Stefan Csomor // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -41,7 +41,7 @@ bool wxScrollBar::Create( wxWindow *parent, if ( !wxControl::Create( parent, id, pos, size, style, validator, name ) ) return false; - + m_peer = wxWidgetImpl::CreateScrollBar( this, parent, id, pos, size, style, GetExtraStyle() ); MacPostControlCreate( pos, size ); @@ -74,7 +74,7 @@ void wxScrollBar::SetScrollbar( int position, m_objectSize = range; int range1 = wxMax( (m_objectSize - m_viewSize), 0 ); - + m_peer->SetMaximum( range1 ); m_peer->SetScrollThumb( position, m_viewSize ); }