]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/evtloop.cpp
Implement wxWindow::DoGetBorderSize() for all ports.
[wxWidgets.git] / src / motif / evtloop.cpp
index 7fd2475e668067e98297fdfc4c3a864a9835d09b..50290c653a0e6506ee3dcc0be4b23b90b0457338 100644 (file)
@@ -121,8 +121,7 @@ int wxGUIEventLoop::Run()
     OnExit();
 
     int exitcode = m_impl->GetExitCode();
-    delete m_impl;
-    m_impl = NULL;
+    wxDELETE(m_impl);
 
     return exitcode;
 }