* BUG: Don't raise the Draw event when calling the Refresh method on a 
  cached DrawingArea.


git-svn-id: svn://localhost/gambas/trunk@4321 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2011-12-23 01:05:51 +00:00
parent 2819ca8122
commit 9bd14086dd

View file

@ -542,7 +542,7 @@ BEGIN_METHOD(DrawingArea_Refresh, GB_INTEGER x; GB_INTEGER y; GB_INTEGER w; GB_I
int x, y, w, h;
if (WIDGET->isCached())
/*if (WIDGET->isCached())
{
QRect r;
@ -552,7 +552,7 @@ BEGIN_METHOD(DrawingArea_Refresh, GB_INTEGER x; GB_INTEGER y; GB_INTEGER w; GB_I
r.setRect(0, 0, WIDGET->width(), WIDGET->height());
WIDGET->redraw(r, false);
}
}*/
if (!MISSING(x) && !MISSING(y))
{