summaryrefslogtreecommitdiffstats
path: root/src/bltGrBind.C
diff options
context:
space:
mode:
authorjoye <joye>2013-09-05 18:55:38 (GMT)
committerjoye <joye>2013-09-05 18:55:38 (GMT)
commit5cfdc8fc60e6e2729f7ec6752916edc06b408984 (patch)
tree13dd7d2db38bdd57d8ae0ab2e31ef9aacbecae77 /src/bltGrBind.C
parent4b75443ae0ecb64af6b782bea615182a0fb72faa (diff)
downloadblt-5cfdc8fc60e6e2729f7ec6752916edc06b408984.zip
blt-5cfdc8fc60e6e2729f7ec6752916edc06b408984.tar.gz
blt-5cfdc8fc60e6e2729f7ec6752916edc06b408984.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltGrBind.C')
-rw-r--r--src/bltGrBind.C22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/bltGrBind.C b/src/bltGrBind.C
index fbdbc22..d4160b6 100644
--- a/src/bltGrBind.C
+++ b/src/bltGrBind.C
@@ -261,17 +261,6 @@ PickCurrentItem(
*/
return;
}
-#if FULLY_SIMULATE_GRAB
- if (((newItem != bindPtr->currentItem) ||
- (newContext != bindPtr->currentContext)) &&
- (buttonDown)) {
- bindPtr->flags |= LEFT_GRABBED_ITEM;
-#ifdef notdef
- fprintf(stderr, "pickcurrentitem: simulate grab.\n");
-#endif
- return;
- }
-#endif
/*
* Simulate a LeaveNotify event on the previous current item and an
* EnterNotify event on the new current item. Remove the "current" tag
@@ -360,17 +349,6 @@ PickCurrentItem(
event.type = EnterNotify;
event.xcrossing.detail = NotifyAncestor;
DoEvent(bindPtr, &event, newItem, newContext);
-#ifdef notdef
- if ((eventPtr->type == MotionNotify) ||
- (eventPtr->type == ButtonRelease)) {
- fprintf(stderr, "pickcurrentitem: DoEvent Button buttondown=%d.\n",
- buttonDown);
- event.type = eventPtr->type;
- event.xbutton.button = eventPtr->xbutton.button;
- DoEvent(bindPtr, &event, newItem, newContext);
- fprintf(stderr, "pickcurrentitem: done.\n");
- }
-#endif
}
done:
Tcl_Release(newItem);