diff options
author | Eric Williams | 2018-01-04 20:00:01 +0000 |
---|---|---|
committer | Eric Williams | 2018-01-05 17:10:39 +0000 |
commit | ac74a09868e8b5887cede3661179712181968312 (patch) | |
tree | 4af47cf5e6d838312a628b07b724e2e08464e04b /tests/org.eclipse.swt.tests | |
parent | abf72f506e4a5fe10de601017e1872d66ffa6a8e (diff) | |
download | eclipse.platform.swt-ac74a09868e8b5887cede3661179712181968312.tar.gz eclipse.platform.swt-ac74a09868e8b5887cede3661179712181968312.tar.xz eclipse.platform.swt-ac74a09868e8b5887cede3661179712181968312.zip |
Bug 528155: [GTK] Table/Tree forgets to set SWT.SELECTED bit on
PaintItem
Modifying the SWT.SELECTED bit in an EraseItem listener causes the
SWT.SELECTED bit to not be sent to the PaintListener. This affects
PaintListeners that draw based on Table/Tree selection state.
The fix is to cache the SWT.SELECTED bit using the existing boolean
"wasSelected", and set the SWT.SELECTED later on before firing the
PaintEvent.
Change-Id: I161452695b3041a37a66eca5e3de75035a56f9a7
Signed-off-by: Eric Williams <ericwill@redhat.com>
Diffstat (limited to 'tests/org.eclipse.swt.tests')
0 files changed, 0 insertions, 0 deletions