remove tooltip when IconButton is destroyed

This commit is contained in:
Mark Tiefenbruck 2008-09-03 09:53:30 -04:00
parent a72eeeb2ce
commit 60a4c7d9f6

View file

@ -71,6 +71,8 @@ IconButton::IconButton(const FbTk::FbWindow &parent,
IconButton::~IconButton() {
// ~FbWindow cleans event manager
if (m_has_tooltip)
m_win.screen().hideTooltip();
}