X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02c92ad972ebc51001dddfd930e6811ab7901483..488b2c29c0cf468f96f148003b21952611325dbf:/src/common/encconv.cpp diff --git a/src/common/encconv.cpp b/src/common/encconv.cpp index f96e30896c..ac467d90d8 100644 --- a/src/common/encconv.cpp +++ b/src/common/encconv.cpp @@ -18,8 +18,6 @@ #pragma hdrstop #endif -#if wxUSE_FONTMAP - #include "wx/encconv.h" #include @@ -206,7 +204,7 @@ bool wxEncodingConverter::Init(wxFontEncoding input_enc, wxFontEncoding output_e } -#define REPLACEMENT_CHAR (tchar('?')) +#define REPLACEMENT_CHAR ((tchar)'?') inline tchar GetTableValue(const tchar *table, tchar value, bool& repl) { @@ -530,4 +528,3 @@ wxFontEncodingArray wxEncodingConverter::GetAllEquivalents(wxFontEncoding enc) return arr; } -#endif // wxUSE_FONTMAP