]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied patch for bug [ 1206181 ] Option-key decodes are wrong
authorJulian Smart <julian@anthemion.co.uk>
Sat, 21 May 2005 16:52:56 +0000 (16:52 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sat, 21 May 2005 16:52:56 +0000 (16:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/toplevel.cpp

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