summaryrefslogtreecommitdiff
path: root/src/gui/base/rectangle.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/base/rectangle.hpp')
-rw-r--r--src/gui/base/rectangle.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/base/rectangle.hpp b/src/gui/base/rectangle.hpp
index b8503db98..299ce99b9 100644
--- a/src/gui/base/rectangle.hpp
+++ b/src/gui/base/rectangle.hpp
@@ -95,6 +95,9 @@ namespace gcn
*/
Rectangle(const int x, const int y, const int width, const int height);
+ virtual ~Rectangle()
+ { }
+
/**
* Sets the dimension of a rectangle.
*