Applied wxGauge:Pulse() patch.

[ 1551409 ] Support for indeterminate mode gauges


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2006-09-09 13:36:54 +00:00
parent 9804c4d95c
commit fe8635a7e7
13 changed files with 219 additions and 25 deletions

View File

@@ -43,13 +43,19 @@ public:
void SetShadowWidth( int WXUNUSED(w) ) { }
void SetBezelFace( int WXUNUSED(w) ) { }
void SetRange( int r );
void SetValue( int pos );
int GetShadowWidth() const { return 0; };
int GetBezelFace() const { return 0; };
// determinate mode API
void SetRange( int r );
void SetValue( int pos );
int GetRange() const;
int GetValue() const;
// indeterminate mode API
virtual void Pulse();
bool IsVertical() const { return HasFlag(wxGA_VERTICAL); }
static wxVisualAttributes