mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 13:59:13 +02:00
Fixed compilation of Carbon interface
git-svn-id: trunk@20239 -
This commit is contained in:
parent
2335ec78c8
commit
4ba742884f
@ -288,7 +288,7 @@ end;
|
||||
class procedure TCarbonWSMenuItem.UpdateMenuIcon(const AMenuItem: TMenuItem;
|
||||
const HasIcon: Boolean; const AIcon: TBitmap);
|
||||
begin
|
||||
if not CheckMenu(AMenuItem, 'UpdateMenuIcon') then Exit;
|
||||
if not CheckMenu(AMenuItem.Handle, 'UpdateMenuIcon') then Exit;
|
||||
TCarbonMenu(AMenuItem.Handle).Update;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user