summaryrefslogtreecommitdiffstats
path: root/src/check.h
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-03-23 21:19:34 +0100
committerPiotr Dziwinski <piotrdz@gmail.com>2012-03-23 21:19:34 +0100
commit39f32f2a1487ab7362b366a8851757c8151696bc (patch)
tree2ded5579f5f28d1b4f9468c4c7b59ffbb164451b /src/check.h
parent57a51c7a29734afdc9d0439ed62d73ac927a03ba (diff)
downloadcolobot-39f32f2a1487ab7362b366a8851757c8151696bc.tar.gz
colobot-39f32f2a1487ab7362b366a8851757c8151696bc.tar.bz2
colobot-39f32f2a1487ab7362b366a8851757c8151696bc.zip
Fixes for CControl derived classes
CControl has a virtual destructor and constructor without side effects, so problem of double calls can be fixed (unlike issue #8)
Diffstat (limited to 'src/check.h')
-rw-r--r--src/check.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check.h b/src/check.h
index 33d1c79..118b6cb 100644
--- a/src/check.h
+++ b/src/check.h
@@ -31,7 +31,7 @@ class CCheck : public CControl
{
public:
CCheck(CInstanceManager* iMan);
- ~CCheck();
+ virtual ~CCheck();
BOOL Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg);