X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d13b34d3f2be575d59747a5926000be7b28a45dc..9e9574fe45b176ee74bba8fad7574cf9906145d1:/interface/wx/colour.h diff --git a/interface/wx/colour.h b/interface/wx/colour.h index bf051c3ff1..09c1c242a6 100644 --- a/interface/wx/colour.h +++ b/interface/wx/colour.h @@ -2,7 +2,6 @@ // Name: colour.h // Purpose: interface of wxColour // Author: wxWidgets team -// RCS-ID: $Id$ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -235,7 +234,16 @@ public: @since 2.9.0 */ static void MakeDisabled(unsigned char* r, unsigned char* g, unsigned char* b, unsigned char brightness = 255); - + + /** + Make a disabled version of this colour. + + This method modifies the object in place and returns the object itself. + + @since 2.9.5 + */ + wxColour& MakeDisabled(unsigned char brightness = 255); + /** Create a grey colour from (in/out) rgb parameters using integer arithmetic. @since 2.9.0