aboutsummaryrefslogtreecommitdiff
path: root/dw/fltkplatform.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/fltkplatform.cc')
-rw-r--r--dw/fltkplatform.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/dw/fltkplatform.cc b/dw/fltkplatform.cc
index dba4ab3f..70d9cfd2 100644
--- a/dw/fltkplatform.cc
+++ b/dw/fltkplatform.cc
@@ -190,17 +190,10 @@ FltkColor * FltkColor::create (int col)
FltkTooltip::FltkTooltip (const char *text) : Tooltip(text)
{
- shown = false;
}
FltkTooltip::~FltkTooltip ()
{
-#if 0
-PORT1.3
-probably can remember the one from onEnter
- if (shown)
- Fl_Tooltip::exit();
-#endif
}
FltkTooltip *FltkTooltip::create (const char *text)
@@ -214,13 +207,11 @@ void FltkTooltip::onEnter()
Fl_Tooltip::enter_area(widget, widget->x(), widget->y(), widget->w(),
widget->h(), str);
- shown = true;
}
void FltkTooltip::onLeave()
{
Fl_Tooltip::exit(NULL);
- shown = false;
}
void FltkTooltip::onMotion()