diff --git a/src/mac/carbon/window.cpp b/src/mac/carbon/window.cpp index a574163f8c..7b2176a7dc 100644 --- a/src/mac/carbon/window.cpp +++ b/src/mac/carbon/window.cpp @@ -3231,7 +3231,7 @@ bool wxWindowMac::MacDoRedraw( WXHRGN updatergnr , long time ) { // paint the window itself - wxPaintEvent event; + wxPaintEvent event(GetId()); event.SetTimestamp(time); event.SetEventObject(this); GetEventHandler()->ProcessEvent(event);