X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01f944e67ed9db74771cdd06b1bb457d13507d68..fa1c12bdd76acc21ddb45b90bb53b2f58aed946d:/src/common/event.cpp diff --git a/src/common/event.cpp b/src/common/event.cpp index 450a0faae9..5e618cc09f 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -638,7 +638,7 @@ void wxEvtHandler::AddPendingEvent(wxEvent& event) if ( !m_pendingEvents ) m_pendingEvents = new wxList; - wxEvent *event2 = (wxEvent *)event.Clone(); + wxEvent *event2 = event.Clone(); m_pendingEvents->Append(event2);