X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d13b34d3f2be575d59747a5926000be7b28a45dc..b09857ae000a60704207d63290be937584805fb0:/interface/wx/colour.h diff --git a/interface/wx/colour.h b/interface/wx/colour.h index bf051c3ff1..886b65adc6 100644 --- a/interface/wx/colour.h +++ b/interface/wx/colour.h @@ -235,7 +235,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