X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..b02dd12239c8a59b9a545d9fcb04974f8ad02c6b:/interface/wx/icon.h diff --git a/interface/wx/icon.h b/interface/wx/icon.h index b574ce34f8..083bce7534 100644 --- a/interface/wx/icon.h +++ b/interface/wx/icon.h @@ -50,7 +50,7 @@ @see @ref overview_bitmap, @ref overview_bitmap_supportedformats, wxDC::DrawIcon, wxCursor */ -class wxIcon : public wxBitmap +class wxIcon : public wxGDIObject { public: /** @@ -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;