diff options
| author | Greg Ercolano <erco@seriss.com> | 2016-07-19 23:19:16 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2016-07-19 23:19:16 +0000 |
| commit | ec4120795d70e30b77668f85bc77a4a922729580 (patch) | |
| tree | 9083286ee5679591821cfed0dabb847459339d66 /src/Fl_Text_Editor.cxx | |
| parent | b6e466835298723f4754dbb28b2aa24de25fa3ec (diff) | |
Removed ABI guards that snuck in with r11819.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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$". |
