]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/doxygen/overviews/xrc_format.h
When the focus object changes, the old selection should be
[wxWidgets.git] / docs / doxygen / overviews / xrc_format.h
index bd7f0e659bb7ba2426780cd2b81edce71f0c7508..677bb9e83fd809acdf3ffd2f6a77f299316efda2 100644 (file)
@@ -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