]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/window.cpp
Raise and Lower implemented
[wxWidgets.git] / src / mac / window.cpp
index 95e1077a9b48bc445a105060c375ea6bfdfad10e..d443d4bfa85ad586a66ec013e74426bee66ef967 100644 (file)
@@ -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)