From 88b1cfb65164534834840fd666fc90973bb3609c Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 6 Jun 2003 21:34:00 +0000 Subject: [PATCH] Don't get picky about unicode mode. Scintilla doesn't set the mode for calltip windows anyway. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/stc/PlatWX.cpp | 7 ------- src/stc/PlatWX.cpp | 7 ------- 2 files changed, 14 deletions(-) diff --git a/contrib/src/stc/PlatWX.cpp b/contrib/src/stc/PlatWX.cpp index ec41de2733..bcb44e5bc3 100644 --- a/contrib/src/stc/PlatWX.cpp +++ b/contrib/src/stc/PlatWX.cpp @@ -575,13 +575,6 @@ void SurfaceImpl::FlushCachedState() { void SurfaceImpl::SetUnicodeMode(bool unicodeMode_) { unicodeMode=unicodeMode_; -#if wxUSE_UNICODE - wxASSERT_MSG(unicodeMode == wxUSE_UNICODE, - wxT("Only unicode may be used when wxUSE_UNICODE is on.")); -#else - wxASSERT_MSG(unicodeMode == wxUSE_UNICODE, - wxT("Only non-unicode may be used when wxUSE_UNICODE is off.")); -#endif } void SurfaceImpl::SetDBCSMode(int codePage) { diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp index ec41de2733..bcb44e5bc3 100644 --- a/src/stc/PlatWX.cpp +++ b/src/stc/PlatWX.cpp @@ -575,13 +575,6 @@ void SurfaceImpl::FlushCachedState() { void SurfaceImpl::SetUnicodeMode(bool unicodeMode_) { unicodeMode=unicodeMode_; -#if wxUSE_UNICODE - wxASSERT_MSG(unicodeMode == wxUSE_UNICODE, - wxT("Only unicode may be used when wxUSE_UNICODE is on.")); -#else - wxASSERT_MSG(unicodeMode == wxUSE_UNICODE, - wxT("Only non-unicode may be used when wxUSE_UNICODE is off.")); -#endif } void SurfaceImpl::SetDBCSMode(int codePage) {