]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/entry.cpp
Make autosize_special const and add a const autosize overload
[libs/gltk.git] / source / entry.cpp
index f21aacbd07beff04c64aae4be124bdfab4e138fd..1198bdee52b34d3e2057232e8b12e4c65c6791a7 100644 (file)
@@ -28,7 +28,7 @@ Entry::Entry(const string &t):
        set_text(t);
 }
 
-void Entry::autosize_special(const Part &part, Geometry &ageom)
+void Entry::autosize_special(const Part &part, Geometry &ageom) const
 {
        if(part.get_name()=="text")
        {