diff options
author | nyamatongwe <unknown> | 2003-03-09 04:08:13 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-03-09 04:08:13 +0000 |
commit | 0e5e6b976c968dce6e63eb68ecaabab35398ed24 (patch) | |
tree | b11df1d33c65b821e0eabb3c84a5503cefae7534 /src/CallTip.cxx | |
parent | fc4ce601c44f0bc0ac7529d76597e482be9b97e4 (diff) | |
download | scintilla-mirror-0e5e6b976c968dce6e63eb68ecaabab35398ed24.tar.gz |
Added Pango text display support to GTK+ platform.
Added WindowID parameter to all Surface initialisation methods as Pango
requires a window to determine the context used for text functions.
AutoSurface changed because of above to take an Editor* argument so it
can then discover the code page and window.
Diffstat (limited to 'src/CallTip.cxx')
-rw-r--r-- | src/CallTip.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CallTip.cxx b/src/CallTip.cxx index f95a1db14..c83e2d2fd 100644 --- a/src/CallTip.cxx +++ b/src/CallTip.cxx @@ -129,7 +129,7 @@ PRectangle CallTip::CallTipStart(int pos, Point pt, const char *defn, Surface *surfaceMeasure = Surface::Allocate(); if (!surfaceMeasure) return PRectangle(); - surfaceMeasure->Init(); + surfaceMeasure->Init(wCallTip.GetID()); surfaceMeasure->SetUnicodeMode(SC_CP_UTF8 == codePage); surfaceMeasure->SetDBCSMode(codePage); startHighlight = 0; |