Ops. wxUSE_XXX and wxUSE_STREAMS are separated again :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
# include "wx/defs.h"
|
||||
#endif
|
||||
|
||||
#if wxUSE_STREAMS && wxUSE_GIF
|
||||
#if wxUSE_GIF
|
||||
|
||||
#include "wx/image.h"
|
||||
#include "wx/gifdecod.h"
|
||||
@@ -38,6 +38,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxGIFHandler,wxImageHandler)
|
||||
// wxGIFHandler
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#if wxUSE_STREAMS
|
||||
|
||||
bool wxGIFHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbose )
|
||||
{
|
||||
wxGIFDecoder *decod;
|
||||
@@ -89,4 +91,6 @@ bool wxGIFHandler::CanRead( wxInputStream& stream )
|
||||
return ok;
|
||||
}
|
||||
|
||||
#endif // wxUSE_STREAMS && wxUSE_GIF
|
||||
#endif // wxUSE_STREAMS
|
||||
|
||||
#endif // wxUSE_GIF
|
||||
|
||||
Reference in New Issue
Block a user