X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fentry.h;h=b6b4998662a91cba957fe43396ec90316e34a15e;hb=3bf64bbd84cfd7a3d30c8cfbd70cacd073bccb04;hp=a350ea8890d2e91b75093c73bf601983eafc2c54;hpb=c0d7f013782ed5c55a8dd05f389ed110c7ebf982;p=libs%2Fgltk.git diff --git a/source/entry.h b/source/entry.h index a350ea8..b6b4998 100644 --- a/source/entry.h +++ b/source/entry.h @@ -63,7 +63,7 @@ public: void erase(unsigned, unsigned); const std::string &get_text() const { return text.get(); } - void set_edit_position(unsigned); + void set_edit_position(unsigned p) { set_edit_position(p, false); } unsigned get_edit_position() const { return edit_pos; } bool get_selection(unsigned &, unsigned &) const;