mirror of
https://github.com/fltk/fltk.git
synced 2025-12-11 13:53:06 +08:00
Fix position() methods that shadow Fl_Widget::position()
* `FL_DEPRECATED` macro to mark `position()` method that shadow `Fl_Widget::position()` #69 (#666)
This commit is contained in:
@@ -174,7 +174,7 @@ int main(int argc, char **argv) {
|
||||
browser->add("@bBold text");
|
||||
browser->add("@iItalic text");
|
||||
}
|
||||
browser->position(0);
|
||||
browser->vposition(0);
|
||||
|
||||
field = new Fl_Int_Input(55, 350, window.w()-55, 25, "Line #:");
|
||||
field->callback(show_cb);
|
||||
|
||||
Reference in New Issue
Block a user