mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-14 22:12:38 +02:00
Gtk2: implemented SM_CXMENUSIZE and SM_CYMENUSIZE system metrics.
git-svn-id: trunk@35303 -
This commit is contained in:
parent
8e3577e6aa
commit
93bcdf9640
@ -5471,12 +5471,10 @@ begin
|
|||||||
begin
|
begin
|
||||||
//DebugLn('Trace:TODO: [TGtk2WidgetSet.GetSystemMetrics] --> SM_CYMENUCHECK ');
|
//DebugLn('Trace:TODO: [TGtk2WidgetSet.GetSystemMetrics] --> SM_CYMENUCHECK ');
|
||||||
end;
|
end;
|
||||||
SM_CXMENUSIZE:
|
SM_CXMENUSIZE,
|
||||||
begin
|
|
||||||
//DebugLn('Trace:TODO: [TGtk2WidgetSet.GetSystemMetrics] --> SM_CXMENUSIZE ');
|
|
||||||
end;
|
|
||||||
SM_CYMENUSIZE:
|
SM_CYMENUSIZE:
|
||||||
begin
|
begin
|
||||||
|
Result := GetTitleBarHeight - (FCachedBorderSize * 2);
|
||||||
//DebugLn('Trace:TODO: [TGtk2WidgetSet.GetSystemMetrics] --> SM_CYMENUSIZE ');
|
//DebugLn('Trace:TODO: [TGtk2WidgetSet.GetSystemMetrics] --> SM_CYMENUSIZE ');
|
||||||
end;
|
end;
|
||||||
SM_CXMIN:
|
SM_CXMIN:
|
||||||
|
Loading…
Reference in New Issue
Block a user