From 3e37ca2344c71c966f13924403e76d833b374703 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 10 Oct 2018 10:37:35 -0700 Subject: [PATCH] raise NotImplemented from static methods too --- etgtools/tweaker_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etgtools/tweaker_tools.py b/etgtools/tweaker_tools.py index 324e337f..52056ccd 100644 --- a/etgtools/tweaker_tools.py +++ b/etgtools/tweaker_tools.py @@ -1369,7 +1369,7 @@ def _generateMethodStub(code, method, typeValMap): if not method.isPureVirtual: impl = ' { ' - if method.isCtor: + if method.isCtor or method.isStatic: impl += 'wxPyRaiseNotImplemented(); ' if not (method.isCtor or method.isDtor):