I have a wxPerl script that I developed on UNIX. It catches key presses in the main frame (in order to easily cycle through notebook tabs as well as to give a simple "quit" option)
It works fine on UNIX, but on Windows I can't seem to get the EVT_KEY_UP routine to even get called. Inside the MyFrame new() routine at the bottom I've added: Wx::Event::EVT_KEY_UP($self, \&onKeyUp); But onKeyUp never seems to get called, unless I add EVT_KEY_UP to all of the children of MyFrame. Is this a focus issue? Is there any easy way to do a "global" EVT_KEY_UP on Windows wxPerl? Dave --------------------------------------------------------------------------- Dave Ljung Madison http://GetDave.com/ 415 341-5555 ------------ "Preferred over shiny round objects 2-to-1" ------------------
