]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/event.cpp
fixed wxTaskBarIcon compilation
[wxWidgets.git] / src / common / event.cpp
index 450a0faae97ccd88ce90db63de4a40cb6020f48c..5e618cc09f37839d1d944bf37e0a5dbc46b0aae2 100644 (file)
@@ -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);