[GB.GTK]
* 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:
parent
f9444636c0
commit
270fa89e4f
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue