]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/window_osx.cpp
Blind implementation of YieldFor() for OSX/Cocoa, copied from OSX/Carbon
[wxWidgets.git] / src / osx / window_osx.cpp
index d5a4f2a756ce7b5aba2ddd928e4b8a83b59f2b51..9f47e712eddd0b0488a55fcc153e4aed56f3262f 100644 (file)
@@ -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);