lcl: use GetFormatSettingsUTF8 in TApplication.IntfSettingsChange. Issue #30253

git-svn-id: trunk@52480 -
This commit is contained in:
ondrej 2016-06-12 05:59:07 +00:00
parent b08c38cba0
commit b13ba1b0b9

View File

@ -2002,9 +2002,15 @@ end;
procedure TApplication.IntfSettingsChange;
begin
if FUpdateFormatSettings then
begin
{$ifdef win32}
GetFormatSettings
{$ifdef DisableUTF8RTL}
GetFormatSettings;
{$else}
GetFormatSettingsUTF8;
{$endif}
{$endif};
end;
end;
procedure TApplication.IntfThemeOptionChange(AThemeServices: TThemeServices;