mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 04:20:07 +01:00
Add sip version to wx.PlatformInfo
This commit is contained in:
@@ -203,6 +203,11 @@ void wxPyCoreModuleInject(PyObject* moduleDict)
|
||||
_AddInfoString("autoidman");
|
||||
#endif
|
||||
|
||||
wxString sip_version = wxString("sip-") + wxString(SIP_VERSION_STR);
|
||||
obj = wx2PyString(sip_version);
|
||||
PyList_Append(PlatformInfo, obj);
|
||||
Py_DECREF(obj);
|
||||
|
||||
#undef _AddInfoString
|
||||
|
||||
PyObject* PlatformInfoTuple = PyList_AsTuple(PlatformInfo);
|
||||
|
||||
Reference in New Issue
Block a user