From dcc23ceba8e1dba828e8b3e4633ac77acaad7562 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 5 Mar 2015 15:14:23 -0800 Subject: [PATCH] Change ~wxPGChoicesData from private to protected --- include/wx/propgrid/property.h | 1 + interface/wx/propgrid/property.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/include/wx/propgrid/property.h b/include/wx/propgrid/property.h index bc61848413..ab1439d6af 100644 --- a/include/wx/propgrid/property.h +++ b/include/wx/propgrid/property.h @@ -803,6 +803,7 @@ public: private: wxVector m_items; +protected: virtual ~wxPGChoicesData(); }; diff --git a/interface/wx/propgrid/property.h b/interface/wx/propgrid/property.h index ec07698f45..64f6902261 100644 --- a/interface/wx/propgrid/property.h +++ b/interface/wx/propgrid/property.h @@ -2121,6 +2121,9 @@ public: const wxPGChoiceEntry& Item( unsigned int i ) const; wxPGChoiceEntry& Item( unsigned int i ); + +protected: + virtual ~wxPGChoicesData(); }; #define wxPGChoicesEmptyData ((wxPGChoicesData*)NULL)