1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-02-12 10:26:05 +02:00

Fixed backwards compatibility with Delphi XE5

This commit is contained in:
Salvador Díaz Fau 2019-01-10 09:59:39 +01:00
parent 20c2a60d57
commit fe702f2a2f

View File

@ -593,7 +593,7 @@ begin
{$IFDEF MSWINDOWS}
if Initialized then
begin
{$IFDEF DELPHI16_UP}
{$IFDEF DELPHI22_UP}
ImmAssociateContextEx(FHWND, 0, IACE_DEFAULT);
{$ELSE}
ImmAssociateContext(FHWND, 0);
@ -608,7 +608,7 @@ begin
if Initialized then
begin
CleanupComposition();
{$IFDEF DELPHI16_UP}
{$IFDEF DELPHI22_UP}
ImmAssociateContextEx(FHWND, 0, 0);
{$ELSE}
ImmAssociateContext(FHWND, 0);