Hi all, The COLOR4D_PICKER_DLG has not been working on macOS [1].
Through some experimentation, I found that drawing to a wxBitmap in createRGBBitmap() / createHSVBitmap() just doesn't work on macOS. I am not sure how to fix it, but I did find out that drawing to a wxImage works just fine, so in the attached patch I switch those two methods to use wxImage. If anyone can figure out why the wxBitmap stuff works on Windows/Linux but not macOS, maybe there is a simpler way to fix this, but if not, the patch could be a good workaround (maybe it's a wx bug?) -Jon [1] https://bugs.launchpad.net/kicad/+bug/1718389
0001-Use-wxImage-instead-of-wxBitmap-in-COLOR4D-picker-Fi.patch
Description: Binary data
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

