mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-23 17:52:16 +02:00
Gtk2: when style is drawing button then use style from button. issue #22901
git-svn-id: trunk@38762 -
This commit is contained in:
parent
b056f168e4
commit
89bfe3e1de
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user