EVT_CHAR_HOOK added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1261,6 +1261,23 @@ bool wxApp::MacSendKeyDownEvent( wxWindow* focus , long keymessage , long modifi
|
||||
}
|
||||
if (!handled)
|
||||
{
|
||||
wxTopLevelWindowMac *tlw = focus->MacGetTopLevelWindow() ;
|
||||
|
||||
if (tlw)
|
||||
{
|
||||
event.Skip( FALSE ) ;
|
||||
event.SetEventType( wxEVT_CHAR_HOOK );
|
||||
// raw value again
|
||||
event.m_keyCode = realkeyval ;
|
||||
|
||||
handled = tlw->GetEventHandler()->ProcessEvent( event );
|
||||
if ( handled && event.GetSkipped() )
|
||||
handled = false ;
|
||||
}
|
||||
}
|
||||
|
||||
if ( !handled )
|
||||
{
|
||||
event.Skip( FALSE ) ;
|
||||
event.SetEventType( wxEVT_CHAR ) ;
|
||||
// raw value again
|
||||
|
Reference in New Issue
Block a user