From: Stefan Csomor Date: Fri, 13 Feb 2009 19:21:51 +0000 (+0000) Subject: paint event was missing the id, Connect not working for this otherwise X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/45f5bb03d5e2a25be1d87c35b4fba8fe30e48cdf?ds=inline paint event was missing the id, Connect not working for this otherwise git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/window_osx.cpp b/src/osx/window_osx.cpp index d5a4f2a756..9f47e712ed 100644 --- a/src/osx/window_osx.cpp +++ b/src/osx/window_osx.cpp @@ -1858,7 +1858,7 @@ bool wxWindowMac::MacDoRedraw( long time ) { // paint the window itself - wxPaintEvent event; + wxPaintEvent event(GetId()); event.SetTimestamp(time); event.SetEventObject(this); handled = HandleWindowEvent(event);