#define __version__ "0.0.0" // The real value is now in setup.py...
-wxPoint wxPyDefaultPosition;
-wxSize wxPyDefaultSize;
+%readonly
+wxPoint wxDefaultPosition;
+wxSize wxDefaultSize;
+%readwrite
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
SWIG_addvarlink,
SWIG_newvarlink,
- wxPySaveThread,
- wxPyRestoreThread,
+ wxPyBeginBlockThreads,
+ wxPyEndBlockThreads,
+
wxPyConstructObject,
wxPy_ConvertList,
wxRect_helper,
wxColour_helper,
- wxPyCBH_setSelf,
+ wxPyCBH_setCallbackInfo,
wxPyCBH_findCallback,
wxPyCBH_callCallback,
wxPyCBH_callCallbackObj,
wxPyCBH_delete,
+
+ wxPyClassExists,
+ wxPyMake_wxObject,
+ wxPyPtrTypeMap_Add,
};
+
%}
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));
+
+
%}
//----------------------------------------------------------------------