diff options
author | Duong Nguyen <dnguyen> | 2008-03-24 22:11:05 +0000 |
---|---|---|
committer | Duong Nguyen <dnguyen> | 2008-03-24 22:11:05 +0000 |
commit | 4269b9d9f012f9d8c00ecab5ee51bb899395f188 (patch) | |
tree | 224dece3bb6a86c486b40ec45906027de76ac704 /bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TabFolder.java | |
parent | 1e8ec5162da128616f5ac9793d199b9f944ca01d (diff) | |
download | eclipse.platform.swt-4269b9d9f012f9d8c00ecab5ee51bb899395f188.tar.gz eclipse.platform.swt-4269b9d9f012f9d8c00ecab5ee51bb899395f188.tar.xz eclipse.platform.swt-4269b9d9f012f9d8c00ecab5ee51bb899395f188.zip |
Bug 222120 - DND - how to detect which tab item is involved in a DropTargetEvent
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TabFolder.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TabFolder.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TabFolder.java b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TabFolder.java index d79f4cacff..44c80084b6 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TabFolder.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TabFolder.java @@ -296,6 +296,7 @@ public TabItem getItem (int index) { public TabItem getItem(Point point) { checkWidget (); + if (point == null) error (SWT.ERROR_NULL_ARGUMENT); int count = OS.GetControl32BitMaximum (handle); for (int index = 0; index < count; index++) { TabItem item = items[index]; |