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 /FL | |
| 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 'FL')
| -rw-r--r-- | FL/Fl_Text_Editor.H | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/FL/Fl_Text_Editor.H b/FL/Fl_Text_Editor.H index 4e6eb52d6..b4e245164 100644 --- a/FL/Fl_Text_Editor.H +++ b/FL/Fl_Text_Editor.H @@ -65,12 +65,8 @@ class FL_EXPORT Fl_Text_Editor : public Fl_Text_Display { text replaces text at the current cursor position. */ int insert_mode() { return insert_mode_; } - -#if FLTK_ABI_VERSION >= 10304 void tab_nav(int val); int tab_nav() const; -#endif - void add_key_binding(int key, int state, Key_Func f, Key_Binding** list); /** Adds a \p key of state \p state with the function \p f. */ void add_key_binding(int key, int state, Key_Func f) @@ -83,19 +79,10 @@ class FL_EXPORT Fl_Text_Editor : public Fl_Text_Display { /** Removes all of the key bindings associated with the text editor or list. */ void remove_all_key_bindings() { remove_all_key_bindings(&key_bindings); } void add_default_key_bindings(Key_Binding** list); -#if FLTK_ABI_VERSION < 10304 - // OLD: non-const - Key_Func bound_key_function(int key, int state, Key_Binding* list); - /** Returns the function associated with a key binding. */ - Key_Func bound_key_function(int key, int state) - { return bound_key_function(key, state, key_bindings); } -#else - // NEW: const (STR#3306) Key_Func bound_key_function(int key, int state, Key_Binding* list) const; /** Returns the function associated with a key binding. */ Key_Func bound_key_function(int key, int state) const { return bound_key_function(key, state, key_bindings); } -#endif /** Sets the default key function for unassigned keys. */ void default_key_function(Key_Func f) { default_key_function_ = f; } |
