X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..daebb84bff054d3833baca58a5dc506de56c64a1:/src/generic/imaglist.cpp diff --git a/src/generic/imaglist.cpp b/src/generic/imaglist.cpp index 0e3d1c01bd..9ec73fa68e 100644 --- a/src/generic/imaglist.cpp +++ b/src/generic/imaglist.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: generic/imaglist.cpp +// Name: src/generic/imaglist.cpp // Purpose: // Author: Robert Roebling // Id: $id$ @@ -10,13 +10,11 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#if wxUSE_IMAGLIST - #ifdef __BORLANDC__ -#pragma hdrstop + #pragma hdrstop #endif -#include "wx/defs.h" +#if wxUSE_IMAGLIST #ifndef __WXPALMOS__ @@ -86,7 +84,7 @@ int wxGenericImageList::Add( const wxBitmap &bitmap ) m_width = bitmap.GetWidth(); m_height = bitmap.GetHeight(); } - + return m_images.GetCount()-1; }