diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/WindowAccessor.cxx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/WindowAccessor.cxx b/src/WindowAccessor.cxx index 96581ef59..5f3deac7d 100644 --- a/src/WindowAccessor.cxx +++ b/src/WindowAccessor.cxx @@ -18,21 +18,22 @@ WindowAccessor::~WindowAccessor() { } +#if PLAT_WIN bool WindowAccessor::InternalIsLeadByte(char ch) { -#if PLAT_GTK - // TODO: support DBCS under GTK+ - return false; -#elif PLAT_WIN if (SC_CP_UTF8 == codePage) // For lexing, all characters >= 0x80 are treated the // same so none is considered a lead byte. return false; else return IsDBCSLeadByteEx(codePage, ch); -#elif PLAT_WX +} +#else +// PLAT_GTK or PLAT_WX +// TODO: support DBCS under GTK+ and WX +bool WindowAccessor::InternalIsLeadByte(char) { return false; -#endif } +#endif void WindowAccessor::Fill(int position) { if (lenDoc == -1) |