From: Mattia B. <mb...@ds...> - 2002-08-26 08:49:59
|
> hello, > > i wish to have shortcuts in my application. > > respectively i already did. i added an onchar on every object on the frame. > 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#roughguide > 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. To be honest I have no idea (and could not find anything obvious). Try asking on wx-users. Sorry Mattia |