Author: ivanz
Date: 2008-01-25 21:00:52 -0500 (Fri, 25 Jan 2008)
New Revision: 93971
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridView.cs
Log:
2008-01-26 Ivan N. Zlatev <[EMAIL PROTECTED]>
* PropertryGridView.cs: Ops.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2008-01-26 01:34:18 UTC (rev 93970)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2008-01-26 02:00:52 UTC (rev 93971)
@@ -1,5 +1,9 @@
2008-01-26 Ivan N. Zlatev <[EMAIL PROTECTED]>
+ * PropertryGridView.cs: Ops.
+
+2008-01-26 Ivan N. Zlatev <[EMAIL PROTECTED]>
+
* PropertyGridView.cs: Close dropdown form if the owner form is
moved or minimized.
[Fixes bug #322446]
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridView.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridView.cs
2008-01-26 01:34:18 UTC (rev 93970)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridView.cs
2008-01-26 02:00:52 UTC (rev 93971)
@@ -868,10 +868,10 @@
msg.message == Msg.WM_LBUTTONDOWN
||
msg.message == Msg.WM_MBUTTONDOWN
||
msg.message == Msg.WM_RBUTTONDOWN
||
- msg.message == Msg.WM_ACTIVATE ||
- HwndInControl (owner, msg.hwnd) &&
// owner form moved
- msg.message == Msg.WM_NCPAINT)
- && !HwndInControl (dropdown_form,
msg.hwnd)) {
+ msg.message == Msg.WM_ACTIVATE) &&
+ !HwndInControl (dropdown_form,
msg.hwnd) ||
+ (msg.message == Msg.WM_NCPAINT &&
// owner form moved
+ HwndInControl (owner, msg.hwnd)))
{
if (msg.message ==
Msg.WM_NCPAINT) {
Message m =
Message.Create (msg.hwnd, (int)msg.message, msg.wParam, msg.lParam);
XplatUI.DefWndProc (ref
m);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches