Gtk3: Make dock header button appear. Patch by Anton Kavalenka, issue #40346

This commit is contained in:
zeljan1 2025-02-01 14:29:24 +01:00
parent b5a0144feb
commit 6d7ce926a7

View File

@ -2441,13 +2441,13 @@ begin
w:=nil;
if uType=DFC_BUTTON then
begin
case uType of
DFC_BUTTON,DFC_CAPTION:
w:=GetStyleWidget(lgsButton);
end else
if uType=DFC_MENU then
begin
DFC_MENU:
w:=GetStyleWidget(lgsMenu);
else
w:=GetStyleWidget(lgsDefault);
end;
if not Assigned(w) then exit;