mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-09 06:38:15 +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,
|
ClipBrd, HelpIntfs, Controls, ImgList, Themes,
|
||||||
// LazUtils
|
// LazUtils
|
||||||
LazFileUtils, LazUTF8, Maps, IntegerList, LazMethodList, LazLoggerBase,
|
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
|
{$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;
|
TFormState = set of TFormStateType;
|
||||||
|
|
||||||
|
{$IF FPC_FULLVERSION >= 30200}
|
||||||
|
TModalResult = System.UITypes.TModalResult;
|
||||||
|
PModalResult = ^System.UITypes.TModalResult;
|
||||||
|
{$ELSE}
|
||||||
TModalResult = UITypes.TModalResult;
|
TModalResult = UITypes.TModalResult;
|
||||||
PModalResult = ^UITypes.TModalResult;
|
PModalResult = ^UITypes.TModalResult;
|
||||||
|
{$ENDIF}
|
||||||
|
|
||||||
TFormHandlerType = (
|
TFormHandlerType = (
|
||||||
fhtFirstShow,
|
fhtFirstShow,
|
||||||
|
Loading…
Reference in New Issue
Block a user