for calltip windows anyway.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20972
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
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) {
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) {