Use wxUSE_* flags for new animation code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-10-10 08:16:34 +00:00
parent 967acfb5cd
commit d18868bb9b
3 changed files with 9 additions and 5 deletions

View File

@@ -209,8 +209,12 @@ const wxAnimationDecoder *wxAnimation::FindHandler( wxAnimationType animType )
void wxAnimation::InitStandardHandlers()
{
#if wxUSE_GIF
AddHandler(new wxGIFDecoder);
#endif // wxUSE_GIF
#if wxUSE_ICO_CUR
AddHandler(new wxANIDecoder);
#endif // wxUSE_ICO_CUR
}
void wxAnimation::CleanUpHandlers()