summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-26 12:42:21 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-26 12:42:21 +0300
commit45f77fd60f71322b288a4497dea5b583b2692613 (patch)
tree5ea3059c1125b3032fcdf6e0d7229a31b39dfc4a /src/gui/widgets/window.h
parentd2e744dab8c38ef56184251fe96293fa0f51fb9f (diff)
downloadManaVerse-45f77fd60f71322b288a4497dea5b583b2692613.tar.gz
ManaVerse-45f77fd60f71322b288a4497dea5b583b2692613.tar.bz2
ManaVerse-45f77fd60f71322b288a4497dea5b583b2692613.tar.xz
ManaVerse-45f77fd60f71322b288a4497dea5b583b2692613.zip
Change destructors to virtual in all basic classes.
Also add some missing final to classes.
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r--src/gui/widgets/window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h
index 46cc2d831..40270673a 100644
--- a/src/gui/widgets/window.h
+++ b/src/gui/widgets/window.h
@@ -70,7 +70,7 @@ class Window : public gcn::Window,
/**
* Destructor. Deletes all the added widgets.
*/
- ~Window();
+ virtual ~Window();
/**
* Sets the window container to be used by new windows.