]> git.saurik.com Git - wxWidgets.git/commitdiff
changing sequence of makeFirstResponder and makeKeyAndOrderFront
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 12 Apr 2010 12:18:33 +0000 (12:18 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 12 Apr 2010 12:18:33 +0000 (12:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/window.mm

index 14396fd9bb74497f876e64f8b54abb52b90d4e13..3decd9fc8070cf9f86f5422d7054068cb1dd5474 100644 (file)
@@ -1648,8 +1648,8 @@ bool wxWidgetCocoaImpl::SetFocus()
     if ( !CanFocus() )
         return false;
 
-    [[m_osxView window] makeFirstResponder: m_osxView] ;
     [[m_osxView window] makeKeyAndOrderFront:nil] ;
+    [[m_osxView window] makeFirstResponder: m_osxView] ;
     return true;
 }