From 39f32f2a1487ab7362b366a8851757c8151696bc Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Fri, 23 Mar 2012 21:19:34 +0100 Subject: 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) --- src/compass.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compass.h') diff --git a/src/compass.h b/src/compass.h index 20f11c2..1eed3d6 100644 --- a/src/compass.h +++ b/src/compass.h @@ -31,7 +31,7 @@ class CCompass : public CControl { public: CCompass(CInstanceManager* iMan); - ~CCompass(); + virtual ~CCompass(); BOOL Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg); -- cgit v1.2.3-1-g7c22