diff options
author | Bogdan Gheorghe <gheorghe> | 2009-11-12 19:24:24 +0000 |
---|---|---|
committer | Bogdan Gheorghe <gheorghe> | 2009-11-12 19:24:24 +0000 |
commit | f15ff0bb3cff4bd3ecbcf7fe360d6cd226272c84 (patch) | |
tree | 9569ad8a2570edbb7a0506fe0a345a983f0d6418 /bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ExpandBar.java | |
parent | 4c0e6ba4b69579a10f5aa2002e774ab773eb3f0c (diff) | |
download | eclipse.platform.swt-f15ff0bb3cff4bd3ecbcf7fe360d6cd226272c84.tar.gz eclipse.platform.swt-f15ff0bb3cff4bd3ecbcf7fe360d6cd226272c84.tar.xz eclipse.platform.swt-f15ff0bb3cff4bd3ecbcf7fe360d6cd226272c84.zip |
260406 - e4 CSS: widgets need to notify CSS to apply style information
260407 - e4 CSS: css attribute storage and notification
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ExpandBar.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ExpandBar.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ExpandBar.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ExpandBar.java index ca9c0bb0be..6ee27b8509 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ExpandBar.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ExpandBar.java @@ -480,6 +480,16 @@ public void removeExpandListener (ExpandListener listener) { eventTable.unhook (SWT.Collapse, listener); } +void reskinChildren (int flags) { + if (items != null) { + for (int i=0; i<items.length; i++) { + ExpandItem item = items [i]; + if (item != null ) item.reskin (flags); + } + } + super.reskinChildren (flags); +} + void setBackgroundPixel (int pixel) { super.setBackgroundPixel (pixel); if (!OS.IsWinCE) { |