+wxObject *wxEvent::Clone() const
+{
+ wxEvent *event = (wxEvent *)wxObject::Clone();
+
+ event->m_eventType = m_eventType;
+ event->m_eventObject = m_eventObject;
+ event->m_eventHandle = m_eventHandle;
+ event->m_timeStamp = m_timeStamp;
+ event->m_id = m_id;
+ event->m_skipped = m_skipped;
+ event->m_callbackUserData = m_callbackUserData;
+ event->m_isCommandEvent = m_isCommandEvent;
+
+ return event;
+}
+