summaryrefslogtreecommitdiff
path: root/src/Fl_Menu_Window.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Menu_Window.cxx')
-rw-r--r--src/Fl_Menu_Window.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Menu_Window.cxx b/src/Fl_Menu_Window.cxx
index f170cb7fa..3a51b8657 100644
--- a/src/Fl_Menu_Window.cxx
+++ b/src/Fl_Menu_Window.cxx
@@ -60,7 +60,7 @@ void Fl_Menu_Window::flush() {
fl_window = myi->xid;
# if defined(FLTK_USE_CAIRO)
// capture gc changes automatically to update the cairo context adequately
- if(Fl::autolink_context()) Fl::cairo_make_current(fl_graphics_driver->get_gc());
+ if(Fl::autolink_context()) Fl::cairo_make_current(fl_graphics_driver->gc());
# endif
fl_overlay = 1;
fl_clip_region(myi->region); myi->region = 0; current_ = this;