///////////////////////////////////////////////////////////////////////////////
-// Name: msw/gdiimage.cpp
+// Name: src/msw/gdiimage.cpp
// Purpose: wxGDIImage implementation
// Author: Vadim Zeitlin
// Modified by:
// headers
// ----------------------------------------------------------------------------
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma implementation "gdiimage.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#ifndef WX_PRECOMP
#include "wx/string.h"
#include "wx/log.h"
+ #include "wx/app.h"
#endif // WX_PRECOMP
#include "wx/msw/private.h"
-#include "wx/app.h"
-
#include "wx/bitmap.h"
#include "wx/msw/gdiimage.h"
#include "wx/file.h"
#include "wx/listimpl.cpp"
-WX_DEFINE_LIST(wxGDIImageHandlerList);
+WX_DEFINE_LIST(wxGDIImageHandlerList)
// ----------------------------------------------------------------------------
// private classes
// private functions
// ----------------------------------------------------------------------------
-wxSize wxGetHiconSize(HICON hicon)
+wxSize wxGetHiconSize(HICON WXUNUSED_IN_WINCE(hicon))
{
// default icon size on this hardware
// usually 32x32 but can be other (smaller) on pocket devices
::DeleteObject(info.hbmColor);
}
}
-#else
- wxUnusedVar(hicon);
#endif
+
return size;
}
#endif // __WXMICROWIN__
-