From: Vadim Zeitlin Date: Wed, 15 Feb 2012 00:35:52 +0000 (+0000) Subject: Make documentation of wxIcon::ConvertToDisabled() more explicit. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cda337fbb030b9cc032a6ef1e2508b7c9af95876 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 --- diff --git a/interface/wx/icon.h b/interface/wx/icon.h index 2c53691c00..083bce7534 100644 --- a/interface/wx/icon.h +++ b/interface/wx/icon.h @@ -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;