You've already forked CEF4Delphi
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:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user