fixed error in prior checkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user