From add051eb7c86704a4f648111d38670c920b3e92e Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 19 Jan 2011 20:40:24 +0000 Subject: [PATCH] make sure Raise is also activating the window git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/cocoa/nonownedwnd.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osx/cocoa/nonownedwnd.mm b/src/osx/cocoa/nonownedwnd.mm index 821b444be2..1c97ba28fc 100644 --- a/src/osx/cocoa/nonownedwnd.mm +++ b/src/osx/cocoa/nonownedwnd.mm @@ -589,7 +589,7 @@ WXWindow wxNonOwnedWindowCocoaImpl::GetWXWindow() const void wxNonOwnedWindowCocoaImpl::Raise() { - [m_macWindow orderWindow:NSWindowAbove relativeTo:0]; + [m_macWindow makeKeyAndOrderFront:nil]; } void wxNonOwnedWindowCocoaImpl::Lower() -- 2.45.2