// Name: colour.h
// Purpose: interface of wxColour
// Author: wxWidgets team
-// RCS-ID: $Id$
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/**
Sets the RGB intensity values using the given values (first overload),
extracting them from the packed long (second overload), using the given
- string (third overloard).
+ string (third overload).
When using third form, Set() accepts: colour names (those listed in
wxColourDatabase), the CSS-like @c "rgb(r,g,b)" or @c "rgba(r,g,b,a)" syntax
@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