diff --git a/etg/propgridiface.py b/etg/propgridiface.py index ae948e71..ce169cd3 100644 --- a/etg/propgridiface.py +++ b/etg/propgridiface.py @@ -99,7 +99,7 @@ def run(): return sipGetState(sipTransferObj); } else if (sipPy == Py_None) { - *sipCppPtr = new wxPGPropArgCls(reinterpret_cast< wxPGProperty * >(NULL)); + *sipCppPtr = new wxPGPropArgCls(static_cast< wxPGProperty * >(NULL)); return sipGetState(sipTransferObj); } else {