Add items to wx.PlatformInfo for mac core graphics and native toolbar
build status git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -715,7 +715,19 @@ PyObject* __wxPySetDictionary(PyObject* /* self */, PyObject* args)
|
|||||||
_AddInfoString("wx-assertions-off");
|
_AddInfoString("wx-assertions-off");
|
||||||
#endif
|
#endif
|
||||||
_AddInfoString(wxPy_SWIG_VERSION);
|
_AddInfoString(wxPy_SWIG_VERSION);
|
||||||
|
#ifdef __WXMAC__
|
||||||
|
#if wxMAC_USE_CORE_GRAPHICS
|
||||||
|
_AddInfoString("mac-cg");
|
||||||
|
#else
|
||||||
|
_AddInfoString("mac-qd");
|
||||||
|
#endif
|
||||||
|
#if wxMAC_USE_NATIVE_TOOLBAR
|
||||||
|
_AddInfoString("mac-native-tb");
|
||||||
|
#else
|
||||||
|
_AddInfoString("mac-no-native-tb");
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#undef _AddInfoString
|
#undef _AddInfoString
|
||||||
|
|
||||||
PyObject* PlatInfoTuple = PyList_AsTuple(PlatInfo);
|
PyObject* PlatInfoTuple = PyList_AsTuple(PlatInfo);
|
||||||
|
Reference in New Issue
Block a user