aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dw/fltkplatform.cc9
-rw-r--r--dw/fltkplatform.hh1
2 files changed, 0 insertions, 10 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()
diff --git a/dw/fltkplatform.hh b/dw/fltkplatform.hh
index 6a81da4d..62bc3e0e 100644
--- a/dw/fltkplatform.hh
+++ b/dw/fltkplatform.hh
@@ -59,7 +59,6 @@ class FltkTooltip: public core::style::Tooltip
private:
FltkTooltip (const char *text);
~FltkTooltip ();
- bool shown;
public:
static FltkTooltip *create(const char *text);
void onEnter();