Author: fejj
Date: 2007-11-20 12:39:30 -0500 (Tue, 20 Nov 2007)
New Revision: 90001
Modified:
trunk/olive/class/agclr/System.Windows/ChangeLog
trunk/olive/class/agclr/System.Windows/UIElement.cs
Log:
2007-11-20 Jeffrey Stedfast <[EMAIL PROTECTED]>
* UIElement.cs: Pass null instead of EventArgs.Empty for some of
the event handlers (they are defined to always take null args by
the msdn docs).
Modified: trunk/olive/class/agclr/System.Windows/ChangeLog
===================================================================
--- trunk/olive/class/agclr/System.Windows/ChangeLog 2007-11-20 17:36:16 UTC
(rev 90000)
+++ trunk/olive/class/agclr/System.Windows/ChangeLog 2007-11-20 17:39:30 UTC
(rev 90001)
@@ -1,3 +1,9 @@
+2007-11-20 Jeffrey Stedfast <[EMAIL PROTECTED]>
+
+ * UIElement.cs: Pass null instead of EventArgs.Empty for some of
+ the event handlers (they are defined to always take null args by
+ the msdn docs).
+
2007-11-19 Jackson Harper <[EMAIL PROTECTED]>
* DependencyObject.cs: Move the value-to-object code into a
Modified: trunk/olive/class/agclr/System.Windows/UIElement.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows/UIElement.cs 2007-11-20 17:36:16 UTC
(rev 90000)
+++ trunk/olive/class/agclr/System.Windows/UIElement.cs 2007-11-20 17:39:30 UTC
(rev 90001)
@@ -387,7 +387,7 @@
{
EventHandler h = (EventHandler)events[MouseLeaveEvent];
if (h != null)
- h (this, EventArgs.Empty);
+ h (this, null);
}
internal void InvokeMouseEnter (MouseEventArgs m)
@@ -401,7 +401,7 @@
{
EventHandler h = (EventHandler)events[LoadedEvent];
if (h != null)
- h (this, EventArgs.Empty);
+ h (this, null);
}
internal override Kind GetKind ()
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches