Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 199810 Details for
Bug 352193
SWT.CHECK and SWT.MULTI Table space checks only first selected item
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
patch for win32
win32.patch (text/plain), 1.22 KB, created by
Philippe Marschall
on 2011-07-18 04:12:14 EDT
(
hide
)
Description:
patch for win32
Filename:
MIME Type:
Creator:
Philippe Marschall
Created:
2011-07-18 04:12:14 EDT
Size:
1.22 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.swt >Index: Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java,v >retrieving revision 1.554 >diff -u -r1.554 Table.java >--- Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java 10 May 2011 18:02:00 -0000 1.554 >+++ Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java 18 Jul 2011 08:10:35 -0000 >@@ -5899,14 +5899,16 @@ > switch ((int)/*64*/wParam) { > case ' ': > if ((style & SWT.CHECK) != 0) { >- int index = (int)/*64*/OS.SendMessage (handle, OS.LVM_GETNEXTITEM, -1, OS.LVNI_FOCUSED); >- if (index != -1) { >+ int index = (int)/*64*/OS.SendMessage (handle, OS.LVM_GETNEXTITEM, -1, OS.LVNI_SELECTED); >+ while (index != -1) { > TableItem item = _getItem (index); > item.setChecked (!item.getChecked (), true); > if (!OS.IsWinCE) { > OS.NotifyWinEvent (OS.EVENT_OBJECT_FOCUS, handle, OS.OBJID_CLIENT, index + 1); > } >+ index = (int)/*64*/OS.SendMessage (handle, OS.LVM_GETNEXTITEM, index, OS.LVNI_SELECTED); > } >+ > } > /* > * NOTE: Call the window proc with WM_KEYDOWN rather than WM_CHAR
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 352193
:
199735
| 199810 |
199854