X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c51a665c649f7579fb39e62070cef4f66b3210d..36a0190ebd5bd9a7302f60f6dcd608b80574e21c:/interface/wx/animate.h?ds=sidebyside diff --git a/interface/wx/animate.h b/interface/wx/animate.h index 5b4e5b5cde..f4376a3e29 100644 --- a/interface/wx/animate.h +++ b/interface/wx/animate.h @@ -2,7 +2,6 @@ // Name: animate.h // Purpose: interface of wxAnimation* classes // Author: wxWidgets team -// RCS-ID: $Id$ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -23,6 +22,11 @@ enum wxAnimationType wxANIMATION_TYPE_ANY }; + +#define wxAC_NO_AUTORESIZE (0x0010) +#define wxAC_DEFAULT_STYLE (wxBORDER_NONE) + + /** @class wxAnimationCtrl @@ -49,7 +53,7 @@ enum wxAnimationType @nativeimpl{wxgtk,wxmsw} - @appearance{animationctrl.png} + @appearance{animationctrl} @see wxAnimation, @sample{animate} */ @@ -195,9 +199,14 @@ public: @see wxAnimationCtrl, @sample{animate} */ -class wxAnimation : public wxGDIObject +class wxAnimation : public wxObject { public: + /** + Default ctor. + */ + wxAnimation(); + /** Copy ctor. */ @@ -228,11 +237,17 @@ public: /** 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;