diff options
| author | Manolo Gouy <Manolo> | 2010-12-01 23:12:06 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2010-12-01 23:12:06 +0000 |
| commit | 17963c0475565be7019d73e3fc68cb8ee089e198 (patch) | |
| tree | ba088d52babd54b0e9b6da859522a09edefb2e52 /src/Fl_Tooltip.cxx | |
| parent | 2f8b7e47c2e3b2e3ecabd0711e8daf735f32f09d (diff) | |
Fix STR #2462.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7935 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Tooltip.cxx')
| -rw-r--r-- | src/Fl_Tooltip.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Fl_Tooltip.cxx b/src/Fl_Tooltip.cxx index 63d99e51d..4216f39c7 100644 --- a/src/Fl_Tooltip.cxx +++ b/src/Fl_Tooltip.cxx @@ -67,6 +67,14 @@ Fl_Widget* Fl_Tooltip::widget_ = 0; static Fl_TooltipBox *window = 0; static int Y,H; +#ifdef __APPLE__ +// returns the unique tooltip window +Fl_Window *Fl_Tooltip::current_window(void) +{ + return (Fl_Window*)window; +} +#endif + void Fl_TooltipBox::layout() { fl_font(Fl_Tooltip::font(), Fl_Tooltip::size()); int ww, hh; |
