1.1 --- a/GUI/GadgetWindow.cs Mon Oct 04 06:46:55 2010 +0000
1.2 +++ b/GUI/GadgetWindow.cs Mon Oct 04 16:56:42 2010 +0000
1.3 @@ -140,8 +140,9 @@
1.4 case WM_NCRBUTTONUP: {
1.5 if (contextMenu != null)
1.6 ShowContextMenu(new Point(
1.7 - (int)((uint)message.LParam & 0xFFFF),
1.8 - (int)(((uint)message.LParam >> 16) & 0xFFFF)));
1.9 + Macros.GET_X_LPARAM(message.LParam),
1.10 + Macros.GET_Y_LPARAM(message.LParam)
1.11 + ));
1.12 message.Result = IntPtr.Zero;
1.13 } break;
1.14 case WM_WINDOWPOSCHANGING: {