Yohann,
Thanks for your answer. I tried something similar but in C++ without luck:
void VDialogo::TeclaPres( wxKeyEvent& event )
{
// my test code
}
(VDialog is the inherited class from the dialog class generated by wxFormBuilder).
I assume that the method should be called if any key is Pressed down. (I used OnKeyDown event and linked with "TeclaPres" name in the dialog design).
But the method seems not to be called anyway. I use the same approach with mouse clicks over buttons and works ok... I think if there's something related with focus ?