5def115f28
Fix the problem with compiling user code including wx/debug.h as the first wxWidgets header under MSW. This ought to work, but didn't, because wx/debug.h included wx/chartype.h without including wx/defs.h (because there is already an inclusion in the other direction), which defines SIZEOF_WCHAR_T required by wx/chartype.h, first. Notice that we repurpose the existing but completely unused (no mentions of it or the symbols defined in it anywhere neither in wxWidgets nor in any of the code search engines) wx/types.h header as it has a fitting name and this avoids having to add a new header and remove the existing one. |
||
---|---|---|
.. | ||
msvc/wx | ||
wx |