projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d265ec6
)
Correct the misleading example of using id ranges in XRC documentation.
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Fri, 4 Nov 2011 17:41:20 +0000
(17:41 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Fri, 4 Nov 2011 17:41:20 +0000
(17:41 +0000)
"range[end]" is the last id in the range, inclusive, not the first id after it
so any loops iterating over all ids in the range should cover it as well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69664
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
docs/doxygen/overviews/xrc_format.h
patch
|
blob
|
blame
|
history
diff --git
a/docs/doxygen/overviews/xrc_format.h
b/docs/doxygen/overviews/xrc_format.h
index bd7f0e659bb7ba2426780cd2b81edce71f0c7508..677bb9e83fd809acdf3ffd2f6a77f299316efda2 100644
(file)
--- a/
docs/doxygen/overviews/xrc_format.h
+++ b/
docs/doxygen/overviews/xrc_format.h
@@
-2147,7
+2147,7
@@
Whether a range has positive or negative IDs, [start] is always a smaller
number than [end]; so code like this works as expected:
@code
-for (int n=XRCID("foo[start]"); n < XRCID("foo[end]"); ++n)
+for (int n=XRCID("foo[start]"); n <
=
XRCID("foo[end]"); ++n)
...
@endcode