From: Julian Smart Date: Thu, 24 Sep 2009 20:47:34 +0000 (+0000) Subject: Added missing const X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/240071a4153ad5a202f3de0eb8b8aba0213cc4dd Added missing const git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/bitmap.h b/include/wx/bitmap.h index a287777b68..f861b3354a 100644 --- a/include/wx/bitmap.h +++ b/include/wx/bitmap.h @@ -176,7 +176,7 @@ public: virtual wxBitmap GetSubBitmap(const wxRect& rect) const = 0; // Convert to disabled (dimmed) bitmap. - wxBitmap ConvertToDisabled(unsigned char brightness = 255); + wxBitmap ConvertToDisabled(unsigned char brightness = 255) const; virtual bool SaveFile(const wxString &name, wxBitmapType type, const wxPalette *palette = NULL) const = 0;