// Author: Francesco Montorsi
// Modified by:
// Created: 20/4/2006
-// RCS-ID: $Id$
// Copyright: (c) Francesco Montorsi
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
*b = AlphaBlend(*b, brightness, 0.4);
}
+wxColour& wxColourBase::MakeDisabled(unsigned char brightness)
+{
+ unsigned char r = Red(),
+ g = Green(),
+ b = Blue();
+ MakeDisabled(&r, &g, &b, brightness);
+ Set(r, g, b, Alpha());
+ return static_cast<wxColour&>(*this);
+}
+
// AlphaBlend is used by ChangeLightness and MakeDisabled
// static