]> git.saurik.com Git - wxWidgets.git/commit - interface/wx/validate.h
Add wxIntegerValidator and wxFloatingPointValidator classes.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 19 Jan 2011 10:48:28 +0000 (10:48 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 19 Jan 2011 10:48:28 +0000 (10:48 +0000)
commita54cf37118275c43cf03beb9a8960bba0d8a957c
tree30b2717a6a4170a85e725e28d5525d0c79423244
parent0d30c79b4450b5e5960d4f945b18c0a2287f7045
Add wxIntegerValidator and wxFloatingPointValidator classes.

Add validators for integer and floating point numbers.

Add an example of their use to the validate sample as well as a new unit test
and documentation for them.

Use the new classes instead of wxTextValidator in wxGrid code.

Closes #12166.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
34 files changed:
Makefile.in
build/bakefiles/files.bkl
build/msw/makefile.bcc
build/msw/makefile.gcc
build/msw/makefile.vc
build/msw/makefile.wat
build/msw/wx_core.dsp
build/msw/wx_vc7_core.vcproj
build/msw/wx_vc8_core.vcproj
build/msw/wx_vc9_core.vcproj
docs/changes.txt
docs/doxygen/mainpages/cat_classes.h
docs/doxygen/overviews/validator.h
include/wx/valnum.h [new file with mode: 0644]
interface/wx/valgen.h
interface/wx/validate.h
interface/wx/valnum.h [new file with mode: 0644]
interface/wx/valtext.h
samples/validate/validate.cpp
samples/validate/validate.h
src/common/valnum.cpp [new file with mode: 0644]
src/generic/grideditors.cpp
tests/Makefile.in
tests/makefile.bcc
tests/makefile.gcc
tests/makefile.vc
tests/makefile.wat
tests/strings/numformatter.cpp
tests/test.bkl
tests/test_test_gui.dsp
tests/test_vc7_test_gui.vcproj
tests/test_vc8_test_gui.vcproj
tests/test_vc9_test_gui.vcproj
tests/validators/valnum.cpp [new file with mode: 0644]