From 24bc7c28aadd5e91e83f6b3db676dab3ea8299f1 Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Thu, 10 May 2018 19:09:39 -0500 Subject: [PATCH] Define wxGTK as false under win32 or osx --- src/GUI/misc_ui.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/GUI/misc_ui.hpp b/src/GUI/misc_ui.hpp index 51a677504..fb3930325 100644 --- a/src/GUI/misc_ui.hpp +++ b/src/GUI/misc_ui.hpp @@ -29,8 +29,10 @@ enum class OS { Linux, Mac, Windows } ; // constants to reduce the proliferation of macros in the rest of the code #ifdef __WIN32 constexpr OS the_os = OS::Windows; +constexpr bool wxGTK {false}; #elif __APPLE__ constexpr OS the_os = OS::Mac; +constexpr bool wxGTK {false}; #elif __linux__ constexpr OS the_os = OS::Linux; #ifdef __WXGTK__