diff --git a/lcl/interfaces/cocoa/cocoathemes.pas b/lcl/interfaces/cocoa/cocoathemes.pas index f3f013d3eb..5c65cc51ba 100644 --- a/lcl/interfaces/cocoa/cocoathemes.pas +++ b/lcl/interfaces/cocoa/cocoathemes.pas @@ -208,7 +208,9 @@ begin begin SetButtonCellToDetails(b, Details); CellDrawStart(DC, R, cur, nsr); - b.setBackgroundColor( NSColor.controlBackgroundColor ); + // don't set backgroundColor for PushButton + if Details.Part <> BP_PUSHBUTTON then + b.setBackgroundColor( NSColor.controlBackgroundColor ); CellDrawFrame(b, nsr); CellDrawEnd(DC, cur); Exit;