Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/Managed.Windows.Forms/System.Windows.Forms/Cursor.cs')
-rw-r--r--mcs/class/Managed.Windows.Forms/System.Windows.Forms/Cursor.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Cursor.cs b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Cursor.cs
index 50e51bc5525..1d60aa48a35 100644
--- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Cursor.cs
+++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Cursor.cs
@@ -200,7 +200,7 @@ namespace System.Windows.Forms {
set {
if (current != value) {
current = value;
- if (current == null){
+ if (current == null || current == Cursors.Default){
// FIXME - define and set empty cursor
XplatUI.OverrideCursor(IntPtr.Zero);
} else