diff options
| -rw-r--r-- | gtk/ScintillaGTK.cxx | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index 996d99aff..cf0dca5f9 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -2191,7 +2191,10 @@ gint ScintillaGTK::SelectionClear(GtkWidget *widget, GdkEventSelection *selectio  	ScintillaGTK *sciThis = ScintillaFromWidget(widget);  	//Platform::DebugPrintf("Selection clear\n");  	sciThis->UnclaimSelection(selection_event); -	return gtk_selection_clear(widget, selection_event); +	if (GTK_WIDGET_CLASS(sciThis->parentClass)->selection_clear_event) { +		return GTK_WIDGET_CLASS(sciThis->parentClass)->selection_clear_event(widget, selection_event); +	} +	return TRUE;  }  void ScintillaGTK::DragBegin(GtkWidget *, GdkDragContext *) {  | 
