#include "wx/wfstream.h"
#include "wx/image.h"
#include "wx/gifdecod.h"
-#include "wx/animate/animate.h"
#include "wx/log.h"
+#include "wx/dcmemory.h"
+#include "wx/animate/animate.h"
#include "wx/dc.h"
#include "wx/dcclient.h"
-#include "wx/dcmemory.h"
/*
* wxAnimationPlayer
}
// Play
-bool wxAnimationPlayer::Play(wxWindow& window, const wxPoint& pos, bool looped)
+bool wxAnimationPlayer::Play(wxWindow& window, const wxPoint& pos, bool WXUNUSED(looped))
{
m_window = & window;
}
// Play the frame
-bool wxAnimationPlayer::PlayFrame(int frame, wxWindow& window, const wxPoint& pos)
+bool wxAnimationPlayer::PlayFrame(int frame, wxWindow& window, const wxPoint& WXUNUSED(pos))
{
wxMemoryDC dc;
dc.SelectObject(m_backingStore);
SetClientSize(sz);
}
-void wxAnimationCtrlBase::OnPaint(wxPaintEvent& event)
+void wxAnimationCtrlBase::OnPaint(wxPaintEvent& WXUNUSED(event))
{
wxPaintDC dc(this);