From: <so...@bl...> - 2002-08-22 06:17:28
|
hello, i wish to have shortcuts in my application. respectively i already did. i added an onchar on every object on the fram= e. but the shortcut don't work if i used the toolbar or menu because non of the onchar controls have the focus. so my question: how can i check on the whole wx::frame / application for keyevents? http://www.lpthe.jussieu.fr/~zeitlin/wxWindows/docs/wxwin452.htm#roughgui= de tells me something about: BEGIN_EVENT_TABLE, END_EVENT_TABLE but looks like they aren't implemented in wxperl. and somewhere else i found (don't remember where): EVT_CHAR($this, \&handleKeyEvents); # (was in c) but this doesn't work either... help greatly appreciated. greeting Marco |