]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/iconbndl.cpp
make construct simpler
[wxWidgets.git] / src / common / iconbndl.cpp
index 0661a1e7db4bd231e68dd334a8680bd575cdc5d7..2fa83445344bcd6240a2375831d198d818ad6422 100644 (file)
@@ -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 );