]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/event.h
Implemented wxSpinButton for wxMotif.
[wxWidgets.git] / include / wx / event.h
index 2dcf3c6958709e750b26da8cfa1c4f01a1ab2f16..ec45c09279c5a9cfbe1d97cfb2833f88810bee22 100644 (file)
@@ -743,7 +743,7 @@ public:
 
     virtual wxEvent *Clone() const { return new wxMouseEvent(*this); }
 
-    wxMouseEvent& operator=(const wxMouseEvent& event);
+    wxMouseEvent& operator=(const wxMouseEvent& event) { Assign(event); return *this; }
 
 public:
     wxCoord m_x, m_y;