X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/485f878c54c42729a8444c415d392b1ede6d14d0..d0ee33f5c6908b4ac5e1364381f0ef00942e3936:/wxPython/contrib/animate/animate.i diff --git a/wxPython/contrib/animate/animate.i b/wxPython/contrib/animate/animate.i index d1723cc3bf..14379dcf41 100644 --- a/wxPython/contrib/animate/animate.i +++ b/wxPython/contrib/animate/animate.i @@ -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