From: "Mattia Barbon" <[EMAIL PROTECTED]>
Octavian Rasnita wrote:
I also asked on another mailing list, and a list member told me:

"When you were compiling wxWidgets, did you enable the accessibility flag? You can do this in one of two ways.
1.  remove the comment that says "enable accessibility" in wx.h
2. If you are building wxWidgets with MinGW, you can add the accessibility flag to the build command
make -f makefile.gcc accessibility=1
or if you are using Msys you could add the flag like so
--enable access
to your other command flags."

Well, I have also installed WxPerl and Alien::wxWidgets from WxPerl repository and I don't know if those flags were used to compile wxWidgets.

So the checkboxes work fine, but the screen reader can't detect if they are on or off when arrowing up or down the list. That's why I thought that they are not displayed.

I don't know if compiling wxWidgets with those flags would make CheckListBoxes more accessible, but they should be if wxWidgets uses the standard Windows control, because the same control is very accessible when using Win32::GUI, and it also uses the standard Win32 controls.

  I think Win32::GUI might be using a different native control
(a ListView with LVS_EX_CHECKBOXES style).

Yes, most probably. I have also first tried to find the option to use check boxes in a Wx::ListView because the ListView under Win32::GUI can have check boxes. Does wxWidgets offer support for checkboxes in a Wx::ListView? I think that if it does, it might use the same control under Windows like Win32::GUI.

If it doesn't, is there a way of using a native control like the one you told about in an application that uses WxPerl?

Does anyone know if wxWidgets were compiled using those flags I told about above?

  wxPerl was not compiled with those flags, but I doubt it would help
in your case.  I will enable it for the next Alien::wxWidgets release
just in case.

Thank you. I think those flags won't hurt anyway and it might be helpful for other things also.

Octavian

Reply via email to