diff options
Diffstat (limited to 'gui/widget.h')
-rw-r--r-- | gui/widget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/widget.h b/gui/widget.h index dbc87e4127..4f54b5708c 100644 --- a/gui/widget.h +++ b/gui/widget.h @@ -137,7 +137,7 @@ public: void setEnabled(bool e) { if (e) setFlags(WIDGET_ENABLED); else clearFlags(WIDGET_ENABLED); } bool isEnabled() const { return _flags & WIDGET_ENABLED; } - bool isVisible() const { return !(_flags & WIDGET_INVISIBLE); } + bool isVisible() const; protected: virtual void drawWidget(bool hilite) {} |