diff options
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandBar.java | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandBar.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandBar.java index 7950613463..2de634602f 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandBar.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandBar.java @@ -212,13 +212,6 @@ int getBandHeight () { return Math.max (ExpandItem.CHEVRON_SIZE, metrics.getHeight ()); } -GdkColor getForegroundColor () { - if ((state & FOREGROUND) == 0) { - return display.getSystemColor (SWT.COLOR_TITLE_FOREGROUND).handle; - } - return super.getForegroundColor (); -} - /** * Returns the item at the given, zero-relative index in the * receiver. Throws an exception if the index is out of range. @@ -293,11 +286,6 @@ public int getSpacing () { return spacing; } -int /*long*/ gtk_expose_event (int /*long*/ widget, int /*long*/ eventPtr) { - if ((state & OBSCURED) != 0) return 0; - return super.gtk_expose_event (widget, eventPtr); -} - int /*long*/ gtk_key_press_event (int /*long*/ widget, int /*long*/ event) { if (!hasFocus ()) return 0; int /*long*/ result = super.gtk_key_press_event (widget, event); |