git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48282
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// another one to get the current time broken down
static struct tm *GetTmNow()
{
// another one to get the current time broken down
static struct tm *GetTmNow()
{
- time_t t = GetTimeNow();
- return localtime(&t);
+ static struct tm l_CurrentTime;
+ return GetTmNow(&l_CurrentTime);
}
// get current time using thread-safe function
}
// get current time using thread-safe function