Make wxSTAY_ON_TOP and other window styles toggleable via SetWindowStyleFlag under OS X Cocoa.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier
2009-11-08 03:03:06 +00:00
parent 5c892f574c
commit b6dc21e768
5 changed files with 33 additions and 1 deletions

View File

@@ -217,6 +217,17 @@ bool wxNonOwnedWindow::SetBackgroundColour(const wxColour& c )
return true;
}
void wxNonOwnedWindow::SetWindowStyleFlag(long flags)
{
if (flags == GetWindowStyleFlag())
return;
wxWindow::SetWindowStyleFlag(flags);
if (m_nowpeer)
m_nowpeer->SetWindowStyleFlag(flags);
}
// Raise the window to the top of the Z order
void wxNonOwnedWindow::Raise()
{