From 0e5e6b976c968dce6e63eb68ecaabab35398ed24 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 9 Mar 2003 04:08:13 +0000 Subject: 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. --- src/CallTip.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/CallTip.cxx') 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; -- cgit v1.2.3