X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c9f7896861f734ce044ee8601ba2d8a6959c9d9e..05cc594ad247b7c97b839bdd26d3bbca2eb03147:/include/wx/strvararg.h diff --git a/include/wx/strvararg.h b/include/wx/strvararg.h index fd7301603a..290614c863 100644 --- a/include/wx/strvararg.h +++ b/include/wx/strvararg.h @@ -16,13 +16,7 @@ #error "OpenWatcom version >= 1.4 is required to compile this code" #endif -// include wchar_t definition if needed: -#if defined(__WATCOMC__) -#include -#elif defined(__VISUALC__) -#include -#endif - +#include "wx/chartype.h" class WXDLLIMPEXP_BASE wxCStrData; class WXDLLIMPEXP_BASE wxString; @@ -95,7 +89,7 @@ struct wxArgNormalizer // special cases for converting strings: -// FIXME-UTF8: move this to wxchartype.h! +// FIXME-UTF8: move this to chartype.h! #if wxUSE_UNICODE /* for now, all Unicode builds are wchar_t* based: */ #define wxUSE_UNICODE_WCHAR 1 @@ -103,7 +97,7 @@ struct wxArgNormalizer #define wxUSE_UNICODE_WCHAR 0 #endif -// FIXME-UTF8: include wx/wxchartype.h and use wxChar after headers split +// FIXME-UTF8: include wx/chartype.h and use wxChar after headers split // FIXME-UTF8: this will be char* in UTF-8 build and wchar_t* on Windows #if wxUSE_UNICODE_WCHAR typedef wchar_t wxArgNativeCharType;