Define wxGTK as false under win32 or osx

This commit is contained in:
Joseph Lenox 2018-05-10 19:09:39 -05:00
parent a57a9dc700
commit ce21077c61

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 // constants to reduce the proliferation of macros in the rest of the code
#ifdef __WIN32 #ifdef __WIN32
constexpr OS the_os = OS::Windows; constexpr OS the_os = OS::Windows;
constexpr bool wxGTK {false};
#elif __APPLE__ #elif __APPLE__
constexpr OS the_os = OS::Mac; constexpr OS the_os = OS::Mac;
constexpr bool wxGTK {false};
#elif __linux__ #elif __linux__
constexpr OS the_os = OS::Linux; constexpr OS the_os = OS::Linux;
#ifdef __WXGTK__ #ifdef __WXGTK__