From 0372675ee12e54acd993f6d25a9489c1373caf75 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 20 Feb 2002 19:29:57 +0000 Subject: 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 --- src/Fl.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Fl.cxx') 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 $". // -- cgit v1.2.3