From 4fa54a31adf243690b5087db7dfb5041d95d318c Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 2 Nov 2001 01:14:16 +0000 Subject: [PATCH] SetEventObject for wxCalendarCtrl git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/calctrl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/generic/calctrl.cpp b/src/generic/calctrl.cpp index 37a0ab7713..40e2dd3bc3 100644 --- a/src/generic/calctrl.cpp +++ b/src/generic/calctrl.cpp @@ -1061,6 +1061,7 @@ wxCalendarEvent::wxCalendarEvent(wxCalendarCtrl *cal, wxEventType type) : wxCommandEvent(type, cal->GetId()) { m_date = cal->GetDate(); + SetEventObject(cal); } #endif // wxUSE_CALENDARCTRL -- 2.49.0