]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/app.cpp
fixing sign conversion warning
[wxWidgets.git] / src / mac / carbon / app.cpp
index 77be629cb77b9ef225f6cc2ad6efd93820d3fca8..b128991ff072ab3a3437d8526479b96c677ec350 100644 (file)
@@ -1670,8 +1670,6 @@ void wxApp::MacCreateKeyEvent( wxKeyEvent& event, wxWindow* focus , long keymess
     event.m_keyCode = keyval ;
 #if wxUSE_UNICODE
     event.m_uniChar = uniChar ;
     event.m_keyCode = keyval ;
 #if wxUSE_UNICODE
     event.m_uniChar = uniChar ;
-    if ( event.GetEventType() == wxEVT_CHAR )
-        event.m_keyCode = uniChar ;
 #endif
 
     event.m_rawCode = keymessage;
 #endif
 
     event.m_rawCode = keymessage;