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
This commit is contained in:
@@ -123,6 +123,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
virtual int GetFrameCount() const;
|
virtual int GetFrameCount() const;
|
||||||
|
%newobject GetFrame;
|
||||||
virtual wxImage* GetFrame(int i) const; // Creates a new wxImage
|
virtual wxImage* GetFrame(int i) const; // Creates a new wxImage
|
||||||
virtual wxAnimationDisposal GetDisposalMethod(int i) const;
|
virtual wxAnimationDisposal GetDisposalMethod(int i) const;
|
||||||
virtual wxRect GetFrameRect(int i) const; // Position and size of frame
|
virtual wxRect GetFrameRect(int i) const; // Position and size of frame
|
||||||
@@ -174,6 +175,7 @@ public:
|
|||||||
//// Accessors. Should be overridden by each derived class.
|
//// Accessors. Should be overridden by each derived class.
|
||||||
|
|
||||||
virtual int GetFrameCount() const;
|
virtual int GetFrameCount() const;
|
||||||
|
%newobject GetFrame;
|
||||||
virtual wxImage* GetFrame(int i) const;
|
virtual wxImage* GetFrame(int i) const;
|
||||||
virtual wxAnimationDisposal GetDisposalMethod(int i) const;
|
virtual wxAnimationDisposal GetDisposalMethod(int i) const;
|
||||||
virtual wxRect GetFrameRect(int i) const; // Position and size of frame
|
virtual wxRect GetFrameRect(int i) const; // Position and size of frame
|
||||||
@@ -206,6 +208,7 @@ public:
|
|||||||
//// Accessors
|
//// Accessors
|
||||||
|
|
||||||
virtual int GetFrameCount() const;
|
virtual int GetFrameCount() const;
|
||||||
|
%newobject GetFrame;
|
||||||
virtual wxImage* GetFrame(int i) const;
|
virtual wxImage* GetFrame(int i) const;
|
||||||
virtual wxAnimationDisposal GetDisposalMethod(int i) const;
|
virtual wxAnimationDisposal GetDisposalMethod(int i) const;
|
||||||
virtual wxRect GetFrameRect(int i) const; // Position and size of frame
|
virtual wxRect GetFrameRect(int i) const; // Position and size of frame
|
||||||
|
Reference in New Issue
Block a user