Add support for id ranges to XRC.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Nov 2010 14:00:59 +0000 (14:00 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Nov 2010 14:00:59 +0000 (14:00 +0000)
commit0526c8cc07ac02aeb1d95afecfa0d9201a8ddea0
tree7f887e70615776b73f93b2744e1fb77fcc59c14b
parent1f6ea93556fb59e6d8f50af1f36ddb16b5a0dc33
Add support for id ranges to XRC.

Allow to declare ranges of consecutive IDs in XRC by using the "id[n]" syntax.
Show this functionality in the xrc sample and test it in the new unit test.

Also show and test the "object reference" XRC functionality.

Closes #11431.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
37 files changed:
docs/changes.txt
docs/doxygen/overviews/xrc_format.h
include/wx/xrc/xmlres.h
samples/xrc/Makefile.in
samples/xrc/derivdlg.h
samples/xrc/makefile.bcc
samples/xrc/makefile.gcc
samples/xrc/makefile.unx
samples/xrc/makefile.vc
samples/xrc/makefile.wat
samples/xrc/myframe.cpp
samples/xrc/myframe.h
samples/xrc/objrefdlg.cpp [new file with mode: 0644]
samples/xrc/objrefdlg.h [new file with mode: 0644]
samples/xrc/rc/menu.xrc
samples/xrc/rc/objref.xrc [new file with mode: 0644]
samples/xrc/rc/objrefdlg.xpm [new file with mode: 0644]
samples/xrc/rc/toolbar.xrc
samples/xrc/xrcdemo.bkl
samples/xrc/xrcdemo.cpp
samples/xrc/xrcdemo.dsp
samples/xrc/xrcdemo.h
samples/xrc/xrcdemo_vc7.vcproj
samples/xrc/xrcdemo_vc8.vcproj
samples/xrc/xrcdemo_vc9.vcproj
src/xrc/xmlres.cpp
tests/Makefile.in
tests/makefile.bcc
tests/makefile.gcc
tests/makefile.vc
tests/makefile.wat
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/xml/xrctest.cpp [new file with mode: 0644]