wxPython4: fix build failure

This commit is contained in:
Đoàn Trần Công Danh 2023-07-24 13:23:30 +07:00
parent 5d65e64bad
commit 99c7e72ff8

View File

@ -0,0 +1,11 @@
--- a/sip/cpp/sip_propgridwxPGPropArgCls.cpp
+++ b/sip/cpp/sip_propgridwxPGPropArgCls.cpp
@@ -317,7 +317,7 @@ static int convertTo_wxPGPropArgCls(PyOb
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 {