X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7da6ab6e2e1c5f468e29e14eac8e0cf6ca033207..c9eee7f035ebc6b5c044475d508b018ae9fb5bc2:/src/common/iconbndl.cpp diff --git a/src/common/iconbndl.cpp b/src/common/iconbndl.cpp index 0661a1e7db..aeeb09fef8 100644 --- a/src/common/iconbndl.cpp +++ b/src/common/iconbndl.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "iconbndl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -54,7 +50,11 @@ void wxIconBundle::DeleteIcons() m_icons.Empty(); } +#if wxUSE_IMAGE void wxIconBundle::AddIcon( const wxString& file, long type ) +#else +void wxIconBundle::AddIcon( const wxString& WXUNUSED(file), long WXUNUSED(type) ) +#endif { #if wxUSE_IMAGE size_t count = wxImage::GetImageCount( file, type );