X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbutton.cpp;h=57e5fa42f57981cfb3398576b5a6563b3d5b4843;hb=a380303d852a3ad3f9b73ccbfbec4cf7f118123e;hp=8fd2de6cb02e2abbb15d4b41035d71b551e88ebf;hpb=b61361ee9f1f049fb3c22a38f68c757c7ca54cd0;p=libs%2Fgltk.git diff --git a/source/button.cpp b/source/button.cpp index 8fd2de6..57e5fa4 100644 --- a/source/button.cpp +++ b/source/button.cpp @@ -16,7 +16,7 @@ Button::Button(const std::string &t): set_text(t); } -void Button::autosize_special(const Part &part, Geometry &ageom) +void Button::autosize_special(const Part &part, Geometry &ageom) const { if(part.get_name()=="text") text.autosize(part, ageom);