X-Git-Url: http://git.tdb.fi/?p=libs%2Fgltk.git;a=blobdiff_plain;f=source%2Flabel.cpp;h=f42646709a3f90e43786742790df4f9e19eb2775;hp=21974be7b5844f42275181ce47c26f1794dc2299;hb=319cde3c06181ba1c3619567525002926d8b4889;hpb=768c65e13861f72929290ac2513df9975579e543 diff --git a/source/label.cpp b/source/label.cpp index 21974be..f426467 100644 --- a/source/label.cpp +++ b/source/label.cpp @@ -37,10 +37,10 @@ void Label::set_text(const string &t) rebuild(); } -void Label::rebuild_special(const Part &part, CachedPart &cache) +void Label::rebuild_special(const Part &part) { if(part.get_name()=="text") - text.build(part, geom, cache); + text.build(part, geom, part_cache); } void Label::on_style_change()