From: Stefan Csomor Date: Fri, 22 Jun 2001 12:34:18 +0000 (+0000) Subject: Raise and Lower implemented X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f32e5dc5caba8e2b34d6e806c9b3067086bfb73a?hp=5da2c444ef6bfe006e45c15216911dfde4540fe0 Raise and Lower implemented git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/window.cpp b/src/mac/carbon/window.cpp index 95e1077a9b..d443d4bfa8 100644 --- a/src/mac/carbon/window.cpp +++ b/src/mac/carbon/window.cpp @@ -1515,13 +1515,19 @@ void wxWindow::OnIdle(wxIdleEvent& event) // Raise the window to the top of the Z order void wxWindow::Raise() { - // TODO + if ( m_macWindowData ) + { + UMABringToFront( m_macWindowData->m_macWindow ) ; + } } // Lower the window to the bottom of the Z order void wxWindow::Lower() { - // TODO + if ( m_macWindowData ) + { + UMASendBehind( m_macWindowData->m_macWindow , NULL ) ; + } } void wxWindow::DoSetClientSize(int width, int height) diff --git a/src/mac/window.cpp b/src/mac/window.cpp index 95e1077a9b..d443d4bfa8 100644 --- a/src/mac/window.cpp +++ b/src/mac/window.cpp @@ -1515,13 +1515,19 @@ void wxWindow::OnIdle(wxIdleEvent& event) // Raise the window to the top of the Z order void wxWindow::Raise() { - // TODO + if ( m_macWindowData ) + { + UMABringToFront( m_macWindowData->m_macWindow ) ; + } } // Lower the window to the bottom of the Z order void wxWindow::Lower() { - // TODO + if ( m_macWindowData ) + { + UMASendBehind( m_macWindowData->m_macWindow , NULL ) ; + } } void wxWindow::DoSetClientSize(int width, int height)