raise NotImplemented from static methods too

This commit is contained in:
Robin Dunn
2018-10-10 10:37:35 -07:00
parent 9327e74980
commit 3e37ca2344

View File

@@ -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):