From 64fec3ab27f8b83809f7a383933f8f6081c31410 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 20 May 2004 18:42:38 +0000 Subject: [PATCH] factoring common code out git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/window.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/mac/carbon/window.cpp b/src/mac/carbon/window.cpp index 5c51c2e88c..9bac13b60f 100644 --- a/src/mac/carbon/window.cpp +++ b/src/mac/carbon/window.cpp @@ -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 -- 2.47.2