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:
parent
9275167db0
commit
88b1cfb651
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user