X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..05dedde7d01d55cde7f13f6b6201e24b5b408344:/docs/latex/wx/tdelwin.tex diff --git a/docs/latex/wx/tdelwin.tex b/docs/latex/wx/tdelwin.tex index 7d7b02a1b1..d425e42ae4 100644 --- a/docs/latex/wx/tdelwin.tex +++ b/docs/latex/wx/tdelwin.tex @@ -10,7 +10,7 @@ to close windows. When the user clicks on the system close button or system close command, in a frame or a dialog, wxWindows calls \helpref{wxWindow::Close}{wxwindowclose}. This -in turn generates an EVT\_CLOSE event: see \helpref{wxWindow::OnCloseWindow}{wxwindowonclosewindow}. +in turn generates an EVT\_CLOSE event: see \helpref{wxCloseEvent}{wxcloseevent}. It is the duty of the application to define a suitable event handler, and decide whether or not to destroy the window. @@ -53,9 +53,9 @@ In other words, by default, the dialog {\it is not destroyed} (it might have bee on the stack, so the assumption of dynamic creation cannot be made). The default close event handler for wxFrame destroys the frame using Destroy(). - -Under Windows, wxDialog defines a handler for \helpref{wxWindow::OnCharHook}{wxwindowoncharhook} that -generates a Cancel event if the Escape key has been pressed. +% +%Under Windows, wxDialog defines a handler for \helpref{wxWindow::OnCharHook}{wxwindowoncharhook} that +%generates a Cancel event if the Escape key has been pressed. \wxheading{What should I do when the user calls up Exit from a menu?}