mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 15:59:13 +02:00
Tools:
- fix wrong filename of output in glazres, second try. - fix drawing of ListBox items in glazres (Issue #0027183) git-svn-id: trunk@47226 -
This commit is contained in:
parent
9a23a0544a
commit
b0bddd32ec
@ -237,7 +237,7 @@ var
|
|||||||
TheCanvas: TCanvas;
|
TheCanvas: TCanvas;
|
||||||
begin
|
begin
|
||||||
//Objective: draw only the FileName, not the fully qualified path.
|
//Objective: draw only the FileName, not the fully qualified path.
|
||||||
if (odPainted in State) then Exit;
|
//if (odPainted in State) then Exit;
|
||||||
TheCanvas := (Control as TCustomListBox).Canvas;
|
TheCanvas := (Control as TCustomListBox).Canvas;
|
||||||
|
|
||||||
ItemText := ExtractFileName(FileListBox.Items[Index]);
|
ItemText := ExtractFileName(FileListBox.Items[Index]);
|
||||||
@ -450,7 +450,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
try
|
try
|
||||||
ResFileStream:=TFileStreamUtf8.Create(ResourceFilename,fmCreate);
|
ResFileStream:=TFileStreamUtf8.Create(FullResourceFileName,fmCreate);
|
||||||
except
|
except
|
||||||
AddMessageFmt(ErrCreate,[ResourceFileName]);
|
AddMessageFmt(ErrCreate,[ResourceFileName]);
|
||||||
exit;
|
exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user