Make the margin between wxSpinCtrlGeneric sub-windows compatible with MSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 25 Dec 2010 13:46:29 +0000 (13:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 25 Dec 2010 13:46:29 +0000 (13:46 +0000)
commit3013861102292eb82391e361bee1dc090783c653
tree2e9f13c1ca630e97089e36e031c0ed0612623ba9
parent6f0b6fd1e4b5b2633e1f34c54c8d4f4e5da98637
Make the margin between wxSpinCtrlGeneric sub-windows compatible with MSW.

Native MSW wxSpinCtrl uses a single pixel margin between the text part and the
spin button while the generic version used 2 pixels which resulted in a
slightly different appearance (see #12767).

Use the same margin as MSW now in the generic version too, it should be fine
for the other platforms as well and if it isn't we can always tweak them
later.

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