]> git.saurik.com Git - wxWidgets.git/commitdiff
use wxObject copy ctor, not default ctor, in wxEvent copy ctor
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 1 Feb 2007 00:07:52 +0000 (00:07 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 1 Feb 2007 00:07:52 +0000 (00:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/event.cpp

index c254930217e1cc2c3e7124bb6b51637ee6fff0d1..598b66ae999c828cede1f4b8d0066290240776e5 100644 (file)
@@ -352,7 +352,7 @@ wxEvent::wxEvent(int theId, wxEventType commandType )
 }
 
 wxEvent::wxEvent(const wxEvent &src)
-    : wxObject()
+    : wxObject(src)
     , m_eventObject(src.m_eventObject)
     , m_eventType(src.m_eventType)
     , m_timeStamp(src.m_timeStamp)