Never enable wxSpinCtrlGenericBase window itself at underlying toolkit level.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 13 May 2010 15:31:35 +0000 (15:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 13 May 2010 15:31:35 +0000 (15:31 +0000)
commit3f77c76cc9b0c59a8dd7f3117cf80343ad3be206
treed871c8980fd2fbd4481bdc721ad1820515ba182c
parentca288f2afe1f31e6135dffc559ddd8b86d1d386e
Never enable wxSpinCtrlGenericBase window itself at underlying toolkit level.

We create wxSpinCtrlGenericBase window disabled at underlying toolkit level
(but enabled at the level of wxWidgets API, of course), but calling Disable()
and Enable() on it re-enabled it resulting in loss of mouse events under
Windows.

Don't re-enable it (again, at the low-level toolkit level only) in its
Enable() any more but keep this window itself always disabled.

Closes #12045.

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