- if (m_bLastKeydownProcessed)
- {
- //
- // The key was handled in the EVT_KEY_DOWN and handling
- // a key in an EVT_KEY_DOWN handler is meant, by
- // design, to prevent EVT_CHARs from happening
- //
- m_bLastKeydownProcessed = FALSE;
- bProcessed = TRUE;
- }
- else // do generate a CHAR event
- {
- bProcessed = HandleChar((WXDWORD)wParam, lParam);
- }