diff options
| author | Manolo Gouy <Manolo> | 2016-03-24 05:48:14 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-03-24 05:48:14 +0000 |
| commit | 2543075ea0c4c7ee57b8a427c997fd435265fab9 (patch) | |
| tree | 145ff08b7635f463c5fe21b7d4e0a99f3c3dcdb9 | |
| parent | 4a31fd7aed27f2429724922f2dc77c83f608c904 (diff) | |
Fix bizarre makefile build error on Mac OS platform.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11415 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/Fl_Window.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx index 8ab9aaae9..c6231168b 100644 --- a/src/Fl_Window.cxx +++ b/src/Fl_Window.cxx @@ -20,13 +20,12 @@ // This is the system-independent portions. The huge amount of // crap you need to do to communicate with X is in Fl_x.cxx, the // equivalent (but totally different) crap for MSWindows is in Fl_win32.cxx -#include <config.h> #include <FL/Fl.H> -#include <FL/x.H> #include <FL/Fl_Window_Driver.H> #include <FL/Fl_RGB_Image.H> #include <FL/Fl_Window.H> #include <FL/Fl_Tooltip.H> +#include <FL/Fl_Graphics_Driver.H> // for fl_graphics_driver #include <stdlib.h> #include "flstring.h" @@ -444,7 +443,8 @@ void Fl_Window::flush() { if (!shown()) return; make_current(); - fl_clip_region(i->region); i->region = 0; + fl_graphics_driver->clip_region(i->region); + i->region = 0; draw(); } |
