<wx/gauge.h>
+\wxheading{Library}
+
+\helpref{wxCore}{librarieslist}
+
\wxheading{Window styles}
\twocolwidtha{5cm}
\func{void}{SetValue}{\param{int }{pos}}
-Sets the position of the gauge.
-This function makes the gauge switch to determinate mode, if it's not already.
+Sets the position of the gauge. The \arg{pos} must be between $0$ and the gauge
+range as returned by \helpref{GetRange}{wxgaugegetrange}, inclusive.
+
+This function makes the gauge switch to determinate mode, if it was in
+indeterminate mode before.
\wxheading{Parameters}
Note that after calling this function the value returned by \helpref{GetValue}{wxgaugegetvalue}
is undefined and thus you need to explicitely call \helpref{SetValue}{wxgaugesetvalue} if you
want to restore the determinate mode.
+