gtk3: fixed accelerator char on togglebutton. issue #36255

git-svn-id: trunk@62191 -
This commit is contained in:
zeljko 2019-11-04 14:35:36 +00:00
parent a68352f396
commit 7d7fd26ec7

View File

@ -6455,8 +6455,12 @@ begin
end;
function TGtk3ToggleButton.CreateWidget(const Params: TCreateParams): PGtkWidget;
var
btn: PGtkToggleButton;
begin
Result := PGtkWidget(TGtkToggleButton.new);
btn := TGtkToggleButton.new;
btn^.use_underline := True;
Result := PGtkWidget(btn);
end;
{ TGtk3CheckBox }