From: Ove Kaaven Date: Mon, 19 Apr 1999 19:54:58 +0000 (+0000) Subject: Must include wchar.h in non-Unicode build too, since buffer.h depends on it X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/65d7724685a7146ab63e9018433fdceb52e402ea Must include wchar.h in non-Unicode build too, since buffer.h depends on it git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index 4ff34b9e9f..b0d79b5874 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -197,10 +197,12 @@ inline WORD __wxMSW_ctype(wxChar ch) #else//!Windows +// wchar_t will be used in buffer.h, so include it rather unconditionally +#include + // check whether we are doing Unicode #if wxUSE_UNICODE -#include #include // this is probably glibc-specific