X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4965c3d7f68309cf8c676cfcd493b85c7b9c8484..2c667cb8d84f9b7304938c6a9356673c6002880e:/src/generic/calctrl.cpp 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