Add wxSpinCtrl::SetBase() to allow entering hexadecimal numbers.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 30 Aug 2012 20:24:38 +0000 (20:24 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 30 Aug 2012 20:24:38 +0000 (20:24 +0000)
commit9e565667d0f29605c948ad6e742310798e3b2d0d
tree13c2c2f8820b50b49c3c39baa0e8fa8cf751ca84
parent36090ae57eff3e53cd74f504aaaa727b3bdb6ac8
Add wxSpinCtrl::SetBase() to allow entering hexadecimal numbers.

Add a generic SetBase() API even though right now only bases 10 and 16 are
supported as we might support other ones (e.g. 8?) in the future. Implement it
for MSW, GTK and generic versions.

Add controls allowing to test this feature to the widgets sample.

Add "base" property support to the XRC handler for wxSpinCtrl, document it and
test it in the xrc sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
14 files changed:
docs/changes.txt
docs/doxygen/overviews/xrc_format.h
include/wx/generic/spinctlg.h
include/wx/gtk/spinctrl.h
include/wx/msw/spinctrl.h
include/wx/spinctrl.h
interface/wx/spinctrl.h
samples/widgets/spinbtn.cpp
samples/xrc/rc/controls.xrc
src/common/spinctrlcmn.cpp
src/generic/spinctlg.cpp
src/gtk/spinctrl.cpp
src/msw/spinctrl.cpp
src/xrc/xh_spin.cpp