]> git.saurik.com Git - wxWidgets.git/commitdiff
using terminate: terminates prematurely, OnExit is not called anymore
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 14 Aug 2013 09:43:31 +0000 (09:43 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 14 Aug 2013 09:43:31 +0000 (09:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/evtloop.mm

index 922d0468f963da3c8eedc8e00f151473adc00693..2a27139d35c1052661a0376bdcf8bdfc0dc08ef1 100644 (file)
@@ -340,8 +340,7 @@ void wxGUIEventLoop::OSXDoStop()
     // We should only stop the top level event loop.
     if ( gs_loopNestingLevel <= 1 )
     {
     // We should only stop the top level event loop.
     if ( gs_loopNestingLevel <= 1 )
     {
-        // using terminate support all native notifications
-        [NSApp terminate:0];
+        [NSApp stop:0];
     }
 
     // For the top level loop only calling stop: is not enough when called from
     }
 
     // For the top level loop only calling stop: is not enough when called from