X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7da6ab6e2e1c5f468e29e14eac8e0cf6ca033207..3b01b1fe4cb656f39290bf7f3891667855abe601:/src/common/iconbndl.cpp diff --git a/src/common/iconbndl.cpp b/src/common/iconbndl.cpp index 0661a1e7db..2fa8344534 100644 --- a/src/common/iconbndl.cpp +++ b/src/common/iconbndl.cpp @@ -54,7 +54,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 );