Author: spouliot
Date: 2007-04-30 08:37:39 -0400 (Mon, 30 Apr 2007)
New Revision: 76489

Modified:
   trunk/mcs/class/System.Drawing/System.Drawing/ChangeLog
   trunk/mcs/class/System.Drawing/System.Drawing/KnownColors.cs
Log:
2007-04-30  Sebastien Pouliot  <[EMAIL PROTECTED]>

        * Color.cs: Reflection didn't like the change from int to uint (thanks
        to Gert for noticing again :-).



Modified: trunk/mcs/class/System.Drawing/System.Drawing/ChangeLog
===================================================================
--- trunk/mcs/class/System.Drawing/System.Drawing/ChangeLog     2007-04-30 
12:26:35 UTC (rev 76488)
+++ trunk/mcs/class/System.Drawing/System.Drawing/ChangeLog     2007-04-30 
12:37:39 UTC (rev 76489)
@@ -1,3 +1,8 @@
+2007-04-30  Sebastien Pouliot  <[EMAIL PROTECTED]>
+
+       * Color.cs: Reflection didn't like the change from int to uint (thanks
+       to Gert for noticing again :-).
+
 2007-04-29  Konstantin Triger  <[EMAIL PROTECTED]>
 
        * Color.cs: FromName - do not throw on unknown color.

Modified: trunk/mcs/class/System.Drawing/System.Drawing/KnownColors.cs
===================================================================
--- trunk/mcs/class/System.Drawing/System.Drawing/KnownColors.cs        
2007-04-30 12:26:35 UTC (rev 76488)
+++ trunk/mcs/class/System.Drawing/System.Drawing/KnownColors.cs        
2007-04-30 12:37:39 UTC (rev 76489)
@@ -493,9 +493,9 @@
 
                // When this method is called, we teach any new color(s) to the 
Color class
                // NOTE: This is called (reflection) by 
System.Windows.Forms.Theme (this isn't dead code)
-               public static void Update (int knownColor, uint color)
+               public static void Update (int knownColor, int color)
                {
-                       ArgbValues[knownColor] = color;
+                       ArgbValues[knownColor] = (uint)color;
                }
        }
 }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to