Erase event now is now sent with a valid event object
This commit is contained in:
@@ -1074,6 +1074,7 @@ bool wxWindowQt::QtHandlePaintEvent ( QWidget *handler, QPaintEvent *event )
|
||||
dc.SetDeviceClippingRegion( m_updateRegion );
|
||||
|
||||
wxEraseEvent erase( GetId(), &dc );
|
||||
erase.SetEventObject(this);
|
||||
if ( ProcessWindowEvent(erase) )
|
||||
{
|
||||
// background erased, don't do it again
|
||||
|
Reference in New Issue
Block a user