From 60a4c7d9f6a0fc997e11898f9042977922026052 Mon Sep 17 00:00:00 2001 From: Mark Tiefenbruck Date: Wed, 3 Sep 2008 09:53:30 -0400 Subject: remove tooltip when IconButton is destroyed --- src/IconButton.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/IconButton.cc b/src/IconButton.cc index 0511a06..b411a23 100644 --- a/src/IconButton.cc +++ b/src/IconButton.cc @@ -71,6 +71,8 @@ IconButton::IconButton(const FbTk::FbWindow &parent, IconButton::~IconButton() { // ~FbWindow cleans event manager + if (m_has_tooltip) + m_win.screen().hideTooltip(); } -- cgit v0.11.2