From: Julian Smart Date: Sun, 21 Jul 2002 21:45:40 +0000 (+0000) Subject: Returned value from operator= X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/55f9eba3b20310441e9e02f59a67eb3d2e4d748b Returned value from operator= git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/event.h b/include/wx/event.h index 2b0ae04730..ec45c09279 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -743,7 +743,7 @@ public: virtual wxEvent *Clone() const { return new wxMouseEvent(*this); } - wxMouseEvent& operator=(const wxMouseEvent& event) { Assign(event); } + wxMouseEvent& operator=(const wxMouseEvent& event) { Assign(event); return *this; } public: wxCoord m_x, m_y;