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