Page 1 of 1

wxStaticBox appearance on Mac OX 10.14 Mojave

Posted: Mon Sep 02, 2019 10:12 am
by bobgladstone
Hello,

I just switched from wx2.8 to wx wx3.1.2 and I notice that all my wxStaticBoxSizers look weird. Instead of a single grey box with a title, there are now an outer gray box with sharp corners, inside it a title and a grey box with rounded corners. See the attached image.

When changing foreground or background color for the wxStaticBox, only the title color and the inner box color can be changed. The outer border is still there unchanged.

I did some digging around, and on High Sierra the boxes look fine. But not on Mojave. Running a binary that was built with wx2.8, the boxes look allright both on Mojave / High Sierra. I guess I should file a bug report?

Any help / pointers much appreciated.

Thanks

Re: wxStaticBox appearance on Mac OX 10.14 Mojave

Posted: Tue Sep 03, 2019 2:41 pm
by ONEEYEMAN
Hi,
Is there a native OSX application that can show the static box?
Can you open it and see if it has the same issue?

Thank you.

Re: wxStaticBox appearance on Mac OX 10.14 Mojave

Posted: Tue Sep 10, 2019 7:42 am
by bobgladstone
I made a Cocoa test app in Xcode. Looks normal.

I have an update: I ran the problematic application on my friends Mojave box, works as expected. :shock:

Re: wxStaticBox appearance on Mac OX 10.14 Mojave

Posted: Tue Sep 10, 2019 2:12 pm
by ONEEYEMAN
Hi,
What theme do you have on your machine?

Thank you.