]> git.saurik.com Git - wxWidgets.git/commitdiff
Add items to wx.PlatformInfo for mac core graphics and native toolbar
authorRobin Dunn <robin@alldunn.com>
Fri, 8 Sep 2006 20:05:19 +0000 (20:05 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 8 Sep 2006 20:05:19 +0000 (20:05 +0000)
build status

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/helpers.cpp

index 6b7225f01d3bf5b40d31db76bc42760f02219850..e7326368cee096856ab8e8d754960ce2185c9231 100644 (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);