From 14f5789360a951ed5f2d4936ef2e7b7b3d028f3a Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 18 May 2000 19:45:48 +0000 Subject: [PATCH] fixed a warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/misc.i | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wxPython/src/misc.i b/wxPython/src/misc.i index 65c5f21137..7a0d566364 100644 --- a/wxPython/src/misc.i +++ b/wxPython/src/misc.i @@ -156,9 +156,9 @@ public: return tup; } - wxRect* __add__(const wxRect* rect) { - if (! rect) return self; - return &(*self + *rect); + wxRect __add__(const wxRect* rect) { + if (! rect) return *self; + return *self + *rect; } int __cmp__(const wxRect* rect) {