Applied patch for bug [ 1206181 ] Option-key decodes are wrong

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-05-21 16:52:56 +00:00
parent 6f8c67e710
commit 19fc48c61d

View File

@@ -111,7 +111,7 @@ static pascal OSStatus TextInputEventHandler( EventHandlerCallRef handler , Even
OSStatus result = eventNotHandledErr ; OSStatus result = eventNotHandledErr ;
wxWindow* focus = wxWindow::FindFocus() ; wxWindow* focus = wxWindow::FindFocus() ;
char charCode ; unsigned char charCode ;
UInt32 keyCode ; UInt32 keyCode ;
UInt32 modifiers ; UInt32 modifiers ;
Point point ; Point point ;
@@ -167,7 +167,7 @@ static pascal OSStatus KeyboardEventHandler( EventHandlerCallRef handler , Event
if ( focus == NULL ) if ( focus == NULL )
return result ; return result ;
char charCode ; unsigned char charCode ;
wxChar uniChar = 0 ; wxChar uniChar = 0 ;
UInt32 keyCode ; UInt32 keyCode ;
UInt32 modifiers ; UInt32 modifiers ;