]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/datetime.cpp
Stupid bug: using LastError() instead of Error()
[wxWidgets.git] / src / common / datetime.cpp
index b24efdb41f5e46504b1a12206994fb90addcfc00..eafbeeb5863cedd1db4bf5f3ddc309b419878eb0 100644 (file)
@@ -122,6 +122,7 @@ public:
     virtual void OnExit()
     {
         wxDateTimeHolidayAuthority::ClearAllAuthorities();
+        wxDateTimeHolidayAuthority::ms_authorities.Clear();
     }
 
 private:
@@ -3549,3 +3550,5 @@ size_t wxDateTimeWorkDays::DoGetHolidaysInRange(const wxDateTime& dtStart,
 
     return holidays.GetCount();
 }
+
+