mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 20:19:10 +02:00
Win32: implement TMenuItem.Default. Part of Issue #0027242.
git-svn-id: trunk@52252 -
This commit is contained in:
parent
8b1d8e7295
commit
2f6d4c8b70
@ -1438,6 +1438,8 @@ begin
|
||||
else
|
||||
if AMenuItem.RightJustify then
|
||||
fType := fType or MFT_RIGHTJUSTIFY;
|
||||
if AMenuItem.Default then
|
||||
fState := fState or MFS_DEFAULT;
|
||||
end;
|
||||
CallMenuRes := InsertMenuItemW(ParentMenuHandle, AMenuItem.Parent.VisibleIndexOf(AMenuItem), True, @MenuInfo);
|
||||
if not CallMenuRes then
|
||||
|
Loading…
Reference in New Issue
Block a user