mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 14:38:01 +02:00
fixes for is precedence change in fpc r44266 #831fd20413
git-svn-id: trunk@62699 -
This commit is contained in:
parent
5e174a5729
commit
b9e4a03603
@ -439,7 +439,7 @@ begin
|
||||
if i >= 0 then
|
||||
FieldsListBox.Items[i] := Field.FieldName;
|
||||
end else
|
||||
if AComponent is TDataset And (AComponent = LinkDataset) then
|
||||
if (AComponent is TDataset) And (AComponent = LinkDataset) then
|
||||
Caption := fesFeTitle + ' - ' + LinkDataset.Name;
|
||||
end;
|
||||
|
||||
|
@ -136,7 +136,7 @@ end;
|
||||
------------------------------------------------------------------------------}
|
||||
procedure TCustomPage.CMHitTest(var Message: TLMNCHITTEST);
|
||||
begin
|
||||
if Parent is TCustomTabControl and
|
||||
if (Parent is TCustomTabControl) and
|
||||
(TCustomTabControl(Parent).ActivePageComponent <> Self) then
|
||||
Message.Result := 0 // no hit
|
||||
else
|
||||
|
@ -249,10 +249,10 @@ begin
|
||||
Exit;
|
||||
if BlockRedraw or BlockLayout then
|
||||
Exit;
|
||||
w := Min(FWidth, OBJ_MaxWidth(FObject));
|
||||
w := Max(w, OBJ_MinWidth(FObject));
|
||||
h := Min(FHeight, OBJ_MaxHeight(FObject));
|
||||
h := Max(h, OBJ_MinHeight(FObject));
|
||||
w := Min(FWidth, LongInt(OBJ_MaxWidth(FObject)));
|
||||
w := Max(w, LongInt(OBJ_MinWidth(FObject)));
|
||||
h := Min(FHeight, LongInt(OBJ_MaxHeight(FObject)));
|
||||
h := Max(h, LongInt(OBJ_MinHeight(FObject)));
|
||||
//writeln(self.classname,' setsize ', FLeft, ', ', FTop, ' - ', FWidth, ', ', FHeight,' count: ', Fchilds.Count, ' obj ', HexStr(FObject));
|
||||
MUI_Layout(FObject, FLeft, FTop, w, h, 0);
|
||||
//writeln(self.classname, ' setsize done');
|
||||
|
@ -28,7 +28,7 @@ uses
|
||||
// LazUtils
|
||||
FileUtil, LazFileUtils, LazUTF8, Masks;
|
||||
|
||||
{$if defined(Windows) or defined(darwin)}
|
||||
{$if defined(Windows) or defined(darwin) or defined(HASAMIGA))}
|
||||
{$define CaseInsensitiveFilenames}
|
||||
{$endif}
|
||||
{$IF defined(CaseInsensitiveFilenames) or defined(darwin)}
|
||||
|
Loading…
Reference in New Issue
Block a user