From f437e1552af47dc1befdebbad4567a8b5d51a853 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 4 Jan 2011 08:25:19 +0000 Subject: [PATCH] add methods needed for XTI git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/osx/scrolbar.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/wx/osx/scrolbar.h b/include/wx/osx/scrolbar.h index 70850d166e..0a5d126801 100644 --- a/include/wx/osx/scrolbar.h +++ b/include/wx/osx/scrolbar.h @@ -46,7 +46,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 ); -- 2.45.2