]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/colour.h
Make storing non-trivial data in wxThreadSpecificInfo possible.
[wxWidgets.git] / interface / wx / colour.h
index bf051c3ff1fc9e85f1d5a3f617a980074b57becc..09c1c242a6ee48cf8a38a1c0e176283cd6d82a54 100644 (file)
@@ -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