]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/treectrl.h
destroy m_impl even if an exception is thrown from the main loop
[wxWidgets.git] / include / wx / mac / carbon / treectrl.h
index a1f651a0b28b309505cac2eb5e07ab4fe3cc4e8d..1e37d9f3d4ca14396f607e4634c05264ccaea466 100644 (file)
@@ -129,7 +129,7 @@ public:
     {
         Create(parent, id, pos, size, style, validator, name);
     }
-    ~wxTreeCtrl();
+    virtual ~wxTreeCtrl();
 
     bool Create(wxWindow *parent, wxWindowID id = wxID_ANY,
                 const wxPoint& pos = wxDefaultPosition,