X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc2171bd4c660b8554dae2a1cbf34ff09f3032a6..7e1897c067ddb8218e05e0751cfe3e0521a5bfba:/docs/latex/wx/tapp.tex diff --git a/docs/latex/wx/tapp.tex b/docs/latex/wx/tapp.tex index 3b33252eff..f87e1a4c8f 100644 --- a/docs/latex/wx/tapp.tex +++ b/docs/latex/wx/tapp.tex @@ -22,7 +22,7 @@ is to explicitly delete child frames in the top-level frame's \helpref{wxCloseEv handler. In emergencies the \helpref{wxExit}{wxexit} function can be called to kill the -application however normally the applications shuts down automatically, +application however normally the application shuts down automatically, \helpref{see below}{wxappshutdownoverview}. An example of defining an application follows: @@ -73,9 +73,9 @@ terminates when this dialog -- which is the last top level window for the moment -- is closed. -Another aspect of the application shutdown is the \helpref{OnExit}{wxapponexit} +Another aspect of the application shutdown is \helpref{OnExit}{wxapponexit} which is called when the application exits but {\it before} wxWidgets cleans up -its internal structures. Your should delete all wxWidgets object that your +its internal structures. You should delete all wxWidgets object that you created by the time OnExit finishes. In particular, do {\bf not} destroy them from application class' destructor! @@ -116,3 +116,4 @@ int MyApp::OnExit() return 0; } \end{verbatim} +