Switched to GetLocaleInfoEx().
This commit is contained in:
parent
afb7c773fe
commit
e3079ce62c
|
@ -51,8 +51,7 @@ uiDateTimePicker *finishNewDateTimePicker(DWORD style, WCHAR *format)
|
||||||
return uiDateTimePicker(d);
|
return uiDateTimePicker(d);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO move to GetLocaleInfoEx() when making Vista-only
|
#define GLI(what, buf, n) GetLocaleInfoEx(LOCALE_NAME_USER_DEFAULT, what, buf, n)
|
||||||
#define GLI(what, buf, n) GetLocaleInfoW(LOCALE_USER_DEFAULT, what, buf, n)
|
|
||||||
|
|
||||||
// Windows has no combined date/time prebuilt constant; we have to build the format string ourselves
|
// Windows has no combined date/time prebuilt constant; we have to build the format string ourselves
|
||||||
uiDateTimePicker *uiNewDateTimePicker(void)
|
uiDateTimePicker *uiNewDateTimePicker(void)
|
||||||
|
|
Loading…
Reference in New Issue