correct small errors in wxqt implementation

This commit is contained in:
Sean D'Epagnier
2016-08-28 22:16:15 -04:00
committed by Vadim Zeitlin
parent 5261d3eb05
commit 2a2e17c050
3 changed files with 8 additions and 3 deletions

View File

@@ -1109,6 +1109,7 @@ bool wxWindowQt::QtHandlePaintEvent ( QWidget *handler, QPaintEvent *event )
// send the paint event (wxWindowDC will draw directly):
wxPaintEvent paint( GetId() );
paint.SetEventObject(this);
handled = ProcessWindowEvent(paint);
m_updateRegion.Clear();
}