]> git.saurik.com Git - wxWidgets.git/commitdiff
operator = implemented inline.
authorJulian Smart <julian@anthemion.co.uk>
Sun, 21 Jul 2002 20:32:41 +0000 (20:32 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 21 Jul 2002 20:32:41 +0000 (20:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/event.h

index 2dcf3c6958709e750b26da8cfa1c4f01a1ab2f16..2b0ae04730e4f283b43402029660f253d870445f 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); }
 
 public:
     wxCoord m_x, m_y;