Add wxImageList::Destroy()

This will be useful in wxMSW implementation and seems to make sense to
have as a public function, as long as we have Create().
This commit is contained in:
Vadim Zeitlin
2021-10-17 01:01:26 +01:00
parent 6b3fd04e24
commit a66e5cdb38
5 changed files with 37 additions and 3 deletions

View File

@@ -26,6 +26,7 @@ public:
wxGenericImageList( int width, int height, bool mask = true, int initialCount = 1 );
virtual ~wxGenericImageList();
bool Create( int width, int height, bool mask = true, int initialCount = 1 );
void Destroy();
virtual int GetImageCount() const;
virtual bool GetSize( int index, int &width, int &height ) const;