OSX issue: Fix Background drawing for some of controls in Dark mode

This commit is contained in:
YuSanka 2019-11-12 13:54:36 +01:00
parent 0c4507141a
commit 050a9adf36
3 changed files with 13 additions and 7 deletions

View file

@ -175,7 +175,7 @@ public:
staticbox(title!=""), extra_column(extra_clmn) {
if (staticbox) {
stb = new wxStaticBox(_parent, wxID_ANY, title);
stb->SetBackgroundStyle(wxBG_STYLE_PAINT);
if (!wxOSX) stb->SetBackgroundStyle(wxBG_STYLE_PAINT);
stb->SetFont(wxGetApp().bold_font());
} else
stb = nullptr;