X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9dc8c75994524ed89a660e9d2c01333572be0245..3b3fe1f6e766caf35aa3ff4ce0ac01d31699da71:/include/wx/datetime.h diff --git a/include/wx/datetime.h b/include/wx/datetime.h index 1794c796a6..287655c6e7 100644 --- a/include/wx/datetime.h +++ b/include/wx/datetime.h @@ -7,7 +7,7 @@ // Created: 10.02.99 // RCS-ID: $Id$ // Copyright: (c) 1998 Vadim Zeitlin -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_DATETIME_H @@ -1322,6 +1322,9 @@ public: // wxDateTimeHolidayAuthority) static void AddAuthority(wxDateTimeHolidayAuthority *auth); + // the base class must have a virtual dtor + virtual ~wxDateTimeHolidayAuthority(); + protected: // this function is called to determine whether a given day is a holiday virtual bool DoIsHoliday(const wxDateTime& dt) const = 0;