Define wxGTK as false under win32 or osx

This commit is contained in:
Joseph Lenox 2018-05-10 19:09:39 -05:00 committed by Joseph Lenox
parent 6aa0f4c442
commit 24bc7c28aa

View File

@ -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__