[Docs] Update docs.

Author: Chaobin Zhang

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Bryan Petty
2014-09-10 14:56:46 +00:00
parent ce1f959dd9
commit aafc759c4a
2 changed files with 16 additions and 6 deletions

View File

@@ -18,6 +18,10 @@
// QT only, display current completed percentage (text default format "%p%")
#define wxGA_TEXT 0x0040
// Available since Windows 7 only. With this style, the value of guage will
// reflect on the taskbar button.
#define wxGA_PROGRESS 0x0010
/**
@class wxGauge

View File

@@ -347,23 +347,29 @@ public:
Constructs the wxAppProgressIndicator.
@param parent
The parent window of wxAppProgressIndicator.
The parent window handle of wxAppProgressIndicator. Note that the
window should has taskbar button showing.
@param maxValue
*/
wxAppProgressIndicator(wxTopLevelWindow *parent, int maxValue);
wxAppProgressIndicator(WXWidget parent, int maxValue);
virtual ~wxAppProgressIndicator();
/**
Updates the progress in taskbar button of parent window.
Set the progress value in taskbar button of parent window.
@param value
The new value of the progress meter. It should be less than or equal
to the maximum value given to the constructor.
to the range.
*/
bool Update(int value);
void SetValue(int value);
/**
Like Update() but makes the progress bar run in indeterminate mode.
Set the progress range in taskbar button of parent window.
*/
void SetRange(int range);
/**
Makes the progress bar run in indeterminate mode.
*/
bool Pulse();
};