wxStaticBox appearance on Mac OX 10.14 Mojave

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
bobgladstone
In need of some credit
In need of some credit
Posts: 2
Joined: Mon Sep 02, 2019 9:54 am

wxStaticBox appearance on Mac OX 10.14 Mojave

Post by bobgladstone » Mon Sep 02, 2019 10:12 am

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
Attachments
Screenshot 2019-09-02 at 11.25.54.png

ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 3408
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: wxStaticBox appearance on Mac OX 10.14 Mojave

Post by ONEEYEMAN » Tue Sep 03, 2019 2:41 pm

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.

bobgladstone
In need of some credit
In need of some credit
Posts: 2
Joined: Mon Sep 02, 2019 9:54 am

Re: wxStaticBox appearance on Mac OX 10.14 Mojave

Post by bobgladstone » Tue Sep 10, 2019 7:42 am

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:

ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 3408
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: wxStaticBox appearance on Mac OX 10.14 Mojave

Post by ONEEYEMAN » Tue Sep 10, 2019 2:12 pm

Hi,
What theme do you have on your machine?

Thank you.

Post Reply