#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
int i;
for (i = 0; i < n; i++)
{
- wxBitmap* bitmap = NULL;
wxImage* image = GetFrame(i);
if (image)
{
if (GetTransparentColour(transparentColour))
image->SetMaskColour(transparentColour.Red(), transparentColour.Green(), transparentColour.Blue());
- bitmap = new wxBitmap(* image);
+ wxBitmap* bitmap = new wxBitmap(* image);
delete image;
if (bitmap)
m_frames.Append(bitmap);