Make documentation of wxIcon::ConvertToDisabled() more explicit.

Use @onlyfor{wxmsw} and explain how can the same task be done under the other
platforms.

Closes #13977.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2012-02-15 00:35:52 +00:00
parent 0e1cd9bedb
commit cda337fbb0

View File

@ -180,7 +180,14 @@ public:
virtual ~wxIcon();
/**
Returns disabled (dimmed) version of the icon. MSW only.
Returns disabled (dimmed) version of the icon.
This method is available in wxIcon only under wxMSW, other ports only
have it in wxBitmap. You can always use wxImage::ConvertToDisabled()
and create the icon from wxImage manually however.
@onlyfor{wxmsw}
@since 2.9.0
*/
wxIcon ConvertToDisabled(unsigned char brightness = 255) const;