X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a84e759bc55d7c22319e2d154e4c966c8b66429..2583401b90b6969452852055ea7c6a1a822dc794:/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