diff options
author | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2011-08-08 16:09:57 -0400 |
---|---|---|
committer | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2011-08-08 16:09:57 -0400 |
commit | 6e01819248ecead2c3ff7c95ace504bda5ca7a30 (patch) | |
tree | f5e340cda39a90bd097e807bde9fa7c49981254d | |
parent | 186676f1d2971f22d8b4e8719af64e820e2bf3a4 (diff) | |
download | eclipse.platform.swt-6e01819248ecead2c3ff7c95ace504bda5ca7a30.tar.gz eclipse.platform.swt-6e01819248ecead2c3ff7c95ace504bda5ca7a30.tar.xz eclipse.platform.swt-6e01819248ecead2c3ff7c95ace504bda5ca7a30.zip |
Bug 352880 - [10.7]Shell toolbar: separator causes toolbar buttons to
not show up
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/ToolItem.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/ToolItem.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/ToolItem.java index 3b143c7aa6..a41397d752 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/ToolItem.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/ToolItem.java @@ -628,7 +628,7 @@ NSString getItemID() { // If we are using a non-default width or control use that instead. if (control == null) { if (width == DEFAULT_SEPARATOR_WIDTH || width == 0) { - itemID = OS.NSToolbarSeparatorItemIdentifier; + if (OS.VERSION < 0x1070) itemID = OS.NSToolbarSeparatorItemIdentifier; } else if (width == SWT.DEFAULT) { itemID = OS.NSToolbarSpaceItemIdentifier; } else if (width == SWT.SEPARATOR_FILL) { |