From 6d4bda28b5d98ec55178355bf567009bd22d4199 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 17 Dec 2001 13:48:59 +0000 Subject: FLUID didn't support the plastic boxtypes. Move Fl_Tooltip::enter(0) to the end of Fl_Window::hide(); otherwise we get nasty recursion problems... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1859 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/Fl.cxx b/src/Fl.cxx index f2fe08a13..22c26887b 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl.cxx,v 1.24.2.41.2.12 2001/12/17 01:16:48 easysw Exp $" +// "$Id: Fl.cxx,v 1.24.2.41.2.13 2001/12/17 13:48:59 easysw Exp $" // // Main event handling code for the Fast Light Tool Kit (FLTK). // @@ -650,9 +650,6 @@ void Fl_Window::hide() { if (!shown()) return; - // Hide any visible tooltips... - Fl_Tooltip::enter(0); - // remove from the list of windows: Fl_X* x = i; Fl_X** pp = &Fl_X::first; @@ -711,6 +708,9 @@ void Fl_Window::hide() { Fl::first_window()->show(); #endif delete x; + + // Hide any visible tooltips... + Fl_Tooltip::enter(0); } Fl_Window::~Fl_Window() { @@ -844,5 +844,5 @@ void Fl_Window::flush() { } // -// End of "$Id: Fl.cxx,v 1.24.2.41.2.12 2001/12/17 01:16:48 easysw Exp $". +// End of "$Id: Fl.cxx,v 1.24.2.41.2.13 2001/12/17 13:48:59 easysw Exp $". // -- cgit v1.2.3