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:
Robin Dunn 2006-09-08 20:05:19 +00:00
parent 97b2445934
commit 04a1f76c2a

View File

@ -715,7 +715,19 @@ PyObject* __wxPySetDictionary(PyObject* /* self */, PyObject* args)
_AddInfoString("wx-assertions-off");
#endif
_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
PyObject* PlatInfoTuple = PyList_AsTuple(PlatInfo);