diff --git a/contrib/configure.in b/contrib/configure.in index 8d5f72a7ae..eda761445c 100644 --- a/contrib/configure.in +++ b/contrib/configure.in @@ -59,8 +59,9 @@ AC_OUTPUT([ src/applet/Makefile src/fl/Makefile src/net/Makefile - src/animate/Makefile + src/animate/Makefile samples/Makefile + samples/animate/Makefile samples/mmedia/Makefile samples/ogl/Makefile samples/ogl/ogledit/Makefile diff --git a/contrib/include/wx/animate/animate.h b/contrib/include/wx/animate/animate.h index 0a6e933b49..e740c6f034 100644 --- a/contrib/include/wx/animate/animate.h +++ b/contrib/include/wx/animate/animate.h @@ -21,6 +21,7 @@ #include #include #include +#include //#define ANIMDLLEXPORT WXDLLEXPORT #define ANIMDLLEXPORT diff --git a/contrib/src/animate/animate.cpp b/contrib/src/animate/animate.cpp index 1b88fce47e..10bc394b14 100644 --- a/contrib/src/animate/animate.cpp +++ b/contrib/src/animate/animate.cpp @@ -22,6 +22,8 @@ #include "wx/wfstream.h" #include "wx/image.h" #include "wx/gifdecod.h" +#include "wx/log.h" +#include "wx/dcmemory.h" #include "wx/animate/animate.h" /* @@ -80,7 +82,7 @@ bool wxAnimationPlayer::Play(wxWindow& window, const wxPoint& pos, bool looped) { if (!Build()) { - wxLogWarning("wxAnimationPlayer::Play: could not build the image cache."); + wxLogWarning(_T("wxAnimationPlayer::Play: could not build the image cache.")); return FALSE; } }