summaryrefslogtreecommitdiff
path: root/FL/Fl_Table.H
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2025-09-05 17:38:05 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2025-09-05 17:38:05 +0200
commit1182cd66ec66cc317af2db44d21c2e56b99536e8 (patch)
treea575dd2b82925d69af29b0f38d4b5dc18a4c0f4c /FL/Fl_Table.H
parent8472df82d0c4389eff9f1849dd91eb7c3a413920 (diff)
Make Fl_Table::get_selection() 'const' (#1305)
See also branch-1.4 with FLTK_ABI_VERSION >= 10405: commit 9b9426bf6e1140b3f220c8868a1d97bdc5e7f544
Diffstat (limited to 'FL/Fl_Table.H')
-rw-r--r--FL/Fl_Table.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_Table.H b/FL/Fl_Table.H
index fa3428ef2..2abd685c8 100644
--- a/FL/Fl_Table.H
+++ b/FL/Fl_Table.H
@@ -726,7 +726,7 @@ public:
return(row_position());
}
int is_selected(int r, int c); // selected cell
- void get_selection(int &row_top, int &col_left, int &row_bot, int &col_right);
+ void get_selection(int &row_top, int &col_left, int &row_bot, int &col_right) const;
void set_selection(int row_top, int col_left, int row_bot, int col_right);
int move_cursor(int R, int C, int shiftselect);
int move_cursor(int R, int C);