* BUG: Fix Cached DrawingArea having a border.


git-svn-id: svn://localhost/gambas/trunk@4402 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2012-01-17 22:22:37 +00:00
parent f9444636c0
commit 270fa89e4f

View file

@ -35,6 +35,7 @@ static gboolean cb_expose(GtkWidget *wid, GdkEventExpose *e, gDrawingArea *data)
if (data->cached())
{
gdk_window_clear(GTK_WIDGET(wid)->window);
data->drawBorder();
}
else
{
@ -223,7 +224,7 @@ void gDrawingArea::resizeCache()
g_object_unref(gc2);
}
drawBorder(buffer);
//drawBorder(buffer);
refreshCache();
}
@ -235,7 +236,7 @@ void gDrawingArea::setCache()
if (!win)
return;
drawBorder(buffer);
//drawBorder(buffer);
gdk_window_set_back_pixmap(win, buffer, FALSE);
//gdk_window_set_back_pixmap(border->window, buffer, FALSE);
//gdk_window_set_back_pixmap(widget->window, NULL, TRUE);