comparisons to wx.NULL

I have some old comparisons in my code that use wx.NULL from the old wxPython.wx namespace. For example

if self.GetParent == wx.NULL:

Should these just be changed to a comparison against None with 2.5.1.5?

if self.GetParent() == None:

ka

Kevin Altis wrote:

I have some old comparisons in my code that use wx.NULL from the old wxPython.wx namespace. For example

if self.GetParent == wx.NULL:

Should these just be changed to a comparison against None with 2.5.1.5?

if self.GetParent() == None:

I've been doing that for such things for a while with no ill effects that I can see. I think that's the way it's supposed to work now (somewhere in the back of my mind i seem to recall reading about that ... nah, somebody cleaned out back there. It's gone.)

... A closet full of courteous anxieties is of dubious comfort.