May be I missed the reason that NewId was given its marching orders into the dustbin of history but I am a loss as to why something used by so many, in so much code, which will involve so much code checking and testing has been changed.
Loading up 4.0.3 I now have
wx.NewId() - no deprecated warning and still working happily
wx.NewIdRef().GetId() - A high negative number incrementing towards 0
wx.Window.NewControlId() - which looks like a reference to wx.NewRefId
Given that NewId still works and does not issue a deprecation error, I am safe to keep using it or will it stop working in the future with the same ruthlessness that it joined the culled group of commands? If so, which of the 2 new options should I use as a drop in replacement?
The issue that I have with NewRefId is that it is negative, so when one creates a Bind command that utilises by "id" and "id2"
such as
self.Bind(wx.EVT_MENU, self.OnAutoTimeStamp, id=TIMESTAMP_OFF,id2=TIMESTAMP_COMMENT)
previously, using NewId one got positive numbers that worked smoothly with this feature.
Now the Id's have to be assigned backwards because of the negative number issue, it is counter intuitve.
Rant Over!
Regards
Rolf