Make SWIG copy the GetDate return value

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-01-26 22:44:38 +00:00
parent ae18f6104c
commit ae5343ecfd

View File

@ -108,7 +108,7 @@ class wxCalendarEvent : public wxCommandEvent
public: public:
wxCalendarEvent(wxCalendarCtrl *cal, wxEventType type); wxCalendarEvent(wxCalendarCtrl *cal, wxEventType type);
const wxDateTime& GetDate() const; const wxDateTime GetDate() const;
void SetDate(const wxDateTime &date); void SetDate(const wxDateTime &date);
void SetWeekDay(const wxDateTime::WeekDay wd); void SetWeekDay(const wxDateTime::WeekDay wd);
wxDateTime::WeekDay GetWeekDay() const; wxDateTime::WeekDay GetWeekDay() const;