aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/widget.h')
-rw-r--r--gui/widget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/widget.h b/gui/widget.h
index c19059d32c..1381bbfb4b 100644
--- a/gui/widget.h
+++ b/gui/widget.h
@@ -148,7 +148,7 @@ public:
int getHints() const { return _hints; }
void setEnabled(bool e) { if (e) setFlags(WIDGET_ENABLED); else clearFlags(WIDGET_ENABLED); }
- bool isEnabled() const { return _flags & WIDGET_ENABLED; }
+ bool isEnabled() const;
bool isVisible() const;
protected: