From af9a0f67344fac4f4cff8802a15b2061d50e8959 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 4d3b6f002f..46591191d6 100644 --- a/include/wx/propgrid/property.h +++ b/include/wx/propgrid/property.h @@ -677,6 +677,7 @@ public: private: wxVector m_items; +protected: virtual ~wxPGChoicesData(); }; diff --git a/interface/wx/propgrid/property.h b/interface/wx/propgrid/property.h index 1614173cf0..b281e43175 100644 --- a/interface/wx/propgrid/property.h +++ b/interface/wx/propgrid/property.h @@ -2480,6 +2480,9 @@ public: const wxPGChoiceEntry& Item( unsigned int i ) const; wxPGChoiceEntry& Item( unsigned int i ); + +protected: + virtual ~wxPGChoicesData(); }; #define wxPGChoicesEmptyData ((wxPGChoicesData*)NULL)