From c394a432fa5b21485080da8b2d9fef23740188a2 Mon Sep 17 00:00:00 2001 From: David Surovell Date: Thu, 22 Dec 2005 01:14:06 +0000 Subject: [PATCH] fixed error in prior checkin git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/window.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mac/carbon/window.cpp b/src/mac/carbon/window.cpp index 021b11593d..fc005441b8 100644 --- a/src/mac/carbon/window.cpp +++ b/src/mac/carbon/window.cpp @@ -2671,9 +2671,8 @@ void wxWindowMac::OnSetFocus( wxFocusEvent& event ) rect.bottom += pt.y ; } - DrawThemeFocusRect( &rect , bIsFocusEvent ) ; - bool bIsFocusEvent = (event.GetEventType() == wxEVT_SET_FOCUS); + DrawThemeFocusRect( &rect , bIsFocusEvent ) ; if ( !bIsFocusEvent ) { // as this erases part of the frame we have to redraw borders -- 2.45.2