Remove unnecessary checks of wxEvent::GetSkipped()
HandleWindowEvent() already returns false if the event handler skipped the event, there is no need to test for it explicitly. No real changes.
This commit is contained in:
@@ -2605,11 +2605,7 @@ bool wxWindowMac::OSXHandleKeyEvent( wxKeyEvent& event )
|
||||
#endif // wxUSE_ACCEL
|
||||
|
||||
if ( !handled )
|
||||
{
|
||||
handled = HandleWindowEvent( event ) ;
|
||||
if ( handled && event.GetSkipped() )
|
||||
handled = false ;
|
||||
}
|
||||
|
||||
return handled ;
|
||||
}
|
||||
|
Reference in New Issue
Block a user