]> git.saurik.com Git - wxWidgets.git/commitdiff
should not bring to front upon focussing
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 1 Feb 2012 13:25:35 +0000 (13:25 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 1 Feb 2012 13:25:35 +0000 (13:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/window.mm

index b1906c4d1a603c1b3c1f28bc1c25ceae67607a27..ed40a8e054347eb1100ff65ab3cf718276006314 100644 (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;
 }