Implement new static function wxDateTime::GetFirstWeekDay()
This function tries to determine the preferred first day of week to use in calendars. The procedure for obtaining this information is highly platform-dependent, and is not possible on all platforms; in that case Sunday is used as the fallback value. Implementations are included for MSW, OSX, and Linux.
This commit is contained in:
@@ -935,6 +935,9 @@
|
||||
/* struct tm doesn't always have the tm_gmtoff field, define this if it does */
|
||||
#undef WX_GMTOFF_IN_TM
|
||||
|
||||
/* check if nl_langinfo() can be called with argument _NL_TIME_FIRST_WEEKDAY */
|
||||
#undef HAVE_NL_TIME_FIRST_WEEKDAY
|
||||
|
||||
/* Define if you have poll(2) function */
|
||||
#undef HAVE_POLL
|
||||
|
||||
|
Reference in New Issue
Block a user