Source commit: 271a0bae85a51eae208a338eacc88a97e1596f55
@@ -155,8 +155,6 @@ TLabel * __fastcall TCustomDialog::CreateLabel(UnicodeString Label)
//---------------------------------------------------------------------------
void __fastcall TCustomDialog::AddEditLikeControl(TWinControl * Edit, TLabel * Label, bool OneLine)
{
- int PrePos = FPos;
-
Edit->Parent = this;
// this updates Height property to real value
Edit->HandleNeeded();