diff --git a/src/qt/dcclient.cpp b/src/qt/dcclient.cpp index 9c1d987fbeb3..13310331b567 100644 --- a/src/qt/dcclient.cpp +++ b/src/qt/dcclient.cpp @@ -141,5 +141,7 @@ wxPaintDCImpl::wxPaintDCImpl( wxDC *owner, wxWindow *win ) { wxCHECK_RET( m_isWindowPainter || win->QtCanPaintWithoutActivePainter(), "wxPaintDC can't be created outside wxEVT_PAINT handler" ); + + m_qtPainter->translate( wxQtConvertPoint(win->GetClientAreaOrigin()) ); }