From 15c6269f891b8a743b1440d9fa6881a0dd88a729 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 1 Feb 2007 00:26:28 +0000 Subject: [PATCH] document wxNewId() as being deprecated git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/function.tex | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex index 3f35029b21..5882a03c7f 100644 --- a/docs/latex/wx/function.tex +++ b/docs/latex/wx/function.tex @@ -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}