diff options
Diffstat (limited to 'src/Fl_Text_Editor.cxx')
| -rw-r--r-- | src/Fl_Text_Editor.cxx | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/Fl_Text_Editor.cxx b/src/Fl_Text_Editor.cxx index 04c9c68e7..3af22aa00 100644 --- a/src/Fl_Text_Editor.cxx +++ b/src/Fl_Text_Editor.cxx @@ -163,14 +163,7 @@ void Fl_Text_Editor::add_default_key_bindings(Key_Binding** list) { } /** Returns the function associated with a key binding.*/ -#if FLTK_ABI_VERSION < 10304 -// OLD - non-const -Fl_Text_Editor::Key_Func Fl_Text_Editor::bound_key_function(int key, int state, Key_Binding* list) -#else -// NEW - const (STR#3306) -Fl_Text_Editor::Key_Func Fl_Text_Editor::bound_key_function(int key, int state, Key_Binding* list) const -#endif -{ +Fl_Text_Editor::Key_Func Fl_Text_Editor::bound_key_function(int key, int state, Key_Binding* list) const { Key_Binding* cur; for (cur = list; cur; cur = cur->next) if (cur->key == key) @@ -660,7 +653,6 @@ int Fl_Text_Editor::handle(int event) { return Fl_Text_Display::handle(event); } -#if FLTK_ABI_VERSION >= 10304 /** Enables or disables Tab key focus navigation. @@ -709,7 +701,6 @@ and Shift-Tab navigates focus to the previous widget. int Fl_Text_Editor::tab_nav() const { return (bound_key_function(FL_Tab,0)==kf_ignore) ? 1 : 0; } -#endif // // End of "$Id$". |
