diff options
Diffstat (limited to 'src/Fl_Widget_Surface.cxx')
| -rw-r--r-- | src/Fl_Widget_Surface.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Widget_Surface.cxx b/src/Fl_Widget_Surface.cxx index 3d557cdde..547df69d3 100644 --- a/src/Fl_Widget_Surface.cxx +++ b/src/Fl_Widget_Surface.cxx @@ -153,7 +153,7 @@ void Fl_Widget_Surface::print_window_part(Fl_Window *win, int x, int y, int w, i Fl_Window *save_front = Fl::first_window(); win->show(); Fl::check(); - Fl_X::i(win)->flush(); // makes the window current necessary for fl_read_image + win->driver()->flush(); // makes the window current necessary for fl_read_image uchar *image_data; image_data = fl_read_image(NULL, x, y, w, h); if (save_front != win) save_front->show(); |
