Commit f6c5753
[Win32] Initialize nativeZoom of TrayItem
The Tray implementation uses the default constructor of the Widget
class. When using that constructor, the nativeZoom of the widget is not
initialized. In case of a Tray, contained TrayItems inherit that zoom
and will fail to get an image set because the zoom is zero.
With this change, a TrayItem will initialize its native zoom based on
the zoom of the context device.1 parent 8c1409a commit f6c5753
File tree
1 file changed
+1
-0
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
0 commit comments