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, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/widget.h b/src/gui/widgets/widget.h
index 723811e66..7c3134302 100644
--- a/src/gui/widgets/widget.h
+++ b/src/gui/widgets/widget.h
@@ -147,6 +147,9 @@ class Widget notfinal : public Widget2
virtual void drawFrame(Graphics* graphics A_UNUSED)
{ }
+ virtual void safeDrawFrame(Graphics* graphics A_UNUSED)
+ { }
+
/**
* Sets the size of the widget's frame. The frame is not considered a part of
* the widget, it only allows a frame to be drawn around the widget, thus a frame