From ae5343ecfd6c7f9878e7bbd3d132c7b3dc8c1cef Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 26 Jan 2004 22:44:38 +0000 Subject: [PATCH] Make SWIG copy the GetDate return value git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/calendar.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wxPython/src/calendar.i b/wxPython/src/calendar.i index d513513e44..df3df17bc9 100644 --- a/wxPython/src/calendar.i +++ b/wxPython/src/calendar.i @@ -108,7 +108,7 @@ class wxCalendarEvent : public wxCommandEvent public: wxCalendarEvent(wxCalendarCtrl *cal, wxEventType type); - const wxDateTime& GetDate() const; + const wxDateTime GetDate() const; void SetDate(const wxDateTime &date); void SetWeekDay(const wxDateTime::WeekDay wd); wxDateTime::WeekDay GetWeekDay() const;