mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 20:40:11 +01:00
raise NotImplemented from static methods too
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user