diff --git a/src/qt/dcclient.cpp b/src/qt/dcclient.cpp index d062f0455a..0137f4d6e1 100644 --- a/src/qt/dcclient.cpp +++ b/src/qt/dcclient.cpp @@ -106,7 +106,7 @@ wxClientDCImpl::~wxClientDCImpl() if ( !pict->isNull() && !widget->paintingActive() && !rect.isEmpty() ) { // only force the update of the rect affected by the DC - widget->repaint( rect ); + widget->update( rect ); } else {