Author: calberto
Date: 2008-02-04 05:00:27 -0500 (Mon, 04 Feb 2008)
New Revision: 94731
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/CurrencyManager.cs
Log:
2008-02-03 Carlos Alberto Cortez <[EMAIL PROTECTED]>
* CurrencyManager.cs: When we get a ListChanged event from our source,
always fire our own ListChanged event, as .Net does.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2008-02-04 09:08:00 UTC (rev 94730)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2008-02-04 10:00:27 UTC (rev 94731)
@@ -1,3 +1,8 @@
+2008-02-03 Carlos Alberto Cortez <[EMAIL PROTECTED]>
+
+ * CurrencyManager.cs: When we get a ListChanged event from our source,
+ always fire our own ListChanged event, as .Net does.
+
2008-02-03 Luke Page <[EMAIL PROTECTED]>
* RichTextBox.cs: AutoSize now defaults to false. Fixes Bug
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/CurrencyManager.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/CurrencyManager.cs
2008-02-04 09:08:00 UTC (rev 94730)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/CurrencyManager.cs
2008-02-04 10:00:27 UTC (rev 94731)
@@ -377,8 +377,6 @@
MetaDataChanged (this, e);
}
- /* TODO - We need to fire the 2.0 ListChanged event for
-likely- all the events,
- since we are only doing it by now for ItemChanged - but need
tests to ensure it */
private void ListChangedHandler (object sender,
ListChangedEventArgs e)
{
switch (e.ListChangedType) {
@@ -423,7 +421,6 @@
UpdateIsBinding ();
#else
OnItemChanged (new ItemChangedEventArgs
(-1));
- OnListChanged (e);
#endif
}
else {
@@ -460,6 +457,9 @@
// UpdateIsBinding
();
break;
}
+#if NET_2_0
+ OnListChanged (e);
+#endif
}
#if NET_2_0
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches