diff --git a/include/wx/gdicmn.h b/include/wx/gdicmn.h index d47960755e..10e7b6b5ee 100644 --- a/include/wx/gdicmn.h +++ b/include/wx/gdicmn.h @@ -418,7 +418,7 @@ public: // these are like Union() but don't ignore empty rectangles wxRect operator+(const wxRect& rect) const; - wxRect& wxRect::operator+=(const wxRect& rect) + wxRect& operator+=(const wxRect& rect) { *this = *this + rect; return *this;