X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4638d697a3cf0b71597b1cedbbd8f62d2a4d3797..db4444f0cebf4e63e666a7d6d18141c127535efd:/contrib/src/animate/animate.cpp diff --git a/contrib/src/animate/animate.cpp b/contrib/src/animate/animate.cpp index 6a17313299..a0bad64e6e 100644 --- a/contrib/src/animate/animate.cpp +++ b/contrib/src/animate/animate.cpp @@ -116,7 +116,7 @@ bool wxAnimationPlayer::Build() if (GetTransparentColour(transparentColour)) image->SetMaskColour(transparentColour.Red(), transparentColour.Green(), transparentColour.Blue()); - bitmap = new wxBitmap(image->ConvertToBitmap()); + bitmap = new wxBitmap(* image); delete image; if (bitmap) m_frames.Append(bitmap);