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:
Stefan Csomor
2004-03-29 06:49:37 +00:00
parent 5171553c22
commit 6aab345b9d

View File

@@ -1107,6 +1107,15 @@ void wxTopLevelWindowMac::MacSetMetalAppearance( bool set )
#endif
}
bool wxTopLevelWindowMac::MacGetMetalAppearance() const
{
#if TARGET_API_MAC_OSX
return MacGetWindowAttributes() & kWindowMetalAttribute ;
#else
return false ;
#endif
}
void wxTopLevelWindowMac::MacChangeWindowAttributes( wxUint32 attributesToSet , wxUint32 attributesToClear )
{
ChangeWindowAttributes ( (WindowRef) m_macWindow , attributesToSet, attributesToClear ) ;