summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Screen_Driver.H2
-rw-r--r--FL/x.H2
2 files changed, 3 insertions, 1 deletions
diff --git a/FL/Fl_Screen_Driver.H b/FL/Fl_Screen_Driver.H
index 8532ffbc2..3fe3837b6 100644
--- a/FL/Fl_Screen_Driver.H
+++ b/FL/Fl_Screen_Driver.H
@@ -63,6 +63,8 @@ public:
virtual void screen_work_area(int &X, int &Y, int &W, int &H);
// --- audible output
virtual void beep(int type) = 0;
+ // --- global events
+ virtual void flush() = 0;
};
diff --git a/FL/x.H b/FL/x.H
index d5a3e6e94..8ad59bade 100644
--- a/FL/x.H
+++ b/FL/x.H
@@ -31,7 +31,7 @@
# elif defined(__APPLE__)
# include "mac.H"
# elif defined(ANDROID)
-# error "A clean port requires a driver-style system for Fl_X"
+# pragma message "A clean port requires a driver-style system for Fl_X"
# elif defined(FL_PORTING)
# pragma message "FL_PORTING: write a header file based on this file, win32.H, or mac.H to define the FLTK core internals"
# include "porting.H"