Change ~wxPGChoicesData from private to protected

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

View File

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

View File

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