[Mono-winforms-list] SetSystemColors regression ?

Gert Driesen gert.driesen at telenet.be
Sun Apr 29 05:20:26 EDT 2007


Hi,
 
There appears to be a regression in SetSystemColors. 
 
The KnownColors.Update method has the following signature:
public static void Update (int knownColor, uint color)

However in Theme.SetSystemColors, we're passing in two int's:
update.Invoke (null, new object [2] { (int) kc, value.ToArgb () });

This results in an ArgumentException (thrown by MonoMethod.Invoke).

Strange thing is that I only noticed this issue today, and this change was
done two weeks ago. 

Am I missing something here ?

Gert



More information about the Mono-winforms-list mailing list