diff options
author | Grant Gayed <ggayed> | 2007-08-23 13:56:56 +0000 |
---|---|---|
committer | Grant Gayed <ggayed> | 2007-08-23 13:56:56 +0000 |
commit | b88d48ba0f98e501d3e7833cada4e5f41c1d4d92 (patch) | |
tree | c89a739c2634f88880686bc0b2c4ecb2ac64d8f3 | |
parent | 86cd0617cb8b56a26d7fc20e2940a933c77b1b44 (diff) | |
download | eclipse.platform.swt-b88d48ba0f98e501d3e7833cada4e5f41c1d4d92.tar.gz eclipse.platform.swt-b88d48ba0f98e501d3e7833cada4e5f41c1d4d92.tar.xz eclipse.platform.swt-b88d48ba0f98e501d3e7833cada4e5f41c1d4d92.zip |
fix for 64-bit
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Canvas.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Canvas.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Canvas.java index 830363a90d..0b6443efd7 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Canvas.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Canvas.java @@ -544,7 +544,7 @@ LRESULT WM_INPUTLANGCHANGE (int /*long*/ wParam, int /*long*/ lParam) { LRESULT WM_KILLFOCUS (int /*long*/ wParam, int /*long*/ lParam) { if (OS.IsDBLocale && hooks (SWT.ImeComposition)) { - int hIMC = OS.ImmGetContext (handle); + int /*long*/ hIMC = OS.ImmGetContext (handle); if (hIMC != 0) { if (OS.ImmGetOpenStatus (hIMC)) { OS.ImmNotifyIME (hIMC, OS.NI_COMPOSITIONSTR, OS.CPS_COMPLETE, 0); @@ -559,7 +559,7 @@ LRESULT WM_KILLFOCUS (int /*long*/ wParam, int /*long*/ lParam) { LRESULT WM_LBUTTONDOWN (int /*long*/ wParam, int /*long*/ lParam) { if (OS.IsDBLocale && hooks (SWT.ImeComposition)) { - int hIMC = OS.ImmGetContext (handle); + int /*long*/ hIMC = OS.ImmGetContext (handle); if (hIMC != 0) { if (OS.ImmGetOpenStatus (hIMC)) { int length = OS.ImmGetCompositionString (hIMC, OS.GCS_COMPSTR, null, 0); @@ -570,7 +570,7 @@ LRESULT WM_LBUTTONDOWN (int /*long*/ wParam, int /*long*/ lParam) { event.y = OS.GET_Y_LPARAM (lParam); sendEvent (SWT.ImeComposition, event); if (event.hitTest == SWT.HITTEST_INSIDE_COMPOSITION) { - int imeWnd = OS.ImmGetDefaultIMEWnd (handle); + int /*long*/ imeWnd = OS.ImmGetDefaultIMEWnd (handle); int action = OS.IMEMOUSE_LDOWN; int offset = event.index + event.trailing; int trailing = event.trailing > 0 ? 1 : 2; |