X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f3a3457e6572c86560febdf675bb1f21126e54a8..b5a7cdc076ec7a35990b2da37a4b7b81a9cc8f85:/include/wx/event.h 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;