mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 11:58:12 +02:00
Merged revision(s) 54495 #bf733a19c0 from trunk:
components: datetimepicker: always update date on CreateWnd. Issue #31571 ........ git-svn-id: branches/fixes_1_6@54516 -
This commit is contained in:
parent
ac2cdad810
commit
3add334c5b
@ -2890,11 +2890,11 @@ procedure TCustomDateTimePicker.CreateWnd;
|
||||
begin
|
||||
inherited CreateWnd;
|
||||
|
||||
UpdateDate;
|
||||
if FDoNotArrangeControls then begin { This field is set to True in constructor.
|
||||
Its purpose is to prevent control anchoring until this point. That's because
|
||||
on Linux Lazarus crashes when control is dropped on form in designer if
|
||||
particular anchoring code executes before CreateWnd has done its job. }
|
||||
UpdateDate;
|
||||
FDoNotArrangeControls := False;
|
||||
ArrangeCtrls;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user