diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_mac.cxx | 2 | ||||
| -rw-r--r-- | src/Fl_win32.cxx | 2 | ||||
| -rw-r--r-- | src/Fl_x.cxx | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/src/Fl_mac.cxx b/src/Fl_mac.cxx index 0a667a461..a943fd46f 100644 --- a/src/Fl_mac.cxx +++ b/src/Fl_mac.cxx @@ -56,6 +56,7 @@ extern "C" { #include <FL/x.H> #include <FL/Fl_Tooltip.H> #include <FL/Fl_Window.H> +#include <FL/Fl_Tooltip.H> #include <FL/Fl_Sys_Menu_Bar.H> #include <stdio.h> #include <stdlib.h> @@ -1972,6 +1973,7 @@ void Fl_Window::show() { } else { labeltype(FL_NO_LABEL); } + Fl_Tooltip::exit_(this); if (!shown() || !i) { Fl_X::make(this); } else { diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 6e380eb6f..3725b8dd7 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -33,6 +33,7 @@ #include <FL/x.H> #include <FL/Fl_Window.H> #include <FL/Enumerations.H> +#include <FL/Fl_Tooltip.H> #include "flstring.h" #include "Fl_Font.H" #include <stdio.h> @@ -1512,6 +1513,7 @@ void Fl_Window::show() { } else { labeltype(FL_NO_LABEL); } + Fl_Tooltip::exit_(this); if (!shown()) { // if (can_boxcheat(box())) fl_background_pixel = fl_xpixel(color()); Fl_X::make(this); diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index d7c909e32..b33c8bbb9 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -38,6 +38,7 @@ # include <FL/Fl.H> # include <FL/x.H> # include <FL/Fl_Window.H> +# include <FL/Fl_Tooltip.H> # include <stdio.h> # include <stdlib.h> # include "flstring.h" @@ -1329,6 +1330,7 @@ void Fl_Window::show() { } else { labeltype(FL_NO_LABEL); } + Fl_Tooltip::exit_(this); if (!shown()) { fl_open_display(); if (can_boxcheat(box())) fl_background_pixel = int(fl_xpixel(color())); |
