LCL: TCustomMemo: added switch -dEnableMemoTextStrings to use TTextStrings in TCustomMemo

git-svn-id: trunk@18711 -
This commit is contained in:
mattias 2009-02-16 16:29:48 +00:00
parent 3815a3616f
commit bcdf9ffd72
2 changed files with 4 additions and 2 deletions

View File

@ -137,8 +137,7 @@ end;
procedure TCustomMemo.DestroyHandle;
var
NewStrings : TStringList;
NewStrings : TStrings;
begin
if Assigned(FLines) then begin
// create internal item list

View File

@ -31,6 +31,9 @@ interface
uses
Classes, SysUtils, LCLStrConsts, LCLType, LCLProc, LMessages, Graphics,
GraphType, ExtendedStrings, LCLIntf, ClipBrd, ActnList, Controls,
{$IFDEF EnableMemoTextStrings}
TextStrings,
{$ENDIF}
Forms, Menus, LResources;
type