From: Vadim Zeitlin Date: Mon, 12 Jan 2009 14:33:43 +0000 (+0000) Subject: don't use wxDELETE unnecessarily X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0b632977d75f403b7bc043d48a1c15e7394c546c don't use wxDELETE unnecessarily git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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