summaryrefslogtreecommitdiff
path: root/src/Fl.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-02-20 19:29:57 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-02-20 19:29:57 +0000
commit0372675ee12e54acd993f6d25a9489c1373caf75 (patch)
tree4a9a9f67c399c3bf7c916e87622affd07fa9bbb4 /src/Fl.cxx
parent50274f8d85151d82b8f7945d9de044fe5e74bd52 (diff)
Always resize cells in table if set/max width not the same as the
column width. Pass UNFOCUS events to parent groups, too (for Fl_Tabs) Conditionally compile in support for TrackMouseEvent(), since support for it is spotty at best. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1966 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl.cxx')
-rw-r--r--src/Fl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx
index c4915666d..d3f10af9c 100644
--- a/src/Fl.cxx
+++ b/src/Fl.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl.cxx,v 1.24.2.41.2.18 2002/01/09 21:50:02 easysw Exp $"
+// "$Id: Fl.cxx,v 1.24.2.41.2.19 2002/02/20 19:29:57 easysw Exp $"
//
// Main event handling code for the Fast Light Tool Kit (FLTK).
//
@@ -409,7 +409,7 @@ void Fl::focus(Fl_Widget *o) {
Fl::compose_reset();
focus_ = o;
fl_oldfocus = 0;
- for (; p && !p->contains(o); p = p->parent()) {
+ for (; p; p = p->parent()) {
p->handle(FL_UNFOCUS);
fl_oldfocus = p;
}
@@ -855,5 +855,5 @@ void Fl_Window::flush() {
}
//
-// End of "$Id: Fl.cxx,v 1.24.2.41.2.18 2002/01/09 21:50:02 easysw Exp $".
+// End of "$Id: Fl.cxx,v 1.24.2.41.2.19 2002/02/20 19:29:57 easysw Exp $".
//