summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/widget.h')
-rw-r--r--src/gui/widgets/widget.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/widget.h b/src/gui/widgets/widget.h
index 86e54510f..723811e66 100644
--- a/src/gui/widgets/widget.h
+++ b/src/gui/widgets/widget.h
@@ -122,8 +122,7 @@ class Widget notfinal : public Widget2
*/
virtual void draw(Graphics* graphics) = 0;
- virtual void safeDraw(Graphics* graphics)
- { draw(graphics); }
+ virtual void safeDraw(Graphics* graphics) = 0;
/**
* Called when a widget is given a chance to draw a frame around itself.