diff --git a/src/html/winpars.cpp b/src/html/winpars.cpp index 83a06fc123..4187a54dfe 100644 --- a/src/html/winpars.cpp +++ b/src/html/winpars.cpp @@ -338,10 +338,11 @@ wxFSFile *wxHtmlWinParser::OpenURL(wxHtmlURLType type, return GetFS()->OpenFile(myurl, flags); } -#define NBSP_UNICODE_VALUE (wxChar(160)) #if !wxUSE_UNICODE + #define NBSP_UNICODE_VALUE (160U) #define CUR_NBSP_VALUE m_nbsp #else + #define NBSP_UNICODE_VALUE (wxChar(160)) #define CUR_NBSP_VALUE NBSP_UNICODE_VALUE #endif