Hello,

I want to subclass FXTextField in order to map certain keys, eg Ctrl-Left,
but don't know how to do this. onKeyPress doesn't get called.

class MyTextField < FXTextField
  def onKeyPress(sender, sel, ptr)
    p "onKeyPress"
    super(sender, sel, ptr)
  end
end

I'm missing something important here but what?

--
  Ralf