diff --git a/include/wx/event.h b/include/wx/event.h index 8b51764f1c..6c77cf5467 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -2503,7 +2503,7 @@ struct WXDLLIMPEXP_BASE wxEventTableEntryBase ~wxEventTableEntryBase() { - wxDELETE( m_fn ); + delete m_fn; } // the range of ids for this entry: if m_lastId == wxID_ANY, the range