diff options
Diffstat (limited to 'gtk')
| -rw-r--r-- | gtk/ScintillaGTK.cxx | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index efb0e0cd5..1422a183a 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -2534,7 +2534,7 @@ gboolean ScintillaGTK::ExposeTextThis(GtkWidget * /*widget*/, GdkEventExpose *os  		rgnUpdate = gdk_region_copy(ose->region);  		PRectangle rcClient = GetClientRectangle();  		paintingAllText = rcPaint.Contains(rcClient); -		Surface *surfaceWindow = Surface::Allocate(); +		Surface *surfaceWindow = Surface::Allocate(SC_TECHNOLOGY_DEFAULT);  		if (surfaceWindow) {  			surfaceWindow->Init(PWindow(wText), PWidget(wText));  			Paint(surfaceWindow, rcPaint); @@ -2850,7 +2850,7 @@ gboolean ScintillaGTK::DrawCT(GtkWidget *widget, cairo_t *cr, CallTip *ctip) {  gboolean ScintillaGTK::ExposeCT(GtkWidget *widget, GdkEventExpose * /*ose*/, CallTip *ctip) {  	try { -		Surface *surfaceWindow = Surface::Allocate(); +		Surface *surfaceWindow = Surface::Allocate(SC_TECHNOLOGY_DEFAULT);  		if (surfaceWindow) {  			surfaceWindow->Init(WindowFromWidget(widget), widget);  			surfaceWindow->SetUnicodeMode(SC_CP_UTF8 == ctip->codePage); | 
