Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 352193 | Differences between
and this patch

Collapse All | Expand All

(-)Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java (-2 / +4 lines)
Lines 5899-5912 Link Here
5899
	switch ((int)/*64*/wParam) {
5899
	switch ((int)/*64*/wParam) {
5900
		case ' ':
5900
		case ' ':
5901
			if ((style & SWT.CHECK) != 0) {
5901
			if ((style & SWT.CHECK) != 0) {
5902
				int index = (int)/*64*/OS.SendMessage (handle, OS.LVM_GETNEXTITEM, -1, OS.LVNI_FOCUSED);
5902
				int index = (int)/*64*/OS.SendMessage (handle, OS.LVM_GETNEXTITEM, -1, OS.LVNI_SELECTED);
5903
				if (index != -1) {
5903
				while (index != -1) {
5904
					TableItem item = _getItem (index);
5904
					TableItem item = _getItem (index);
5905
					item.setChecked (!item.getChecked (), true);
5905
					item.setChecked (!item.getChecked (), true);
5906
					if (!OS.IsWinCE) {
5906
					if (!OS.IsWinCE) {
5907
						OS.NotifyWinEvent (OS.EVENT_OBJECT_FOCUS, handle, OS.OBJID_CLIENT, index + 1);
5907
						OS.NotifyWinEvent (OS.EVENT_OBJECT_FOCUS, handle, OS.OBJID_CLIENT, index + 1);
5908
					}
5908
					}
5909
					index = (int)/*64*/OS.SendMessage (handle, OS.LVM_GETNEXTITEM, index, OS.LVNI_SELECTED);
5909
				}
5910
				}
5911
5910
			}
5912
			}
5911
			/*
5913
			/*
5912
			* NOTE: Call the window proc with WM_KEYDOWN rather than WM_CHAR
5914
			* NOTE: Call the window proc with WM_KEYDOWN rather than WM_CHAR

Return to bug 352193