Avoid clashes due to <windows.h> definitions in wxGTK too.
Closes #14427.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71823
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
See the comments in beforestd.h.
*/
See the comments in beforestd.h.
*/
+#if defined(__WINDOWS__)
#include "wx/msw/winundef.h"
#endif
#include "wx/msw/winundef.h"
#endif
#ifdef __cplusplus
/* Make sure the environment is set correctly */
# if defined(__WXMSW__) && defined(__X__)
#ifdef __cplusplus
/* Make sure the environment is set correctly */
# if defined(__WXMSW__) && defined(__X__)
-# error "Target can't be both X and Windows"
+# error "Target can't be both X and MSW"
# elif !defined(__WXMOTIF__) && \
!defined(__WXMSW__) && \
!defined(__WXGTK__) && \
# elif !defined(__WXMOTIF__) && \
!defined(__WXMSW__) && \
!defined(__WXGTK__) && \
typedef void * WXMEASUREITEMSTRUCT;
typedef void * WXLPCREATESTRUCT;
typedef void * WXMEASUREITEMSTRUCT;
typedef void * WXLPCREATESTRUCT;
#ifdef __WIN64__
typedef unsigned __int64 WXWPARAM;
#ifdef __WIN64__
typedef unsigned __int64 WXWPARAM;
/* included before or after wxWidgets classes, and therefore must be */
/* disabled here before any significant wxWidgets headers are included. */
#ifdef __cplusplus
/* included before or after wxWidgets classes, and therefore must be */
/* disabled here before any significant wxWidgets headers are included. */
#ifdef __cplusplus
#include "wx/msw/winundef.h"
#include "wx/msw/winundef.h"
+#endif /* __WINDOWS__ */