X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/204abcd474fa99071b7bb5b00f7e212b0bde16dc..dd9f8b6bb6935360a8271dc3e8749fb026b601a8:/include/wx/log.h diff --git a/include/wx/log.h b/include/wx/log.h index 30e0edb2ca..4d95236042 100644 --- a/include/wx/log.h +++ b/include/wx/log.h @@ -55,9 +55,11 @@ typedef unsigned long wxLogLevel; #include "wx/arrstr.h" +#ifndef __WXPALMOS5__ #ifndef __WXWINCE__ #include // for time_t #endif +#endif // ! __WXPALMOS5__ #include "wx/dynarray.h" @@ -308,9 +310,13 @@ protected: // log a message indicating the number of times the previous message was // repeated if ms_prevCounter > 0, does nothing otherwise; return the old // value of ms_prevCounter - unsigned LogLastRepetitionCountIfNeeded(); + unsigned LogLastRepeatIfNeeded(); private: + // implement of LogLastRepeatIfNeeded(): it assumes that the + // caller had already locked ms_prevCS + unsigned LogLastRepeatIfNeededUnlocked(); + // static variables // ----------------