]> git.saurik.com Git - wxWidgets.git/commitdiff
making SetFocus bringing TLW to front as Carbon, see #10876
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 10 Jun 2009 07:04:33 +0000 (07:04 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 10 Jun 2009 07:04:33 +0000 (07:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/window.mm

index 7fd8287b8227ccd6f36c41ba09faa295afe455a1..88d7166c49b47419b763908b9d042bb6af967679 100644 (file)
@@ -1271,6 +1271,7 @@ bool wxWidgetCocoaImpl::SetFocus()
         return false;
         
     [[m_osxView window] makeFirstResponder: m_osxView] ;
+    [[m_osxView window] makeKeyAndOrderFront:nil] ;
     return true;
 }