* Theme.cs: Update GetMethod to get the new definition for
KnownColors.Update (and fix theme color updates).
svn path=/trunk/mcs/; revision=75676
+2007-04-13 Sebastien Pouliot <sebastien@ximian.com>
+
+ * Theme.cs: Update GetMethod to get the new definition for
+ KnownColors.Update (and fix theme color updates).
+
2007-04-12 Everaldo Canuto <everaldo@simios.org>
* MessageBox.cs: Fix some test and button position.
if (update == null) {
Type known_colors = Type.GetType ("System.Drawing.KnownColors, " + Consts.AssemblySystem_Drawing);
if (known_colors != null)
- update = known_colors.GetMethod ("UpdateColor", BindingFlags.Static | BindingFlags.NonPublic);
+ update = known_colors.GetMethod ("Update", BindingFlags.Static | BindingFlags.Public);
}
if (update != null)
update.Invoke (null, new object [2] { (int)kc, value.ToArgb () });