normal windows also have transparent corners, so don't ever set it to non transparent ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
cdc48273b4
commit
fc4187f4d7
@ -149,13 +149,6 @@ bool wxNonOwnedWindowCarbonImpl::SetBackgroundStyle(wxBackgroundStyle style)
|
||||
err = ReshapeCustomWindow( m_macWindow );
|
||||
verify_noerr( err );
|
||||
}
|
||||
else
|
||||
{
|
||||
OSStatus err = HIWindowChangeFeatures( m_macWindow, kWindowIsOpaque, 0 );
|
||||
verify_noerr( err );
|
||||
err = ReshapeCustomWindow( m_macWindow );
|
||||
verify_noerr( err );
|
||||
}
|
||||
|
||||
return true ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user