From 2583401b90b6969452852055ea7c6a1a822dc794 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 25 Apr 2005 20:25:41 +0000 Subject: [PATCH] Mark GetFrame functions as returning a new instance git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/contrib/animate/animate.i | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.50.0