aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ScintillaBase.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-12-19 07:26:34 +0000
committernyamatongwe <devnull@localhost>2001-12-19 07:26:34 +0000
commit5e836dc08fda6ed21bc8855e89a41ae6d87f8ee1 (patch)
tree693b6b24b4df4b7ca2a188f33767efe1c4192d40 /src/ScintillaBase.cxx
parentee5c8a4d1d308df0d28a48a19ad60a9f9ebe4a28 (diff)
downloadscintilla-mirror-5e836dc08fda6ed21bc8855e89a41ae6d87f8ee1.tar.gz
Support Unicode in calltips.
Diffstat (limited to 'src/ScintillaBase.cxx')
-rw-r--r--src/ScintillaBase.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx
index eb882cfad..fe732cabd 100644
--- a/src/ScintillaBase.cxx
+++ b/src/ScintillaBase.cxx
@@ -491,7 +491,8 @@ sptr_t ScintillaBase::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lPara
PRectangle rc = ct.CallTipStart(currentPos, pt,
reinterpret_cast<char *>(lParam),
vs.styles[STYLE_DEFAULT].fontName,
- vs.styles[STYLE_DEFAULT].sizeZoomed);
+ vs.styles[STYLE_DEFAULT].sizeZoomed,
+ IsUnicodeMode());
// If the call-tip window would be out of the client
// space, adjust so it displays above the text.
PRectangle rcClient = GetClientRectangle();