]> git.saurik.com Git - wxWidgets.git/commitdiff
SetEventObject for wxCalendarCtrl
authorRobin Dunn <robin@alldunn.com>
Fri, 2 Nov 2001 01:14:16 +0000 (01:14 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 2 Nov 2001 01:14:16 +0000 (01:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/calctrl.cpp

index 37a0ab77135e94be97185edaf0bdd7656f0e6a49..40e2dd3bc3206a0ac4454909c80d6d3fc1c1f8b1 100644 (file)
@@ -1061,6 +1061,7 @@ wxCalendarEvent::wxCalendarEvent(wxCalendarCtrl *cal, wxEventType type)
                : wxCommandEvent(type, cal->GetId())
 {
     m_date = cal->GetDate();
+    SetEventObject(cal);
 }
 
 #endif // wxUSE_CALENDARCTRL