From: Stefan Csomor Date: Fri, 31 Jan 2003 15:52:24 +0000 (+0000) Subject: using SelectWindow for Raise Implementation X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7f3c339c0de768a4ba05437b21a7bf46d2c00b57 using SelectWindow for Raise Implementation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/toplevel.cpp b/src/mac/carbon/toplevel.cpp index 8c01e545e3..d07c85cf62 100644 --- a/src/mac/carbon/toplevel.cpp +++ b/src/mac/carbon/toplevel.cpp @@ -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 diff --git a/src/mac/toplevel.cpp b/src/mac/toplevel.cpp index 8c01e545e3..d07c85cf62 100644 --- a/src/mac/toplevel.cpp +++ b/src/mac/toplevel.cpp @@ -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