diff options
| author | Manolo Gouy <Manolo> | 2011-01-06 10:24:58 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-01-06 10:24:58 +0000 |
| commit | bc509d32eb741e5d3876eaaf0abd270cf68cd3b4 (patch) | |
| tree | 54dc5262309cd9a5d89812f6f3ac42439ffc2f2e /src/Fl_Menu_Window.cxx | |
| parent | ead3432f9b9629f201bba47e1b3fbf25d487eba8 (diff) | |
Fix STR #2504 (first part). Replaced HAVE _CAIRO by FLTK_HAVE_CAIRO and USE_CAIRO
by FLTK_USE_CAIRO everywhere.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8198 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Menu_Window.cxx')
| -rw-r--r-- | src/Fl_Menu_Window.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Menu_Window.cxx b/src/Fl_Menu_Window.cxx index 3d8de7c04..39493ec01 100644 --- a/src/Fl_Menu_Window.cxx +++ b/src/Fl_Menu_Window.cxx @@ -69,7 +69,7 @@ void Fl_Menu_Window::flush() { fl_window = myi->xid; if (!gc) { gc = XCreateGC(fl_display, myi->xid, 0, 0); -# if defined(USE_CAIRO) +# if defined(FLTK_USE_CAIRO) if(Fl::autolink_context()) Fl::cairo_make_current(gc); // capture gc changes automatically to update the cairo context adequately # endif } |
