From: Vadim Zeitlin <vadim@wxwidgets.org> Date: Thu, 1 Feb 2007 00:07:52 +0000 (+0000) Subject: use wxObject copy ctor, not default ctor, in wxEvent copy ctor X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a34ef99baa3aeab71b45cd4f3622fcd116a38a6e use wxObject copy ctor, not default ctor, in wxEvent copy ctor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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)