]> git.saurik.com Git - wxWidgets.git/commitdiff
Must include wchar.h in non-Unicode build too, since buffer.h depends on it
authorOve Kaaven <ovek@arcticnet.no>
Mon, 19 Apr 1999 19:54:58 +0000 (19:54 +0000)
committerOve Kaaven <ovek@arcticnet.no>
Mon, 19 Apr 1999 19:54:58 +0000 (19:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/wxchar.h

index 4ff34b9e9fdaf59e452904526e3282dc102d468b..b0d79b587465075ffd1187f9c727883d03c19d4c 100644 (file)
@@ -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 <wchar.h>
+
 // check whether we are doing Unicode
 #if wxUSE_UNICODE
 
-#include <wchar.h>
 #include <wctype.h>
 
 // this is probably glibc-specific