2008-10-03 Ivan N. Zlatev <contact@i-nz.net>
authorIvan Zlatev <ivan@ivanz.com>
Fri, 3 Oct 2008 18:10:35 +0000 (18:10 -0000)
committerIvan Zlatev <ivan@ivanz.com>
Fri, 3 Oct 2008 18:10:35 +0000 (18:10 -0000)
* XplatUIWin32.cs: Cleanup compilation warnings.

svn path=/trunk/mcs/; revision=114770

mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIWin32.cs

index 43a84861c0e2f90288e8f4e6de0b4bb8eddbe6f2..e798fec4e71687a4486264059caa02edaaebb0b3 100644 (file)
@@ -1,3 +1,7 @@
+2008-10-03  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * XplatUIWin32.cs: Cleanup compilation warnings.
+
 2008-10-03  Ivan N. Zlatev  <contact@i-nz.net>
 
        * PropertyGrid.cs: Cleanup compilation warnings.
index bb4d560c74d44abfd0cc37745bf16360ef7301b7..c25926a61d5a59c72458835c085450980587ac54 100644 (file)
@@ -53,7 +53,6 @@ namespace System.Windows.Forms {
                internal static Rectangle       grab_area;
                internal static WndProc         wnd_proc;
                internal static IntPtr          prev_mouse_hwnd;
-               internal static IntPtr          override_cursor;
                internal static bool            caret_visible;
 
                internal static bool            themes_enabled;
@@ -843,6 +842,9 @@ namespace System.Windows.Forms {
                        mouse_state = MouseButtons.None;
                        mouse_position = Point.Empty;
 
+                       grab_confined = false;
+                       grab_area = Rectangle.Empty;
+
                        message_queue = new Queue();
 
                        themes_enabled = false;
@@ -1942,10 +1944,6 @@ namespace System.Windows.Forms {
                internal override void DoEvents() {
                        MSG msg = new MSG();
 
-                       if (override_cursor != IntPtr.Zero) {
-                               Cursor.Current = null;
-                       }
-
                        while (GetMessage(ref msg, IntPtr.Zero, 0, 0, false)) {
                                XplatUI.TranslateMessage(ref msg);
                                XplatUI.DispatchMessage(ref msg);