fButton->SetBackgroundPixmap(img->GetPixmap());
fButton->ChangeOptions(fButton->GetOptions() | kOwnBackground);
fButton->SetStyle("modern");
etc/system.rootrc allows to turn the feature on or off: Canvas.ShowGuideLines.Canvas.SaveAsDefaultType option in etc/system.rootrc (default being pdf).