From f32e5dc5caba8e2b34d6e806c9b3067086bfb73a Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 22 Jun 2001 12:34:18 +0000 Subject: [PATCH] Raise and Lower implemented git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/window.cpp | 10 ++++++++-- src/mac/window.cpp | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) 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) -- 2.45.2