GaugeSetRange agauge max Command to set the range of valid numbers of the Gauge agauge to stay between 0 and the integer number max. Example:
g=(Gauge [][Gauge1] 400 123 wxGA_smooth) GaugeSetRange g 333