X-Git-Url: http://git.tdb.fi/?p=libs%2Fgltk.git;a=blobdiff_plain;f=source%2Fbutton.cpp;h=8fd2de6cb02e2abbb15d4b41035d71b551e88ebf;hp=58fc134cde2a9d551c80ad9b303bcd7773423304;hb=b61361ee9f1f049fb3c22a38f68c757c7ca54cd0;hpb=601e9fbcfdb26b53aff4d44805bb596f0b73208a diff --git a/source/button.cpp b/source/button.cpp index 58fc134..8fd2de6 100644 --- a/source/button.cpp +++ b/source/button.cpp @@ -44,7 +44,7 @@ void Button::set_icon(const GL::Texture2D *i) void Button::rebuild_special(const Part &part) { if(part.get_name()=="text") - text.build(part, geom, part_cache); + text.build(part, state, geom, part_cache); if(part.get_name()=="icon") { if(icon)