X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f9921e15a3e2ef350b37adf6bc954632d9c148b..b02dd12239c8a59b9a545d9fcb04974f8ad02c6b:/interface/wx/icon.h 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;