summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widget.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-25 20:12:20 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-25 20:12:20 +0300
commit80b0caa35e4b84b745daef7e4102b428539cdee5 (patch)
treeeb24de08cd9bed429569b34f35fa0f638fcdc93d /src/gui/widgets/widget.h
parent7369332bb0a6d219cb2415a0b5e65bf2825da349 (diff)
downloadmv-80b0caa35e4b84b745daef7e4102b428539cdee5.tar.gz
mv-80b0caa35e4b84b745daef7e4102b428539cdee5.tar.bz2
mv-80b0caa35e4b84b745daef7e4102b428539cdee5.tar.xz
mv-80b0caa35e4b84b745daef7e4102b428539cdee5.zip
Remove safeDraw implimentation from Widget.
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.