]> git.saurik.com Git - wxWidgets.git/commit
Correct bug in the wxSpinCtrlGeneric sub-controls resizing.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 25 Dec 2010 13:46:23 +0000 (13:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 25 Dec 2010 13:46:23 +0000 (13:46 +0000)
commit6f0b6fd1e4b5b2633e1f34c54c8d4f4e5da98637
tree0e00bf5905c80c37f49930d1b9d742363937139b
parent325641898272f1d9380ffe877bc27569fcf758bf
Correct bug in the wxSpinCtrlGeneric sub-controls resizing.

The code in DoMoveWindow() didn't account for the margin and made the text
control part of the window too large resulting in the truncation of the spin
button.

Simply remember to take margin into account when computing the text width.

See #12767.

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