summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_System_Driver.H5
1 files changed, 5 insertions, 0 deletions
diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H
index 819bd0cd8..21726b8a4 100644
--- a/FL/Fl_System_Driver.H
+++ b/FL/Fl_System_Driver.H
@@ -25,6 +25,7 @@
#define FL_SYSTEM_DRIVER_H
#include <FL/Fl_Export.H>
+#include <FL/Fl.H>
#include <stdarg.h>
#ifdef __APPLE__
@@ -85,6 +86,10 @@ public:
static void fatal(const char* format, ...);
// implement to set the default effect of Fl::error()
virtual void fatal(const char* format, va_list args);
+ // implement so text-editing widgets support dead keys
+ virtual int compose(int &del) {del = 0; return 0;}
+ // default implementation may be enough
+ virtual void compose_reset() { Fl::compose_state = 0; }
};
#endif // FL_SYSTEM_DRIVER_H