do not define __WXMSW__ and __WXQT__ at the same time

This commit is contained in:
Cătălin Răceanu 2018-08-03 00:48:19 +03:00
parent 7ec3a14c9a
commit 5adc65d085

View File

@ -81,7 +81,7 @@
#if defined(__WINDOWS__)
/* Select wxMSW under Windows if no other port is specified. */
# if !defined(__WXMSW__) && !defined(__WXMOTIF__) && !defined(__WXGTK__) && !defined(__WXX11__)
# if !defined(__WXMSW__) && !defined(__WXMOTIF__) && !defined(__WXGTK__) && !defined(__WXX11__) && !defined(__WXQT__)
# define __WXMSW__
# endif
@ -122,13 +122,13 @@
# endif
#endif
#if defined(__WXGTK__) && defined(__WINDOWS__)
#if (defined(__WXGTK__) || defined(__WXQT__)) && defined(__WINDOWS__)
# ifdef __WXMSW__
# undef __WXMSW__
# endif
#endif /* __WXGTK__ && __WINDOWS__ */
#endif /* (__WXGTK__ || __WXQT__) && __WINDOWS__ */
#ifdef __ANDROID__
# define __WXANDROID__