X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2e5aa9c48d73e1302040bee59e4f41197f33b8ee..a9b4774c0502f29e0f8eb6757a944420d02d5274:/wxPython/contrib/animate/animate.i diff --git a/wxPython/contrib/animate/animate.i b/wxPython/contrib/animate/animate.i index ea09116514..c676b04347 100644 --- a/wxPython/contrib/animate/animate.i +++ b/wxPython/contrib/animate/animate.i @@ -11,7 +11,7 @@ ///////////////////////////////////////////////////////////////////////////// %define DOCSTRING -"Simple animation player classes, including `wxGIFAnimationCtrl` for displaying +"Simple animation player classes, including `GIFAnimationCtrl` for displaying animated GIF files " %enddef @@ -35,8 +35,6 @@ animated GIF files MAKE_CONST_WXSTRING2(AnimationControlNameStr, wxT("animationControl")); MAKE_CONST_WXSTRING_NOSWIG(EmptyString); -%include _animate_rename.i - //--------------------------------------------------------------------------- @@ -123,6 +121,7 @@ public: virtual int GetFrameCount() const; + %newobject GetFrame; virtual wxImage* GetFrame(int i) const; // Creates a new wxImage virtual wxAnimationDisposal GetDisposalMethod(int i) const; virtual wxRect GetFrameRect(int i) const; // Position and size of frame @@ -174,6 +173,7 @@ public: //// Accessors. Should be overridden by each derived class. virtual int GetFrameCount() const; + %newobject GetFrame; virtual wxImage* GetFrame(int i) const; virtual wxAnimationDisposal GetDisposalMethod(int i) const; virtual wxRect GetFrameRect(int i) const; // Position and size of frame @@ -206,6 +206,7 @@ public: //// Accessors virtual int GetFrameCount() const; + %newobject GetFrame; virtual wxImage* GetFrame(int i) const; virtual wxAnimationDisposal GetDisposalMethod(int i) const; virtual wxRect GetFrameRect(int i) const; // Position and size of frame