diff options
author | Felipe Heidrich <fheidric> | 2006-04-05 15:53:35 +0000 |
---|---|---|
committer | Felipe Heidrich <fheidric> | 2006-04-05 15:53:35 +0000 |
commit | 13087d8a75be6a54c99f2ba5172a70dc122909f4 (patch) | |
tree | 97832a9174203da915b965451318623f83933dac /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolItem.java | |
parent | 6492de5e9d5ee6de66b7dca5bf2a83187e92200d (diff) | |
download | eclipse.platform.swt-13087d8a75be6a54c99f2ba5172a70dc122909f4.tar.gz eclipse.platform.swt-13087d8a75be6a54c99f2ba5172a70dc122909f4.tar.xz eclipse.platform.swt-13087d8a75be6a54c99f2ba5172a70dc122909f4.zip |
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolItem.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolItem.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolItem.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolItem.java index f1799adc56..e753f0e169 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolItem.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolItem.java @@ -121,7 +121,7 @@ public ToolItem (ToolBar parent, int style, int index) { this.parent = parent; int count = parent.getItemCount (); if (!(0 <= index && index <= count)) { - error (SWT.ERROR_ITEM_NOT_ADDED); + error (SWT.ERROR_INVALID_RANGE); } createWidget (index); } |