]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/wx.i
A better way to handle the OOR wxPyListCtrl --> wxLIstCtrl thing
[wxWidgets.git] / wxPython / src / wx.i
index 30dcfe2d2b9fe81fa194a9dcbb0f19ef4ac01aa7..da1553eb921e525f19e2b8be5e0be1f4a434fa87 100644 (file)
@@ -231,6 +231,14 @@ static wxPyCoreAPI API = {
     initstreamsc();
     initfilesysc();
 
+
+    PyDict_SetItemString(d,"wxMAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
+    PyDict_SetItemString(d,"wxMINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
+    PyDict_SetItemString(d,"wxRELEASE_NUMBER", PyInt_FromLong((long)wxRELEASE_NUMBER ));
+    PyDict_SetItemString(d,"wxVERSION_NUMBER", PyInt_FromLong((long)wxVERSION_NUMBER ));
+    PyDict_SetItemString(d,"wxVERSION_STRING", PyString_FromString(wxVERSION_STRING));
+
+
 %}
 
 //----------------------------------------------------------------------