- Changed GetCursorPos signature
authorPeter Dennis Bartok <pbartok@mono-cvs.ximian.com>
Fri, 13 Aug 2004 21:43:39 +0000 (21:43 -0000)
committerPeter Dennis Bartok <pbartok@mono-cvs.ximian.com>
Fri, 13 Aug 2004 21:43:39 +0000 (21:43 -0000)
svn path=/trunk/mcs/; revision=32334

mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs

index 55c63f012e5f1341553a529c1c9874f3b44422e9..f3da23a0c62817f793690bd2e433c88ea60a3611 100644 (file)
 //     Jaak Simm               jaaksimm@firm.ee
 //     John Sohn               jsohn@columbus.rr.com
 //
-// $Revision: 1.27 $
+// $Revision: 1.28 $
 // $Modtime: $
 // $Log: Control.cs,v $
+// Revision 1.28  2004/08/13 21:43:39  pbartok
+// - Changed GetCursorPos signature
+//
 // Revision 1.27  2004/08/13 19:00:15  jordi
 // implements PointToClient (ScreenToClient)
 //
@@ -553,8 +556,10 @@ namespace System.Windows.Forms
 
                public static Point MousePosition {
                        get {                           
-                               int x = 0, y = 0;
-                               XplatUI.GetCursorPos (IntPtr.Zero, ref x, ref y);
+                               int x;
+                               int y;
+
+                               XplatUI.GetCursorPos (IntPtr.Zero, out x, out y);
                                return new Point (x, y);
                        }
                }