fixed obscure compilation problem at line 139
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -133,6 +133,7 @@ static pascal OSStatus TextInputEventHandler( EventHandlerCallRef handler , Even
|
|||||||
switch ( GetEventKind( event ) )
|
switch ( GetEventKind( event ) )
|
||||||
{
|
{
|
||||||
case kEventTextInputUnicodeForKeyEvent :
|
case kEventTextInputUnicodeForKeyEvent :
|
||||||
|
{
|
||||||
// this is only called when no default handler has jumped in, e.g. a wxControl on a floater window does not
|
// this is only called when no default handler has jumped in, e.g. a wxControl on a floater window does not
|
||||||
// get its own kEventTextInputUnicodeForKeyEvent, so we reroute the event back to the control
|
// get its own kEventTextInputUnicodeForKeyEvent, so we reroute the event back to the control
|
||||||
wxControl* control = wxDynamicCast( focus , wxControl ) ;
|
wxControl* control = wxDynamicCast( focus , wxControl ) ;
|
||||||
@@ -157,6 +158,7 @@ static pascal OSStatus TextInputEventHandler( EventHandlerCallRef handler , Even
|
|||||||
result = noErr ;
|
result = noErr ;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
break ;
|
break ;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user