Sets the current maximum value of a non-managing scrollbar.
See also set-scrollbars.
The which argument is either wx:const-horizontal or wx:const-vertical, indicating that the maximum value of the horizontal or vertical scrollbar should be set, repsectively.