X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/732d8c74f805e35cd398711fcd3969c4c668e259..3017880eff92f202f26262fbcdf1744cb620e3e3:/include/wx/bitmap.h diff --git a/include/wx/bitmap.h b/include/wx/bitmap.h index e6e837d948..f861b3354a 100644 --- a/include/wx/bitmap.h +++ b/include/wx/bitmap.h @@ -175,6 +175,9 @@ public: virtual wxBitmap GetSubBitmap(const wxRect& rect) const = 0; + // Convert to disabled (dimmed) bitmap. + wxBitmap ConvertToDisabled(unsigned char brightness = 255) const; + virtual bool SaveFile(const wxString &name, wxBitmapType type, const wxPalette *palette = NULL) const = 0; virtual bool LoadFile(const wxString &name, wxBitmapType type) = 0;