From: Robin Dunn Date: Fri, 8 Sep 2006 20:05:19 +0000 (+0000) Subject: Add items to wx.PlatformInfo for mac core graphics and native toolbar X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/04a1f76c2aa92e15a923d67e01de2373f46d4568 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 --- diff --git a/wxPython/src/helpers.cpp b/wxPython/src/helpers.cpp index 6b7225f01d..e7326368ce 100644 --- a/wxPython/src/helpers.cpp +++ b/wxPython/src/helpers.cpp @@ -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);