aboutsummaryrefslogtreecommitdiff
path: root/c_fl_text_editor.cpp
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-11-18 21:24:27 +1100
committerJed Barber <jjbarber@y7mail.com>2016-11-18 21:24:27 +1100
commit5d88963cd203f30b79433e34e5c89bfcf8abfe60 (patch)
treeb1ad21448acadf0ab20fd156a97e880601e18f72 /c_fl_text_editor.cpp
parent0c231d7e045b0ae92f7cf8db1329843010940d3e (diff)
Moved Shortcut_Key type to FLTK.Enums, added function to remove key bindings from Text_Editors
Diffstat (limited to 'c_fl_text_editor.cpp')
-rw-r--r--c_fl_text_editor.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/c_fl_text_editor.cpp b/c_fl_text_editor.cpp
index 1290e7b..c28f6fa 100644
--- a/c_fl_text_editor.cpp
+++ b/c_fl_text_editor.cpp
@@ -41,3 +41,8 @@ void fl_text_editor_delete(TEXTEDITOR te) {
Fl_Text_Editor::kf_delete(0, reinterpret_cast<Fl_Text_Editor*>(te));
}
+
+void fl_text_editor_remove_key_binding(TEXTEDITOR te, unsigned int k, unsigned long m) {
+ reinterpret_cast<Fl_Text_Editor*>(te)->remove_key_binding(k, m);
+}
+