factoring common code out
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -212,8 +212,6 @@ static pascal OSStatus wxMacWindowControlEventHandler( EventHandlerCallRef handl
|
||||
wxFocusEvent event(wxEVT_KILL_FOCUS, thisWindow->GetId());
|
||||
event.SetEventObject(thisWindow);
|
||||
thisWindow->GetEventHandler()->ProcessEvent(event) ;
|
||||
if (thisWindow->MacIsUserPane())
|
||||
result = noErr;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -231,9 +229,9 @@ static pascal OSStatus wxMacWindowControlEventHandler( EventHandlerCallRef handl
|
||||
wxFocusEvent event(wxEVT_SET_FOCUS, thisWindow->GetId());
|
||||
event.SetEventObject(thisWindow);
|
||||
thisWindow->GetEventHandler()->ProcessEvent(event) ;
|
||||
if (thisWindow->MacIsUserPane())
|
||||
result = noErr;
|
||||
}
|
||||
if ( thisWindow->MacIsUserPane() )
|
||||
result = noErr ;
|
||||
}
|
||||
break ;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user