]> git.saurik.com Git - wxWidgets.git/commitdiff
document wxNewId() as being deprecated
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 1 Feb 2007 00:26:28 +0000 (00:26 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 1 Feb 2007 00:26:28 +0000 (00:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/function.tex

index 3f35029b215cd788deb17e18df5ccf31b9b0776d..5882a03c7f7859b00eed7ad5fba187fa320ef40b 100644 (file)
@@ -2919,6 +2919,12 @@ printed. Example of using it:
 
 \func{long}{wxNewId}{\void}
 
+This function is deprecated as the ids generated by it can conflict with the
+ids defined by the user code, use \texttt{wxID\_ANY} to assign ids which are
+guaranteed to not conflict with the user-defined ids for the controls and menu
+items you create instead of using this function.
+
+
 Generates an integer identifier unique to this run of the program.
 
 \wxheading{Include files}