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
This commit is contained in:
Robin Dunn 2003-06-06 21:34:00 +00:00
parent 9275167db0
commit 88b1cfb651
2 changed files with 0 additions and 14 deletions

View File

@ -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) {

View File

@ -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) {