From: Vadim Zeitlin Date: Sat, 17 Sep 2005 20:56:29 +0000 (+0000) Subject: declare wxCalendarEvent ctor as inline before it's used (which happens before its... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1602d4d0fb10d4aebe0e3d63fbab0bb8d09f34ff declare wxCalendarEvent ctor as inline before it's used (which happens before its definition unfortunately) (fixes SGI CC warning) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/calctrl.h b/include/wx/calctrl.h index 99d0ef6034..9e1add8920 100644 --- a/include/wx/calctrl.h +++ b/include/wx/calctrl.h @@ -166,7 +166,7 @@ class WXDLLIMPEXP_ADV wxCalendarEvent : public wxDateEvent friend class wxCalendarCtrl; public: wxCalendarEvent() { Init(); } - wxCalendarEvent(wxCalendarCtrl *cal, wxEventType type); + inline wxCalendarEvent(wxCalendarCtrl *cal, wxEventType type); void SetWeekDay(const wxDateTime::WeekDay wd) { m_wday = wd; } wxDateTime::WeekDay GetWeekDay() const { return m_wday; }