Merge pull request #390 from RobinD42/fix-issue373-part2

The proper slot name is __ne__, not __neq__
This commit is contained in:
Robin Dunn
2017-06-10 17:23:03 -07:00
committed by GitHub

View File

@@ -45,7 +45,7 @@ def run():
c.addCppMethod('bool', '__eq__', '(const wxTreeItemId& other)', """\
return *self == *other;
""")
c.addCppMethod('bool', '__neq__', '(const wxTreeItemId& other)', """\
c.addCppMethod('bool', '__ne__', '(const wxTreeItemId& other)', """\
return *self != *other;
""")