\func{}{wxAnimation}{\param{const wxAnimation\& }{anim}}
-Copy constructor.
-wxAnimation objects are reference counted so that this operation is very fast.
+Copy constructor, uses \helpref{reference counting}{trefcount}.
\func{}{wxAnimation}{\param{const wxString\& }{name}, \param{wxAnimationType}{ type = wxANIMATION\_TYPE\_ANY}}
\func{}{\destruct{wxAnimation}}{\void}
-Destroys the wxAnimation object and possibly the underlying animation data.
-Because reference counting is used, the animation may not actually be
-destroyed at this point - only when the reference count is zero will the
-data be deleted.
+Destructor.
+See \helpref{reference-counted object destruction}{refcountdestruct} for more info.
\membersection{wxAnimation::GetDelay}\label{wxanimationgetdelay}
-\constfunc{int}{GetDelay}{\param{size_t }{i}}
+\constfunc{int}{GetDelay}{\param{unsigned int }{i}}
Returns the delay for the i-th frame in milliseconds.
If {\tt -1} is returned the frame is to be displayed forever.
\membersection{wxAnimation::GetFrameCount}\label{wxanimationgetframecount}
-\constfunc{size_t}{GetFrameCount}{\void}
+\constfunc{unsigned int}{GetFrameCount}{\void}
Returns the number of frames for this animation.
\membersection{wxAnimation::GetFrame}\label{wxanimationgetframe}
-\constfunc{wxImage}{GetFrame}{\param{size_t }{i}}
+\constfunc{wxImage}{GetFrame}{\param{unsigned int }{i}}
Returns the i-th frame as a \helpref{wxImage}{wximage}.
\membersection{wxAnimation::Load}\label{wxanimationload}
-\func{bool}{Load}{\param{wxInputStream&}{ stream}, \param{wxAnimationType}{ type = wxANIMATION\_TYPE\_ANY}}
+\func{bool}{Load}{\param{wxInputStream\&}{ stream}, \param{wxAnimationType}{ type = wxANIMATION\_TYPE\_ANY}}
Loads an animation from the given stream.
\twocolwidtha{5cm}
\begin{twocollist}
-\twocolitem{\indexit{wxANIM\_TYPE\_GIF}}{Load an animated GIF file.}
-\twocolitem{\indexit{wxANIM\_TYPE\_ANI}}{Load an ANI file.}
-\twocolitem{\indexit{wxANIM\_TYPE\_ANY}}{Try to autodetect the filetype.}
+\twocolitem{\indexit{wxANIMATION\_TYPE\_GIF}}{Load an animated GIF file.}
+\twocolitem{\indexit{wxANIMATION\_TYPE\_ANI}}{Load an ANI file.}
+\twocolitem{\indexit{wxANIMATION\_TYPE\_ANY}}{Try to autodetect the filetype.}
\end{twocollist}
}
\twocolwidtha{5cm}
\begin{twocollist}
-\twocolitem{\indexit{wxANIM\_TYPE\_GIF}}{Load an animated GIF file.}
-\twocolitem{\indexit{wxANIM\_TYPE\_ANI}}{Load an ANI file.}
-\twocolitem{\indexit{wxANIM\_TYPE\_ANY}}{Try to autodetect the filetype.}
+\twocolitem{\indexit{wxANIMATION\_TYPE\_GIF}}{Load an animated GIF file.}
+\twocolitem{\indexit{wxANIMATION\_TYPE\_ANI}}{Load an ANI file.}
+\twocolitem{\indexit{wxANIMATION\_TYPE\_ANY}}{Try to autodetect the filetype.}
\end{twocollist}
}
\true if the operation succeeded, \false otherwise.
+
+\membersection{wxAnimation::operator $=$}\label{wxanimationassignment}
+
+\func{wxAnimation\&}{operator $=$}{\param{const wxAnimation\& }{brush}}
+
+Assignment operator, using \helpref{reference counting}{trefcount}.
+