]> git.saurik.com Git - wxWidgets.git/commitdiff
add methods needed for XTI
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 4 Jan 2011 08:25:19 +0000 (08:25 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 4 Jan 2011 08:25:19 +0000 (08:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/osx/scrolbar.h

index 70850d166e3aad9f870cfc12118a066e04bb7e19..0a5d1268016f64bde9af845879ad91a84e4f1652 100644 (file)
@@ -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 );