X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d0f796587734fd99c0a8f75bf82f13b8d5fd0ff..380a5dd80316202b472967e898feba1386ea5345:/docs/latex/wx/tdelwin.tex diff --git a/docs/latex/wx/tdelwin.tex b/docs/latex/wx/tdelwin.tex index ff8b02df27..da562d0c26 100644 --- a/docs/latex/wx/tdelwin.tex +++ b/docs/latex/wx/tdelwin.tex @@ -110,8 +110,9 @@ dialog, using the EVT\_CLOSE macro. The event handler function might look like t \wxheading{How do I exit the application gracefully?} -A wxWidgets application automatically exits when the designated top window, or the -last frame or dialog, is destroyed. Put any application-wide cleanup code in \helpref{wxApp::OnExit}{wxapponexit} (this +A wxWidgets application automatically exits when the last top level window +(\helpref{wxFrame}{wxframe} or \helpref{wxDialog}{wxdialog}), is destroyed. Put +any application-wide cleanup code in \helpref{wxApp::OnExit}{wxapponexit} (this is a virtual function, not an event handler). \wxheading{Do child windows get deleted automatically?}