should not bring to front upon focussing

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2012-02-01 13:25:35 +00:00
parent a8228fd18c
commit f897d9ed1a

View File

@@ -1984,7 +1984,8 @@ bool wxWidgetCocoaImpl::SetFocus()
if ( !CanFocus() )
return false;
[[m_osxView window] makeKeyAndOrderFront:nil] ;
// TODO remove if no issues arise: should not raise the window, only assign focus
//[[m_osxView window] makeKeyAndOrderFront:nil] ;
[[m_osxView window] makeFirstResponder: m_osxView] ;
return true;
}