]> git.saurik.com Git - wxWidgets.git/commitdiff
Copy event type too
authorJulian Smart <julian@anthemion.co.uk>
Sun, 1 Sep 2002 19:01:31 +0000 (19:01 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 1 Sep 2002 19:01:31 +0000 (19:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/event.cpp

index 60d6cf3dcbe9ebc26fd277e21ced7b65fec97d02..d4cc3c54d426b636cfccf12bab197efffe37b570 100644 (file)
@@ -389,6 +389,8 @@ wxMouseEvent::wxMouseEvent(wxEventType commandType)
 
 void wxMouseEvent::Assign(const wxMouseEvent& event)
 {
+    m_eventType = event.m_eventType;
+    
     m_x = event.m_x;
     m_y = event.m_y;