Intergrate wxAppProgressIndicator into wxGuage.
Update the progress bar of taskbar button if wxGuage has wxGA_PROGRESS style. Author: Chaobin Zhang git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -130,17 +130,17 @@ private:
|
||||
class WXDLLIMPEXP_CORE wxAppProgressIndicator
|
||||
{
|
||||
public:
|
||||
wxAppProgressIndicator(wxTopLevelWindow *parent, int maxValue);
|
||||
wxAppProgressIndicator(WXWidget parent, int maxValue);
|
||||
virtual ~wxAppProgressIndicator();
|
||||
bool Update(int value);
|
||||
bool Pulse();
|
||||
void SetValue(int value);
|
||||
void SetRange(int range);
|
||||
void Pulse();
|
||||
void Reset();
|
||||
|
||||
private:
|
||||
void Init();
|
||||
|
||||
wxTopLevelWindow *m_parent;
|
||||
int m_maxValue;
|
||||
wxScopedPtr<wxTaskBarButton> m_taskBarButton;
|
||||
WXWidget m_parent;
|
||||
wxTaskBarButton* m_taskBarButton;
|
||||
};
|
||||
|
||||
enum WXDLLIMPEXP_CORE wxTaskBarJumpListItemType
|
||||
|
Reference in New Issue
Block a user