OSX issue: Fix Background drawing for some of controls in Dark mode
This commit is contained in:
parent
0c4507141a
commit
050a9adf36
3 changed files with 13 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue