]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/evtloop.cpp
Account for largest item in wxGenericListCtrl::GetBestSize().
[wxWidgets.git] / src / gtk1 / evtloop.cpp
index 194e553bedcdd38af32df9f3a4f0c2fc7dfba17a..ce50f0cf07533fa9a6e7c041515890850bd14139 100644 (file)
@@ -79,8 +79,7 @@ int wxGUIEventLoop::Run()
     OnExit();
 
     int exitcode = m_impl->GetExitCode();
-    delete m_impl;
-    m_impl = NULL;
+    wxDELETE(m_impl);
 
     return exitcode;
 }