]> git.saurik.com Git - wxWidgets.git/commitdiff
Added missing const
authorJulian Smart <julian@anthemion.co.uk>
Thu, 24 Sep 2009 20:47:34 +0000 (20:47 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 24 Sep 2009 20:47:34 +0000 (20:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/bitmap.h

index a287777b686df1011fe5179df2474b0eaa9b10ff..f861b3354a2744d3c90a3ce24eefc4de89a388d9 100644 (file)
@@ -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;