* BUG: Fix cached DrawingArea resizing.


git-svn-id: svn://localhost/gambas/trunk@4336 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2011-12-26 12:59:17 +00:00
parent 4d989e16b4
commit abb1427a34

View file

@ -342,6 +342,7 @@ void MyDrawingArea::updateBackground()
wb = QMIN(w, _background_w);
hb = QMIN(h, _background_h);
_background = 0;
createBackground(w, h);
GC gc = XCreateGC(QX11Info::display(), old, 0, 0);