X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/24e97652b0f3a5796c3fab61d87b1f636d64ce79..2aaf17c2237b5799f9b8875996b93950a2679ad9:/include/wx/cocoa/gauge.h diff --git a/include/wx/cocoa/gauge.h b/include/wx/cocoa/gauge.h index 8985ca0f87..8dd3529d93 100644 --- a/include/wx/cocoa/gauge.h +++ b/include/wx/cocoa/gauge.h @@ -49,17 +49,19 @@ public: // Cocoa callbacks // ------------------------------------------------------------------------ protected: + // NSProgressIndicator cannot be enabled/disabled + virtual void CocoaSetEnabled(bool enable) { } // ------------------------------------------------------------------------ // Implementation // ------------------------------------------------------------------------ public: // Pure Virtuals - virtual int GetValue() const { return 0; } - virtual void SetValue(int value) { } + virtual int GetValue() const; + virtual void SetValue(int value); // retrieve/change the range - virtual void SetRange(int maxValue) { } - int GetRange(void) const { return 0; } + virtual void SetRange(int maxValue); + int GetRange(void) const; }; #endif // __WX_COCOA_GAUGE_H__