]> git.saurik.com Git - wxWidgets.git/commitdiff
don't use wxDELETE unnecessarily
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 12 Jan 2009 14:33:43 +0000 (14:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 12 Jan 2009 14:33:43 +0000 (14:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/event.h

index 8b51764f1c5bb57aaa89a909cbb669516494ca5b..6c77cf54677446123fb30377b153cc4a3441078f 100644 (file)
@@ -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