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
This commit is contained in:
Stefan Csomor
2009-02-13 19:21:51 +00:00
parent e276acb530
commit 45f5bb03d5

View 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);