Translucency --> Transparent

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-07-17 21:30:08 +00:00
parent e5fb6f92f1
commit 07880314d4
9 changed files with 31 additions and 33 deletions

View File

@@ -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;
}