Revise progress releted API to be more usual.
- Add PulseProgress - Add SetProgressRange, instead of hard coding 100. Author: Chaobin Zhang git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -54,7 +54,9 @@ public:
|
||||
virtual ~wxTaskBarButton() { }
|
||||
|
||||
// Operations:
|
||||
virtual void SetProgressRange(int range) = 0;
|
||||
virtual void SetProgressValue(int value) = 0;
|
||||
virtual void PulseProgress() = 0;
|
||||
virtual void Show(bool show = true) = 0;
|
||||
virtual void Hide() = 0;
|
||||
virtual void SetThumbnailTooltip(const wxString& tooltip) = 0;
|
||||
|
Reference in New Issue
Block a user