X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Froot.cpp;h=de2472797199108870d8b045679d53019ad815a8;hb=c8291177b545ec81930603a5915234a60296db51;hp=eaf58194863a961e209f22ee175c90b1ac852aac;hpb=358f45ef39381b4eb4f37dc6c20e52fd07c0fbcf;p=libs%2Fgltk.git diff --git a/source/root.cpp b/source/root.cpp index eaf5819..de24727 100644 --- a/source/root.cpp +++ b/source/root.cpp @@ -231,5 +231,11 @@ void Root::get_pointer(int &x, int &y) y = (mouse->get_axis_value(1)*0.5+0.5)*geom.h; } +void Root::on_child_added(Widget &wdg) +{ + if(&wdg!=lbl_tooltip) + Panel::on_child_added(wdg); +} + } // namespace GLtk } // namespace Msp