]> git.saurik.com Git - wxWidgets.git/commit
Fixed the equality and inequality operators for some of the basic
authorRobin Dunn <robin@alldunn.com>
Fri, 31 Mar 2006 23:29:39 +0000 (23:29 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 31 Mar 2006 23:29:39 +0000 (23:29 +0000)
commit1fce4e96684d8709038e18dc3fc0ac6414e058e8
tree42ba7184c47d8a04695ee23cb3c496e7a6f3b901
parent8948306f7868ceea54691f31209c9daf3882be1d
Fixed the equality and inequality operators for some of the basic
data types (wx.Point, wx.Size, wx.Colour, etc.) to no longer raise a
TypeError if the compared object is not compatible, but to just return
a boolean as expected.  For example::

  wx.Colour(64,0,64) == 123      ==> False

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
wxPython/src/_colour.i
wxPython/src/_defs.i
wxPython/src/_gbsizer.i
wxPython/src/_gdicmn.i
wxPython/src/grid.i