From 89fb932dc8cc06f0511904e4cdfb1e80a12bfe4e Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 31 Jan 2003 15:52:24 +0000 Subject: [PATCH] using SelectWindow for Raise Implementation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/toplevel.cpp | 2 +- src/mac/toplevel.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mac/carbon/toplevel.cpp b/src/mac/carbon/toplevel.cpp index a38c11bd72..2dc24669af 100644 --- a/src/mac/carbon/toplevel.cpp +++ b/src/mac/carbon/toplevel.cpp @@ -439,7 +439,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 diff --git a/src/mac/toplevel.cpp b/src/mac/toplevel.cpp index a38c11bd72..2dc24669af 100644 --- a/src/mac/toplevel.cpp +++ b/src/mac/toplevel.cpp @@ -439,7 +439,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