X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2e5aa9c48d73e1302040bee59e4f41197f33b8ee..d0ee33f5c6908b4ac5e1364381f0ef00942e3936:/wxPython/contrib/animate/animate.i?ds=sidebyside diff --git a/wxPython/contrib/animate/animate.i b/wxPython/contrib/animate/animate.i index ea09116514..14379dcf41 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 @@ -123,6 +123,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 +175,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 +208,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