From: Stefan Csomor Date: Wed, 1 Feb 2012 13:25:35 +0000 (+0000) Subject: should not bring to front upon focussing X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f897d9ed1a1d1c4cdce789ef0cd2963e199b4595?ds=inline should not bring to front upon focussing git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/cocoa/window.mm b/src/osx/cocoa/window.mm index b1906c4d1a..ed40a8e054 100644 --- a/src/osx/cocoa/window.mm +++ b/src/osx/cocoa/window.mm @@ -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; }