From a3e9b9fcf48df51d55fb1e5c2c696d73dc72c151 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 19 Dec 2001 07:42:43 +0000 Subject: Wrapping supported. --- gtk/ScintillaGTK.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gtk') diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index cfaa70971..2967d9015 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -1020,7 +1020,6 @@ void ScintillaGTK::UnclaimSelection(GdkEventSelection *selection_event) { void ScintillaGTK::Resize(int width, int height) { //Platform::DebugPrintf("Resize %d %d\n", width, height); //printf("Resize %d %d\n", width, height); - DropGraphics(); // Not always needed, but some themes can have different sizes of scrollbars scrollBarWidth = GTK_WIDGET(PWidget(scrollbarv))->requisition.width; @@ -1051,7 +1050,7 @@ void ScintillaGTK::Resize(int width, int height) { alloc.height = Platform::Maximum(1, height - scrollBarHeight) + 1; gtk_widget_size_allocate(GTK_WIDGET(PWidget(scrollbarv)), &alloc); - SetScrollBars(); + ChangeSize(); } gint ScintillaGTK::PressThis(GdkEventButton *event) { -- cgit v1.2.3