+ tval = (char *) PyString_AsString(val);
+ if (PyErr_Occurred()) {
+ PyErr_SetString(PyExc_TypeError,"C variable 'wxPyDefaultPosition'(wxPoint *)");
+ return 1;
+ }
+ if (tval) {
+ if (SWIG_GetPtr(tval,(void **) &temp,"_wxPoint_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in value of wxPyDefaultPosition. Expected _wxPoint_p.");
+ return 1;
+ }
+ }
+ wxPyDefaultPosition = *temp;
+ return 0;