add wxProgressDialog::SetRange() function

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2009-06-01 23:19:25 +00:00
parent d1279c9a3d
commit ed1288eef0
3 changed files with 41 additions and 35 deletions

View File

@@ -128,6 +128,15 @@ public:
*/
void Resume();
/**
Changes the maximum value of the progress meter given in the constructor.
This function can only be called (with a positive value) if the value passed
in the constructor was positive.
@since 2.9.1
*/
void SetRange(int maximum);
/**
Updates the dialog, setting the progress bar to the new value and
updating the message if new one is specified.