Don't use the wxRect* typemaps in the wxRect class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -488,6 +488,9 @@ DocStr(wxRect,
|
||||
width and height properties. In wxPython most palces that expect a
|
||||
wx.Rect can also accept a (x,y,width,height) tuple.", "");
|
||||
|
||||
|
||||
%typemap(in) wxRect*;
|
||||
|
||||
class wxRect
|
||||
{
|
||||
public:
|
||||
@@ -777,6 +780,9 @@ usually, but not necessarily, the larger one.", "");
|
||||
%property(Empty, IsEmpty, doc="See `IsEmpty`");
|
||||
};
|
||||
|
||||
%apply wxRect& { wxRect* };
|
||||
|
||||
|
||||
|
||||
MustHaveApp(wxIntersectRect);
|
||||
|
||||
|
Reference in New Issue
Block a user