mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 14:40:29 +02:00
gtk3: fixed accelerator char on togglebutton. issue #36255
git-svn-id: trunk@62191 -
This commit is contained in:
parent
a68352f396
commit
7d7fd26ec7
@ -6455,8 +6455,12 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
function TGtk3ToggleButton.CreateWidget(const Params: TCreateParams): PGtkWidget;
|
function TGtk3ToggleButton.CreateWidget(const Params: TCreateParams): PGtkWidget;
|
||||||
|
var
|
||||||
|
btn: PGtkToggleButton;
|
||||||
begin
|
begin
|
||||||
Result := PGtkWidget(TGtkToggleButton.new);
|
btn := TGtkToggleButton.new;
|
||||||
|
btn^.use_underline := True;
|
||||||
|
Result := PGtkWidget(btn);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ TGtk3CheckBox }
|
{ TGtk3CheckBox }
|
||||||
|
Loading…
Reference in New Issue
Block a user