From 8aaf987c83e7501dd8e56329a41bc10c972aa936 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 1 Feb 2007 00:10:25 +0000 Subject: [PATCH] use wxObject copy ctor, not default ctor, in wxEvent copy ctor (backport from HEAD) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/event.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/event.cpp b/src/common/event.cpp index c254930217..598b66ae99 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -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)