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
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user