X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/24e148adbe79d7c911086f5d4fa46e94d7ced003..2d08140fdbb3aaab9457287b49e877ecf3b8b790:/include/wx/datetime.h diff --git a/include/wx/datetime.h b/include/wx/datetime.h index d1ded5d9a4..1d7a329e67 100644 --- a/include/wx/datetime.h +++ b/include/wx/datetime.h @@ -1257,10 +1257,12 @@ WX_DECLARE_OBJARRAY(wxDateTime, wxDateTimeArray); // ---------------------------------------------------------------------------- class WXDLLEXPORT wxDateTimeHolidayAuthority; -WX_DEFINE_ARRAY(wxDateTimeHolidayAuthority *, wxHolidayAuthoritiesArray); +WX_DEFINE_EXPORTED_ARRAY(wxDateTimeHolidayAuthority *, wxHolidayAuthoritiesArray); +class wxDateTimeHolidaysModule; class WXDLLEXPORT wxDateTimeHolidayAuthority { + friend wxDateTimeHolidaysModule; public: // returns TRUE if the given date is a holiday static bool IsHoliday(const wxDateTime& dt);