[Mono-bugs] [Bug 79609][Nor] New - Cursor.Current setter ignores value

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Oct 6 20:28:02 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by contact at i-nz.net.

http://bugzilla.ximian.com/show_bug.cgi?id=79609

--- shadow/79609	2006-10-06 20:28:02.000000000 -0400
+++ shadow/79609.tmp.21228	2006-10-06 20:28:02.000000000 -0400
@@ -0,0 +1,32 @@
+Bug#: 79609
+Product: Mono: Class Libraries
+Version: 1.1
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: contact at i-nz.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Cursor.Current setter ignores value
+
+You can see for yourself that in the setter of Cursor.Current the value != 
+null should be value == null. Patch attached (just in case :) )
+
+set {
+	if (current != value) {
+			current = value;
+			if (value != null){
+				// FIXME - define and set empty cursor
+				current = null;
+				XplatUI.OverrideCursor(IntPtr.Zero);
+			} else
+				XplatUI.OverrideCursor(current.handle);
+	}
+}


More information about the mono-bugs mailing list