X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/665bbe97a9faddd31f99ab8ca3859e2f98ad0d21..0ddef74db48a9cd7812e2eb97547ddf5aa58642c:/docs/latex/wx/window.tex?ds=inline diff --git a/docs/latex/wx/window.tex b/docs/latex/wx/window.tex index a6acf75d7e..a2d41a8df3 100644 --- a/docs/latex/wx/window.tex +++ b/docs/latex/wx/window.tex @@ -1052,6 +1052,9 @@ keypresses, then you will need to use \helpref{wxWindow::OnKeyDown}{wxwindowonke Most, but not all, windows allow keypresses to be intercepted. +{\bf Tip:} be sure to call {\tt event.Skip()} for events that you don't process in this function, +otherwise menu shortcuts may cease to work under Windows. + \wxheading{See also} \helpref{wxWindow::OnKeyDown}{wxwindowonkeydown}, \helpref{wxWindow::OnKeyUp}{wxwindowonkeyup},\rtfsp @@ -1252,6 +1255,9 @@ keys, such as shift, control, and function keys, then you will need to use \help Most, but not all, windows allow keypresses to be intercepted. +{\bf Tip:} be sure to call {\tt event.Skip()} for events that you don't process in this function, +otherwise menu shortcuts may cease to work under Windows. + \wxheading{See also} \helpref{wxWindow::OnChar}{wxwindowonchar}, \helpref{wxWindow::OnKeyUp}{wxwindowonkeyup},\rtfsp