]> git.saurik.com Git - wxWidgets.git/commitdiff
added destructor (correction for Mac OS X)
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Wed, 11 Apr 2001 06:32:17 +0000 (06:32 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Wed, 11 Apr 2001 06:32:17 +0000 (06:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/choice.h

index b0d2a7077069187a8ad13266628102b4aed3090f..a8743fbb274cc4b3a7dc801380cc21f807fc3a80 100644 (file)
@@ -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;