mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 02:49:30 +02:00
IDE/Cocoa: make config code for IDE Morden Form Style triggered only when running on macOS 11+
This commit is contained in:
parent
f174b9a503
commit
571a1a1290
@ -137,11 +137,13 @@ begin
|
||||
];
|
||||
|
||||
CocoaConfigForms:= [ mainIDEFormConfig ];
|
||||
|
||||
IDEMainFormHandler:= TCocoaIDEMainFormHandler.create;
|
||||
end;
|
||||
|
||||
initialization
|
||||
initCocoaConfigForms;
|
||||
IDEMainFormHandler:= TCocoaIDEMainFormHandler.create;
|
||||
if NSAppKitVersionNumber >= NSAppKitVersionNumber11_0 then
|
||||
initCocoaConfigForms;
|
||||
|
||||
end.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user