X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12b5f4b4d2d8a07962da7ba3b78c8c1ec2634a67..5ecd98f17596ce1593741fb379e1ef813de41fcc:/include/wx/osx/scrolbar.h diff --git a/include/wx/osx/scrolbar.h b/include/wx/osx/scrolbar.h index 70850d166e..2115ca5479 100644 --- a/include/wx/osx/scrolbar.h +++ b/include/wx/osx/scrolbar.h @@ -1,10 +1,9 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: scrollbar.h +// Name: wx/osx/scrolbar.h // Purpose: wxScrollBar class // Author: Stefan Csomor // Modified by: // Created: 1998-01-01 -// RCS-ID: $Id$ // Copyright: (c) Stefan Csomor // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -46,7 +45,12 @@ public: virtual void SetScrollbar(int position, int thumbSize, int range, int pageSize, bool refresh = true); - // implementation only from now on + // needed for RTTI + void SetThumbSize( int s ) { SetScrollbar( GetThumbPosition() , s , GetRange() , GetPageSize() , true ) ; } + void SetPageSize( int s ) { SetScrollbar( GetThumbPosition() , GetThumbSize() , GetRange() , s , true ) ; } + void SetRange( int s ) { SetScrollbar( GetThumbPosition() , GetThumbSize() , s , GetPageSize() , true ) ; } + + // implementation only from now on void Command(wxCommandEvent& event); virtual void TriggerScrollEvent( wxEventType scrollEvent ) ; virtual bool OSXHandleClicked( double timestampsec );