wxANIMATION_TYPE_ANY
};
+
+#define wxAC_NO_AUTORESIZE (0x0010)
+#define wxAC_DEFAULT_STYLE (wxBORDER_NONE)
+
+
/**
@class wxAnimationCtrl
@nativeimpl{wxgtk,wxmsw}
- @appearance{animationctrl.png}
+ @appearance{animationctrl}
@see wxAnimation, @sample{animate}
*/
/**
Creates the control with the given @a anim animation.
- After control creation you must explicitely call Play() to start to play
+ After control creation you must explicitly call Play() to start to play
the animation. Until that function won't be called, the first frame
of the animation is displayed.
@see wxAnimationCtrl, @sample{animate}
*/
-class wxAnimation : public wxGDIObject
+class wxAnimation : public wxObject
{
public:
+ /**
+ Default ctor.
+ */
+ wxAnimation();
+
/**
Copy ctor.
*/
/**
Returns the i-th frame as a wxImage.
+
+ This method is not implemented in the native wxGTK implementation of
+ this class and always returns an invalid image there.
*/
virtual wxImage GetFrame(unsigned int i) const;
/**
Returns the number of frames for this animation.
+
+ This method is not implemented in the native wxGTK implementation of
+ this class and always returns 0 there.
*/
virtual unsigned int GetFrameCount() const;