Update wxSpinCtrlDouble::m_digits in its SetDigits().
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 22 Jul 2010 12:16:19 +0000 (12:16 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 22 Jul 2010 12:16:19 +0000 (12:16 +0000)
commit9bce7b7b134224a3bc8c4a47c1be630b2759049b
tree6996185c886592d26babf97fed083eb8590c4d30
parent888cb61e21a3a12ca2fc0873dd26af57ca60caa1
Update wxSpinCtrlDouble::m_digits in its SetDigits().

We need to update the internally stored information about the number of digits
we use and not just update the control appearance accordingly.

Also don't do anything at all when the number of digits didn't really change.

Closes #12260.

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