From: Milind G. <mil...@gm...> - 2012-06-19 18:11:57
|
Hi, I am trying to associate key events with a frame but it doesn't seem to be working. I am doing this: frame:Connect(ID_FRAME, wx.wxEVT_CHAR, CharKeyEvent) and then I have function CharKeyEvent(event) print("Caught Keypress") end But I never key the Caught Keypress display. Is there something I am missing. I looked at the grid.wx.lua example also, how does the key combinations caught to call the menu event handlers? Thanks, Milind |