git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16820 
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
 
 \func{int}{OnExit}{\void}
 
 
 \func{int}{OnExit}{\void}
 
-Provide this member function for any processing which needs to be done as
-the application is about to exit.
+Provide this member function for any processing which needs to be
+done as the application is about to exit. OnExit is called after
+destroying all application windows and controls, but before
+wxWindows cleanup.
 
 \membersection{wxApp::OnCmdLineError}\label{wxapponcmdlineerror}
 
 
 \membersection{wxApp::OnCmdLineError}\label{wxapponcmdlineerror}
 
 raised in debug build if such situation is detected. However if the the 
 {\it onlyIfNeeded} parameter is {\tt TRUE}, the method will just silently
 return {\tt FALSE} instead.
 raised in debug build if such situation is detected. However if the the 
 {\it onlyIfNeeded} parameter is {\tt TRUE}, the method will just silently
 return {\tt FALSE} instead.