From 62a879dfa0127253c7d095ed725a89465517bede Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Wed, 11 Apr 2001 06:32:17 +0000 Subject: [PATCH] added destructor (correction for Mac OS X) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/choice.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/wx/choice.h b/include/wx/choice.h index b0d2a70770..a8743fbb27 100644 --- a/include/wx/choice.h +++ b/include/wx/choice.h @@ -36,6 +36,9 @@ class WXDLLEXPORT wxChoiceBase : public wxControlWithItems { public: // all generic methods are in wxControlWithItems +#ifdef __WXMAC_X__ + virtual ~wxChoiceBase() {} +#endif // single selection logic virtual void SetSelection(int n) = 0; -- 2.50.0