don't use reinterpret_cast in wxPGPropArgCls

This commit is contained in:
Robin Dunn
2019-11-21 14:07:28 -08:00
parent 77de080f70
commit 2dc1d7974e

View File

@@ -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 {