in case of an faulty event this might not get initialized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -498,7 +498,7 @@ pascal OSStatus wxMacUnicodeTextEventHandler( EventHandlerCallRef handler , Even
|
||||
wchar_t* uniChars = NULL ;
|
||||
UInt32 when = EventTimeToTicks( GetEventTime( event ) ) ;
|
||||
|
||||
UniChar* charBuf;
|
||||
UniChar* charBuf = NULL;
|
||||
UInt32 dataSize = 0 ;
|
||||
int numChars = 0 ;
|
||||
UniChar buf[2] ;
|
||||
|
Reference in New Issue
Block a user