]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/event.h
Rename wxGenericImageList to wxImageList in generic wxListCtrl, too.
[wxWidgets.git] / include / wx / event.h
index 2b0ae04730e4f283b43402029660f253d870445f..ec45c09279c5a9cfbe1d97cfb2833f88810bee22 100644 (file)
@@ -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;