Author: toshok
Date: 2008-01-17 18:15:19 -0500 (Thu, 17 Jan 2008)
New Revision: 93218
Modified:
trunk/olive/class/agclr/System.Windows.Controls/Image.cs
Log:
fix an illegal cast (I can't believe it's an illegal cast, but there you have
it.)
Modified: trunk/olive/class/agclr/System.Windows.Controls/Image.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Controls/Image.cs 2008-01-17
23:07:37 UTC (rev 93217)
+++ trunk/olive/class/agclr/System.Windows.Controls/Image.cs 2008-01-17
23:15:19 UTC (rev 93218)
@@ -92,8 +92,8 @@
private void InvokeImageFailed (/* XXX ErrorEventArgs args */)
{
- EventHandler h =
(EventHandler)events[ImageFailedEvent]; // XXX should be ErrorEventHandler
- if (h != null) h (this, EventArgs.Empty); // XXX pass
args here
+ ErrorEventHandler h =
(ErrorEventHandler)events[ImageFailedEvent];
+ if (h != null) h (this, new ErrorEventArgs ()); // XXX
pass args here
}
internal override Kind GetKind ()
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches