mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 14:59:30 +02:00
Cocoa: Fix memory leak in TCocoaWSCustomPage.SetProperties()
This commit is contained in:
parent
be1dd4686a
commit
25c7f3c141
@ -627,7 +627,7 @@ begin
|
||||
// hint
|
||||
if ACustomPage.ShowHint then lHintStr := ACustomPage.Hint
|
||||
else lHintStr := '';
|
||||
ACocoaControl.setToolTip(NSStringUTF8(lHintStr));
|
||||
ACocoaControl.setToolTip(StrToNSString(lHintStr));
|
||||
end;
|
||||
|
||||
class procedure TCocoaWSCustomPage.SetBounds(const AWinControl: TWinControl;
|
||||
|
Loading…
Reference in New Issue
Block a user