summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widget2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/widget2.h')
-rw-r--r--src/gui/widgets/widget2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/widget2.h b/src/gui/widgets/widget2.h
index 02107b3c1..9911d48f6 100644
--- a/src/gui/widgets/widget2.h
+++ b/src/gui/widgets/widget2.h
@@ -36,7 +36,7 @@ class Widget2
{
}
- ~Widget2()
+ virtual ~Widget2()
{
}
@@ -56,7 +56,7 @@ class Widget2
return Palette::BLACK;
}
- void setWidget2(const Widget2 *const widget)
+ virtual void setWidget2(const Widget2 *const widget)
{
mPalette = widget ? widget->mPalette : 1;
}