From 94d17b78d848ee8b8c1c4eb13aad2b23027a9d01 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Sat, 22 Nov 2008 14:18:05 +0000 Subject: [PATCH] be more precise about range in indeterminate-mode wxGauges (fixes #10125) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/gauge.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/interface/wx/gauge.h b/interface/wx/gauge.h index 2ac9e8934c..b096e0b5e5 100644 --- a/interface/wx/gauge.h +++ b/interface/wx/gauge.h @@ -48,6 +48,7 @@ public: Default constructor. */ wxGauge(); + /** Constructor, creating and showing a gauge. @@ -56,8 +57,9 @@ public: @param id Window identifier. @param range - Integer range (maximum value) of the gauge. It is ignored when the - gauge is used in indeterminate mode. + Integer range (maximum value) of the gauge. + See SetRange() for more details about the meaning of this value + when using the gauge in indeterminate mode. @param pos Window position. @param size @@ -155,6 +157,10 @@ public: Sets the range (maximum value) of the gauge. This function makes the gauge switch to determinate mode, if it's not already. + When the gauge is in indeterminate mode, under wxMSW the gauge + repeatedly goes from zero to @a range and back; under other ports + when in indeterminate mode, the @a range setting is ignored. + @see GetRange() */ void SetRange(int range); -- 2.45.2