Fix bug #669 Memo editor increases height each time called

This commit is contained in:
Ansgar Becker
2008-08-11 18:30:54 +00:00
parent bcf26b1c98
commit ed99c16c70

View File

@@ -52,7 +52,6 @@ begin
Top := TopLeft.Y;
// Hide window caption
SetWindowLong(Handle, GWL_STYLE, GetWindowLong( Handle, GWL_STYLE ) and not WS_CAPTION );
ClientHeight := Height;
SetWindowSizeGrip(Handle, True);
memoText.SelectAll;
memoText.SetFocus;