Translucency --> Transparent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1432,7 +1432,7 @@ bool wxTopLevelWindowMac::IsFullScreen() const
|
||||
}
|
||||
|
||||
|
||||
bool wxTopLevelWindowMac::SetTranslucency(int alpha)
|
||||
bool wxTopLevelWindowMac::SetTransparent(wxByte alpha)
|
||||
{
|
||||
WindowRef handle = GetControlOwner((OpaqueControlRef*)GetHandle());
|
||||
OSStatus result = SetWindowAlpha(handle, float(alpha)/255.0);
|
||||
@@ -1440,7 +1440,7 @@ bool wxTopLevelWindowMac::SetTranslucency(int alpha)
|
||||
}
|
||||
|
||||
|
||||
bool wxTopLevelWindowMac::CanSetTranslucency()
|
||||
bool wxTopLevelWindowMac::CanSetTransparent()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user