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}