]> git.saurik.com Git - wxWidgets.git/commit - src/msw/statbox.cpp
Correct drawing of mnemonics in wxStaticBox label under wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 21 Sep 2010 11:44:47 +0000 (11:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 21 Sep 2010 11:44:47 +0000 (11:44 +0000)
commitb4607e897c31cd59c5ede98c3b5b5d3910902930
tree941d5b5a4441922dfd44c4f2f379826aec670879
parent2af006ebd3e223ce17ea47eb9306ab96336c6a2e
Correct drawing of mnemonics in wxStaticBox label under wxMSW.

Only show the mnemonics if they need to be shown, i.e. use the same logic as
the standard controls use, to avoid showing mnemonics in wxStaticBox with
custom label colour even when other wxStaticBoxes don't show it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
samples/widgets/static.cpp
src/msw/statbox.cpp