Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
What's new
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
FPC
Lazarus
Lazarus
Commits
89bfe3e1
Commit
89bfe3e1
authored
Sep 20, 2012
by
Željan Rikalo
🏊🏼
Browse files
Gtk2: when style is drawing button then use style from button. issue
#22901
git-svn-id: trunk@38762 -
parent
b056f168
Changes
1
Hide whitespace changes
Inline
Side-by-side
lcl/interfaces/gtk2/gtk2themes.pas
View file @
89bfe3e1
...
...
@@ -262,8 +262,7 @@ begin
BP_PUSHBUTTON
:
begin
Result
.
Widget
:=
GetStyleWidget
(
lgsButton
);
if
Result
.
Style
=
nil
then
Result
.
Style
:=
GetStyle
(
lgsButton
);
Result
.
Style
:=
GetStyle
(
lgsButton
);
Result
.
State
:=
GtkButtonMap
[
Details
.
State
];
if
Details
.
State
=
PBS_PRESSED
then
Result
.
Shadow
:=
GTK_SHADOW_IN
...
...
FPC Admin account
@fpc_admin
mentioned in issue
#22901
·
Jul 28, 2021
mentioned in issue
#22901
mentioned in issue #22901
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment