Explicitly reject the use of wxTE_PASSWORD in generic wxSpinCtrl.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 30 Aug 2012 20:25:24 +0000 (20:25 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 30 Aug 2012 20:25:24 +0000 (20:25 +0000)
commit9ecc6bc2f1559a5adc988f4e5c408a5c450a491c
treeb9359e535f657e9e149a78d6292bdf97631c0636
parent9bd25c86704221bb5cf6cbe56b1b593120902ac7
Explicitly reject the use of wxTE_PASSWORD in generic wxSpinCtrl.

wxTE_PASSWORD has the same value as wxALIGN_CENTRE_VERTICAL which could be
implicitly specified as part of wxALIGN_CENTRE, but should never be used with
wxSpinCtrl, so explicitly filter it out when creating the associated
wxTextCtrl.

Closes #14452.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/generic/spinctlg.cpp