mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 12:40:22 +02:00
Fix warning
This commit is contained in:
parent
3891f57067
commit
c187dc8f26
12
lcl/forms.pp
12
lcl/forms.pp
@ -40,7 +40,12 @@ uses
|
||||
ClipBrd, HelpIntfs, Controls, ImgList, Themes,
|
||||
// LazUtils
|
||||
LazFileUtils, LazUTF8, Maps, IntegerList, LazMethodList, LazLoggerBase,
|
||||
LazUtilities, GraphType, UITypes
|
||||
LazUtilities, GraphType,
|
||||
{$IF FPC_FULLVERSION >= 30200}
|
||||
System.UITypes
|
||||
{$ELSE}
|
||||
UITypes
|
||||
{$ENDIF}
|
||||
{$ifndef wince},gettext{$endif}// remove ifdefs when gettext is fixed and a new fpc is released
|
||||
;
|
||||
|
||||
@ -421,8 +426,13 @@ type
|
||||
);
|
||||
TFormState = set of TFormStateType;
|
||||
|
||||
{$IF FPC_FULLVERSION >= 30200}
|
||||
TModalResult = System.UITypes.TModalResult;
|
||||
PModalResult = ^System.UITypes.TModalResult;
|
||||
{$ELSE}
|
||||
TModalResult = UITypes.TModalResult;
|
||||
PModalResult = ^UITypes.TModalResult;
|
||||
{$ENDIF}
|
||||
|
||||
TFormHandlerType = (
|
||||
fhtFirstShow,
|
||||
|
Loading…
Reference in New Issue
Block a user