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:
parent
20c2a60d57
commit
fe702f2a2f
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user