From 8008ba04721f1f5f3b6958dcff723bc8a1a14017 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 10 Jun 2017 11:47:06 -0700 Subject: [PATCH] The proper slot name is __ne__, not __neq__ --- etg/treectrl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etg/treectrl.py b/etg/treectrl.py index 933d4b3c..c8fda157 100644 --- a/etg/treectrl.py +++ b/etg/treectrl.py @@ -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; """)