mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 01:39:42 +02:00
LCL-Win32: Support compilation with FPC 2.6.4. Will be merged to 1.8 fixes.
git-svn-id: trunk@56686 -
This commit is contained in:
parent
2edba99094
commit
216afc7132
@ -1234,7 +1234,11 @@ procedure TWindowProcHelper.DoMsgChar(var WinResult: LResult);
|
||||
begin
|
||||
OrgCharCode := Word(WParam);
|
||||
// Process surrogate pairs later
|
||||
{$IF FPC_FULLVERSION>=30000}
|
||||
if TCharacter.IsSurrogate(WideChar(OrgCharCode)) then
|
||||
{$ELSE}
|
||||
if False then
|
||||
{$ENDIF}
|
||||
WinProcess := True
|
||||
// first send a IntfUTF8KeyPress to the LCL
|
||||
// if the key was not handled send a CN_CHAR for AnsiChar<=#127
|
||||
|
@ -29,7 +29,10 @@ interface
|
||||
}
|
||||
uses
|
||||
Windows, // keep as first
|
||||
Classes, SysUtils, RtlConsts, ActiveX, MultiMon, CommCtrl, character,
|
||||
Classes, SysUtils, RtlConsts, ActiveX, MultiMon, CommCtrl,
|
||||
{$IF FPC_FULLVERSION>=30000}
|
||||
character,
|
||||
{$ENDIF}
|
||||
// LCL
|
||||
LCLPlatformDef, InterfaceBase, LCLIntf, LclProc, LCLType, LMessages,
|
||||
Controls, Buttons, Forms, Dialogs, GraphMath, GraphType, StdCtrls,
|
||||
|
Loading…
Reference in New Issue
Block a user