[wx-dev] menu items id clashes

Robin Dunn robin at alldunn.com
Wed Jan 10 17:19:39 PST 2007


Vadim Zeitlin wrote:

>  I had changed the control creation code to use negative ids (via wxWindow::
> NewControlId()) a long time ago but I had no idea that the menu items still
> used positive ids. I've fixed this for now by using NewControlId() in
> wxMenuItem ctor 

I seem to recall that one of the platforms has (or at least used to 
have) problems with negative menu ids, and will assert if you use one. 
Is that still the case?

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wx-dev mailing list