Implemented Raise()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
84a667dc06
commit
d5ca66298a
@ -377,7 +377,11 @@ void wxWindow::Clear()
|
||||
// Raise the window to the top of the Z order
|
||||
void wxWindow::Raise()
|
||||
{
|
||||
// TODO
|
||||
NSView *nsview = m_dummyNSView?m_dummyNSView:m_cocoaNSView;
|
||||
NSView *superview = [nsview superview];
|
||||
[nsview retain];
|
||||
[nsview removeFromSuperview];
|
||||
[superview addSubview:nsview];
|
||||
}
|
||||
|
||||
// Lower the window to the bottom of the Z order
|
||||
|
Loading…
Reference in New Issue
Block a user