fix fpc 1.0.x. compilation

git-svn-id: trunk@6050 -
This commit is contained in:
vincents 2004-09-23 07:54:16 +00:00
parent 5d937c489c
commit 67212be365
3 changed files with 9 additions and 2 deletions

View File

@ -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;

View File

@ -35,7 +35,7 @@ uses
////////////////////////////////////////////////////
Forms,
////////////////////////////////////////////////////
WSForms, WSLCLClasses, Windows, SysUtils;
WSForms, WSLCLClasses, Windows, SysUtils, WinExt;
type

View File

@ -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;