X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/809f39fe42dbc118540dfa2c18c6f3f538f68752..820b49cdbf6fa6e6aac6bbb66e84ea9f5f5f745d:/docs/latex/wx/menu.tex diff --git a/docs/latex/wx/menu.tex b/docs/latex/wx/menu.tex index 91f540d1ea..fa1bf18c49 100644 --- a/docs/latex/wx/menu.tex +++ b/docs/latex/wx/menu.tex @@ -236,7 +236,7 @@ optionally, the (sub)menu it belongs to. \perlnote{In wxPerl this method takes just the {\tt id} parameter; in scalar context it returns the associated {\tt Wx::MenuItem}, in list -context it returns a two element list ( item, submenu )} +context it returns a 2-element list {\tt ( item, submenu )}} \wxheading{Parameters} @@ -481,6 +481,11 @@ then the events are sent directly to the frame. This allows command and UI updat handling to be processed by specific windows and controls, and not necessarily by the application frame. +{\bf Tip:} under Windows, if you discover that menu shortcuts (for example, Alt-F to show the file menu) +are not working, check any EVT\_CHAR events you are handling in child windows. +If you are not calling {\tt event.Skip()} for events that you don't process in these event handlers, +menu shortcuts may cease to work. + \wxheading{See also} \helpref{wxMenu}{wxmenu}, \helpref{Event handling overview}{eventhandlingoverview} @@ -772,7 +777,7 @@ Redraw the menu bar \func{wxMenu *}{Remove}{\param{size\_t }{pos}} Removes the menu from the menu bar and returns the menu object - the caller is -reposnbile for deleting it. This function may be used together with +responsible for deleting it. This function may be used together with \helpref{wxMenuBar::Insert}{wxmenubarinsert} to change the menubar dynamically.