]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/evtloop.cpp
translate the 'About' string (patch 1717088)
[wxWidgets.git] / src / mgl / evtloop.cpp
index 58c868ada8974e59abb4a93050c5fe67721c6f39..8135bf6a5d68296e578c7a865f924756aa976351 100644 (file)
     #include "wx/window.h"
     #include "wx/app.h"
     #include "wx/thread.h"
+    #include "wx/timer.h"
 #endif //WX_PRECOMP
 
 #include "wx/evtloop.h"
-#include "wx/timer.h"
 #include "wx/mgl/private.h"
 
 // ----------------------------------------------------------------------------
@@ -137,6 +137,8 @@ int wxEventLoop::Run()
         }
     }
 
+    OnExit();
+
     int exitcode = m_impl->GetExitCode();
     delete m_impl;
     m_impl = NULL;