wxDCOverlay not working on MacOS

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
yves31
In need of some credit
In need of some credit
Posts: 8
Joined: Fri Dec 04, 2015 6:15 pm

wxDCOverlay not working on MacOS

Post by yves31 » Tue Apr 14, 2020 6:54 am

I am not sure if this is a known issue. wxDCOverlay is not working on MacOS platform (10.12-10.15) with wxWidgets 3.1.1-3. You can observe the issue with the drawing sample in samples folder. Nothing is shown on screen when I trying to draw a rectangle selection.

Owner draw control seems to be broken as well on MacOS. There is no issue on drawing sample with Windows and Linux ports.

Thanks for your help.

PB
Part Of The Furniture
Part Of The Furniture
Posts: 2387
Joined: Sun Jan 03, 2010 5:45 pm

Re: wxDCOverlay not working on MacOS

Post by PB » Tue Apr 14, 2020 6:57 am

(I do not use MacOS, but I remember seeing this mentioned)

I believe it is a known issue, see e.g. comment 6 here
https://trac.wxwidgets.org/ticket/18399#comment:6
Last edited by catalin on Tue Apr 14, 2020 9:00 am, edited 1 time in total.
Reason: made link more precise

yves31
In need of some credit
In need of some credit
Posts: 8
Joined: Fri Dec 04, 2015 6:15 pm

Re: wxDCOverlay not working on MacOS

Post by yves31 » Tue Apr 14, 2020 6:46 pm

Thanks for pointing out the link. That's exactly what the wxdcoverlay issue is.
The other issue is custom control on a dialog box. I use such control to draw some diagrams on dialog box or wizard panel. It works on macos with wxWidgets 3.0, but not any more on 3.1.x. Diagrams don't appear at all.

Post Reply