I added this options, but it still does not work...
If I add a button and I define the event handler for this button as follows:
void myClass::OnButton(wxCommandEvent& event)
{
wxKeyEvent kev(EVT_CHAR);
wxPostEvent(this, kev);
}
Then, by clicking on the button, I can fire the event handler for
EVT_CHARSo the handler would process the event... if it would get it.
Does anyone know why this event gets lost or not generated?
Any idea on how to find out, if the event gets generated?
Thank you
e.p