only set native window level, when not using a wrapped native window, see #14739
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
3ffa8d8c02
commit
da73c5c65b
@ -784,7 +784,8 @@ void wxNonOwnedWindowCocoaImpl::SetExtraStyle( long exStyle )
|
||||
|
||||
void wxNonOwnedWindowCocoaImpl::SetWindowStyleFlag( long style )
|
||||
{
|
||||
if (m_macWindow)
|
||||
// don't mess with native wrapped windows, they might throw an exception when their level is changed
|
||||
if (!m_wxPeer->IsNativeWindowWrapper() && m_macWindow)
|
||||
{
|
||||
CGWindowLevel level = kCGNormalWindowLevel;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user