Fixed compilation for !wxUSE_IMAGE as well as !wxUSE_TOOLBAR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user