Author: calberto
Date: 2007-10-11 17:45:41 -0400 (Thu, 11 Oct 2007)
New Revision: 87362

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DragEventArgs.cs
Log:
2007-10-11  Carlos Alberto Cortez <[EMAIL PROTECTED]>

        * DragEventArgs.cs: Allow Effect to have a non allowed value (a
        value different than AllowedEffect). This should be possible to
        indicate that dragging is not possible in some control/area.



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-10-11 21:43:29 UTC (rev 87361)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-10-11 21:45:41 UTC (rev 87362)
@@ -1,3 +1,9 @@
+2007-10-11  Carlos Alberto Cortez <[EMAIL PROTECTED]>
+
+       * DragEventArgs.cs: Allow Effect to have a non allowed value (a
+       value different than AllowedEffect). This should be possible to
+       indicate that dragging is not possible in some control/area.
+
 2007-10-11  Jonathan Pobst  <[EMAIL PROTECTED]>
 
        * LineTag.cs: Encapsulate all variables with properties.  Calculate 
ascent/

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DragEventArgs.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DragEventArgs.cs 
2007-10-11 21:43:29 UTC (rev 87361)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DragEventArgs.cs 
2007-10-11 21:45:41 UTC (rev 87362)
@@ -69,9 +69,7 @@
                        }
 
                        set {
-                               if ((value & this.allowed_effect)!=0) {
-                                       this.current_effect=value;
-                               }
+                               current_effect = value;
                        }
                }
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to