From 1aa6c4fed823e74ded911a134065e2619ad53bf1 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 2 Feb 2023 20:54:19 +0100 Subject: Fix position() methods that shadow Fl_Widget::position() * `FL_DEPRECATED` macro to mark `position()` method that shadow `Fl_Widget::position()` #69 (#666) --- src/Fl_Value_Input.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_Value_Input.cxx') diff --git a/src/Fl_Value_Input.cxx b/src/Fl_Value_Input.cxx index 4139c1ac4..37be93e80 100644 --- a/src/Fl_Value_Input.cxx +++ b/src/Fl_Value_Input.cxx @@ -54,7 +54,7 @@ void Fl_Value_Input::value_damage() { char buf[128]; format(buf); input.value(buf); - input.mark(input.position()); // turn off selection highlight + input.mark(input.insert_position()); // turn off selection highlight } int Fl_Value_Input::handle(int event) { -- cgit v1.2.3