Commit 89bfe3e1 authored by Željan Rikalo's avatar Željan Rikalo 🏊🏼
Browse files

Gtk2: when style is drawing button then use style from button. issue #22901

git-svn-id: trunk@38762 -
parent b056f168
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment