diff --git a/Fltk/GUI.h b/Fltk/GUI.h index 8d5ba59ee8ea744445a712a57b6eb84ea6122852..3b3855af6309621b30a9e10d509ae24b633661ed 100644 --- a/Fltk/GUI.h +++ b/Fltk/GUI.h @@ -48,7 +48,6 @@ #if !((FL_MAJOR_VERSION == 1) && (FL_MINOR_VERSION == 0)) #include <FL/Fl_Tooltip.H> -#include <FL/Fl_Sys_Menu_Bar.H> #endif #include "Opengl_Window.h" @@ -60,6 +59,10 @@ // define this to get a true Mac menu (not inside gmsh as in Window/Unix) #undef APPLE_USE_SYS_MENU +#ifdef APPLE_USE_SYS_MENU +#include <FL/Fl_Sys_Menu_Bar.H> +#endif + // The dynamic contexts typedef struct{ diff --git a/Graphics/Graph2D.cpp b/Graphics/Graph2D.cpp index 6b3ed13dfdba550d964748089232a1670edd6288..de105722787b85ab9472bb1447bfb98d62514ff3 100644 --- a/Graphics/Graph2D.cpp +++ b/Graphics/Graph2D.cpp @@ -1,4 +1,4 @@ -// $Id: Graph2D.cpp,v 1.21 2002-10-19 18:56:12 geuzaine Exp $ +// $Id: Graph2D.cpp,v 1.22 2002-11-17 02:27:26 geuzaine Exp $ // // Copyright (C) 1997 - 2002 C. Geuzaine, J.-F. Remacle // @@ -91,7 +91,7 @@ static void Draw_Graph2D(Post_View *v, double xx, double yy, double width, double height, double tic, double bb[4]){ char label[1024] ; - int font_h, font_a ; + float font_h, font_a ; int i, i_inc, i_max, j, j_inc, j_max, k, nb; double dx, dy, dv; double xtop = xx;