mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 19:52:26 +02:00
IDE/Cocoa: modify the code related to macOS menu (base on ab440b6
)
This commit is contained in:
parent
ab440b6eb1
commit
ee4ab33846
@ -74,7 +74,7 @@ uses
|
|||||||
GraphType, LazStringUtils, LazTracer,
|
GraphType, LazStringUtils, LazTracer,
|
||||||
LCLExceptionStacktrace,
|
LCLExceptionStacktrace,
|
||||||
{$IFDEF LCLWin} Win32Proc, {$ENDIF}
|
{$IFDEF LCLWin} Win32Proc, {$ENDIF}
|
||||||
{$IFDEF LCLCocoa} CocoaMenus, {$ENDIF}
|
{$IFDEF LCLCocoa} CocoaConfig, {$ENDIF}
|
||||||
// SynEdit
|
// SynEdit
|
||||||
SynEdit, AllSynEdit, SynEditKeyCmds, SynEditMarks, SynEditHighlighter, SynHighlighterPas,
|
SynEdit, AllSynEdit, SynEditKeyCmds, SynEditMarks, SynEditHighlighter, SynHighlighterPas,
|
||||||
// BuildIntf
|
// BuildIntf
|
||||||
@ -2641,8 +2641,8 @@ begin
|
|||||||
SetupWindowsMenu;
|
SetupWindowsMenu;
|
||||||
SetupHelpMenu;
|
SetupHelpMenu;
|
||||||
{$ifdef LCLCocoa}
|
{$ifdef LCLCocoa}
|
||||||
macOS_AppMenuIntf.aboutItem:= MainIDEBar.itmHelpAboutLazarus.MenuItem;
|
CocoaConfigMenu.appMenu.aboutItem:= MainIDEBar.itmHelpAboutLazarus.MenuItem;
|
||||||
macOS_AppMenuIntf.preferencesItem:= MainIDEBar.itmEnvGeneralOptions.MenuItem;
|
CocoaConfigMenu.appMenu.preferencesItem:= MainIDEBar.itmEnvGeneralOptions.MenuItem;
|
||||||
{$endif}
|
{$endif}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user