X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/74e3313b2506b76b18ea1874cf9b835f11d7068a..717b9bf234a20c491e0c9ee8f2c1bffad56a59c5:/src/common/imaggif.cpp diff --git a/src/common/imaggif.cpp b/src/common/imaggif.cpp index 596c9932d5..4977856f2a 100644 --- a/src/common/imaggif.cpp +++ b/src/common/imaggif.cpp @@ -6,24 +6,30 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "imaggif.h" -#endif +/* + We don't put pragma implement in this file because it is already present in + src/common/image.cpp +*/ // For compilers that support precompilation, includes "wx.h". #include #ifdef __BORLANDC__ -#pragma hdrstop + #pragma hdrstop #endif -#include +#ifndef WX_PRECOMP + #include "wx/defs.h" +#endif -#include -#include -#include +#include "wx/image.h" +#include "wx/wfstream.h" +#include "wx/module.h" +#include "wx/log.h" -#include +IMPLEMENT_DYNAMIC_CLASS(wxGIFHandler,wxImageHandler) + +#if wxUSE_STREAMS /* @@ -361,8 +367,6 @@ FOLLOWING CODE IS BY V.S. : // wxGIFHandler //----------------------------------------------------------------------------- -IMPLEMENT_DYNAMIC_CLASS(wxGIFHandler,wxImageHandler) - bool wxGIFHandler::LoadFile( wxImage *image, wxInputStream& stream ) { unsigned char *ptr, *src, *pal; @@ -420,8 +424,4 @@ bool wxGIFHandler::SaveFile( wxImage * WXUNUSED(image), return FALSE; } - - - - - +#endif