1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-08-04 21:32:54 +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} {$IFDEF MSWINDOWS}
if Initialized then if Initialized then
begin begin
{$IFDEF DELPHI16_UP} {$IFDEF DELPHI22_UP}
ImmAssociateContextEx(FHWND, 0, IACE_DEFAULT); ImmAssociateContextEx(FHWND, 0, IACE_DEFAULT);
{$ELSE} {$ELSE}
ImmAssociateContext(FHWND, 0); ImmAssociateContext(FHWND, 0);
@@ -608,7 +608,7 @@ begin
if Initialized then if Initialized then
begin begin
CleanupComposition(); CleanupComposition();
{$IFDEF DELPHI16_UP} {$IFDEF DELPHI22_UP}
ImmAssociateContextEx(FHWND, 0, 0); ImmAssociateContextEx(FHWND, 0, 0);
{$ELSE} {$ELSE}
ImmAssociateContext(FHWND, 0); ImmAssociateContext(FHWND, 0);