Skip to content
Snippets Groups Projects
Commit 03f7a1bf authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

oop

parent 088d33b9
No related branches found
No related tags found
No related merge requests found
......@@ -272,7 +272,7 @@ FlGui::FlGui(int argc, char **argv)
geoContext = new geometryContextWindow(CTX::instance()->deltaFontSize);
meshContext = new meshContextWindow(CTX::instance()->deltaFontSize);
about = new aboutWindow();
#if defined(FL_MAJOR_VERSION == 1) && (FL_MINOR_VERSION == 3)
#if (FL_MAJOR_VERSION == 1) && (FL_MINOR_VERSION == 3)
onelab = new onelabWindow();
#endif
for(int i = 0; i < NB_SOLVER_MAX; i++)
......@@ -652,7 +652,7 @@ int FlGui::testGlobalShortcuts(int event)
show = !show;
status = 2;
}
#if defined(FL_MAJOR_VERSION == 1) && (FL_MINOR_VERSION == 3)
#if (FL_MAJOR_VERSION == 1) && (FL_MINOR_VERSION == 3)
else if(Fl::test_shortcut('@')) {
onelab_cb(0, (void*)"check");
status = 1;
......
......@@ -5,7 +5,7 @@
#include "onelab.h"
#if defined(FL_MAJOR_VERSION == 1) && (FL_MINOR_VERSION == 3)
#if (FL_MAJOR_VERSION == 1) && (FL_MINOR_VERSION == 3)
#include <FL/Fl_Value_Input.H>
#include <FL/Fl_Box.H>
#include "GmshMessage.h"
......
......@@ -7,7 +7,7 @@
#define _ONELAB_WINDOW_H_
#include "GmshConfig.h"
#if defined(FL_MAJOR_VERSION == 1) && (FL_MINOR_VERSION == 3)
#if (FL_MAJOR_VERSION == 1) && (FL_MINOR_VERSION == 3)
#include <vector>
#include <FL/Fl_Window.H>
#include <FL/Fl_Tree.H>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment