[wxPython-users] Re: wxPython-users Digest 1 Nov 2006 11:28:27
-0000 Issue 1715
Christopher Barker
Chris.Barker at noaa.gov
Wed Nov 1 10:51:40 PST 2006
Tim Roberts wrote:
> Dialog item IDs in Windows are limited to 16 bits. 100001 is larger
> than 16 bits.
another good reason NOT to use explicit IDs -- let them be an internal
implementation detail.
If you really do have a good reason to use them (there may be one -- I
just haven't encountered it yet), let wx generate it for you:
ID = wx.NewID()
....
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the wxpython-users
mailing list