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:
@@ -59,8 +59,9 @@ AC_OUTPUT([
|
|||||||
src/applet/Makefile
|
src/applet/Makefile
|
||||||
src/fl/Makefile
|
src/fl/Makefile
|
||||||
src/net/Makefile
|
src/net/Makefile
|
||||||
src/animate/Makefile
|
src/animate/Makefile
|
||||||
samples/Makefile
|
samples/Makefile
|
||||||
|
samples/animate/Makefile
|
||||||
samples/mmedia/Makefile
|
samples/mmedia/Makefile
|
||||||
samples/ogl/Makefile
|
samples/ogl/Makefile
|
||||||
samples/ogl/ogledit/Makefile
|
samples/ogl/ogledit/Makefile
|
||||||
|
@@ -21,6 +21,7 @@
|
|||||||
#include <wx/gdicmn.h>
|
#include <wx/gdicmn.h>
|
||||||
#include <wx/list.h>
|
#include <wx/list.h>
|
||||||
#include <wx/timer.h>
|
#include <wx/timer.h>
|
||||||
|
#include <wx/control.h>
|
||||||
|
|
||||||
//#define ANIMDLLEXPORT WXDLLEXPORT
|
//#define ANIMDLLEXPORT WXDLLEXPORT
|
||||||
#define ANIMDLLEXPORT
|
#define ANIMDLLEXPORT
|
||||||
|
@@ -22,6 +22,8 @@
|
|||||||
#include "wx/wfstream.h"
|
#include "wx/wfstream.h"
|
||||||
#include "wx/image.h"
|
#include "wx/image.h"
|
||||||
#include "wx/gifdecod.h"
|
#include "wx/gifdecod.h"
|
||||||
|
#include "wx/log.h"
|
||||||
|
#include "wx/dcmemory.h"
|
||||||
#include "wx/animate/animate.h"
|
#include "wx/animate/animate.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -80,7 +82,7 @@ bool wxAnimationPlayer::Play(wxWindow& window, const wxPoint& pos, bool looped)
|
|||||||
{
|
{
|
||||||
if (!Build())
|
if (!Build())
|
||||||
{
|
{
|
||||||
wxLogWarning("wxAnimationPlayer::Play: could not build the image cache.");
|
wxLogWarning(_T("wxAnimationPlayer::Play: could not build the image cache."));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user