Author: ivanz
Date: 2008-02-20 14:20:24 -0500 (Wed, 20 Feb 2008)
New Revision: 96292
Modified:
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridView.cs
Log:
2008-02-20 Ivan N. Zlatev <[EMAIL PROTECTED]>
* PropertyGridView.cs: Fix a NRE when closing the drop down form.
Modified:
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
---
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2008-02-20 19:19:07 UTC (rev 96291)
+++
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2008-02-20 19:20:24 UTC (rev 96292)
@@ -1,5 +1,9 @@
2008-02-20 Ivan N. Zlatev <[EMAIL PROTECTED]>
+ * PropertyGridView.cs: Fix a NRE when closing the drop down form.
+
+2008-02-20 Ivan N. Zlatev <[EMAIL PROTECTED]>
+
* PropertyGridView.cs:
- Fix a NRE that caused a test failure
- Another performance improvement - cache the standard values
Modified:
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridView.cs
===================================================================
---
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridView.cs
2008-02-20 19:19:07 UTC (rev 96291)
+++
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridView.cs
2008-02-20 19:20:24 UTC (rev 96292)
@@ -1001,9 +1001,8 @@
#region IWindowsFormsEditorService Members
- public void CloseDropDown () {
- Control c = dropdown_form.Controls[0];
- c.Capture = false;
+ public void CloseDropDown ()
+ {
dropdown_form.Hide ();
dropdown_form.Controls.Clear ();
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches