diff options
| author | nyamatongwe <devnull@localhost> | 2009-02-14 23:46:57 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2009-02-14 23:46:57 +0000 |
| commit | e35ca47628757536c020239f7c8fafa883164571 (patch) | |
| tree | ba79cee5cd2ac319a771825dba43fa19362e8e60 | |
| parent | 73468d3ec9f9174196ab89d19b73e6a30c664505 (diff) | |
| download | scintilla-mirror-e35ca47628757536c020239f7c8fafa883164571.tar.gz | |
Fix from Todd to make Unicode calltips work on GTK+.
| -rw-r--r-- | gtk/ScintillaGTK.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index fa33d283a..4256bca4a 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -2498,6 +2498,8 @@ gint ScintillaGTK::ExposeCT(GtkWidget *widget, GdkEventExpose * /*ose*/, CallTip Surface *surfaceWindow = Surface::Allocate(); if (surfaceWindow) { surfaceWindow->Init(widget->window, widget); + surfaceWindow->SetUnicodeMode(SC_CP_UTF8 == ctip->codePage); + surfaceWindow->SetDBCSMode(ctip->codePage); ctip->PaintCT(surfaceWindow); surfaceWindow->Release(); delete surfaceWindow; |
