X-Git-Url: http://git.tdb.fi/?p=libs%2Fgltk.git;a=blobdiff_plain;f=source%2Fpanel.cpp;fp=source%2Fpanel.cpp;h=5c189e0003429b29835efd9a687b97ffe1eb9f06;hp=31cdf4b4ff9e62fa306fa0848c0879046e79aa56;hb=eeec8c83778e73c02c414db772f790540e626d2c;hpb=b59fab7e533ef96d72c92b224d4f24718bc6b0a1 diff --git a/source/panel.cpp b/source/panel.cpp index 31cdf4b..5c189e0 100644 --- a/source/panel.cpp +++ b/source/panel.cpp @@ -55,7 +55,7 @@ void Panel::render_special(const Part &part, GL::Renderer &renderer) const { if(part.get_name()=="children") { - for(const Container::Child *c: children) + for(const Child *c: children) if(c->widget->is_visible()) c->widget->render(renderer); }