Improve composite flags handling in the property grid wxFlagsProperty.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 15 Sep 2013 00:14:41 +0000 (00:14 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 15 Sep 2013 00:14:41 +0000 (00:14 +0000)
commit0d17c5b66a4cea4b687243d7b0ee95ff1a5fe924
tree9cadd1fca866afca8d4f94d7cca29bbbccfce9af
parent88ff049184c77fd73b60c01f4f831860d2ec5cef
Improve composite flags handling in the property grid wxFlagsProperty.

Don't consider that a flag is on just because one of its bits is enabled in
the current flags, for the composite flags (e.g. something like "BOTH = ONE |
TWO") all the bits composing the flag must be on for it to be enabled.

Closes #15499.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
src/propgrid/props.cpp