From bd069130577e28b3b26dbb5637bb3172fe108e81 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 1 Aug 2001 21:24:49 +0000 Subject: First bunch of changes for the 1.1 branch - tooltips. NOTE: looking into a problem with the tooltip not going away when you ESCape a window (close it)... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1514 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/Fl.cxx') diff --git a/src/Fl.cxx b/src/Fl.cxx index 0837daff3..b973d1748 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl.cxx,v 1.24.2.41 2001/02/26 00:19:02 spitzak Exp $" +// "$Id: Fl.cxx,v 1.24.2.41.2.1 2001/08/01 21:24:49 easysw Exp $" // // Main event handling code for the Fast Light Tool Kit (FLTK). // @@ -605,6 +605,8 @@ int Fl::handle(int event, Fl_Window* window) void Fl_Window::hide() { clear_visible(); + Fl_Tooltip::exit(this); + if (!shown()) return; // remove from the list of windows: @@ -780,5 +782,5 @@ void Fl_Window::flush() { } // -// End of "$Id: Fl.cxx,v 1.24.2.41 2001/02/26 00:19:02 spitzak Exp $". +// End of "$Id: Fl.cxx,v 1.24.2.41.2.1 2001/08/01 21:24:49 easysw Exp $". // -- cgit v1.2.3