X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/795c9ab863b2cd2c8839f042162c6e8b921f1734..6945b5878c8d46a56f1a59f558837a0943492f3c:/src/msw/gdiimage.cpp?ds=inline diff --git a/src/msw/gdiimage.cpp b/src/msw/gdiimage.cpp index f2e84134d0..a8355e703a 100644 --- a/src/msw/gdiimage.cpp +++ b/src/msw/gdiimage.cpp @@ -17,10 +17,6 @@ // 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" @@ -52,7 +48,7 @@ #include "wx/file.h" #include "wx/listimpl.cpp" -WX_DEFINE_LIST(wxGDIImageHandlerList); +WX_DEFINE_LIST(wxGDIImageHandlerList) // ---------------------------------------------------------------------------- // private classes @@ -570,7 +566,7 @@ bool wxICOResourceHandler::LoadIcon(wxIcon *icon, // 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 @@ -601,9 +597,8 @@ wxSize wxGetHiconSize(HICON hicon) ::DeleteObject(info.hbmColor); } } -#else - wxUnusedVar(hicon); #endif + return size; }