Re: wxUSE_ACCESSIBILITY and clang-cl
Vadim Zeitlin <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 12 Dec 2023 05:45:52 -0800 (PST) Gisle Vanem wrote:
GV> Hi list, my 1st post here.
Hi and welcome to the list!
GV> So I'm forced to use clang-cl.
But how exactly do you use it? Do you still use nmake?
GV> This works for all files in this project.
GV> Except that these files:
GV> https://github.com/drowe67/freedv-gui/blob/master/src/gui/util/LabelOverrideAccessible.cpp
GV> https://github.com/drowe67/freedv-gui/blob/master/src/gui/util/NameOverrideAccessible.cpp
GV>
GV> pre-processes to almost nothing! Studying the preprocessed output
GV> (with clang-cl -E -C -d1PP), I see that it contains:
GV>
GV> // Recommended setting (at present): 1 (MSW-only)
GV> #define wxUSE_ACCESSIBILITY 0
GV>
GV> Why and how could I prevent that?
I suspect you're actually using configure now and this option has somehow
ended up being as 0 in the setup.h file generated by configure. It's not
clear to me why/how this happened (please check your config.log to try to
find more details), but you may retry by passing --enable-accessibility
option explicitly to configure and check if it helps (it actually should
_not_, because accessibility support should be enabled by default when
using wxMSW, but it doesn't cost much to try).
If this doesn't answer your question, you really need to provide more
details about what you're doing, i.e. at the very least
- Your wxWidgets version.
- How exactly do you build it.
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+vLQdOwioQqkxtoG6kHeT2wehgUCZXhwOwAKCRAG6kHeT2we hsq1AJ42F01L2Etat75stVzAJrrF1pCkhACfRnau22zFzhiA5jFYdk0x9I3Zvjs= =66Ip -----END PGP SIGNATURE-----