classic fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1008,7 +1008,9 @@ wxApp::wxApp()
|
||||
m_auto3D = TRUE;
|
||||
|
||||
m_macCurrentEvent = NULL ;
|
||||
#if TARGET_CARBON
|
||||
m_macCurrentEventHandlerCallRef = NULL ;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool wxApp::Initialized()
|
||||
@@ -1395,7 +1397,7 @@ void wxApp::MacHandleModifierEvents( WXEVENTREF evr )
|
||||
event.SetEventType( ( ev->modifiers & optionKey ) ? wxEVT_KEY_DOWN : wxEVT_KEY_UP ) ;
|
||||
focus->GetEventHandler()->ProcessEvent( event ) ;
|
||||
}
|
||||
if ( ev->modifiers ^ s_lastModifiers ) & cmdKey )
|
||||
if ( ( ev->modifiers ^ s_lastModifiers ) & cmdKey )
|
||||
{
|
||||
event.m_keyCode = WXK_COMMAND ;
|
||||
event.SetEventType( ( ev->modifiers & cmdKey ) ? wxEVT_KEY_DOWN : wxEVT_KEY_UP ) ;
|
||||
|
Reference in New Issue
Block a user