git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41866
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
-#if wxUSE_STREAMS && wxUSE_GIF
+#if wxUSE_STREAMS && wxUSE_ICO_CUR
#include "wx/stream.h"
#include "wx/image.h"
#include "wx/stream.h"
#include "wx/image.h"
-#endif // wxUSE_STREAM && wxUSE_GIF
-#endif // _WX_ANIDECOD_H
+#endif // wxUSE_STREAM && wxUSE_ICO_CUR
+#endif // _WX_ANIDECOD_H
-#if wxUSE_STREAMS && wxUSE_GIF
+#if wxUSE_STREAMS && wxUSE_ICO_CUR
return m_szAnimation != wxDefaultSize;
}
return m_szAnimation != wxDefaultSize;
}
-#endif // wxUSE_STREAMS && wxUSE_GIF
+#endif // wxUSE_STREAMS && wxUSE_ICO_CUR
void wxAnimation::InitStandardHandlers()
{
void wxAnimation::InitStandardHandlers()
{
AddHandler(new wxGIFDecoder);
AddHandler(new wxGIFDecoder);
+#endif // wxUSE_GIF
+#if wxUSE_ICO_CUR
AddHandler(new wxANIDecoder);
AddHandler(new wxANIDecoder);
}
void wxAnimation::CleanUpHandlers()
}
void wxAnimation::CleanUpHandlers()