X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flabel.cpp;h=f42646709a3f90e43786742790df4f9e19eb2775;hb=319cde3c06181ba1c3619567525002926d8b4889;hp=21974be7b5844f42275181ce47c26f1794dc2299;hpb=df07e8f3e239b146cbc458d3cbd69758e590d255;p=libs%2Fgltk.git 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()