mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 11:08:00 +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;
|
||||
begin
|
||||
//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;
|
||||
|
||||
ItemText := ExtractFileName(FileListBox.Items[Index]);
|
||||
@ -450,7 +450,7 @@ begin
|
||||
end;
|
||||
end;
|
||||
try
|
||||
ResFileStream:=TFileStreamUtf8.Create(ResourceFilename,fmCreate);
|
||||
ResFileStream:=TFileStreamUtf8.Create(FullResourceFileName,fmCreate);
|
||||
except
|
||||
AddMessageFmt(ErrCreate,[ResourceFileName]);
|
||||
exit;
|
||||
|
Loading…
Reference in New Issue
Block a user