]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/imaglist.cpp
another fix for !USE_PCH: added missing wx/imaglist.h include
[wxWidgets.git] / src / msw / imaglist.cpp
index 785a18c637274512ec79dd1400f007fbb81e7450..39c071e1fdb390225b75e52737062fdc351d48aa 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "imaglist.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -203,7 +199,7 @@ bool wxImageList::Replace(int index,
                                 GetHbitmapOf(bitmap), hbmpMask) != 0;
     if ( !ok )
     {
-        wxLogLastError(wxT("ImageList_Add()"));
+        wxLogLastError(wxT("ImageList_Replace()"));
     }
 
     ::DeleteObject(hbmpMask);