Added wxImageList::GetSize to retrieve the size originally passed

This commit is contained in:
JulianSmart
2015-12-13 19:16:33 +00:00
parent 57793cb6f1
commit 0484975fed
5 changed files with 16 additions and 0 deletions

View File

@@ -46,6 +46,9 @@ public:
// Returns the size (same for all images) of the images in the list
bool GetSize(int index, int &width, int &height) const;
// Returns the overall size
wxSize GetSize() const { return m_size; }
// Operations
////////////////////////////////////////////////////////////////////////////
@@ -197,6 +200,7 @@ public:
protected:
WXHIMAGELIST m_hImageList;
wxSize m_size;
wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxImageList);
};