mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 14:19:17 +02:00
LCL Carbon: applied patch #0011973: Crash in readonly text edits from C Western
git-svn-id: trunk@16254 -
This commit is contained in:
parent
cc9a5809df
commit
82baccc130
@ -667,8 +667,10 @@ end;
|
||||
------------------------------------------------------------------------------}
|
||||
procedure TCarbonComboBox.DestroyWidget;
|
||||
begin
|
||||
if FReadOnly then DisposeMenu(FPopupMenu);
|
||||
if FTimer.Enabled then DropDownTimer(nil);
|
||||
if FReadOnly then
|
||||
DisposeMenu(FPopupMenu)
|
||||
else if FTimer.Enabled then
|
||||
DropDownTimer(nil);
|
||||
FTimer.Free;
|
||||
|
||||
inherited DestroyWidget;
|
||||
|
Loading…
Reference in New Issue
Block a user