+ return (int)(m_adjust->page_size+0.5);
+}
+
+void wxScrollBar::SetPageSize( int pageLength )
+{
+ int pos = (int)(m_adjust->value+0.5);
+ int thumb = (int)(m_adjust->page_size+0.5);
+ int range = (int)(m_adjust->upper+0.5);
+ SetScrollbar( pos, thumb, range, pageLength );
+}
+
+void wxScrollBar::SetObjectLength( int objectLength )
+{
+ int pos = (int)(m_adjust->value+0.5);
+ int page = (int)(m_adjust->page_increment+0.5);
+ int range = (int)(m_adjust->upper+0.5);
+ SetScrollbar( pos, objectLength, range, page );
+}