fixing two unicode compile errors

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2006-04-19 16:43:08 +00:00
parent ccdee36f75
commit 0cc00f4f48

View File

@@ -149,7 +149,7 @@ static pascal OSStatus KeyboardEventHandler( EventHandlerCallRef handler , Event
uniChar = charBuf[0] ;
#else
wxMBConvUTF16 converter ;
converter.MB2WC( &uniChar , (const char*)charBuf , 2 ) ;
converter.MB2WC( uniChar , (const char*)charBuf , 2 ) ;
#endif
if ( numChars * 2 > 4 )
@@ -200,7 +200,7 @@ static pascal OSStatus KeyboardEventHandler( EventHandlerCallRef handler , Event
event.m_y = point.v;
#if wxUSE_UNICODE
event.m_uniChar = uniChar ;
event.m_uniChar = uniChar[0] ;
#endif
event.SetTimestamp(when);