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