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:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user