expose metal appearance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1107,6 +1107,15 @@ void wxTopLevelWindowMac::MacSetMetalAppearance( bool set )
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool wxTopLevelWindowMac::MacGetMetalAppearance() const
|
||||||
|
{
|
||||||
|
#if TARGET_API_MAC_OSX
|
||||||
|
return MacGetWindowAttributes() & kWindowMetalAttribute ;
|
||||||
|
#else
|
||||||
|
return false ;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
void wxTopLevelWindowMac::MacChangeWindowAttributes( wxUint32 attributesToSet , wxUint32 attributesToClear )
|
void wxTopLevelWindowMac::MacChangeWindowAttributes( wxUint32 attributesToSet , wxUint32 attributesToClear )
|
||||||
{
|
{
|
||||||
ChangeWindowAttributes ( (WindowRef) m_macWindow , attributesToSet, attributesToClear ) ;
|
ChangeWindowAttributes ( (WindowRef) m_macWindow , attributesToSet, attributesToClear ) ;
|
||||||
|
Reference in New Issue
Block a user