X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbutton.cpp;h=fb052629d626c7eae2ae9f22cc93d4cc94f87311;hb=c8f5fd14a1fbdaaa9e1216dd5163d1f5c1b5ff27;hp=5095379364b5c7a883d1d4fe615ec4d90655444a;hpb=43ac7c4514658754d09552463425bcd344fb9ded;p=libs%2Fgltk.git diff --git a/source/button.cpp b/source/button.cpp index 5095379..fb05262 100644 --- a/source/button.cpp +++ b/source/button.cpp @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspgltk -Copyright © 2007-2011 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #include #include "button.h" #include "part.h" @@ -51,6 +44,7 @@ void Button::autosize() void Button::set_text(const std::string &t) { text = t; + signal_autosize_changed.emit(); } void Button::set_icon(const GL::Texture2D *i)