]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/iconbndl.cpp
fixed Fit() to call SetClientSize() and not SetSize()
[wxWidgets.git] / src / common / iconbndl.cpp
index 0661a1e7db4bd231e68dd334a8680bd575cdc5d7..aeeb09fef813fade38cb6a77393bfe59ab02b6a9 100644 (file)
@@ -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 );