[GB.QT4]
* 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:
parent
2819ca8122
commit
9bd14086dd
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue