Applied patch [ 830313 ] (2.4.x) Fix building animate on Linux
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -61,6 +61,7 @@ AC_OUTPUT([
|
||||
src/net/Makefile
|
||||
src/animate/Makefile
|
||||
samples/Makefile
|
||||
samples/animate/Makefile
|
||||
samples/mmedia/Makefile
|
||||
samples/ogl/Makefile
|
||||
samples/ogl/ogledit/Makefile
|
||||
|
@@ -21,6 +21,7 @@
|
||||
#include <wx/gdicmn.h>
|
||||
#include <wx/list.h>
|
||||
#include <wx/timer.h>
|
||||
#include <wx/control.h>
|
||||
|
||||
//#define ANIMDLLEXPORT WXDLLEXPORT
|
||||
#define ANIMDLLEXPORT
|
||||
|
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user