Author: andreia
Date: 2007-05-28 12:44:03 -0400 (Mon, 28 May 2007)
New Revision: 78073
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/X11Dnd.cs
Log:
2007-05-28 Andreia Gaita <[EMAIL PROTECTED]>
* X11Dnd.cs: A direct cast to VirtualKeys is not allowed from
an IntPtr on csc (it builds fine on mcs, could it be a compiler
bug?), convert the ptr to Int32 first.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-05-28 16:40:12 UTC (rev 78072)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-05-28 16:44:03 UTC (rev 78073)
@@ -1,3 +1,9 @@
+2007-05-28 Andreia Gaita <[EMAIL PROTECTED]>
+
+ * X11Dnd.cs: A direct cast to VirtualKeys is not allowed from
+ an IntPtr on csc (it builds fine on mcs, could it be a compiler
+ bug?), convert the ptr to Int32 first.
+
2007-05-28 Jackson Harper <[EMAIL PROTECTED]>
* X11Dnd.cs: Add a timer, so after drop, if a finish is not
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/X11Dnd.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/X11Dnd.cs
2007-05-28 16:40:12 UTC (rev 78072)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/X11Dnd.cs
2007-05-28 16:44:03 UTC (rev 78073)
@@ -559,7 +559,7 @@
public void HandleKeyMessage (MSG msg)
{
- if (VirtualKeys.VK_ESCAPE == (VirtualKeys) msg.wParam) {
+ if (VirtualKeys.VK_ESCAPE == (VirtualKeys)
msg.wParam.ToInt32()) {
QueryContinue (true, DragAction.Cancel);
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches