Will successive calls of wxNewId() return successive IDs?

Vadim Zeitlin vadim at wxwindows.org
Thu Feb 1 04:19:40 PST 2007


[please don't cc me messages sent to the list, thanks]

On Thu, 1 Feb 2007 11:41:27 +0100 Andreas Mohr <andi at rhlx01.fht-esslingen.de> wrote:

AM> Oh BTW, I've also never heard of NewControlId() before, wonder why?

 Not really. As I said in my latest (before this one, that is) reply in
this thread, I was wrong to say that you should replace wxNewId() calls
with NewControlId(). In fact, you should replace wxNewId() calls with just
using wxID_ANY and let wxWidgets use NewControlId() internally, it's not
meant to be called by the user code anyhow.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list