]> git.saurik.com Git - wxWidgets.git/commitdiff
using SelectWindow for Raise Implementation
authorStefan Csomor <csomor@advancedconcepts.ch>
Fri, 31 Jan 2003 15:52:24 +0000 (15:52 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Fri, 31 Jan 2003 15:52:24 +0000 (15:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/toplevel.cpp
src/mac/toplevel.cpp

index 8c01e545e3d36970755a254c05e11d12e3fabc6f..d07c85cf629c41fb44a1df9f12329d59a37b3657 100644 (file)
@@ -668,7 +668,7 @@ void wxTopLevelWindowMac::MacUpdate( long timestamp)
 // Raise the window to the top of the Z order
 void wxTopLevelWindowMac::Raise()
 {
-    ::BringToFront( (WindowRef)m_macWindow ) ;
+    ::SelectWindow( (WindowRef)m_macWindow ) ;
 }
 
 // Lower the window to the bottom of the Z order
index 8c01e545e3d36970755a254c05e11d12e3fabc6f..d07c85cf629c41fb44a1df9f12329d59a37b3657 100644 (file)
@@ -668,7 +668,7 @@ void wxTopLevelWindowMac::MacUpdate( long timestamp)
 // Raise the window to the top of the Z order
 void wxTopLevelWindowMac::Raise()
 {
-    ::BringToFront( (WindowRef)m_macWindow ) ;
+    ::SelectWindow( (WindowRef)m_macWindow ) ;
 }
 
 // Lower the window to the bottom of the Z order