Re: wxColourDialog on the Mac, returning zeros for RGB values, anyone else noticed any issues?

Vadim Zeitlin <[email protected]> Mon, 8 Dec 2025 17:19:37 +0100
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
On Mon, 8 Dec 2025 04:25:44 -0800 (PST) Tony Kennedy wrote:

TK> Using wx 3.3.0 on MacOS (latest).

 Which version of macOS do you use?

TK> The dialog appears ok, and when I get the colour from the dialog, IsOK 
TK> returns true on it. But calls to GetRed etc all return zero.
TK> 
TK> Also tried wxGetColourFromUser, that's behaving the same way for me.
TK> 
TK> Strangely, it works fine when called from a different dialog.

 Also, can the problem be reproduced in the dialogs sample?

TK> Anyone else experienced anything strange like this?

 No, but it looks somewhat similar to this bug:

	https://github.com/wxWidgets/wxWidgets/issues/26017

so I wonder if something could have changed in macOS 26 to break our use of
the standard dialogs.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
              https://www.tt-solutions.com/
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQQx+vLQdOwioQqkxtoG6kHeT2wehgUCaTb6mQAKCRAG6kHeT2we
hixLAJ43STtknMTtQ9db6SHgFUxiXQB9rQCgkEouIyvrYZ8+GmTnmuL7nlBxV1c=
=T9fc
-----END PGP SIGNATURE-----