Change ~wxPGChoicesData from private to protected

This commit is contained in:
Robin Dunn
2015-03-05 15:14:23 -08:00
parent 05fa348b20
commit dcc23ceba8
2 changed files with 4 additions and 0 deletions

View File

@@ -803,6 +803,7 @@ public:
private:
wxVector<wxPGChoiceEntry> m_items;
protected:
virtual ~wxPGChoicesData();
};

View File

@@ -2121,6 +2121,9 @@ public:
const wxPGChoiceEntry& Item( unsigned int i ) const;
wxPGChoiceEntry& Item( unsigned int i );
protected:
virtual ~wxPGChoicesData();
};
#define wxPGChoicesEmptyData ((wxPGChoicesData*)NULL)