git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3599
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// Purpose: wxGIFDecoder, GIF reader for wxImage and wxAnimation
// Author: Guillermo Rodriguez Garcia <guille@iies.es>
// Version: 3.02
// Purpose: wxGIFDecoder, GIF reader for wxImage and wxAnimation
// Author: Guillermo Rodriguez Garcia <guille@iies.es>
// Version: 3.02
-// Last rev: 1999/08/18
-// Copyright: (c) Guillermo Rodriguez Garcia
+// CVS-ID: $Id$
+// Copyright: (c) 1999 Guillermo Rodriguez Garcia
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+#if wxUSE_STREAMS && wxUSE_GIF
+
#include "wx/stream.h"
#include "wx/image.h"
#include "wx/stream.h"
#include "wx/image.h"
/* error codes */
#define E_OK 0 /* everything was OK */
/* error codes */
#define E_OK 0 /* everything was OK */
-#define E_ARCHIVO -1 /* error opening file */
-#define E_FORMATO -2 /* error in gif header */
-#define E_MEMORIA -3 /* error allocating memory */
+#define E_FORMATO 1 /* error in gif header */
+#define E_MEMORIA 2 /* error allocating memory */
+#endif // wxUSE_STREAM && wxUSE_GIF
// wxGIFHandler
//-----------------------------------------------------------------------------
// wxGIFHandler
//-----------------------------------------------------------------------------
class WXDLLEXPORT wxGIFHandler : public wxImageHandler
{
DECLARE_DYNAMIC_CLASS(wxGIFHandler)
class WXDLLEXPORT wxGIFHandler : public wxImageHandler
{
DECLARE_DYNAMIC_CLASS(wxGIFHandler)