Respect styles translated to WS_EX_XXX in wxMSW wxCheckBox and wxRadioButton.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 23 Sep 2012 22:47:52 +0000 (22:47 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 23 Sep 2012 22:47:52 +0000 (22:47 +0000)
commit687823a157c6bbec7e6911afef361c5283dd960b
tree3fea0b8a068ed966eae86fbfac46bd84313e2a2e
parent863dc042daf50d6a4eff0320208617f226ef92f0
Respect styles translated to WS_EX_XXX in wxMSW wxCheckBox and wxRadioButton.

Take into account the window styles that translate to extended Windows styles
at MSW level.

Also override MSWGetStyle() in these classes, just as in most (all?) other
ones, for consistency instead of doing wx-to-MSW styles translation directly
in Create().

Notice that as a side effect of this change, border styles now work for
wxCheckBox which wasn't the case before. It's not clear if this is really
wanted but OTOH there doesn't seem to be any real reason to forbid them
neither.

Closes #14674.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/msw/checkbox.h
src/msw/checkbox.cpp
src/msw/radiobut.cpp