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