mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 19:29:18 +02:00
* unicode fix in TDialog.ChangeTitle
git-svn-id: branches/unicodekvm@48614 -
This commit is contained in:
parent
25cf57b085
commit
d5ef64fb91
@ -1205,9 +1205,13 @@ end;
|
||||
{****************************************************************************}
|
||||
procedure TDialog.ChangeTitle (ANewTitle : TTitleStr);
|
||||
begin
|
||||
{$ifdef FV_UNICODE}
|
||||
Title := ANewTitle;
|
||||
{$else FV_UNICODE}
|
||||
if (Title <> nil) then
|
||||
DisposeStr(Title);
|
||||
Title := NewStr(ANewTitle);
|
||||
{$endif FV_UNICODE}
|
||||
Frame^.DrawView;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user