initialize the image list size in default ctor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2003-08-03 22:53:55 +00:00
parent 22c316d6ef
commit 77bf4cefcd

View File

@ -56,7 +56,7 @@ enum {
class WXDLLEXPORT wxGenericImageList: public wxObject
{
public:
wxGenericImageList() { }
wxGenericImageList() { m_width = m_height = 0; }
wxGenericImageList( int width, int height, bool mask = TRUE, int initialCount = 1 );
~wxGenericImageList();
bool Create( int width, int height, bool mask = TRUE, int initialCount = 1 );