mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-01-06 07:40:36 +01:00
fix fpc 1.0.x. compilation
git-svn-id: trunk@6050 -
This commit is contained in:
parent
5d937c489c
commit
67212be365
@ -993,10 +993,12 @@ end;
|
||||
procedure TCodeToolManager.FreeListOfPCodeXYPosition(var List: TList);
|
||||
var
|
||||
i: Integer;
|
||||
CursorPos: PCodeXYPosition;
|
||||
begin
|
||||
if List<>nil then begin
|
||||
for i:=0 to List.Count-1 do begin
|
||||
Dispose(PCodeXYPosition(List[i]));
|
||||
CursorPos := PCodeXYPosition(List[i]);
|
||||
Dispose(CursorPos);
|
||||
end;
|
||||
List.Free;
|
||||
List:=nil;
|
||||
|
||||
@ -35,7 +35,7 @@ uses
|
||||
////////////////////////////////////////////////////
|
||||
Forms,
|
||||
////////////////////////////////////////////////////
|
||||
WSForms, WSLCLClasses, Windows, SysUtils;
|
||||
WSForms, WSLCLClasses, Windows, SysUtils, WinExt;
|
||||
|
||||
type
|
||||
|
||||
|
||||
@ -78,6 +78,11 @@ Const
|
||||
TCS_BOTTOM = $0002;
|
||||
TCS_VERTICAL = $0080;
|
||||
TCS_MULTILINE = $0200;
|
||||
|
||||
{$IFDEF VER1_0}
|
||||
ICON_SMALL = 0;
|
||||
ICON_BIG = 1;
|
||||
{$ENDIF}
|
||||
|
||||
{ BrowseForFolder dialog}
|
||||
BIF_RETURNONLYFSDIRS = 1;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user