2 * FILE : src/msw/utils.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initutilsc
56 #define SWIG_name "utilsc"
59 #include <wx/config.h>
60 #include <wx/fileconf.h>
61 #include <wx/datetime.h>
64 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
70 } else if (target
== Py_None
) {
74 if (!PyTuple_Check(target
)) {
76 target
= PyTuple_New(1);
77 PyTuple_SetItem(target
, 0, o2
);
80 PyTuple_SetItem(o3
, 0, o
);
83 target
= PySequence_Concat(o2
, o3
);
90 #if PYTHON_API_VERSION >= 1009
91 static char* wxStringErrorMsg
= "String or Unicode type required";
93 static char* wxStringErrorMsg
= "String type required";
96 static wxString
wxPyEmptyStr("");
98 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
99 PyObject
* ret
= PyTuple_New(3);
101 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
102 PyTuple_SET_ITEM(ret
, 1, PyString_FromString(str
));
103 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
108 #define LOCAL *(new wxDateTime::TimeZone(wxDateTime::Local))
112 static PyObject
*_wrap_wxGetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
113 PyObject
* _resultobj
;
115 char *_kwnames
[] = { NULL
};
118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocalTime",_kwnames
))
121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
122 _result
= (long )wxGetLocalTime();
124 wxPyEndAllowThreads(__tstate
);
125 if (PyErr_Occurred()) return NULL
;
126 } _resultobj
= Py_BuildValue("l",_result
);
130 static PyObject
*_wrap_wxGetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
131 PyObject
* _resultobj
;
133 char *_kwnames
[] = { NULL
};
136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUTCTime",_kwnames
))
139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
140 _result
= (long )wxGetUTCTime();
142 wxPyEndAllowThreads(__tstate
);
143 if (PyErr_Occurred()) return NULL
;
144 } _resultobj
= Py_BuildValue("l",_result
);
148 static PyObject
*_wrap_wxGetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
149 PyObject
* _resultobj
;
151 char *_kwnames
[] = { NULL
};
154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentTime",_kwnames
))
157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
158 _result
= (long )wxGetCurrentTime();
160 wxPyEndAllowThreads(__tstate
);
161 if (PyErr_Occurred()) return NULL
;
162 } _resultobj
= Py_BuildValue("l",_result
);
166 static PyObject
*_wrap_wxGetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
167 PyObject
* _resultobj
;
168 wxLongLong
* _result
;
169 char *_kwnames
[] = { NULL
};
172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocalTimeMillis",_kwnames
))
175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
176 _result
= new wxLongLong (wxGetLocalTimeMillis());
178 wxPyEndAllowThreads(__tstate
);
179 if (PyErr_Occurred()) return NULL
;
181 PyObject
*hi
, *lo
, *shifter
, *shifted
;
182 hi
= PyLong_FromLong(_result
->GetHi());
183 lo
= PyLong_FromLong(_result
->GetLo());
184 shifter
= PyLong_FromLong(32);
185 shifted
= PyNumber_Lshift(hi
, shifter
);
186 _resultobj
= PyNumber_Or(shifted
, lo
);
195 #define delete_wxConfigBase(_swigobj) (delete _swigobj)
196 static PyObject
*_wrap_delete_wxConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
197 PyObject
* _resultobj
;
198 wxConfigBase
* _arg0
;
199 PyObject
* _argo0
= 0;
200 char *_kwnames
[] = { "self", NULL
};
203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxConfigBase",_kwnames
,&_argo0
))
206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxConfigBase. Expected _wxConfigBase_p.");
213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
214 delete_wxConfigBase(_arg0
);
216 wxPyEndAllowThreads(__tstate
);
217 if (PyErr_Occurred()) return NULL
;
218 } Py_INCREF(Py_None
);
219 _resultobj
= Py_None
;
223 static PyObject
*_wrap_wxConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
224 PyObject
* _resultobj
;
225 wxConfigBase
* _result
;
226 wxConfigBase
* _arg0
;
227 PyObject
* _argo0
= 0;
228 char *_kwnames
[] = { "pConfig", NULL
};
232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_Set",_kwnames
,&_argo0
))
235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Set. Expected _wxConfigBase_p.");
242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
243 _result
= (wxConfigBase
*)wxConfigBase::Set(_arg0
);
245 wxPyEndAllowThreads(__tstate
);
246 if (PyErr_Occurred()) return NULL
;
248 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
249 _resultobj
= Py_BuildValue("s",_ptemp
);
252 _resultobj
= Py_None
;
257 static PyObject
*_wrap_wxConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
258 PyObject
* _resultobj
;
259 wxConfigBase
* _result
;
260 bool _arg0
= (bool ) TRUE
;
261 int tempbool0
= (int) TRUE
;
262 char *_kwnames
[] = { "createOnDemand", NULL
};
266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxConfigBase_Get",_kwnames
,&tempbool0
))
268 _arg0
= (bool ) tempbool0
;
270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
271 _result
= (wxConfigBase
*)wxConfigBase::Get(_arg0
);
273 wxPyEndAllowThreads(__tstate
);
274 if (PyErr_Occurred()) return NULL
;
276 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
277 _resultobj
= Py_BuildValue("s",_ptemp
);
280 _resultobj
= Py_None
;
285 static PyObject
*_wrap_wxConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
286 PyObject
* _resultobj
;
287 wxConfigBase
* _result
;
288 char *_kwnames
[] = { NULL
};
292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxConfigBase_Create",_kwnames
))
295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
296 _result
= (wxConfigBase
*)wxConfigBase::Create();
298 wxPyEndAllowThreads(__tstate
);
299 if (PyErr_Occurred()) return NULL
;
301 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
302 _resultobj
= Py_BuildValue("s",_ptemp
);
305 _resultobj
= Py_None
;
310 static PyObject
*_wrap_wxConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
311 PyObject
* _resultobj
;
312 char *_kwnames
[] = { NULL
};
315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxConfigBase_DontCreateOnDemand",_kwnames
))
318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
319 wxConfigBase::DontCreateOnDemand();
321 wxPyEndAllowThreads(__tstate
);
322 if (PyErr_Occurred()) return NULL
;
323 } Py_INCREF(Py_None
);
324 _resultobj
= Py_None
;
328 #define wxConfigBase_DeleteAll(_swigobj) (_swigobj->DeleteAll())
329 static PyObject
*_wrap_wxConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
330 PyObject
* _resultobj
;
332 wxConfigBase
* _arg0
;
333 PyObject
* _argo0
= 0;
334 char *_kwnames
[] = { "self", NULL
};
337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_DeleteAll",_kwnames
,&_argo0
))
340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteAll. Expected _wxConfigBase_p.");
347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
348 _result
= (bool )wxConfigBase_DeleteAll(_arg0
);
350 wxPyEndAllowThreads(__tstate
);
351 if (PyErr_Occurred()) return NULL
;
352 } _resultobj
= Py_BuildValue("i",_result
);
356 #define wxConfigBase_DeleteEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteEntry(_swigarg0,_swigarg1))
357 static PyObject
*_wrap_wxConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
358 PyObject
* _resultobj
;
360 wxConfigBase
* _arg0
;
362 bool _arg2
= (bool ) TRUE
;
363 PyObject
* _argo0
= 0;
364 PyObject
* _obj1
= 0;
365 int tempbool2
= (int) TRUE
;
366 char *_kwnames
[] = { "self","key","bDeleteGroupIfEmpty", NULL
};
369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxConfigBase_DeleteEntry",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteEntry. Expected _wxConfigBase_p.");
379 #if PYTHON_API_VERSION >= 1009
380 char* tmpPtr
; int tmpSize
;
381 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
382 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
385 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
387 _arg1
= new wxString(tmpPtr
, tmpSize
);
389 if (!PyString_Check(_obj1
)) {
390 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
393 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
396 _arg2
= (bool ) tempbool2
;
398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
399 _result
= (bool )wxConfigBase_DeleteEntry(_arg0
,*_arg1
,_arg2
);
401 wxPyEndAllowThreads(__tstate
);
402 if (PyErr_Occurred()) return NULL
;
403 } _resultobj
= Py_BuildValue("i",_result
);
411 #define wxConfigBase_DeleteGroup(_swigobj,_swigarg0) (_swigobj->DeleteGroup(_swigarg0))
412 static PyObject
*_wrap_wxConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
413 PyObject
* _resultobj
;
415 wxConfigBase
* _arg0
;
417 PyObject
* _argo0
= 0;
418 PyObject
* _obj1
= 0;
419 char *_kwnames
[] = { "self","key", NULL
};
422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_DeleteGroup",_kwnames
,&_argo0
,&_obj1
))
425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteGroup. Expected _wxConfigBase_p.");
432 #if PYTHON_API_VERSION >= 1009
433 char* tmpPtr
; int tmpSize
;
434 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
435 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
438 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
440 _arg1
= new wxString(tmpPtr
, tmpSize
);
442 if (!PyString_Check(_obj1
)) {
443 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
446 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
451 _result
= (bool )wxConfigBase_DeleteGroup(_arg0
,*_arg1
);
453 wxPyEndAllowThreads(__tstate
);
454 if (PyErr_Occurred()) return NULL
;
455 } _resultobj
= Py_BuildValue("i",_result
);
463 #define wxConfigBase_Exists(_swigobj,_swigarg0) (_swigobj->Exists(_swigarg0))
464 static PyObject
*_wrap_wxConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
465 PyObject
* _resultobj
;
467 wxConfigBase
* _arg0
;
469 PyObject
* _argo0
= 0;
470 PyObject
* _obj1
= 0;
471 char *_kwnames
[] = { "self","strName", NULL
};
474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_Exists",_kwnames
,&_argo0
,&_obj1
))
477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Exists. Expected _wxConfigBase_p.");
484 #if PYTHON_API_VERSION >= 1009
485 char* tmpPtr
; int tmpSize
;
486 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
487 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
490 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
492 _arg1
= new wxString(tmpPtr
, tmpSize
);
494 if (!PyString_Check(_obj1
)) {
495 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
498 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
503 _result
= (bool )wxConfigBase_Exists(_arg0
,*_arg1
);
505 wxPyEndAllowThreads(__tstate
);
506 if (PyErr_Occurred()) return NULL
;
507 } _resultobj
= Py_BuildValue("i",_result
);
515 #define wxConfigBase_Flush(_swigobj,_swigarg0) (_swigobj->Flush(_swigarg0))
516 static PyObject
*_wrap_wxConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
517 PyObject
* _resultobj
;
519 wxConfigBase
* _arg0
;
520 bool _arg1
= (bool ) FALSE
;
521 PyObject
* _argo0
= 0;
522 int tempbool1
= (int) FALSE
;
523 char *_kwnames
[] = { "self","bCurrentOnly", NULL
};
526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_Flush",_kwnames
,&_argo0
,&tempbool1
))
529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Flush. Expected _wxConfigBase_p.");
535 _arg1
= (bool ) tempbool1
;
537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
538 _result
= (bool )wxConfigBase_Flush(_arg0
,_arg1
);
540 wxPyEndAllowThreads(__tstate
);
541 if (PyErr_Occurred()) return NULL
;
542 } _resultobj
= Py_BuildValue("i",_result
);
546 #define wxConfigBase_GetAppName(_swigobj) (_swigobj->GetAppName())
547 static PyObject
*_wrap_wxConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
548 PyObject
* _resultobj
;
550 wxConfigBase
* _arg0
;
551 PyObject
* _argo0
= 0;
552 char *_kwnames
[] = { "self", NULL
};
555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetAppName",_kwnames
,&_argo0
))
558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetAppName. Expected _wxConfigBase_p.");
565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
566 _result
= new wxString (wxConfigBase_GetAppName(_arg0
));
568 wxPyEndAllowThreads(__tstate
);
569 if (PyErr_Occurred()) return NULL
;
571 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
579 static PyObject
* wxConfigBase_GetFirstGroup(wxConfigBase
*self
) {
584 cont
= self
->GetFirstGroup(value
, index
);
585 return __EnumerationHelper(cont
, value
, index
);
587 static PyObject
*_wrap_wxConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
588 PyObject
* _resultobj
;
590 wxConfigBase
* _arg0
;
591 PyObject
* _argo0
= 0;
592 char *_kwnames
[] = { "self", NULL
};
595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetFirstGroup",_kwnames
,&_argo0
))
598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetFirstGroup. Expected _wxConfigBase_p.");
605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
606 _result
= (PyObject
*)wxConfigBase_GetFirstGroup(_arg0
);
608 wxPyEndAllowThreads(__tstate
);
609 if (PyErr_Occurred()) return NULL
;
611 _resultobj
= _result
;
616 static PyObject
* wxConfigBase_GetFirstEntry(wxConfigBase
*self
) {
621 cont
= self
->GetFirstEntry(value
, index
);
622 return __EnumerationHelper(cont
, value
, index
);
624 static PyObject
*_wrap_wxConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
625 PyObject
* _resultobj
;
627 wxConfigBase
* _arg0
;
628 PyObject
* _argo0
= 0;
629 char *_kwnames
[] = { "self", NULL
};
632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetFirstEntry",_kwnames
,&_argo0
))
635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetFirstEntry. Expected _wxConfigBase_p.");
642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
643 _result
= (PyObject
*)wxConfigBase_GetFirstEntry(_arg0
);
645 wxPyEndAllowThreads(__tstate
);
646 if (PyErr_Occurred()) return NULL
;
648 _resultobj
= _result
;
653 static PyObject
* wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
) {
657 cont
= self
->GetNextGroup(value
, index
);
658 return __EnumerationHelper(cont
, value
, index
);
660 static PyObject
*_wrap_wxConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
661 PyObject
* _resultobj
;
663 wxConfigBase
* _arg0
;
665 PyObject
* _argo0
= 0;
666 char *_kwnames
[] = { "self","index", NULL
};
669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_GetNextGroup",_kwnames
,&_argo0
,&_arg1
))
672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNextGroup. Expected _wxConfigBase_p.");
679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
680 _result
= (PyObject
*)wxConfigBase_GetNextGroup(_arg0
,_arg1
);
682 wxPyEndAllowThreads(__tstate
);
683 if (PyErr_Occurred()) return NULL
;
685 _resultobj
= _result
;
690 static PyObject
* wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
) {
694 cont
= self
->GetNextEntry(value
, index
);
695 return __EnumerationHelper(cont
, value
, index
);
697 static PyObject
*_wrap_wxConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
698 PyObject
* _resultobj
;
700 wxConfigBase
* _arg0
;
702 PyObject
* _argo0
= 0;
703 char *_kwnames
[] = { "self","index", NULL
};
706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_GetNextEntry",_kwnames
,&_argo0
,&_arg1
))
709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNextEntry. Expected _wxConfigBase_p.");
716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
717 _result
= (PyObject
*)wxConfigBase_GetNextEntry(_arg0
,_arg1
);
719 wxPyEndAllowThreads(__tstate
);
720 if (PyErr_Occurred()) return NULL
;
722 _resultobj
= _result
;
727 #define wxConfigBase_GetNumberOfEntries(_swigobj,_swigarg0) (_swigobj->GetNumberOfEntries(_swigarg0))
728 static PyObject
*_wrap_wxConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
729 PyObject
* _resultobj
;
731 wxConfigBase
* _arg0
;
732 bool _arg1
= (bool ) FALSE
;
733 PyObject
* _argo0
= 0;
734 int tempbool1
= (int) FALSE
;
735 char *_kwnames
[] = { "self","bRecursive", NULL
};
738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_GetNumberOfEntries",_kwnames
,&_argo0
,&tempbool1
))
741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNumberOfEntries. Expected _wxConfigBase_p.");
747 _arg1
= (bool ) tempbool1
;
749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
750 _result
= (int )wxConfigBase_GetNumberOfEntries(_arg0
,_arg1
);
752 wxPyEndAllowThreads(__tstate
);
753 if (PyErr_Occurred()) return NULL
;
754 } _resultobj
= Py_BuildValue("i",_result
);
758 #define wxConfigBase_GetNumberOfGroups(_swigobj,_swigarg0) (_swigobj->GetNumberOfGroups(_swigarg0))
759 static PyObject
*_wrap_wxConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
760 PyObject
* _resultobj
;
762 wxConfigBase
* _arg0
;
763 bool _arg1
= (bool ) FALSE
;
764 PyObject
* _argo0
= 0;
765 int tempbool1
= (int) FALSE
;
766 char *_kwnames
[] = { "self","bRecursive", NULL
};
769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_GetNumberOfGroups",_kwnames
,&_argo0
,&tempbool1
))
772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNumberOfGroups. Expected _wxConfigBase_p.");
778 _arg1
= (bool ) tempbool1
;
780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
781 _result
= (int )wxConfigBase_GetNumberOfGroups(_arg0
,_arg1
);
783 wxPyEndAllowThreads(__tstate
);
784 if (PyErr_Occurred()) return NULL
;
785 } _resultobj
= Py_BuildValue("i",_result
);
789 #define wxConfigBase_GetPath(_swigobj) (_swigobj->GetPath())
790 static PyObject
*_wrap_wxConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
791 PyObject
* _resultobj
;
793 wxConfigBase
* _arg0
;
794 PyObject
* _argo0
= 0;
795 char *_kwnames
[] = { "self", NULL
};
798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetPath",_kwnames
,&_argo0
))
801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetPath. Expected _wxConfigBase_p.");
808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
809 _result
= new wxString (wxConfigBase_GetPath(_arg0
));
811 wxPyEndAllowThreads(__tstate
);
812 if (PyErr_Occurred()) return NULL
;
814 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
822 #define wxConfigBase_GetVendorName(_swigobj) (_swigobj->GetVendorName())
823 static PyObject
*_wrap_wxConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
824 PyObject
* _resultobj
;
826 wxConfigBase
* _arg0
;
827 PyObject
* _argo0
= 0;
828 char *_kwnames
[] = { "self", NULL
};
831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetVendorName",_kwnames
,&_argo0
))
834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetVendorName. Expected _wxConfigBase_p.");
841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
842 _result
= new wxString (wxConfigBase_GetVendorName(_arg0
));
844 wxPyEndAllowThreads(__tstate
);
845 if (PyErr_Occurred()) return NULL
;
847 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
855 #define wxConfigBase_HasEntry(_swigobj,_swigarg0) (_swigobj->HasEntry(_swigarg0))
856 static PyObject
*_wrap_wxConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
857 PyObject
* _resultobj
;
859 wxConfigBase
* _arg0
;
861 PyObject
* _argo0
= 0;
862 PyObject
* _obj1
= 0;
863 char *_kwnames
[] = { "self","strName", NULL
};
866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_HasEntry",_kwnames
,&_argo0
,&_obj1
))
869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_HasEntry. Expected _wxConfigBase_p.");
876 #if PYTHON_API_VERSION >= 1009
877 char* tmpPtr
; int tmpSize
;
878 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
879 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
882 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
884 _arg1
= new wxString(tmpPtr
, tmpSize
);
886 if (!PyString_Check(_obj1
)) {
887 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
890 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
895 _result
= (bool )wxConfigBase_HasEntry(_arg0
,*_arg1
);
897 wxPyEndAllowThreads(__tstate
);
898 if (PyErr_Occurred()) return NULL
;
899 } _resultobj
= Py_BuildValue("i",_result
);
907 #define wxConfigBase_HasGroup(_swigobj,_swigarg0) (_swigobj->HasGroup(_swigarg0))
908 static PyObject
*_wrap_wxConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
909 PyObject
* _resultobj
;
911 wxConfigBase
* _arg0
;
913 PyObject
* _argo0
= 0;
914 PyObject
* _obj1
= 0;
915 char *_kwnames
[] = { "self","strName", NULL
};
918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_HasGroup",_kwnames
,&_argo0
,&_obj1
))
921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_HasGroup. Expected _wxConfigBase_p.");
928 #if PYTHON_API_VERSION >= 1009
929 char* tmpPtr
; int tmpSize
;
930 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
931 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
934 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
936 _arg1
= new wxString(tmpPtr
, tmpSize
);
938 if (!PyString_Check(_obj1
)) {
939 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
942 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
947 _result
= (bool )wxConfigBase_HasGroup(_arg0
,*_arg1
);
949 wxPyEndAllowThreads(__tstate
);
950 if (PyErr_Occurred()) return NULL
;
951 } _resultobj
= Py_BuildValue("i",_result
);
959 #define wxConfigBase_IsExpandingEnvVars(_swigobj) (_swigobj->IsExpandingEnvVars())
960 static PyObject
*_wrap_wxConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
961 PyObject
* _resultobj
;
963 wxConfigBase
* _arg0
;
964 PyObject
* _argo0
= 0;
965 char *_kwnames
[] = { "self", NULL
};
968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_IsExpandingEnvVars",_kwnames
,&_argo0
))
971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_IsExpandingEnvVars. Expected _wxConfigBase_p.");
978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
979 _result
= (bool )wxConfigBase_IsExpandingEnvVars(_arg0
);
981 wxPyEndAllowThreads(__tstate
);
982 if (PyErr_Occurred()) return NULL
;
983 } _resultobj
= Py_BuildValue("i",_result
);
987 #define wxConfigBase_IsRecordingDefaults(_swigobj) (_swigobj->IsRecordingDefaults())
988 static PyObject
*_wrap_wxConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
989 PyObject
* _resultobj
;
991 wxConfigBase
* _arg0
;
992 PyObject
* _argo0
= 0;
993 char *_kwnames
[] = { "self", NULL
};
996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_IsRecordingDefaults",_kwnames
,&_argo0
))
999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_IsRecordingDefaults. Expected _wxConfigBase_p.");
1006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1007 _result
= (bool )wxConfigBase_IsRecordingDefaults(_arg0
);
1009 wxPyEndAllowThreads(__tstate
);
1010 if (PyErr_Occurred()) return NULL
;
1011 } _resultobj
= Py_BuildValue("i",_result
);
1015 #define wxConfigBase_Read(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
1016 static PyObject
*_wrap_wxConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1017 PyObject
* _resultobj
;
1019 wxConfigBase
* _arg0
;
1021 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
1022 PyObject
* _argo0
= 0;
1023 PyObject
* _obj1
= 0;
1024 PyObject
* _obj2
= 0;
1025 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxConfigBase_Read",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Read. Expected _wxConfigBase_p.");
1038 #if PYTHON_API_VERSION >= 1009
1039 char* tmpPtr
; int tmpSize
;
1040 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1041 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1044 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1046 _arg1
= new wxString(tmpPtr
, tmpSize
);
1048 if (!PyString_Check(_obj1
)) {
1049 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1052 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1057 #if PYTHON_API_VERSION >= 1009
1058 char* tmpPtr
; int tmpSize
;
1059 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1060 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1063 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1065 _arg2
= new wxString(tmpPtr
, tmpSize
);
1067 if (!PyString_Check(_obj2
)) {
1068 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1071 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1076 _result
= new wxString (wxConfigBase_Read(_arg0
,*_arg1
,*_arg2
));
1078 wxPyEndAllowThreads(__tstate
);
1079 if (PyErr_Occurred()) return NULL
;
1081 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1097 static long wxConfigBase_ReadInt(wxConfigBase
*self
,const wxString
& key
,long defaultVal
) {
1099 self
->Read(key
, &rv
, defaultVal
);
1102 static PyObject
*_wrap_wxConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1103 PyObject
* _resultobj
;
1105 wxConfigBase
* _arg0
;
1107 long _arg2
= (long ) 0;
1108 PyObject
* _argo0
= 0;
1109 PyObject
* _obj1
= 0;
1110 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|l:wxConfigBase_ReadInt",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadInt. Expected _wxConfigBase_p.");
1123 #if PYTHON_API_VERSION >= 1009
1124 char* tmpPtr
; int tmpSize
;
1125 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1126 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1129 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1131 _arg1
= new wxString(tmpPtr
, tmpSize
);
1133 if (!PyString_Check(_obj1
)) {
1134 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1137 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1142 _result
= (long )wxConfigBase_ReadInt(_arg0
,*_arg1
,_arg2
);
1144 wxPyEndAllowThreads(__tstate
);
1145 if (PyErr_Occurred()) return NULL
;
1146 } _resultobj
= Py_BuildValue("l",_result
);
1154 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,const wxString
& key
,double defaultVal
) {
1156 self
->Read(key
, &rv
, defaultVal
);
1159 static PyObject
*_wrap_wxConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1160 PyObject
* _resultobj
;
1162 wxConfigBase
* _arg0
;
1164 double _arg2
= (double ) 0.0;
1165 PyObject
* _argo0
= 0;
1166 PyObject
* _obj1
= 0;
1167 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|d:wxConfigBase_ReadFloat",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadFloat. Expected _wxConfigBase_p.");
1180 #if PYTHON_API_VERSION >= 1009
1181 char* tmpPtr
; int tmpSize
;
1182 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1183 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1186 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1188 _arg1
= new wxString(tmpPtr
, tmpSize
);
1190 if (!PyString_Check(_obj1
)) {
1191 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1194 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1199 _result
= (double )wxConfigBase_ReadFloat(_arg0
,*_arg1
,_arg2
);
1201 wxPyEndAllowThreads(__tstate
);
1202 if (PyErr_Occurred()) return NULL
;
1203 } _resultobj
= Py_BuildValue("d",_result
);
1211 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,const wxString
& key
,bool defaultVal
) {
1213 self
->Read(key
, &rv
, defaultVal
);
1216 static PyObject
*_wrap_wxConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1217 PyObject
* _resultobj
;
1219 wxConfigBase
* _arg0
;
1221 bool _arg2
= (bool ) FALSE
;
1222 PyObject
* _argo0
= 0;
1223 PyObject
* _obj1
= 0;
1224 int tempbool2
= (int) FALSE
;
1225 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxConfigBase_ReadBool",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadBool. Expected _wxConfigBase_p.");
1238 #if PYTHON_API_VERSION >= 1009
1239 char* tmpPtr
; int tmpSize
;
1240 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1241 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1244 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1246 _arg1
= new wxString(tmpPtr
, tmpSize
);
1248 if (!PyString_Check(_obj1
)) {
1249 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1252 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1255 _arg2
= (bool ) tempbool2
;
1257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1258 _result
= (bool )wxConfigBase_ReadBool(_arg0
,*_arg1
,_arg2
);
1260 wxPyEndAllowThreads(__tstate
);
1261 if (PyErr_Occurred()) return NULL
;
1262 } _resultobj
= Py_BuildValue("i",_result
);
1270 #define wxConfigBase_SetExpandEnvVars(_swigobj,_swigarg0) (_swigobj->SetExpandEnvVars(_swigarg0))
1271 static PyObject
*_wrap_wxConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1273 wxConfigBase
* _arg0
;
1274 bool _arg1
= (bool ) TRUE
;
1275 PyObject
* _argo0
= 0;
1276 int tempbool1
= (int) TRUE
;
1277 char *_kwnames
[] = { "self","bDoIt", NULL
};
1280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_SetExpandEnvVars",_kwnames
,&_argo0
,&tempbool1
))
1283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetExpandEnvVars. Expected _wxConfigBase_p.");
1289 _arg1
= (bool ) tempbool1
;
1291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1292 wxConfigBase_SetExpandEnvVars(_arg0
,_arg1
);
1294 wxPyEndAllowThreads(__tstate
);
1295 if (PyErr_Occurred()) return NULL
;
1296 } Py_INCREF(Py_None
);
1297 _resultobj
= Py_None
;
1301 #define wxConfigBase_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1302 static PyObject
*_wrap_wxConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1303 PyObject
* _resultobj
;
1304 wxConfigBase
* _arg0
;
1306 PyObject
* _argo0
= 0;
1307 PyObject
* _obj1
= 0;
1308 char *_kwnames
[] = { "self","strPath", NULL
};
1311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetPath",_kwnames
,&_argo0
,&_obj1
))
1314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetPath. Expected _wxConfigBase_p.");
1321 #if PYTHON_API_VERSION >= 1009
1322 char* tmpPtr
; int tmpSize
;
1323 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1324 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1327 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1329 _arg1
= new wxString(tmpPtr
, tmpSize
);
1331 if (!PyString_Check(_obj1
)) {
1332 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1335 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1340 wxConfigBase_SetPath(_arg0
,*_arg1
);
1342 wxPyEndAllowThreads(__tstate
);
1343 if (PyErr_Occurred()) return NULL
;
1344 } Py_INCREF(Py_None
);
1345 _resultobj
= Py_None
;
1353 #define wxConfigBase_SetRecordDefaults(_swigobj,_swigarg0) (_swigobj->SetRecordDefaults(_swigarg0))
1354 static PyObject
*_wrap_wxConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1355 PyObject
* _resultobj
;
1356 wxConfigBase
* _arg0
;
1357 bool _arg1
= (bool ) TRUE
;
1358 PyObject
* _argo0
= 0;
1359 int tempbool1
= (int) TRUE
;
1360 char *_kwnames
[] = { "self","bDoIt", NULL
};
1363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_SetRecordDefaults",_kwnames
,&_argo0
,&tempbool1
))
1366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetRecordDefaults. Expected _wxConfigBase_p.");
1372 _arg1
= (bool ) tempbool1
;
1374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1375 wxConfigBase_SetRecordDefaults(_arg0
,_arg1
);
1377 wxPyEndAllowThreads(__tstate
);
1378 if (PyErr_Occurred()) return NULL
;
1379 } Py_INCREF(Py_None
);
1380 _resultobj
= Py_None
;
1384 #define wxConfigBase_SetAppName(_swigobj,_swigarg0) (_swigobj->SetAppName(_swigarg0))
1385 static PyObject
*_wrap_wxConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1386 PyObject
* _resultobj
;
1387 wxConfigBase
* _arg0
;
1389 PyObject
* _argo0
= 0;
1390 PyObject
* _obj1
= 0;
1391 char *_kwnames
[] = { "self","appName", NULL
};
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetAppName",_kwnames
,&_argo0
,&_obj1
))
1397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetAppName. Expected _wxConfigBase_p.");
1404 #if PYTHON_API_VERSION >= 1009
1405 char* tmpPtr
; int tmpSize
;
1406 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1407 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1410 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1412 _arg1
= new wxString(tmpPtr
, tmpSize
);
1414 if (!PyString_Check(_obj1
)) {
1415 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1418 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1423 wxConfigBase_SetAppName(_arg0
,*_arg1
);
1425 wxPyEndAllowThreads(__tstate
);
1426 if (PyErr_Occurred()) return NULL
;
1427 } Py_INCREF(Py_None
);
1428 _resultobj
= Py_None
;
1436 #define wxConfigBase_SetVendorName(_swigobj,_swigarg0) (_swigobj->SetVendorName(_swigarg0))
1437 static PyObject
*_wrap_wxConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
* _resultobj
;
1439 wxConfigBase
* _arg0
;
1441 PyObject
* _argo0
= 0;
1442 PyObject
* _obj1
= 0;
1443 char *_kwnames
[] = { "self","vendorName", NULL
};
1446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetVendorName",_kwnames
,&_argo0
,&_obj1
))
1449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetVendorName. Expected _wxConfigBase_p.");
1456 #if PYTHON_API_VERSION >= 1009
1457 char* tmpPtr
; int tmpSize
;
1458 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1459 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1462 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1464 _arg1
= new wxString(tmpPtr
, tmpSize
);
1466 if (!PyString_Check(_obj1
)) {
1467 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1470 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1475 wxConfigBase_SetVendorName(_arg0
,*_arg1
);
1477 wxPyEndAllowThreads(__tstate
);
1478 if (PyErr_Occurred()) return NULL
;
1479 } Py_INCREF(Py_None
);
1480 _resultobj
= Py_None
;
1488 #define wxConfigBase_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1489 static PyObject
*_wrap_wxConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1490 PyObject
* _resultobj
;
1491 wxConfigBase
* _arg0
;
1493 PyObject
* _argo0
= 0;
1494 char *_kwnames
[] = { "self","style", NULL
};
1497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetStyle. Expected _wxConfigBase_p.");
1507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1508 wxConfigBase_SetStyle(_arg0
,_arg1
);
1510 wxPyEndAllowThreads(__tstate
);
1511 if (PyErr_Occurred()) return NULL
;
1512 } Py_INCREF(Py_None
);
1513 _resultobj
= Py_None
;
1517 #define wxConfigBase_GetStyle(_swigobj) (_swigobj->GetStyle())
1518 static PyObject
*_wrap_wxConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
* _resultobj
;
1521 wxConfigBase
* _arg0
;
1522 PyObject
* _argo0
= 0;
1523 char *_kwnames
[] = { "self", NULL
};
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetStyle",_kwnames
,&_argo0
))
1529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetStyle. Expected _wxConfigBase_p.");
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 _result
= (long )wxConfigBase_GetStyle(_arg0
);
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) return NULL
;
1541 } _resultobj
= Py_BuildValue("l",_result
);
1545 #define wxConfigBase_Write(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1546 static PyObject
*_wrap_wxConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1549 wxConfigBase
* _arg0
;
1552 PyObject
* _argo0
= 0;
1553 PyObject
* _obj1
= 0;
1554 PyObject
* _obj2
= 0;
1555 char *_kwnames
[] = { "self","key","value", NULL
};
1558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_Write",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Write. Expected _wxConfigBase_p.");
1568 #if PYTHON_API_VERSION >= 1009
1569 char* tmpPtr
; int tmpSize
;
1570 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1571 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1574 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1576 _arg1
= new wxString(tmpPtr
, tmpSize
);
1578 if (!PyString_Check(_obj1
)) {
1579 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1582 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1586 #if PYTHON_API_VERSION >= 1009
1587 char* tmpPtr
; int tmpSize
;
1588 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1589 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1592 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1594 _arg2
= new wxString(tmpPtr
, tmpSize
);
1596 if (!PyString_Check(_obj2
)) {
1597 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1600 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1605 _result
= (bool )wxConfigBase_Write(_arg0
,*_arg1
,*_arg2
);
1607 wxPyEndAllowThreads(__tstate
);
1608 if (PyErr_Occurred()) return NULL
;
1609 } _resultobj
= Py_BuildValue("i",_result
);
1621 #define wxConfigBase_WriteInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1622 static PyObject
*_wrap_wxConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
* _resultobj
;
1625 wxConfigBase
* _arg0
;
1628 PyObject
* _argo0
= 0;
1629 PyObject
* _obj1
= 0;
1630 char *_kwnames
[] = { "self","key","value", NULL
};
1633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxConfigBase_WriteInt",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteInt. Expected _wxConfigBase_p.");
1643 #if PYTHON_API_VERSION >= 1009
1644 char* tmpPtr
; int tmpSize
;
1645 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1646 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1649 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1651 _arg1
= new wxString(tmpPtr
, tmpSize
);
1653 if (!PyString_Check(_obj1
)) {
1654 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1657 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1662 _result
= (bool )wxConfigBase_WriteInt(_arg0
,*_arg1
,_arg2
);
1664 wxPyEndAllowThreads(__tstate
);
1665 if (PyErr_Occurred()) return NULL
;
1666 } _resultobj
= Py_BuildValue("i",_result
);
1674 #define wxConfigBase_WriteFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1675 static PyObject
*_wrap_wxConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1676 PyObject
* _resultobj
;
1678 wxConfigBase
* _arg0
;
1681 PyObject
* _argo0
= 0;
1682 PyObject
* _obj1
= 0;
1683 char *_kwnames
[] = { "self","key","value", NULL
};
1686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOd:wxConfigBase_WriteFloat",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteFloat. Expected _wxConfigBase_p.");
1696 #if PYTHON_API_VERSION >= 1009
1697 char* tmpPtr
; int tmpSize
;
1698 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1699 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1702 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1704 _arg1
= new wxString(tmpPtr
, tmpSize
);
1706 if (!PyString_Check(_obj1
)) {
1707 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1710 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1715 _result
= (bool )wxConfigBase_WriteFloat(_arg0
,*_arg1
,_arg2
);
1717 wxPyEndAllowThreads(__tstate
);
1718 if (PyErr_Occurred()) return NULL
;
1719 } _resultobj
= Py_BuildValue("i",_result
);
1727 #define wxConfigBase_WriteBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1728 static PyObject
*_wrap_wxConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1729 PyObject
* _resultobj
;
1731 wxConfigBase
* _arg0
;
1734 PyObject
* _argo0
= 0;
1735 PyObject
* _obj1
= 0;
1737 char *_kwnames
[] = { "self","key","value", NULL
};
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxConfigBase_WriteBool",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteBool. Expected _wxConfigBase_p.");
1750 #if PYTHON_API_VERSION >= 1009
1751 char* tmpPtr
; int tmpSize
;
1752 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1753 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1756 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1758 _arg1
= new wxString(tmpPtr
, tmpSize
);
1760 if (!PyString_Check(_obj1
)) {
1761 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1764 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1767 _arg2
= (bool ) tempbool2
;
1769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1770 _result
= (bool )wxConfigBase_WriteBool(_arg0
,*_arg1
,_arg2
);
1772 wxPyEndAllowThreads(__tstate
);
1773 if (PyErr_Occurred()) return NULL
;
1774 } _resultobj
= Py_BuildValue("i",_result
);
1782 #define wxConfigBase_GetEntryType(_swigobj,_swigarg0) (_swigobj->GetEntryType(_swigarg0))
1783 static PyObject
*_wrap_wxConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
* _resultobj
;
1785 wxConfigBase::EntryType _result
;
1786 wxConfigBase
* _arg0
;
1788 PyObject
* _argo0
= 0;
1789 PyObject
* _obj1
= 0;
1790 char *_kwnames
[] = { "self","name", NULL
};
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_GetEntryType",_kwnames
,&_argo0
,&_obj1
))
1796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetEntryType. Expected _wxConfigBase_p.");
1803 #if PYTHON_API_VERSION >= 1009
1804 char* tmpPtr
; int tmpSize
;
1805 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1806 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1809 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1811 _arg1
= new wxString(tmpPtr
, tmpSize
);
1813 if (!PyString_Check(_obj1
)) {
1814 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1817 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1822 _result
= (wxConfigBase::EntryType
)wxConfigBase_GetEntryType(_arg0
,*_arg1
);
1824 wxPyEndAllowThreads(__tstate
);
1825 if (PyErr_Occurred()) return NULL
;
1826 } _resultobj
= Py_BuildValue("i",_result
);
1834 #define wxConfigBase_RenameEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameEntry(_swigarg0,_swigarg1))
1835 static PyObject
*_wrap_wxConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
* _resultobj
;
1838 wxConfigBase
* _arg0
;
1841 PyObject
* _argo0
= 0;
1842 PyObject
* _obj1
= 0;
1843 PyObject
* _obj2
= 0;
1844 char *_kwnames
[] = { "self","oldName","newName", NULL
};
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_RenameEntry",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_RenameEntry. Expected _wxConfigBase_p.");
1857 #if PYTHON_API_VERSION >= 1009
1858 char* tmpPtr
; int tmpSize
;
1859 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1860 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1863 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1865 _arg1
= new wxString(tmpPtr
, tmpSize
);
1867 if (!PyString_Check(_obj1
)) {
1868 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1871 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1875 #if PYTHON_API_VERSION >= 1009
1876 char* tmpPtr
; int tmpSize
;
1877 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1878 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1881 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1883 _arg2
= new wxString(tmpPtr
, tmpSize
);
1885 if (!PyString_Check(_obj2
)) {
1886 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1889 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1894 _result
= (bool )wxConfigBase_RenameEntry(_arg0
,*_arg1
,*_arg2
);
1896 wxPyEndAllowThreads(__tstate
);
1897 if (PyErr_Occurred()) return NULL
;
1898 } _resultobj
= Py_BuildValue("i",_result
);
1910 #define wxConfigBase_RenameGroup(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameGroup(_swigarg0,_swigarg1))
1911 static PyObject
*_wrap_wxConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1912 PyObject
* _resultobj
;
1914 wxConfigBase
* _arg0
;
1917 PyObject
* _argo0
= 0;
1918 PyObject
* _obj1
= 0;
1919 PyObject
* _obj2
= 0;
1920 char *_kwnames
[] = { "self","oldName","newName", NULL
};
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_RenameGroup",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_RenameGroup. Expected _wxConfigBase_p.");
1933 #if PYTHON_API_VERSION >= 1009
1934 char* tmpPtr
; int tmpSize
;
1935 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1936 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1939 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1941 _arg1
= new wxString(tmpPtr
, tmpSize
);
1943 if (!PyString_Check(_obj1
)) {
1944 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1947 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1951 #if PYTHON_API_VERSION >= 1009
1952 char* tmpPtr
; int tmpSize
;
1953 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1954 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1957 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1959 _arg2
= new wxString(tmpPtr
, tmpSize
);
1961 if (!PyString_Check(_obj2
)) {
1962 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1965 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1970 _result
= (bool )wxConfigBase_RenameGroup(_arg0
,*_arg1
,*_arg2
);
1972 wxPyEndAllowThreads(__tstate
);
1973 if (PyErr_Occurred()) return NULL
;
1974 } _resultobj
= Py_BuildValue("i",_result
);
1986 #define wxConfigBase_ExpandEnvVars(_swigobj,_swigarg0) (_swigobj->ExpandEnvVars(_swigarg0))
1987 static PyObject
*_wrap_wxConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1988 PyObject
* _resultobj
;
1990 wxConfigBase
* _arg0
;
1992 PyObject
* _argo0
= 0;
1993 PyObject
* _obj1
= 0;
1994 char *_kwnames
[] = { "self","str", NULL
};
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_ExpandEnvVars",_kwnames
,&_argo0
,&_obj1
))
2000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
2002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ExpandEnvVars. Expected _wxConfigBase_p.");
2007 #if PYTHON_API_VERSION >= 1009
2008 char* tmpPtr
; int tmpSize
;
2009 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2010 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2013 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2015 _arg1
= new wxString(tmpPtr
, tmpSize
);
2017 if (!PyString_Check(_obj1
)) {
2018 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2021 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2026 _result
= new wxString (wxConfigBase_ExpandEnvVars(_arg0
,*_arg1
));
2028 wxPyEndAllowThreads(__tstate
);
2029 if (PyErr_Occurred()) return NULL
;
2031 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2043 static void *SwigwxConfigTowxConfigBase(void *ptr
) {
2046 src
= (wxConfig
*) ptr
;
2047 dest
= (wxConfigBase
*) src
;
2048 return (void *) dest
;
2051 #define new_wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2052 static PyObject
*_wrap_new_wxConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2053 PyObject
* _resultobj
;
2055 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
2056 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
2057 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
2058 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
2059 long _arg4
= (long ) 0;
2060 PyObject
* _obj0
= 0;
2061 PyObject
* _obj1
= 0;
2062 PyObject
* _obj2
= 0;
2063 PyObject
* _obj3
= 0;
2064 char *_kwnames
[] = { "appName","vendorName","localFilename","globalFilename","style", NULL
};
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOl:new_wxConfig",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
))
2072 #if PYTHON_API_VERSION >= 1009
2073 char* tmpPtr
; int tmpSize
;
2074 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2075 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2078 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2080 _arg0
= new wxString(tmpPtr
, tmpSize
);
2082 if (!PyString_Check(_obj0
)) {
2083 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2086 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2091 #if PYTHON_API_VERSION >= 1009
2092 char* tmpPtr
; int tmpSize
;
2093 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2094 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2097 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2099 _arg1
= new wxString(tmpPtr
, tmpSize
);
2101 if (!PyString_Check(_obj1
)) {
2102 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2105 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2110 #if PYTHON_API_VERSION >= 1009
2111 char* tmpPtr
; int tmpSize
;
2112 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2113 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2116 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2118 _arg2
= new wxString(tmpPtr
, tmpSize
);
2120 if (!PyString_Check(_obj2
)) {
2121 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2124 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2129 #if PYTHON_API_VERSION >= 1009
2130 char* tmpPtr
; int tmpSize
;
2131 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2132 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2135 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2137 _arg3
= new wxString(tmpPtr
, tmpSize
);
2139 if (!PyString_Check(_obj3
)) {
2140 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2143 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2148 _result
= (wxConfig
*)new_wxConfig(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
2150 wxPyEndAllowThreads(__tstate
);
2151 if (PyErr_Occurred()) return NULL
;
2153 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfig_p");
2154 _resultobj
= Py_BuildValue("s",_ptemp
);
2157 _resultobj
= Py_None
;
2178 #define delete_wxConfig(_swigobj) (delete _swigobj)
2179 static PyObject
*_wrap_delete_wxConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
* _resultobj
;
2182 PyObject
* _argo0
= 0;
2183 char *_kwnames
[] = { "self", NULL
};
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxConfig",_kwnames
,&_argo0
))
2189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfig_p")) {
2191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxConfig. Expected _wxConfig_p.");
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2197 delete_wxConfig(_arg0
);
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) return NULL
;
2201 } Py_INCREF(Py_None
);
2202 _resultobj
= Py_None
;
2206 static void *SwigwxFileConfigTowxConfigBase(void *ptr
) {
2209 src
= (wxFileConfig
*) ptr
;
2210 dest
= (wxConfigBase
*) src
;
2211 return (void *) dest
;
2214 #define new_wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2215 static PyObject
*_wrap_new_wxFileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2216 PyObject
* _resultobj
;
2217 wxFileConfig
* _result
;
2218 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
2219 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
2220 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
2221 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
2222 long _arg4
= (long ) 0;
2223 PyObject
* _obj0
= 0;
2224 PyObject
* _obj1
= 0;
2225 PyObject
* _obj2
= 0;
2226 PyObject
* _obj3
= 0;
2227 char *_kwnames
[] = { "appName","vendorName","localFilename","globalFilename","style", NULL
};
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOl:new_wxFileConfig",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
))
2235 #if PYTHON_API_VERSION >= 1009
2236 char* tmpPtr
; int tmpSize
;
2237 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2238 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2241 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2243 _arg0
= new wxString(tmpPtr
, tmpSize
);
2245 if (!PyString_Check(_obj0
)) {
2246 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2249 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2254 #if PYTHON_API_VERSION >= 1009
2255 char* tmpPtr
; int tmpSize
;
2256 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2257 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2260 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2262 _arg1
= new wxString(tmpPtr
, tmpSize
);
2264 if (!PyString_Check(_obj1
)) {
2265 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2268 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2273 #if PYTHON_API_VERSION >= 1009
2274 char* tmpPtr
; int tmpSize
;
2275 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2276 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2279 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2281 _arg2
= new wxString(tmpPtr
, tmpSize
);
2283 if (!PyString_Check(_obj2
)) {
2284 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2287 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2292 #if PYTHON_API_VERSION >= 1009
2293 char* tmpPtr
; int tmpSize
;
2294 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2295 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2298 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2300 _arg3
= new wxString(tmpPtr
, tmpSize
);
2302 if (!PyString_Check(_obj3
)) {
2303 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2306 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2311 _result
= (wxFileConfig
*)new_wxFileConfig(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
2313 wxPyEndAllowThreads(__tstate
);
2314 if (PyErr_Occurred()) return NULL
;
2316 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileConfig_p");
2317 _resultobj
= Py_BuildValue("s",_ptemp
);
2320 _resultobj
= Py_None
;
2341 #define delete_wxFileConfig(_swigobj) (delete _swigobj)
2342 static PyObject
*_wrap_delete_wxFileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2343 PyObject
* _resultobj
;
2344 wxFileConfig
* _arg0
;
2345 PyObject
* _argo0
= 0;
2346 char *_kwnames
[] = { "self", NULL
};
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileConfig",_kwnames
,&_argo0
))
2352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileConfig_p")) {
2354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileConfig. Expected _wxFileConfig_p.");
2359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2360 delete_wxFileConfig(_arg0
);
2362 wxPyEndAllowThreads(__tstate
);
2363 if (PyErr_Occurred()) return NULL
;
2364 } Py_INCREF(Py_None
);
2365 _resultobj
= Py_None
;
2369 static PyObject
*_wrap_wxDateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
* _resultobj
;
2371 wxDateTime::Country _arg0
;
2372 char *_kwnames
[] = { "country", NULL
};
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateTime_SetCountry",_kwnames
,&_arg0
))
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 wxDateTime::SetCountry(_arg0
);
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) return NULL
;
2383 } Py_INCREF(Py_None
);
2384 _resultobj
= Py_None
;
2388 static PyObject
*_wrap_wxDateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2389 PyObject
* _resultobj
;
2390 wxDateTime::Country _result
;
2391 char *_kwnames
[] = { NULL
};
2394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_GetCountry",_kwnames
))
2397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2398 _result
= (wxDateTime::Country
)wxDateTime::GetCountry();
2400 wxPyEndAllowThreads(__tstate
);
2401 if (PyErr_Occurred()) return NULL
;
2402 } _resultobj
= Py_BuildValue("i",_result
);
2406 static PyObject
*_wrap_wxDateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2407 PyObject
* _resultobj
;
2409 wxDateTime::Country _arg0
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2410 char *_kwnames
[] = { "country", NULL
};
2413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_IsWestEuropeanCountry",_kwnames
,&_arg0
))
2416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2417 _result
= (bool )wxDateTime::IsWestEuropeanCountry(_arg0
);
2419 wxPyEndAllowThreads(__tstate
);
2420 if (PyErr_Occurred()) return NULL
;
2421 } _resultobj
= Py_BuildValue("i",_result
);
2425 static PyObject
*_wrap_wxDateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2426 PyObject
* _resultobj
;
2428 wxDateTime::Calendar _arg0
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2429 char *_kwnames
[] = { "cal", NULL
};
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCurrentYear",_kwnames
,&_arg0
))
2435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2436 _result
= (int )wxDateTime::GetCurrentYear(_arg0
);
2438 wxPyEndAllowThreads(__tstate
);
2439 if (PyErr_Occurred()) return NULL
;
2440 } _resultobj
= Py_BuildValue("i",_result
);
2444 static PyObject
*_wrap_wxDateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
* _resultobj
;
2448 char *_kwnames
[] = { "year", NULL
};
2451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateTime_ConvertYearToBC",_kwnames
,&_arg0
))
2454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2455 _result
= (int )wxDateTime::ConvertYearToBC(_arg0
);
2457 wxPyEndAllowThreads(__tstate
);
2458 if (PyErr_Occurred()) return NULL
;
2459 } _resultobj
= Py_BuildValue("i",_result
);
2463 static PyObject
*_wrap_wxDateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
* _resultobj
;
2465 wxDateTime::Month _result
;
2466 wxDateTime::Calendar _arg0
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2467 char *_kwnames
[] = { "cal", NULL
};
2470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCurrentMonth",_kwnames
,&_arg0
))
2473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2474 _result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(_arg0
);
2476 wxPyEndAllowThreads(__tstate
);
2477 if (PyErr_Occurred()) return NULL
;
2478 } _resultobj
= Py_BuildValue("i",_result
);
2482 static PyObject
*_wrap_wxDateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2483 PyObject
* _resultobj
;
2485 int _arg0
= (int ) wxDateTime::Inv_Year
;
2486 wxDateTime::Calendar _arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2487 char *_kwnames
[] = { "year","cal", NULL
};
2490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_IsLeapYear",_kwnames
,&_arg0
,&_arg1
))
2493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2494 _result
= (bool )wxDateTime::IsLeapYear(_arg0
,_arg1
);
2496 wxPyEndAllowThreads(__tstate
);
2497 if (PyErr_Occurred()) return NULL
;
2498 } _resultobj
= Py_BuildValue("i",_result
);
2502 static PyObject
*_wrap_wxDateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2503 PyObject
* _resultobj
;
2505 int _arg0
= (int ) wxDateTime::Inv_Year
;
2506 char *_kwnames
[] = { "year", NULL
};
2509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCentury",_kwnames
,&_arg0
))
2512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2513 _result
= (int )wxDateTime::GetCentury(_arg0
);
2515 wxPyEndAllowThreads(__tstate
);
2516 if (PyErr_Occurred()) return NULL
;
2517 } _resultobj
= Py_BuildValue("i",_result
);
2521 static PyObject
*_wrap_wxDateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
* _resultobj
;
2523 wxDateTime::wxDateTime_t _result
;
2525 wxDateTime::Calendar _arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2526 char *_kwnames
[] = { "year","cal", NULL
};
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetNumberOfDaysinYear",_kwnames
,&_arg0
,&_arg1
))
2532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2533 _result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(_arg0
,_arg1
);
2535 wxPyEndAllowThreads(__tstate
);
2536 if (PyErr_Occurred()) return NULL
;
2537 } _resultobj
= Py_BuildValue("h",_result
);
2541 static PyObject
*_wrap_wxDateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
* _resultobj
;
2543 wxDateTime::wxDateTime_t _result
;
2544 wxDateTime::Month _arg0
;
2545 int _arg1
= (int ) wxDateTime::Inv_Year
;
2546 wxDateTime::Calendar _arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2547 char *_kwnames
[] = { "month","year","cal", NULL
};
2550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|ii:wxDateTime_GetNumberOfDaysInMonth",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2554 _result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(_arg0
,_arg1
,_arg2
);
2556 wxPyEndAllowThreads(__tstate
);
2557 if (PyErr_Occurred()) return NULL
;
2558 } _resultobj
= Py_BuildValue("h",_result
);
2562 static PyObject
*_wrap_wxDateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2563 PyObject
* _resultobj
;
2565 wxDateTime::Month _arg0
;
2566 wxDateTime::NameFlags _arg1
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
2567 char *_kwnames
[] = { "month","flags", NULL
};
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetMonthName",_kwnames
,&_arg0
,&_arg1
))
2573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2574 _result
= new wxString (wxDateTime::GetMonthName(_arg0
,_arg1
));
2576 wxPyEndAllowThreads(__tstate
);
2577 if (PyErr_Occurred()) return NULL
;
2579 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2587 static PyObject
*_wrap_wxDateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2588 PyObject
* _resultobj
;
2590 wxDateTime::WeekDay _arg0
;
2591 wxDateTime::NameFlags _arg1
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
2592 char *_kwnames
[] = { "weekday","flags", NULL
};
2595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetWeekDayName",_kwnames
,&_arg0
,&_arg1
))
2598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2599 _result
= new wxString (wxDateTime::GetWeekDayName(_arg0
,_arg1
));
2601 wxPyEndAllowThreads(__tstate
);
2602 if (PyErr_Occurred()) return NULL
;
2604 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2612 static PyObject
*_wrap_wxDateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2613 PyObject
* _resultobj
;
2616 PyObject
* _obj0
= 0;
2617 PyObject
* _obj1
= 0;
2618 char *_kwnames
[] = { "OUTPUT","OUTPUT", NULL
};
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_GetAmPmStrings",_kwnames
,&_obj0
,&_obj1
))
2624 #if PYTHON_API_VERSION >= 1009
2625 char* tmpPtr
; int tmpSize
;
2626 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2627 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2630 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2632 _arg0
= new wxString(tmpPtr
, tmpSize
);
2634 if (!PyString_Check(_obj0
)) {
2635 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2638 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2642 #if PYTHON_API_VERSION >= 1009
2643 char* tmpPtr
; int tmpSize
;
2644 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2645 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2648 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2650 _arg1
= new wxString(tmpPtr
, tmpSize
);
2652 if (!PyString_Check(_obj1
)) {
2653 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2656 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2661 wxDateTime::GetAmPmStrings(_arg0
,_arg1
);
2663 wxPyEndAllowThreads(__tstate
);
2664 if (PyErr_Occurred()) return NULL
;
2665 } Py_INCREF(Py_None
);
2666 _resultobj
= Py_None
;
2678 static PyObject
*_wrap_wxDateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2679 PyObject
* _resultobj
;
2681 int _arg0
= (int ) wxDateTime::Inv_Year
;
2682 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2683 char *_kwnames
[] = { "year","country", NULL
};
2686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_IsDSTApplicable",_kwnames
,&_arg0
,&_arg1
))
2689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2690 _result
= (bool )wxDateTime::IsDSTApplicable(_arg0
,_arg1
);
2692 wxPyEndAllowThreads(__tstate
);
2693 if (PyErr_Occurred()) return NULL
;
2694 } _resultobj
= Py_BuildValue("i",_result
);
2698 static PyObject
*_wrap_wxDateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
* _resultobj
;
2700 wxDateTime
* _result
;
2701 int _arg0
= (int ) wxDateTime::Inv_Year
;
2702 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2703 char *_kwnames
[] = { "year","country", NULL
};
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_GetBeginDST",_kwnames
,&_arg0
,&_arg1
))
2710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2711 _result
= new wxDateTime (wxDateTime::GetBeginDST(_arg0
,_arg1
));
2713 wxPyEndAllowThreads(__tstate
);
2714 if (PyErr_Occurred()) return NULL
;
2715 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2716 _resultobj
= Py_BuildValue("s",_ptemp
);
2720 static PyObject
*_wrap_wxDateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
* _resultobj
;
2722 wxDateTime
* _result
;
2723 int _arg0
= (int ) wxDateTime::Inv_Year
;
2724 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2725 char *_kwnames
[] = { "year","country", NULL
};
2729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_GetEndDST",_kwnames
,&_arg0
,&_arg1
))
2732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2733 _result
= new wxDateTime (wxDateTime::GetEndDST(_arg0
,_arg1
));
2735 wxPyEndAllowThreads(__tstate
);
2736 if (PyErr_Occurred()) return NULL
;
2737 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2738 _resultobj
= Py_BuildValue("s",_ptemp
);
2742 static PyObject
*_wrap_wxDateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
* _resultobj
;
2744 wxDateTime
* _result
;
2745 char *_kwnames
[] = { NULL
};
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_Now",_kwnames
))
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 _result
= new wxDateTime (wxDateTime::Now());
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) return NULL
;
2757 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2758 _resultobj
= Py_BuildValue("s",_ptemp
);
2762 static PyObject
*_wrap_wxDateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
* _resultobj
;
2764 wxDateTime
* _result
;
2765 char *_kwnames
[] = { NULL
};
2769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_Today",_kwnames
))
2772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2773 _result
= new wxDateTime (wxDateTime::Today());
2775 wxPyEndAllowThreads(__tstate
);
2776 if (PyErr_Occurred()) return NULL
;
2777 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2778 _resultobj
= Py_BuildValue("s",_ptemp
);
2782 #define new_wxDateTime() (new wxDateTime())
2783 static PyObject
*_wrap_new_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2784 PyObject
* _resultobj
;
2785 wxDateTime
* _result
;
2786 char *_kwnames
[] = { NULL
};
2790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDateTime",_kwnames
))
2793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2794 _result
= (wxDateTime
*)new_wxDateTime();
2796 wxPyEndAllowThreads(__tstate
);
2797 if (PyErr_Occurred()) return NULL
;
2799 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2800 _resultobj
= Py_BuildValue("s",_ptemp
);
2803 _resultobj
= Py_None
;
2808 #define new_wxDateTimeFromTimeT(_swigarg0) (new wxDateTime(_swigarg0))
2809 static PyObject
*_wrap_new_wxDateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2810 PyObject
* _resultobj
;
2811 wxDateTime
* _result
;
2813 char *_kwnames
[] = { "timet", NULL
};
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxDateTimeFromTimeT",_kwnames
,&_arg0
))
2820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2821 _result
= (wxDateTime
*)new_wxDateTimeFromTimeT(_arg0
);
2823 wxPyEndAllowThreads(__tstate
);
2824 if (PyErr_Occurred()) return NULL
;
2826 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2827 _resultobj
= Py_BuildValue("s",_ptemp
);
2830 _resultobj
= Py_None
;
2835 #define new_wxDateTimeFromJDN(_swigarg0) (new wxDateTime(_swigarg0))
2836 static PyObject
*_wrap_new_wxDateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2837 PyObject
* _resultobj
;
2838 wxDateTime
* _result
;
2840 char *_kwnames
[] = { "jdn", NULL
};
2844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"d:new_wxDateTimeFromJDN",_kwnames
,&_arg0
))
2847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2848 _result
= (wxDateTime
*)new_wxDateTimeFromJDN(_arg0
);
2850 wxPyEndAllowThreads(__tstate
);
2851 if (PyErr_Occurred()) return NULL
;
2853 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2854 _resultobj
= Py_BuildValue("s",_ptemp
);
2857 _resultobj
= Py_None
;
2862 #define new_wxDateTimeFromHMS(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2863 static PyObject
*_wrap_new_wxDateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
* _resultobj
;
2865 wxDateTime
* _result
;
2866 wxDateTime::wxDateTime_t _arg0
;
2867 wxDateTime::wxDateTime_t _arg1
= (wxDateTime::wxDateTime_t
) 0;
2868 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
2869 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2870 char *_kwnames
[] = { "hour","minute","second","millisec", NULL
};
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|hhh:new_wxDateTimeFromHMS",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2878 _result
= (wxDateTime
*)new_wxDateTimeFromHMS(_arg0
,_arg1
,_arg2
,_arg3
);
2880 wxPyEndAllowThreads(__tstate
);
2881 if (PyErr_Occurred()) return NULL
;
2883 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2884 _resultobj
= Py_BuildValue("s",_ptemp
);
2887 _resultobj
= Py_None
;
2892 #define new_wxDateTimeFromDMY(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2893 static PyObject
*_wrap_new_wxDateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2894 PyObject
* _resultobj
;
2895 wxDateTime
* _result
;
2896 wxDateTime::wxDateTime_t _arg0
;
2897 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
2898 int _arg2
= (int ) wxDateTime::Inv_Year
;
2899 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2900 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2901 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
2902 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
2903 char *_kwnames
[] = { "day","month","year","hour","minute","second","millisec", NULL
};
2907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|iihhhh:new_wxDateTimeFromDMY",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2911 _result
= (wxDateTime
*)new_wxDateTimeFromDMY(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2913 wxPyEndAllowThreads(__tstate
);
2914 if (PyErr_Occurred()) return NULL
;
2916 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2917 _resultobj
= Py_BuildValue("s",_ptemp
);
2920 _resultobj
= Py_None
;
2925 #define delete_wxDateTime(_swigobj) (delete _swigobj)
2926 static PyObject
*_wrap_delete_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2927 PyObject
* _resultobj
;
2929 PyObject
* _argo0
= 0;
2930 char *_kwnames
[] = { "self", NULL
};
2933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateTime",_kwnames
,&_argo0
))
2936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateTime. Expected _wxDateTime_p.");
2943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2944 delete_wxDateTime(_arg0
);
2946 wxPyEndAllowThreads(__tstate
);
2947 if (PyErr_Occurred()) return NULL
;
2948 } Py_INCREF(Py_None
);
2949 _resultobj
= Py_None
;
2953 #define wxDateTime_SetToCurrent(_swigobj) (_swigobj->SetToCurrent())
2954 static PyObject
*_wrap_wxDateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
* _resultobj
;
2956 wxDateTime
* _result
;
2958 PyObject
* _argo0
= 0;
2959 char *_kwnames
[] = { "self", NULL
};
2963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_SetToCurrent",_kwnames
,&_argo0
))
2966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToCurrent. Expected _wxDateTime_p.");
2973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2974 wxDateTime
& _result_ref
= wxDateTime_SetToCurrent(_arg0
);
2975 _result
= (wxDateTime
*) &_result_ref
;
2977 wxPyEndAllowThreads(__tstate
);
2978 if (PyErr_Occurred()) return NULL
;
2980 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2981 _resultobj
= Py_BuildValue("s",_ptemp
);
2984 _resultobj
= Py_None
;
2989 #define wxDateTime_SetTimeT(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2990 static PyObject
*_wrap_wxDateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
* _resultobj
;
2992 wxDateTime
* _result
;
2995 PyObject
* _argo0
= 0;
2996 char *_kwnames
[] = { "self","timet", NULL
};
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetTimeT",_kwnames
,&_argo0
,&_arg1
))
3003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetTimeT. Expected _wxDateTime_p.");
3010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3011 wxDateTime
& _result_ref
= wxDateTime_SetTimeT(_arg0
,_arg1
);
3012 _result
= (wxDateTime
*) &_result_ref
;
3014 wxPyEndAllowThreads(__tstate
);
3015 if (PyErr_Occurred()) return NULL
;
3017 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3018 _resultobj
= Py_BuildValue("s",_ptemp
);
3021 _resultobj
= Py_None
;
3026 #define wxDateTime_SetJDN(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
3027 static PyObject
*_wrap_wxDateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
* _resultobj
;
3029 wxDateTime
* _result
;
3032 PyObject
* _argo0
= 0;
3033 char *_kwnames
[] = { "self","jdn", NULL
};
3037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxDateTime_SetJDN",_kwnames
,&_argo0
,&_arg1
))
3040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetJDN. Expected _wxDateTime_p.");
3047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3048 wxDateTime
& _result_ref
= wxDateTime_SetJDN(_arg0
,_arg1
);
3049 _result
= (wxDateTime
*) &_result_ref
;
3051 wxPyEndAllowThreads(__tstate
);
3052 if (PyErr_Occurred()) return NULL
;
3054 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3055 _resultobj
= Py_BuildValue("s",_ptemp
);
3058 _resultobj
= Py_None
;
3063 #define wxDateTime_SetHMS(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3064 static PyObject
*_wrap_wxDateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3065 PyObject
* _resultobj
;
3066 wxDateTime
* _result
;
3068 wxDateTime::wxDateTime_t _arg1
;
3069 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
3070 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
3071 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
3072 PyObject
* _argo0
= 0;
3073 char *_kwnames
[] = { "self","hour","minute","second","millisec", NULL
};
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|hhh:wxDateTime_SetHMS",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHMS. Expected _wxDateTime_p.");
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 wxDateTime
& _result_ref
= wxDateTime_SetHMS(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3089 _result
= (wxDateTime
*) &_result_ref
;
3091 wxPyEndAllowThreads(__tstate
);
3092 if (PyErr_Occurred()) return NULL
;
3094 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3095 _resultobj
= Py_BuildValue("s",_ptemp
);
3098 _resultobj
= Py_None
;
3103 #define wxDateTime_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3104 static PyObject
*_wrap_wxDateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
* _resultobj
;
3106 wxDateTime
* _result
;
3108 wxDateTime::wxDateTime_t _arg1
;
3109 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3110 int _arg3
= (int ) wxDateTime::Inv_Year
;
3111 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
3112 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
3113 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
3114 wxDateTime::wxDateTime_t _arg7
= (wxDateTime::wxDateTime_t
) 0;
3115 PyObject
* _argo0
= 0;
3116 char *_kwnames
[] = { "self","day","month","year","hour","minute","second","millisec", NULL
};
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|iihhhh:wxDateTime_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
3123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Set. Expected _wxDateTime_p.");
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 wxDateTime
& _result_ref
= wxDateTime_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
3132 _result
= (wxDateTime
*) &_result_ref
;
3134 wxPyEndAllowThreads(__tstate
);
3135 if (PyErr_Occurred()) return NULL
;
3137 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3138 _resultobj
= Py_BuildValue("s",_ptemp
);
3141 _resultobj
= Py_None
;
3146 #define wxDateTime_ResetTime(_swigobj) (_swigobj->ResetTime())
3147 static PyObject
*_wrap_wxDateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3148 PyObject
* _resultobj
;
3149 wxDateTime
* _result
;
3151 PyObject
* _argo0
= 0;
3152 char *_kwnames
[] = { "self", NULL
};
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_ResetTime",_kwnames
,&_argo0
))
3159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ResetTime. Expected _wxDateTime_p.");
3166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3167 wxDateTime
& _result_ref
= wxDateTime_ResetTime(_arg0
);
3168 _result
= (wxDateTime
*) &_result_ref
;
3170 wxPyEndAllowThreads(__tstate
);
3171 if (PyErr_Occurred()) return NULL
;
3173 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3174 _resultobj
= Py_BuildValue("s",_ptemp
);
3177 _resultobj
= Py_None
;
3182 #define wxDateTime_SetYear(_swigobj,_swigarg0) (_swigobj->SetYear(_swigarg0))
3183 static PyObject
*_wrap_wxDateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3184 PyObject
* _resultobj
;
3185 wxDateTime
* _result
;
3188 PyObject
* _argo0
= 0;
3189 char *_kwnames
[] = { "self","year", NULL
};
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetYear",_kwnames
,&_argo0
,&_arg1
))
3196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetYear. Expected _wxDateTime_p.");
3203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3204 wxDateTime
& _result_ref
= wxDateTime_SetYear(_arg0
,_arg1
);
3205 _result
= (wxDateTime
*) &_result_ref
;
3207 wxPyEndAllowThreads(__tstate
);
3208 if (PyErr_Occurred()) return NULL
;
3210 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3211 _resultobj
= Py_BuildValue("s",_ptemp
);
3214 _resultobj
= Py_None
;
3219 #define wxDateTime_SetMonth(_swigobj,_swigarg0) (_swigobj->SetMonth(_swigarg0))
3220 static PyObject
*_wrap_wxDateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
* _resultobj
;
3222 wxDateTime
* _result
;
3224 wxDateTime::Month _arg1
;
3225 PyObject
* _argo0
= 0;
3226 char *_kwnames
[] = { "self","month", NULL
};
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetMonth",_kwnames
,&_argo0
,&_arg1
))
3233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMonth. Expected _wxDateTime_p.");
3240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3241 wxDateTime
& _result_ref
= wxDateTime_SetMonth(_arg0
,_arg1
);
3242 _result
= (wxDateTime
*) &_result_ref
;
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) return NULL
;
3247 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3248 _resultobj
= Py_BuildValue("s",_ptemp
);
3251 _resultobj
= Py_None
;
3256 #define wxDateTime_SetDay(_swigobj,_swigarg0) (_swigobj->SetDay(_swigarg0))
3257 static PyObject
*_wrap_wxDateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
* _resultobj
;
3259 wxDateTime
* _result
;
3261 wxDateTime::wxDateTime_t _arg1
;
3262 PyObject
* _argo0
= 0;
3263 char *_kwnames
[] = { "self","day", NULL
};
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetDay",_kwnames
,&_argo0
,&_arg1
))
3270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetDay. Expected _wxDateTime_p.");
3277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3278 wxDateTime
& _result_ref
= wxDateTime_SetDay(_arg0
,_arg1
);
3279 _result
= (wxDateTime
*) &_result_ref
;
3281 wxPyEndAllowThreads(__tstate
);
3282 if (PyErr_Occurred()) return NULL
;
3284 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3285 _resultobj
= Py_BuildValue("s",_ptemp
);
3288 _resultobj
= Py_None
;
3293 #define wxDateTime_SetHour(_swigobj,_swigarg0) (_swigobj->SetHour(_swigarg0))
3294 static PyObject
*_wrap_wxDateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3295 PyObject
* _resultobj
;
3296 wxDateTime
* _result
;
3298 wxDateTime::wxDateTime_t _arg1
;
3299 PyObject
* _argo0
= 0;
3300 char *_kwnames
[] = { "self","hour", NULL
};
3304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetHour",_kwnames
,&_argo0
,&_arg1
))
3307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHour. Expected _wxDateTime_p.");
3314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3315 wxDateTime
& _result_ref
= wxDateTime_SetHour(_arg0
,_arg1
);
3316 _result
= (wxDateTime
*) &_result_ref
;
3318 wxPyEndAllowThreads(__tstate
);
3319 if (PyErr_Occurred()) return NULL
;
3321 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3322 _resultobj
= Py_BuildValue("s",_ptemp
);
3325 _resultobj
= Py_None
;
3330 #define wxDateTime_SetMinute(_swigobj,_swigarg0) (_swigobj->SetMinute(_swigarg0))
3331 static PyObject
*_wrap_wxDateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
* _resultobj
;
3333 wxDateTime
* _result
;
3335 wxDateTime::wxDateTime_t _arg1
;
3336 PyObject
* _argo0
= 0;
3337 char *_kwnames
[] = { "self","minute", NULL
};
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMinute",_kwnames
,&_argo0
,&_arg1
))
3344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMinute. Expected _wxDateTime_p.");
3351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3352 wxDateTime
& _result_ref
= wxDateTime_SetMinute(_arg0
,_arg1
);
3353 _result
= (wxDateTime
*) &_result_ref
;
3355 wxPyEndAllowThreads(__tstate
);
3356 if (PyErr_Occurred()) return NULL
;
3358 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3359 _resultobj
= Py_BuildValue("s",_ptemp
);
3362 _resultobj
= Py_None
;
3367 #define wxDateTime_SetSecond(_swigobj,_swigarg0) (_swigobj->SetSecond(_swigarg0))
3368 static PyObject
*_wrap_wxDateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
* _resultobj
;
3370 wxDateTime
* _result
;
3372 wxDateTime::wxDateTime_t _arg1
;
3373 PyObject
* _argo0
= 0;
3374 char *_kwnames
[] = { "self","second", NULL
};
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetSecond",_kwnames
,&_argo0
,&_arg1
))
3381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetSecond. Expected _wxDateTime_p.");
3388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3389 wxDateTime
& _result_ref
= wxDateTime_SetSecond(_arg0
,_arg1
);
3390 _result
= (wxDateTime
*) &_result_ref
;
3392 wxPyEndAllowThreads(__tstate
);
3393 if (PyErr_Occurred()) return NULL
;
3395 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3396 _resultobj
= Py_BuildValue("s",_ptemp
);
3399 _resultobj
= Py_None
;
3404 #define wxDateTime_SetMillisecond(_swigobj,_swigarg0) (_swigobj->SetMillisecond(_swigarg0))
3405 static PyObject
*_wrap_wxDateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
* _resultobj
;
3407 wxDateTime
* _result
;
3409 wxDateTime::wxDateTime_t _arg1
;
3410 PyObject
* _argo0
= 0;
3411 char *_kwnames
[] = { "self","millisecond", NULL
};
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMillisecond",_kwnames
,&_argo0
,&_arg1
))
3418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMillisecond. Expected _wxDateTime_p.");
3425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3426 wxDateTime
& _result_ref
= wxDateTime_SetMillisecond(_arg0
,_arg1
);
3427 _result
= (wxDateTime
*) &_result_ref
;
3429 wxPyEndAllowThreads(__tstate
);
3430 if (PyErr_Occurred()) return NULL
;
3432 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3433 _resultobj
= Py_BuildValue("s",_ptemp
);
3436 _resultobj
= Py_None
;
3441 #define wxDateTime_SetToWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->SetToWeekDayInSameWeek(_swigarg0))
3442 static PyObject
*_wrap_wxDateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
* _resultobj
;
3444 wxDateTime
* _result
;
3446 wxDateTime::WeekDay _arg1
;
3447 PyObject
* _argo0
= 0;
3448 char *_kwnames
[] = { "self","weekday", NULL
};
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
))
3455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDayInSameWeek. Expected _wxDateTime_p.");
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 wxDateTime
& _result_ref
= wxDateTime_SetToWeekDayInSameWeek(_arg0
,_arg1
);
3464 _result
= (wxDateTime
*) &_result_ref
;
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) return NULL
;
3469 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3470 _resultobj
= Py_BuildValue("s",_ptemp
);
3473 _resultobj
= Py_None
;
3478 #define wxDateTime_GetWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->GetWeekDayInSameWeek(_swigarg0))
3479 static PyObject
*_wrap_wxDateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
* _resultobj
;
3481 wxDateTime
* _result
;
3483 wxDateTime::WeekDay _arg1
;
3484 PyObject
* _argo0
= 0;
3485 char *_kwnames
[] = { "self","weekday", NULL
};
3489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
))
3492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDayInSameWeek. Expected _wxDateTime_p.");
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 _result
= new wxDateTime (wxDateTime_GetWeekDayInSameWeek(_arg0
,_arg1
));
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) return NULL
;
3504 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3505 _resultobj
= Py_BuildValue("s",_ptemp
);
3509 #define wxDateTime_SetToNextWeekDay(_swigobj,_swigarg0) (_swigobj->SetToNextWeekDay(_swigarg0))
3510 static PyObject
*_wrap_wxDateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
* _resultobj
;
3512 wxDateTime
* _result
;
3514 wxDateTime::WeekDay _arg1
;
3515 PyObject
* _argo0
= 0;
3516 char *_kwnames
[] = { "self","weekday", NULL
};
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
3523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToNextWeekDay. Expected _wxDateTime_p.");
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 wxDateTime
& _result_ref
= wxDateTime_SetToNextWeekDay(_arg0
,_arg1
);
3532 _result
= (wxDateTime
*) &_result_ref
;
3534 wxPyEndAllowThreads(__tstate
);
3535 if (PyErr_Occurred()) return NULL
;
3537 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3538 _resultobj
= Py_BuildValue("s",_ptemp
);
3541 _resultobj
= Py_None
;
3546 #define wxDateTime_GetNextWeekDay(_swigobj,_swigarg0) (_swigobj->GetNextWeekDay(_swigarg0))
3547 static PyObject
*_wrap_wxDateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
* _resultobj
;
3549 wxDateTime
* _result
;
3551 wxDateTime::WeekDay _arg1
;
3552 PyObject
* _argo0
= 0;
3553 char *_kwnames
[] = { "self","weekday", NULL
};
3557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
3560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetNextWeekDay. Expected _wxDateTime_p.");
3567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3568 _result
= new wxDateTime (wxDateTime_GetNextWeekDay(_arg0
,_arg1
));
3570 wxPyEndAllowThreads(__tstate
);
3571 if (PyErr_Occurred()) return NULL
;
3572 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3573 _resultobj
= Py_BuildValue("s",_ptemp
);
3577 #define wxDateTime_SetToPrevWeekDay(_swigobj,_swigarg0) (_swigobj->SetToPrevWeekDay(_swigarg0))
3578 static PyObject
*_wrap_wxDateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
* _resultobj
;
3580 wxDateTime
* _result
;
3582 wxDateTime::WeekDay _arg1
;
3583 PyObject
* _argo0
= 0;
3584 char *_kwnames
[] = { "self","weekday", NULL
};
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToPrevWeekDay. Expected _wxDateTime_p.");
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 wxDateTime
& _result_ref
= wxDateTime_SetToPrevWeekDay(_arg0
,_arg1
);
3600 _result
= (wxDateTime
*) &_result_ref
;
3602 wxPyEndAllowThreads(__tstate
);
3603 if (PyErr_Occurred()) return NULL
;
3605 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3606 _resultobj
= Py_BuildValue("s",_ptemp
);
3609 _resultobj
= Py_None
;
3614 #define wxDateTime_GetPrevWeekDay(_swigobj,_swigarg0) (_swigobj->GetPrevWeekDay(_swigarg0))
3615 static PyObject
*_wrap_wxDateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3616 PyObject
* _resultobj
;
3617 wxDateTime
* _result
;
3619 wxDateTime::WeekDay _arg1
;
3620 PyObject
* _argo0
= 0;
3621 char *_kwnames
[] = { "self","weekday", NULL
};
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetPrevWeekDay. Expected _wxDateTime_p.");
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 _result
= new wxDateTime (wxDateTime_GetPrevWeekDay(_arg0
,_arg1
));
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) return NULL
;
3640 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3641 _resultobj
= Py_BuildValue("s",_ptemp
);
3645 #define wxDateTime_SetToWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetToWeekDay(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3646 static PyObject
*_wrap_wxDateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
* _resultobj
;
3650 wxDateTime::WeekDay _arg1
;
3651 int _arg2
= (int ) 1;
3652 wxDateTime::Month _arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3653 int _arg4
= (int ) wxDateTime::Inv_Year
;
3654 PyObject
* _argo0
= 0;
3655 char *_kwnames
[] = { "self","weekday","n","month","year", NULL
};
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iii:wxDateTime_SetToWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDay. Expected _wxDateTime_p.");
3668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3669 _result
= (bool )wxDateTime_SetToWeekDay(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3671 wxPyEndAllowThreads(__tstate
);
3672 if (PyErr_Occurred()) return NULL
;
3673 } _resultobj
= Py_BuildValue("i",_result
);
3677 #define wxDateTime_SetToLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetToLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3678 static PyObject
*_wrap_wxDateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3679 PyObject
* _resultobj
;
3682 wxDateTime::WeekDay _arg1
;
3683 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3684 int _arg3
= (int ) wxDateTime::Inv_Year
;
3685 PyObject
* _argo0
= 0;
3686 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_SetToLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastWeekDay. Expected _wxDateTime_p.");
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3700 _result
= (bool )wxDateTime_SetToLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
);
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) return NULL
;
3704 } _resultobj
= Py_BuildValue("i",_result
);
3708 #define wxDateTime_GetLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3709 static PyObject
*_wrap_wxDateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
* _resultobj
;
3711 wxDateTime
* _result
;
3713 wxDateTime::WeekDay _arg1
;
3714 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3715 int _arg3
= (int ) wxDateTime::Inv_Year
;
3716 PyObject
* _argo0
= 0;
3717 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_GetLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastWeekDay. Expected _wxDateTime_p.");
3731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3732 _result
= new wxDateTime (wxDateTime_GetLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
));
3734 wxPyEndAllowThreads(__tstate
);
3735 if (PyErr_Occurred()) return NULL
;
3736 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3737 _resultobj
= Py_BuildValue("s",_ptemp
);
3741 #define wxDateTime_SetToTheWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToTheWeek(_swigarg0,_swigarg1))
3742 static PyObject
*_wrap_wxDateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
* _resultobj
;
3746 wxDateTime::wxDateTime_t _arg1
;
3747 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3748 PyObject
* _argo0
= 0;
3749 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_SetToTheWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToTheWeek. Expected _wxDateTime_p.");
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 _result
= (bool )wxDateTime_SetToTheWeek(_arg0
,_arg1
,_arg2
);
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) return NULL
;
3767 } _resultobj
= Py_BuildValue("i",_result
);
3771 #define wxDateTime_GetWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeek(_swigarg0,_swigarg1))
3772 static PyObject
*_wrap_wxDateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
* _resultobj
;
3774 wxDateTime
* _result
;
3776 wxDateTime::wxDateTime_t _arg1
;
3777 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3778 PyObject
* _argo0
= 0;
3779 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_GetWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeek. Expected _wxDateTime_p.");
3793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3794 _result
= new wxDateTime (wxDateTime_GetWeek(_arg0
,_arg1
,_arg2
));
3796 wxPyEndAllowThreads(__tstate
);
3797 if (PyErr_Occurred()) return NULL
;
3798 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3799 _resultobj
= Py_BuildValue("s",_ptemp
);
3803 #define wxDateTime_SetToLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToLastMonthDay(_swigarg0,_swigarg1))
3804 static PyObject
*_wrap_wxDateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
* _resultobj
;
3806 wxDateTime
* _result
;
3808 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3809 int _arg2
= (int ) wxDateTime::Inv_Year
;
3810 PyObject
* _argo0
= 0;
3811 char *_kwnames
[] = { "self","month","year", NULL
};
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_SetToLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastMonthDay. Expected _wxDateTime_p.");
3825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3826 wxDateTime
& _result_ref
= wxDateTime_SetToLastMonthDay(_arg0
,_arg1
,_arg2
);
3827 _result
= (wxDateTime
*) &_result_ref
;
3829 wxPyEndAllowThreads(__tstate
);
3830 if (PyErr_Occurred()) return NULL
;
3832 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3833 _resultobj
= Py_BuildValue("s",_ptemp
);
3836 _resultobj
= Py_None
;
3841 #define wxDateTime_GetLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastMonthDay(_swigarg0,_swigarg1))
3842 static PyObject
*_wrap_wxDateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
* _resultobj
;
3844 wxDateTime
* _result
;
3846 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3847 int _arg2
= (int ) wxDateTime::Inv_Year
;
3848 PyObject
* _argo0
= 0;
3849 char *_kwnames
[] = { "self","month","year", NULL
};
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_GetLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastMonthDay. Expected _wxDateTime_p.");
3863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3864 _result
= new wxDateTime (wxDateTime_GetLastMonthDay(_arg0
,_arg1
,_arg2
));
3866 wxPyEndAllowThreads(__tstate
);
3867 if (PyErr_Occurred()) return NULL
;
3868 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3869 _resultobj
= Py_BuildValue("s",_ptemp
);
3873 #define wxDateTime_SetToYearDay(_swigobj,_swigarg0) (_swigobj->SetToYearDay(_swigarg0))
3874 static PyObject
*_wrap_wxDateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3875 PyObject
* _resultobj
;
3876 wxDateTime
* _result
;
3878 wxDateTime::wxDateTime_t _arg1
;
3879 PyObject
* _argo0
= 0;
3880 char *_kwnames
[] = { "self","yday", NULL
};
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetToYearDay",_kwnames
,&_argo0
,&_arg1
))
3887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToYearDay. Expected _wxDateTime_p.");
3894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3895 wxDateTime
& _result_ref
= wxDateTime_SetToYearDay(_arg0
,_arg1
);
3896 _result
= (wxDateTime
*) &_result_ref
;
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) return NULL
;
3901 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3902 _resultobj
= Py_BuildValue("s",_ptemp
);
3905 _resultobj
= Py_None
;
3910 #define wxDateTime_GetYearDay(_swigobj,_swigarg0) (_swigobj->GetYearDay(_swigarg0))
3911 static PyObject
*_wrap_wxDateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3912 PyObject
* _resultobj
;
3913 wxDateTime
* _result
;
3915 wxDateTime::wxDateTime_t _arg1
;
3916 PyObject
* _argo0
= 0;
3917 char *_kwnames
[] = { "self","yday", NULL
};
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_GetYearDay",_kwnames
,&_argo0
,&_arg1
))
3924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYearDay. Expected _wxDateTime_p.");
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 _result
= new wxDateTime (wxDateTime_GetYearDay(_arg0
,_arg1
));
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) return NULL
;
3936 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3937 _resultobj
= Py_BuildValue("s",_ptemp
);
3941 #define wxDateTime_GetJulianDayNumber(_swigobj) (_swigobj->GetJulianDayNumber())
3942 static PyObject
*_wrap_wxDateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
* _resultobj
;
3946 PyObject
* _argo0
= 0;
3947 char *_kwnames
[] = { "self", NULL
};
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJulianDayNumber",_kwnames
,&_argo0
))
3953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJulianDayNumber. Expected _wxDateTime_p.");
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 _result
= (double )wxDateTime_GetJulianDayNumber(_arg0
);
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) return NULL
;
3965 } _resultobj
= Py_BuildValue("d",_result
);
3969 #define wxDateTime_GetJDN(_swigobj) (_swigobj->GetJDN())
3970 static PyObject
*_wrap_wxDateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
* _resultobj
;
3974 PyObject
* _argo0
= 0;
3975 char *_kwnames
[] = { "self", NULL
};
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJDN",_kwnames
,&_argo0
))
3981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJDN. Expected _wxDateTime_p.");
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 _result
= (double )wxDateTime_GetJDN(_arg0
);
3991 wxPyEndAllowThreads(__tstate
);
3992 if (PyErr_Occurred()) return NULL
;
3993 } _resultobj
= Py_BuildValue("d",_result
);
3997 #define wxDateTime_GetModifiedJulianDayNumber(_swigobj) (_swigobj->GetModifiedJulianDayNumber())
3998 static PyObject
*_wrap_wxDateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3999 PyObject
* _resultobj
;
4002 PyObject
* _argo0
= 0;
4003 char *_kwnames
[] = { "self", NULL
};
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetModifiedJulianDayNumber",_kwnames
,&_argo0
))
4009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetModifiedJulianDayNumber. Expected _wxDateTime_p.");
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 _result
= (double )wxDateTime_GetModifiedJulianDayNumber(_arg0
);
4019 wxPyEndAllowThreads(__tstate
);
4020 if (PyErr_Occurred()) return NULL
;
4021 } _resultobj
= Py_BuildValue("d",_result
);
4025 #define wxDateTime_GetMJD(_swigobj) (_swigobj->GetMJD())
4026 static PyObject
*_wrap_wxDateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
* _resultobj
;
4030 PyObject
* _argo0
= 0;
4031 char *_kwnames
[] = { "self", NULL
};
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetMJD",_kwnames
,&_argo0
))
4037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMJD. Expected _wxDateTime_p.");
4044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4045 _result
= (double )wxDateTime_GetMJD(_arg0
);
4047 wxPyEndAllowThreads(__tstate
);
4048 if (PyErr_Occurred()) return NULL
;
4049 } _resultobj
= Py_BuildValue("d",_result
);
4053 #define wxDateTime_GetRataDie(_swigobj) (_swigobj->GetRataDie())
4054 static PyObject
*_wrap_wxDateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4055 PyObject
* _resultobj
;
4058 PyObject
* _argo0
= 0;
4059 char *_kwnames
[] = { "self", NULL
};
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetRataDie",_kwnames
,&_argo0
))
4065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetRataDie. Expected _wxDateTime_p.");
4072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 _result
= (double )wxDateTime_GetRataDie(_arg0
);
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) return NULL
;
4077 } _resultobj
= Py_BuildValue("d",_result
);
4081 #define wxDateTime_ToTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToTimezone(_swigarg0,_swigarg1))
4082 static PyObject
*_wrap_wxDateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
* _resultobj
;
4084 wxDateTime
* _result
;
4086 wxDateTime::TimeZone
* _arg1
;
4087 bool _arg2
= (bool ) FALSE
;
4088 PyObject
* _argo0
= 0;
4089 PyObject
* _obj1
= 0;
4090 int tempbool2
= (int) FALSE
;
4091 char *_kwnames
[] = { "self","tz","noDST", NULL
};
4095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_ToTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
4098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToTimezone. Expected _wxDateTime_p.");
4105 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4107 _arg2
= (bool ) tempbool2
;
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 _result
= new wxDateTime (wxDateTime_ToTimezone(_arg0
,*_arg1
,_arg2
));
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) return NULL
;
4114 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4115 _resultobj
= Py_BuildValue("s",_ptemp
);
4117 if (_arg1
) delete _arg1
;
4122 #define wxDateTime_MakeTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeTimezone(_swigarg0,_swigarg1))
4123 static PyObject
*_wrap_wxDateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
* _resultobj
;
4125 wxDateTime
* _result
;
4127 wxDateTime::TimeZone
* _arg1
;
4128 bool _arg2
= (bool ) FALSE
;
4129 PyObject
* _argo0
= 0;
4130 PyObject
* _obj1
= 0;
4131 int tempbool2
= (int) FALSE
;
4132 char *_kwnames
[] = { "self","tz","noDST", NULL
};
4136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_MakeTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
4139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeTimezone. Expected _wxDateTime_p.");
4146 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4148 _arg2
= (bool ) tempbool2
;
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 wxDateTime
& _result_ref
= wxDateTime_MakeTimezone(_arg0
,*_arg1
,_arg2
);
4152 _result
= (wxDateTime
*) &_result_ref
;
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) return NULL
;
4157 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4158 _resultobj
= Py_BuildValue("s",_ptemp
);
4161 _resultobj
= Py_None
;
4164 if (_arg1
) delete _arg1
;
4169 #define wxDateTime_ToGMT(_swigobj,_swigarg0) (_swigobj->ToGMT(_swigarg0))
4170 static PyObject
*_wrap_wxDateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
* _resultobj
;
4172 wxDateTime
* _result
;
4174 bool _arg1
= (bool ) FALSE
;
4175 PyObject
* _argo0
= 0;
4176 int tempbool1
= (int) FALSE
;
4177 char *_kwnames
[] = { "self","noDST", NULL
};
4181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_ToGMT",_kwnames
,&_argo0
,&tempbool1
))
4184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToGMT. Expected _wxDateTime_p.");
4190 _arg1
= (bool ) tempbool1
;
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 _result
= new wxDateTime (wxDateTime_ToGMT(_arg0
,_arg1
));
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) return NULL
;
4197 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4198 _resultobj
= Py_BuildValue("s",_ptemp
);
4202 #define wxDateTime_MakeGMT(_swigobj,_swigarg0) (_swigobj->MakeGMT(_swigarg0))
4203 static PyObject
*_wrap_wxDateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
* _resultobj
;
4205 wxDateTime
* _result
;
4207 bool _arg1
= (bool ) FALSE
;
4208 PyObject
* _argo0
= 0;
4209 int tempbool1
= (int) FALSE
;
4210 char *_kwnames
[] = { "self","noDST", NULL
};
4214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_MakeGMT",_kwnames
,&_argo0
,&tempbool1
))
4217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeGMT. Expected _wxDateTime_p.");
4223 _arg1
= (bool ) tempbool1
;
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 wxDateTime
& _result_ref
= wxDateTime_MakeGMT(_arg0
,_arg1
);
4227 _result
= (wxDateTime
*) &_result_ref
;
4229 wxPyEndAllowThreads(__tstate
);
4230 if (PyErr_Occurred()) return NULL
;
4232 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4233 _resultobj
= Py_BuildValue("s",_ptemp
);
4236 _resultobj
= Py_None
;
4241 #define wxDateTime_IsDST(_swigobj,_swigarg0) (_swigobj->IsDST(_swigarg0))
4242 static PyObject
*_wrap_wxDateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
* _resultobj
;
4246 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
4247 PyObject
* _argo0
= 0;
4248 char *_kwnames
[] = { "self","country", NULL
};
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsDST",_kwnames
,&_argo0
,&_arg1
))
4254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsDST. Expected _wxDateTime_p.");
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 _result
= (int )wxDateTime_IsDST(_arg0
,_arg1
);
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) return NULL
;
4266 } _resultobj
= Py_BuildValue("i",_result
);
4270 #define wxDateTime_IsValid(_swigobj) (_swigobj->IsValid())
4271 static PyObject
*_wrap_wxDateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4272 PyObject
* _resultobj
;
4275 PyObject
* _argo0
= 0;
4276 char *_kwnames
[] = { "self", NULL
};
4279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_IsValid",_kwnames
,&_argo0
))
4282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsValid. Expected _wxDateTime_p.");
4289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4290 _result
= (bool )wxDateTime_IsValid(_arg0
);
4292 wxPyEndAllowThreads(__tstate
);
4293 if (PyErr_Occurred()) return NULL
;
4294 } _resultobj
= Py_BuildValue("i",_result
);
4298 #define wxDateTime_GetTicks(_swigobj) (_swigobj->GetTicks())
4299 static PyObject
*_wrap_wxDateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4300 PyObject
* _resultobj
;
4303 PyObject
* _argo0
= 0;
4304 char *_kwnames
[] = { "self", NULL
};
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetTicks",_kwnames
,&_argo0
))
4310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetTicks. Expected _wxDateTime_p.");
4317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4318 _result
= (time_t )wxDateTime_GetTicks(_arg0
);
4320 wxPyEndAllowThreads(__tstate
);
4321 if (PyErr_Occurred()) return NULL
;
4322 } _resultobj
= Py_BuildValue("i",_result
);
4326 #define wxDateTime_GetYear(_swigobj,_swigarg0) (_swigobj->GetYear(_swigarg0))
4327 static PyObject
*_wrap_wxDateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
* _resultobj
;
4331 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4332 PyObject
* _argo0
= 0;
4333 PyObject
* _obj1
= 0;
4334 char *_kwnames
[] = { "self","tz", NULL
};
4337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetYear",_kwnames
,&_argo0
,&_obj1
))
4340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYear. Expected _wxDateTime_p.");
4348 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4352 _result
= (int )wxDateTime_GetYear(_arg0
,*_arg1
);
4354 wxPyEndAllowThreads(__tstate
);
4355 if (PyErr_Occurred()) return NULL
;
4356 } _resultobj
= Py_BuildValue("i",_result
);
4358 if (_arg1
) delete _arg1
;
4363 #define wxDateTime_GetMonth(_swigobj,_swigarg0) (_swigobj->GetMonth(_swigarg0))
4364 static PyObject
*_wrap_wxDateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4365 PyObject
* _resultobj
;
4366 wxDateTime::Month _result
;
4368 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4369 PyObject
* _argo0
= 0;
4370 PyObject
* _obj1
= 0;
4371 char *_kwnames
[] = { "self","tz", NULL
};
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMonth",_kwnames
,&_argo0
,&_obj1
))
4377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMonth. Expected _wxDateTime_p.");
4385 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4389 _result
= (wxDateTime::Month
)wxDateTime_GetMonth(_arg0
,*_arg1
);
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) return NULL
;
4393 } _resultobj
= Py_BuildValue("i",_result
);
4395 if (_arg1
) delete _arg1
;
4400 #define wxDateTime_GetDay(_swigobj,_swigarg0) (_swigobj->GetDay(_swigarg0))
4401 static PyObject
*_wrap_wxDateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
* _resultobj
;
4403 wxDateTime::wxDateTime_t _result
;
4405 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4406 PyObject
* _argo0
= 0;
4407 PyObject
* _obj1
= 0;
4408 char *_kwnames
[] = { "self","tz", NULL
};
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDay",_kwnames
,&_argo0
,&_obj1
))
4414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDay. Expected _wxDateTime_p.");
4422 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4426 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDay(_arg0
,*_arg1
);
4428 wxPyEndAllowThreads(__tstate
);
4429 if (PyErr_Occurred()) return NULL
;
4430 } _resultobj
= Py_BuildValue("h",_result
);
4432 if (_arg1
) delete _arg1
;
4437 #define wxDateTime_GetWeekDay(_swigobj,_swigarg0) (_swigobj->GetWeekDay(_swigarg0))
4438 static PyObject
*_wrap_wxDateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
* _resultobj
;
4440 wxDateTime::WeekDay _result
;
4442 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4443 PyObject
* _argo0
= 0;
4444 PyObject
* _obj1
= 0;
4445 char *_kwnames
[] = { "self","tz", NULL
};
4448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetWeekDay",_kwnames
,&_argo0
,&_obj1
))
4451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDay. Expected _wxDateTime_p.");
4459 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 _result
= (wxDateTime::WeekDay
)wxDateTime_GetWeekDay(_arg0
,*_arg1
);
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) return NULL
;
4467 } _resultobj
= Py_BuildValue("i",_result
);
4469 if (_arg1
) delete _arg1
;
4474 #define wxDateTime_GetHour(_swigobj,_swigarg0) (_swigobj->GetHour(_swigarg0))
4475 static PyObject
*_wrap_wxDateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
* _resultobj
;
4477 wxDateTime::wxDateTime_t _result
;
4479 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4480 PyObject
* _argo0
= 0;
4481 PyObject
* _obj1
= 0;
4482 char *_kwnames
[] = { "self","tz", NULL
};
4485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetHour",_kwnames
,&_argo0
,&_obj1
))
4488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetHour. Expected _wxDateTime_p.");
4496 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetHour(_arg0
,*_arg1
);
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) return NULL
;
4504 } _resultobj
= Py_BuildValue("h",_result
);
4506 if (_arg1
) delete _arg1
;
4511 #define wxDateTime_GetMinute(_swigobj,_swigarg0) (_swigobj->GetMinute(_swigarg0))
4512 static PyObject
*_wrap_wxDateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
* _resultobj
;
4514 wxDateTime::wxDateTime_t _result
;
4516 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4517 PyObject
* _argo0
= 0;
4518 PyObject
* _obj1
= 0;
4519 char *_kwnames
[] = { "self","tz", NULL
};
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMinute",_kwnames
,&_argo0
,&_obj1
))
4525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMinute. Expected _wxDateTime_p.");
4533 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMinute(_arg0
,*_arg1
);
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) return NULL
;
4541 } _resultobj
= Py_BuildValue("h",_result
);
4543 if (_arg1
) delete _arg1
;
4548 #define wxDateTime_GetSecond(_swigobj,_swigarg0) (_swigobj->GetSecond(_swigarg0))
4549 static PyObject
*_wrap_wxDateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
* _resultobj
;
4551 wxDateTime::wxDateTime_t _result
;
4553 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4554 PyObject
* _argo0
= 0;
4555 PyObject
* _obj1
= 0;
4556 char *_kwnames
[] = { "self","tz", NULL
};
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetSecond",_kwnames
,&_argo0
,&_obj1
))
4562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetSecond. Expected _wxDateTime_p.");
4570 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetSecond(_arg0
,*_arg1
);
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) return NULL
;
4578 } _resultobj
= Py_BuildValue("h",_result
);
4580 if (_arg1
) delete _arg1
;
4585 #define wxDateTime_GetMillisecond(_swigobj,_swigarg0) (_swigobj->GetMillisecond(_swigarg0))
4586 static PyObject
*_wrap_wxDateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4587 PyObject
* _resultobj
;
4588 wxDateTime::wxDateTime_t _result
;
4590 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4591 PyObject
* _argo0
= 0;
4592 PyObject
* _obj1
= 0;
4593 char *_kwnames
[] = { "self","tz", NULL
};
4596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMillisecond",_kwnames
,&_argo0
,&_obj1
))
4599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMillisecond. Expected _wxDateTime_p.");
4607 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4611 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMillisecond(_arg0
,*_arg1
);
4613 wxPyEndAllowThreads(__tstate
);
4614 if (PyErr_Occurred()) return NULL
;
4615 } _resultobj
= Py_BuildValue("h",_result
);
4617 if (_arg1
) delete _arg1
;
4622 #define wxDateTime_GetDayOfYear(_swigobj,_swigarg0) (_swigobj->GetDayOfYear(_swigarg0))
4623 static PyObject
*_wrap_wxDateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
* _resultobj
;
4625 wxDateTime::wxDateTime_t _result
;
4627 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4628 PyObject
* _argo0
= 0;
4629 PyObject
* _obj1
= 0;
4630 char *_kwnames
[] = { "self","tz", NULL
};
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDayOfYear",_kwnames
,&_argo0
,&_obj1
))
4636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDayOfYear. Expected _wxDateTime_p.");
4644 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4648 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDayOfYear(_arg0
,*_arg1
);
4650 wxPyEndAllowThreads(__tstate
);
4651 if (PyErr_Occurred()) return NULL
;
4652 } _resultobj
= Py_BuildValue("h",_result
);
4654 if (_arg1
) delete _arg1
;
4659 #define wxDateTime_GetWeekOfYear(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfYear(_swigarg0,_swigarg1))
4660 static PyObject
*_wrap_wxDateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
* _resultobj
;
4662 wxDateTime::wxDateTime_t _result
;
4664 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4665 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4666 PyObject
* _argo0
= 0;
4667 PyObject
* _obj2
= 0;
4668 char *_kwnames
[] = { "self","flags","tz", NULL
};
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfYear",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfYear. Expected _wxDateTime_p.");
4682 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4686 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfYear(_arg0
,_arg1
,*_arg2
);
4688 wxPyEndAllowThreads(__tstate
);
4689 if (PyErr_Occurred()) return NULL
;
4690 } _resultobj
= Py_BuildValue("h",_result
);
4692 if (_arg2
) delete _arg2
;
4697 #define wxDateTime_GetWeekOfMonth(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfMonth(_swigarg0,_swigarg1))
4698 static PyObject
*_wrap_wxDateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4699 PyObject
* _resultobj
;
4700 wxDateTime::wxDateTime_t _result
;
4702 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4703 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4704 PyObject
* _argo0
= 0;
4705 PyObject
* _obj2
= 0;
4706 char *_kwnames
[] = { "self","flags","tz", NULL
};
4709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfMonth",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfMonth. Expected _wxDateTime_p.");
4720 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfMonth(_arg0
,_arg1
,*_arg2
);
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) return NULL
;
4728 } _resultobj
= Py_BuildValue("h",_result
);
4730 if (_arg2
) delete _arg2
;
4735 #define wxDateTime_IsWorkDay(_swigobj,_swigarg0) (_swigobj->IsWorkDay(_swigarg0))
4736 static PyObject
*_wrap_wxDateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
* _resultobj
;
4740 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
4741 PyObject
* _argo0
= 0;
4742 char *_kwnames
[] = { "self","country", NULL
};
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsWorkDay",_kwnames
,&_argo0
,&_arg1
))
4748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsWorkDay. Expected _wxDateTime_p.");
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 _result
= (bool )wxDateTime_IsWorkDay(_arg0
,_arg1
);
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) return NULL
;
4760 } _resultobj
= Py_BuildValue("i",_result
);
4764 #define wxDateTime_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
4765 static PyObject
*_wrap_wxDateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
* _resultobj
;
4770 PyObject
* _argo0
= 0;
4771 PyObject
* _argo1
= 0;
4772 char *_kwnames
[] = { "self","datetime", NULL
};
4775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
4778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4785 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4786 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4793 _result
= (bool )wxDateTime_IsEqualTo(_arg0
,*_arg1
);
4795 wxPyEndAllowThreads(__tstate
);
4796 if (PyErr_Occurred()) return NULL
;
4797 } _resultobj
= Py_BuildValue("i",_result
);
4801 #define wxDateTime_IsEarlierThan(_swigobj,_swigarg0) (_swigobj->IsEarlierThan(_swigarg0))
4802 static PyObject
*_wrap_wxDateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
* _resultobj
;
4807 PyObject
* _argo0
= 0;
4808 PyObject
* _argo1
= 0;
4809 char *_kwnames
[] = { "self","datetime", NULL
};
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEarlierThan",_kwnames
,&_argo0
,&_argo1
))
4815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4822 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4823 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 _result
= (bool )wxDateTime_IsEarlierThan(_arg0
,*_arg1
);
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) return NULL
;
4834 } _resultobj
= Py_BuildValue("i",_result
);
4838 #define wxDateTime_IsLaterThan(_swigobj,_swigarg0) (_swigobj->IsLaterThan(_swigarg0))
4839 static PyObject
*_wrap_wxDateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
* _resultobj
;
4844 PyObject
* _argo0
= 0;
4845 PyObject
* _argo1
= 0;
4846 char *_kwnames
[] = { "self","datetime", NULL
};
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsLaterThan",_kwnames
,&_argo0
,&_argo1
))
4852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4859 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4860 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4867 _result
= (bool )wxDateTime_IsLaterThan(_arg0
,*_arg1
);
4869 wxPyEndAllowThreads(__tstate
);
4870 if (PyErr_Occurred()) return NULL
;
4871 } _resultobj
= Py_BuildValue("i",_result
);
4875 #define wxDateTime_IsStrictlyBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsStrictlyBetween(_swigarg0,_swigarg1))
4876 static PyObject
*_wrap_wxDateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
* _resultobj
;
4882 PyObject
* _argo0
= 0;
4883 PyObject
* _argo1
= 0;
4884 PyObject
* _argo2
= 0;
4885 char *_kwnames
[] = { "self","t1","t2", NULL
};
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsStrictlyBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4898 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4899 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4905 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4906 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4913 _result
= (bool )wxDateTime_IsStrictlyBetween(_arg0
,*_arg1
,*_arg2
);
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) return NULL
;
4917 } _resultobj
= Py_BuildValue("i",_result
);
4921 #define wxDateTime_IsBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsBetween(_swigarg0,_swigarg1))
4922 static PyObject
*_wrap_wxDateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
* _resultobj
;
4928 PyObject
* _argo0
= 0;
4929 PyObject
* _argo1
= 0;
4930 PyObject
* _argo2
= 0;
4931 char *_kwnames
[] = { "self","t1","t2", NULL
};
4934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4944 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4945 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4951 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4952 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4959 _result
= (bool )wxDateTime_IsBetween(_arg0
,*_arg1
,*_arg2
);
4961 wxPyEndAllowThreads(__tstate
);
4962 if (PyErr_Occurred()) return NULL
;
4963 } _resultobj
= Py_BuildValue("i",_result
);
4967 #define wxDateTime_IsSameDate(_swigobj,_swigarg0) (_swigobj->IsSameDate(_swigarg0))
4968 static PyObject
*_wrap_wxDateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4969 PyObject
* _resultobj
;
4973 PyObject
* _argo0
= 0;
4974 PyObject
* _argo1
= 0;
4975 char *_kwnames
[] = { "self","dt", NULL
};
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameDate",_kwnames
,&_argo0
,&_argo1
))
4981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4988 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4989 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 _result
= (bool )wxDateTime_IsSameDate(_arg0
,*_arg1
);
4998 wxPyEndAllowThreads(__tstate
);
4999 if (PyErr_Occurred()) return NULL
;
5000 } _resultobj
= Py_BuildValue("i",_result
);
5004 #define wxDateTime_IsSameTime(_swigobj,_swigarg0) (_swigobj->IsSameTime(_swigarg0))
5005 static PyObject
*_wrap_wxDateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5006 PyObject
* _resultobj
;
5010 PyObject
* _argo0
= 0;
5011 PyObject
* _argo1
= 0;
5012 char *_kwnames
[] = { "self","dt", NULL
};
5015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameTime",_kwnames
,&_argo0
,&_argo1
))
5018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
5025 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5026 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
5032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5033 _result
= (bool )wxDateTime_IsSameTime(_arg0
,*_arg1
);
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) return NULL
;
5037 } _resultobj
= Py_BuildValue("i",_result
);
5041 #define wxDateTime_IsEqualUpTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEqualUpTo(_swigarg0,_swigarg1))
5042 static PyObject
*_wrap_wxDateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
* _resultobj
;
5048 PyObject
* _argo0
= 0;
5049 PyObject
* _argo1
= 0;
5050 PyObject
* _argo2
= 0;
5051 char *_kwnames
[] = { "self","dt","ts", NULL
};
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsEqualUpTo",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
5064 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5065 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
5071 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5072 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTimeSpan_p")) {
5073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsEqualUpTo. Expected _wxTimeSpan_p.");
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 _result
= (bool )wxDateTime_IsEqualUpTo(_arg0
,*_arg1
,*_arg2
);
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) return NULL
;
5083 } _resultobj
= Py_BuildValue("i",_result
);
5087 #define wxDateTime_AddTS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
5088 static PyObject
*_wrap_wxDateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
* _resultobj
;
5090 wxDateTime
* _result
;
5093 PyObject
* _argo0
= 0;
5094 PyObject
* _argo1
= 0;
5095 char *_kwnames
[] = { "self","diff", NULL
};
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddTS",_kwnames
,&_argo0
,&_argo1
))
5102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddTS. Expected _wxDateTime_p.");
5109 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5110 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddTS. Expected _wxTimeSpan_p.");
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 wxDateTime
& _result_ref
= wxDateTime_AddTS(_arg0
,*_arg1
);
5118 _result
= (wxDateTime
*) &_result_ref
;
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) return NULL
;
5123 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
5124 _resultobj
= Py_BuildValue("s",_ptemp
);
5127 _resultobj
= Py_None
;
5132 #define wxDateTime_AddDS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
5133 static PyObject
*_wrap_wxDateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5134 PyObject
* _resultobj
;
5135 wxDateTime
* _result
;
5138 PyObject
* _argo0
= 0;
5139 PyObject
* _argo1
= 0;
5140 char *_kwnames
[] = { "self","diff", NULL
};
5144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddDS",_kwnames
,&_argo0
,&_argo1
))
5147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddDS. Expected _wxDateTime_p.");
5154 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5155 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddDS. Expected _wxDateSpan_p.");
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 wxDateTime
& _result_ref
= wxDateTime_AddDS(_arg0
,*_arg1
);
5163 _result
= (wxDateTime
*) &_result_ref
;
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) return NULL
;
5168 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
5169 _resultobj
= Py_BuildValue("s",_ptemp
);
5172 _resultobj
= Py_None
;
5177 #define wxDateTime_SubtractTS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5178 static PyObject
*_wrap_wxDateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5179 PyObject
* _resultobj
;
5180 wxDateTime
* _result
;
5183 PyObject
* _argo0
= 0;
5184 PyObject
* _argo1
= 0;
5185 char *_kwnames
[] = { "self","diff", NULL
};
5189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractTS",_kwnames
,&_argo0
,&_argo1
))
5192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractTS. Expected _wxDateTime_p.");
5199 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5200 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractTS. Expected _wxTimeSpan_p.");
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 wxDateTime
& _result_ref
= wxDateTime_SubtractTS(_arg0
,*_arg1
);
5208 _result
= (wxDateTime
*) &_result_ref
;
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) return NULL
;
5213 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
5214 _resultobj
= Py_BuildValue("s",_ptemp
);
5217 _resultobj
= Py_None
;
5222 #define wxDateTime_SubtractDS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5223 static PyObject
*_wrap_wxDateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
* _resultobj
;
5225 wxDateTime
* _result
;
5228 PyObject
* _argo0
= 0;
5229 PyObject
* _argo1
= 0;
5230 char *_kwnames
[] = { "self","diff", NULL
};
5234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractDS",_kwnames
,&_argo0
,&_argo1
))
5237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractDS. Expected _wxDateTime_p.");
5244 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5245 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractDS. Expected _wxDateSpan_p.");
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5252 wxDateTime
& _result_ref
= wxDateTime_SubtractDS(_arg0
,*_arg1
);
5253 _result
= (wxDateTime
*) &_result_ref
;
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) return NULL
;
5258 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
5259 _resultobj
= Py_BuildValue("s",_ptemp
);
5262 _resultobj
= Py_None
;
5267 #define wxDateTime_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5268 static PyObject
*_wrap_wxDateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5269 PyObject
* _resultobj
;
5270 wxTimeSpan
* _result
;
5273 PyObject
* _argo0
= 0;
5274 PyObject
* _argo1
= 0;
5275 char *_kwnames
[] = { "self","dt", NULL
};
5279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_Subtract",_kwnames
,&_argo0
,&_argo1
))
5282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Subtract. Expected _wxDateTime_p.");
5289 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5290 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_Subtract. Expected _wxDateTime_p.");
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 _result
= new wxTimeSpan (wxDateTime_Subtract(_arg0
,*_arg1
));
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) return NULL
;
5301 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5302 _resultobj
= Py_BuildValue("s",_ptemp
);
5306 static wxDateTime
wxDateTime___add__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
5307 static PyObject
*_wrap_wxDateTime___add__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
* _resultobj
;
5309 wxDateTime
* _result
;
5312 PyObject
* _argo0
= 0;
5313 PyObject
* _argo1
= 0;
5314 char *_kwnames
[] = { "self","other", NULL
};
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__TS",_kwnames
,&_argo0
,&_argo1
))
5321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__TS. Expected _wxDateTime_p.");
5328 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5329 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__TS. Expected _wxTimeSpan_p.");
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 _result
= new wxDateTime (wxDateTime___add__TS(_arg0
,*_arg1
));
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) return NULL
;
5340 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5341 _resultobj
= Py_BuildValue("s",_ptemp
);
5345 static wxDateTime
wxDateTime___add__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
5346 static PyObject
*_wrap_wxDateTime___add__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5347 PyObject
* _resultobj
;
5348 wxDateTime
* _result
;
5351 PyObject
* _argo0
= 0;
5352 PyObject
* _argo1
= 0;
5353 char *_kwnames
[] = { "self","other", NULL
};
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__DS",_kwnames
,&_argo0
,&_argo1
))
5360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__DS. Expected _wxDateTime_p.");
5367 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5368 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__DS. Expected _wxDateSpan_p.");
5374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5375 _result
= new wxDateTime (wxDateTime___add__DS(_arg0
,*_arg1
));
5377 wxPyEndAllowThreads(__tstate
);
5378 if (PyErr_Occurred()) return NULL
;
5379 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5380 _resultobj
= Py_BuildValue("s",_ptemp
);
5384 static wxTimeSpan
wxDateTime___sub__DT(wxDateTime
*self
,const wxDateTime
& other
) { return *self
- other
; }
5385 static PyObject
*_wrap_wxDateTime___sub__DT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
* _resultobj
;
5387 wxTimeSpan
* _result
;
5390 PyObject
* _argo0
= 0;
5391 PyObject
* _argo1
= 0;
5392 char *_kwnames
[] = { "self","other", NULL
};
5396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DT",_kwnames
,&_argo0
,&_argo1
))
5399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
5406 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5407 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 _result
= new wxTimeSpan (wxDateTime___sub__DT(_arg0
,*_arg1
));
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) return NULL
;
5418 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5419 _resultobj
= Py_BuildValue("s",_ptemp
);
5423 static wxDateTime
wxDateTime___sub__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
5424 static PyObject
*_wrap_wxDateTime___sub__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
* _resultobj
;
5426 wxDateTime
* _result
;
5429 PyObject
* _argo0
= 0;
5430 PyObject
* _argo1
= 0;
5431 char *_kwnames
[] = { "self","other", NULL
};
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__TS",_kwnames
,&_argo0
,&_argo1
))
5438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__TS. Expected _wxDateTime_p.");
5445 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5446 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__TS. Expected _wxTimeSpan_p.");
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 _result
= new wxDateTime (wxDateTime___sub__TS(_arg0
,*_arg1
));
5455 wxPyEndAllowThreads(__tstate
);
5456 if (PyErr_Occurred()) return NULL
;
5457 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5458 _resultobj
= Py_BuildValue("s",_ptemp
);
5462 static wxDateTime
wxDateTime___sub__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
- other
; }
5463 static PyObject
*_wrap_wxDateTime___sub__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
* _resultobj
;
5465 wxDateTime
* _result
;
5468 PyObject
* _argo0
= 0;
5469 PyObject
* _argo1
= 0;
5470 char *_kwnames
[] = { "self","other", NULL
};
5474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DS",_kwnames
,&_argo0
,&_argo1
))
5477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DS. Expected _wxDateTime_p.");
5484 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5485 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DS. Expected _wxDateSpan_p.");
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 _result
= new wxDateTime (wxDateTime___sub__DS(_arg0
,*_arg1
));
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) return NULL
;
5496 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5497 _resultobj
= Py_BuildValue("s",_ptemp
);
5501 static int wxDateTime___cmp__(wxDateTime
*self
,const wxDateTime
& other
) {
5502 if (*self
< other
) return -1;
5503 if (*self
== other
) return 0;
5506 static PyObject
*_wrap_wxDateTime___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
* _resultobj
;
5511 PyObject
* _argo0
= 0;
5512 PyObject
* _argo1
= 0;
5513 char *_kwnames
[] = { "self","other", NULL
};
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___cmp__",_kwnames
,&_argo0
,&_argo1
))
5519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5526 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5527 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5534 _result
= (int )wxDateTime___cmp__(_arg0
,*_arg1
);
5536 wxPyEndAllowThreads(__tstate
);
5537 if (PyErr_Occurred()) return NULL
;
5538 } _resultobj
= Py_BuildValue("i",_result
);
5542 #define wxDateTime_ParseRfc822Date(_swigobj,_swigarg0) (_swigobj->ParseRfc822Date(_swigarg0))
5543 static PyObject
*_wrap_wxDateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
* _resultobj
;
5548 PyObject
* _argo0
= 0;
5549 char *_kwnames
[] = { "self","date", NULL
};
5552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseRfc822Date",_kwnames
,&_argo0
,&_arg1
))
5555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseRfc822Date. Expected _wxDateTime_p.");
5562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 _result
= (char *)wxDateTime_ParseRfc822Date(_arg0
,_arg1
);
5565 wxPyEndAllowThreads(__tstate
);
5566 if (PyErr_Occurred()) return NULL
;
5567 } _resultobj
= Py_BuildValue("s", _result
);
5571 #define wxDateTime_ParseFormat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ParseFormat(_swigarg0,_swigarg1,_swigarg2))
5572 static PyObject
*_wrap_wxDateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
* _resultobj
;
5577 char * _arg2
= (char *) "%c";
5578 wxDateTime
* _arg3
= (wxDateTime
*) &wxDefaultDateTime
;
5579 PyObject
* _argo0
= 0;
5580 PyObject
* _argo3
= 0;
5581 char *_kwnames
[] = { "self","date","format","dateDef", NULL
};
5584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|sO:wxDateTime_ParseFormat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
5587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5594 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5595 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime_p")) {
5596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5602 _result
= (char *)wxDateTime_ParseFormat(_arg0
,_arg1
,_arg2
,*_arg3
);
5604 wxPyEndAllowThreads(__tstate
);
5605 if (PyErr_Occurred()) return NULL
;
5606 } _resultobj
= Py_BuildValue("s", _result
);
5610 #define wxDateTime_ParseDateTime(_swigobj,_swigarg0) (_swigobj->ParseDateTime(_swigarg0))
5611 static PyObject
*_wrap_wxDateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5612 PyObject
* _resultobj
;
5616 PyObject
* _argo0
= 0;
5617 char *_kwnames
[] = { "self","datetime", NULL
};
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseDateTime",_kwnames
,&_argo0
,&_arg1
))
5623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDateTime. Expected _wxDateTime_p.");
5630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5631 _result
= (char *)wxDateTime_ParseDateTime(_arg0
,_arg1
);
5633 wxPyEndAllowThreads(__tstate
);
5634 if (PyErr_Occurred()) return NULL
;
5635 } _resultobj
= Py_BuildValue("s", _result
);
5639 #define wxDateTime_ParseDate(_swigobj,_swigarg0) (_swigobj->ParseDate(_swigarg0))
5640 static PyObject
*_wrap_wxDateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
* _resultobj
;
5645 PyObject
* _argo0
= 0;
5646 char *_kwnames
[] = { "self","date", NULL
};
5649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseDate",_kwnames
,&_argo0
,&_arg1
))
5652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDate. Expected _wxDateTime_p.");
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 _result
= (char *)wxDateTime_ParseDate(_arg0
,_arg1
);
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) return NULL
;
5664 } _resultobj
= Py_BuildValue("s", _result
);
5668 #define wxDateTime_ParseTime(_swigobj,_swigarg0) (_swigobj->ParseTime(_swigarg0))
5669 static PyObject
*_wrap_wxDateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5670 PyObject
* _resultobj
;
5674 PyObject
* _argo0
= 0;
5675 char *_kwnames
[] = { "self","time", NULL
};
5678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseTime",_kwnames
,&_argo0
,&_arg1
))
5681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseTime. Expected _wxDateTime_p.");
5688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5689 _result
= (char *)wxDateTime_ParseTime(_arg0
,_arg1
);
5691 wxPyEndAllowThreads(__tstate
);
5692 if (PyErr_Occurred()) return NULL
;
5693 } _resultobj
= Py_BuildValue("s", _result
);
5697 #define wxDateTime_Format(_swigobj,_swigarg0,_swigarg1) (_swigobj->Format(_swigarg0,_swigarg1))
5698 static PyObject
*_wrap_wxDateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
* _resultobj
;
5702 char * _arg1
= (char *) "%c";
5703 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
5704 PyObject
* _argo0
= 0;
5705 PyObject
* _obj2
= 0;
5706 char *_kwnames
[] = { "self","format","tz", NULL
};
5709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sO:wxDateTime_Format",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Format. Expected _wxDateTime_p.");
5720 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 _result
= new wxString (wxDateTime_Format(_arg0
,_arg1
,*_arg2
));
5726 wxPyEndAllowThreads(__tstate
);
5727 if (PyErr_Occurred()) return NULL
;
5729 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5732 if (_arg2
) delete _arg2
;
5740 #define wxDateTime_FormatDate(_swigobj) (_swigobj->FormatDate())
5741 static PyObject
*_wrap_wxDateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5742 PyObject
* _resultobj
;
5745 PyObject
* _argo0
= 0;
5746 char *_kwnames
[] = { "self", NULL
};
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatDate",_kwnames
,&_argo0
))
5752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatDate. Expected _wxDateTime_p.");
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 _result
= new wxString (wxDateTime_FormatDate(_arg0
));
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) return NULL
;
5765 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5773 #define wxDateTime_FormatTime(_swigobj) (_swigobj->FormatTime())
5774 static PyObject
*_wrap_wxDateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
* _resultobj
;
5778 PyObject
* _argo0
= 0;
5779 char *_kwnames
[] = { "self", NULL
};
5782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatTime",_kwnames
,&_argo0
))
5785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatTime. Expected _wxDateTime_p.");
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 _result
= new wxString (wxDateTime_FormatTime(_arg0
));
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) return NULL
;
5798 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5806 #define wxDateTime_FormatISODate(_swigobj) (_swigobj->FormatISODate())
5807 static PyObject
*_wrap_wxDateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
* _resultobj
;
5811 PyObject
* _argo0
= 0;
5812 char *_kwnames
[] = { "self", NULL
};
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISODate",_kwnames
,&_argo0
))
5818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISODate. Expected _wxDateTime_p.");
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 _result
= new wxString (wxDateTime_FormatISODate(_arg0
));
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) return NULL
;
5831 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5839 #define wxDateTime_FormatISOTime(_swigobj) (_swigobj->FormatISOTime())
5840 static PyObject
*_wrap_wxDateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
* _resultobj
;
5844 PyObject
* _argo0
= 0;
5845 char *_kwnames
[] = { "self", NULL
};
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISOTime",_kwnames
,&_argo0
))
5851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISOTime. Expected _wxDateTime_p.");
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 _result
= new wxString (wxDateTime_FormatISOTime(_arg0
));
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) return NULL
;
5864 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5872 static PyObject
*_wrap_wxTimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
* _resultobj
;
5874 wxTimeSpan
* _result
;
5876 char *_kwnames
[] = { "sec", NULL
};
5880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Seconds",_kwnames
,&_arg0
))
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 _result
= new wxTimeSpan (wxTimeSpan::Seconds(_arg0
));
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) return NULL
;
5888 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5889 _resultobj
= Py_BuildValue("s",_ptemp
);
5893 static PyObject
*_wrap_wxTimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
* _resultobj
;
5895 wxTimeSpan
* _result
;
5896 char *_kwnames
[] = { NULL
};
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Second",_kwnames
))
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 _result
= new wxTimeSpan (wxTimeSpan::Second());
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) return NULL
;
5908 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5909 _resultobj
= Py_BuildValue("s",_ptemp
);
5913 static PyObject
*_wrap_wxTimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
* _resultobj
;
5915 wxTimeSpan
* _result
;
5917 char *_kwnames
[] = { "min", NULL
};
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Minutes",_kwnames
,&_arg0
))
5924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5925 _result
= new wxTimeSpan (wxTimeSpan::Minutes(_arg0
));
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) return NULL
;
5929 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5930 _resultobj
= Py_BuildValue("s",_ptemp
);
5934 static PyObject
*_wrap_wxTimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
* _resultobj
;
5936 wxTimeSpan
* _result
;
5937 char *_kwnames
[] = { NULL
};
5941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Minute",_kwnames
))
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 _result
= new wxTimeSpan (wxTimeSpan::Minute());
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) return NULL
;
5949 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5950 _resultobj
= Py_BuildValue("s",_ptemp
);
5954 static PyObject
*_wrap_wxTimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
* _resultobj
;
5956 wxTimeSpan
* _result
;
5958 char *_kwnames
[] = { "hours", NULL
};
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Hours",_kwnames
,&_arg0
))
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5966 _result
= new wxTimeSpan (wxTimeSpan::Hours(_arg0
));
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) return NULL
;
5970 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5971 _resultobj
= Py_BuildValue("s",_ptemp
);
5975 static PyObject
*_wrap_wxTimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
* _resultobj
;
5977 wxTimeSpan
* _result
;
5978 char *_kwnames
[] = { NULL
};
5982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Hour",_kwnames
))
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 _result
= new wxTimeSpan (wxTimeSpan::Hour());
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) return NULL
;
5990 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5991 _resultobj
= Py_BuildValue("s",_ptemp
);
5995 static PyObject
*_wrap_wxTimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
* _resultobj
;
5997 wxTimeSpan
* _result
;
5999 char *_kwnames
[] = { "days", NULL
};
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Days",_kwnames
,&_arg0
))
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 _result
= new wxTimeSpan (wxTimeSpan::Days(_arg0
));
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) return NULL
;
6011 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6012 _resultobj
= Py_BuildValue("s",_ptemp
);
6016 static PyObject
*_wrap_wxTimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
* _resultobj
;
6018 wxTimeSpan
* _result
;
6019 char *_kwnames
[] = { NULL
};
6023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Day",_kwnames
))
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 _result
= new wxTimeSpan (wxTimeSpan::Day());
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) return NULL
;
6031 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6032 _resultobj
= Py_BuildValue("s",_ptemp
);
6036 static PyObject
*_wrap_wxTimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
* _resultobj
;
6038 wxTimeSpan
* _result
;
6040 char *_kwnames
[] = { "days", NULL
};
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Weeks",_kwnames
,&_arg0
))
6047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 _result
= new wxTimeSpan (wxTimeSpan::Weeks(_arg0
));
6050 wxPyEndAllowThreads(__tstate
);
6051 if (PyErr_Occurred()) return NULL
;
6052 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6053 _resultobj
= Py_BuildValue("s",_ptemp
);
6057 static PyObject
*_wrap_wxTimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
* _resultobj
;
6059 wxTimeSpan
* _result
;
6060 char *_kwnames
[] = { NULL
};
6064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Week",_kwnames
))
6067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6068 _result
= new wxTimeSpan (wxTimeSpan::Week());
6070 wxPyEndAllowThreads(__tstate
);
6071 if (PyErr_Occurred()) return NULL
;
6072 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6073 _resultobj
= Py_BuildValue("s",_ptemp
);
6077 #define new_wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6078 static PyObject
*_wrap_new_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
* _resultobj
;
6080 wxTimeSpan
* _result
;
6081 long _arg0
= (long ) 0;
6082 long _arg1
= (long ) 0;
6083 long _arg2
= (long ) 0;
6084 long _arg3
= (long ) 0;
6085 char *_kwnames
[] = { "hours","minutes","seconds","milliseconds", NULL
};
6089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxTimeSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 _result
= (wxTimeSpan
*)new_wxTimeSpan(_arg0
,_arg1
,_arg2
,_arg3
);
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) return NULL
;
6098 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6099 _resultobj
= Py_BuildValue("s",_ptemp
);
6102 _resultobj
= Py_None
;
6107 #define delete_wxTimeSpan(_swigobj) (delete _swigobj)
6108 static PyObject
*_wrap_delete_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6109 PyObject
* _resultobj
;
6111 PyObject
* _argo0
= 0;
6112 char *_kwnames
[] = { "self", NULL
};
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTimeSpan",_kwnames
,&_argo0
))
6118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTimeSpan. Expected _wxTimeSpan_p.");
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 delete_wxTimeSpan(_arg0
);
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) return NULL
;
6130 } Py_INCREF(Py_None
);
6131 _resultobj
= Py_None
;
6135 #define wxTimeSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
6136 static PyObject
*_wrap_wxTimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
* _resultobj
;
6138 wxTimeSpan
* _result
;
6141 PyObject
* _argo0
= 0;
6142 PyObject
* _argo1
= 0;
6143 char *_kwnames
[] = { "self","diff", NULL
};
6147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Add",_kwnames
,&_argo0
,&_argo1
))
6150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
6157 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6158 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 wxTimeSpan
& _result_ref
= wxTimeSpan_Add(_arg0
,*_arg1
);
6166 _result
= (wxTimeSpan
*) &_result_ref
;
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) return NULL
;
6171 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6172 _resultobj
= Py_BuildValue("s",_ptemp
);
6175 _resultobj
= Py_None
;
6180 #define wxTimeSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
6181 static PyObject
*_wrap_wxTimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
* _resultobj
;
6183 wxTimeSpan
* _result
;
6186 PyObject
* _argo0
= 0;
6187 PyObject
* _argo1
= 0;
6188 char *_kwnames
[] = { "self","diff", NULL
};
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
6195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
6202 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6203 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
6209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6210 wxTimeSpan
& _result_ref
= wxTimeSpan_Subtract(_arg0
,*_arg1
);
6211 _result
= (wxTimeSpan
*) &_result_ref
;
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) return NULL
;
6216 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6217 _resultobj
= Py_BuildValue("s",_ptemp
);
6220 _resultobj
= Py_None
;
6225 #define wxTimeSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
6226 static PyObject
*_wrap_wxTimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
* _resultobj
;
6228 wxTimeSpan
* _result
;
6231 PyObject
* _argo0
= 0;
6232 char *_kwnames
[] = { "self","n", NULL
};
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
6239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Multiply. Expected _wxTimeSpan_p.");
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 wxTimeSpan
& _result_ref
= wxTimeSpan_Multiply(_arg0
,_arg1
);
6248 _result
= (wxTimeSpan
*) &_result_ref
;
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) return NULL
;
6253 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6254 _resultobj
= Py_BuildValue("s",_ptemp
);
6257 _resultobj
= Py_None
;
6262 #define wxTimeSpan_Neg(_swigobj) (_swigobj->Neg())
6263 static PyObject
*_wrap_wxTimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6264 PyObject
* _resultobj
;
6265 wxTimeSpan
* _result
;
6267 PyObject
* _argo0
= 0;
6268 char *_kwnames
[] = { "self", NULL
};
6272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Neg",_kwnames
,&_argo0
))
6275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Neg. Expected _wxTimeSpan_p.");
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 wxTimeSpan
& _result_ref
= wxTimeSpan_Neg(_arg0
);
6284 _result
= (wxTimeSpan
*) &_result_ref
;
6286 wxPyEndAllowThreads(__tstate
);
6287 if (PyErr_Occurred()) return NULL
;
6289 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6290 _resultobj
= Py_BuildValue("s",_ptemp
);
6293 _resultobj
= Py_None
;
6298 #define wxTimeSpan_Abs(_swigobj) (_swigobj->Abs())
6299 static PyObject
*_wrap_wxTimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
* _resultobj
;
6301 wxTimeSpan
* _result
;
6303 PyObject
* _argo0
= 0;
6304 char *_kwnames
[] = { "self", NULL
};
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Abs",_kwnames
,&_argo0
))
6311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Abs. Expected _wxTimeSpan_p.");
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 _result
= new wxTimeSpan (wxTimeSpan_Abs(_arg0
));
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) return NULL
;
6323 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6324 _resultobj
= Py_BuildValue("s",_ptemp
);
6328 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
6329 static PyObject
*_wrap_wxTimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
* _resultobj
;
6331 wxTimeSpan
* _result
;
6334 PyObject
* _argo0
= 0;
6335 PyObject
* _argo1
= 0;
6336 char *_kwnames
[] = { "self","other", NULL
};
6340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___add__",_kwnames
,&_argo0
,&_argo1
))
6343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6350 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6351 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6358 _result
= new wxTimeSpan (wxTimeSpan___add__(_arg0
,*_arg1
));
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) return NULL
;
6362 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6363 _resultobj
= Py_BuildValue("s",_ptemp
);
6367 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
6368 static PyObject
*_wrap_wxTimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
* _resultobj
;
6370 wxTimeSpan
* _result
;
6373 PyObject
* _argo0
= 0;
6374 PyObject
* _argo1
= 0;
6375 char *_kwnames
[] = { "self","other", NULL
};
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
6382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6389 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6390 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6397 _result
= new wxTimeSpan (wxTimeSpan___sub__(_arg0
,*_arg1
));
6399 wxPyEndAllowThreads(__tstate
);
6400 if (PyErr_Occurred()) return NULL
;
6401 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6402 _resultobj
= Py_BuildValue("s",_ptemp
);
6406 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
) { return *self
* n
; }
6407 static PyObject
*_wrap_wxTimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6408 PyObject
* _resultobj
;
6409 wxTimeSpan
* _result
;
6412 PyObject
* _argo0
= 0;
6413 char *_kwnames
[] = { "self","n", NULL
};
6417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
6420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___mul__. Expected _wxTimeSpan_p.");
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 _result
= new wxTimeSpan (wxTimeSpan___mul__(_arg0
,_arg1
));
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) return NULL
;
6432 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6433 _resultobj
= Py_BuildValue("s",_ptemp
);
6437 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
) { return n
* *self
; }
6438 static PyObject
*_wrap_wxTimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
* _resultobj
;
6440 wxTimeSpan
* _result
;
6443 PyObject
* _argo0
= 0;
6444 char *_kwnames
[] = { "self","n", NULL
};
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
6451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___rmul__. Expected _wxTimeSpan_p.");
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 _result
= new wxTimeSpan (wxTimeSpan___rmul__(_arg0
,_arg1
));
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) return NULL
;
6463 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6464 _resultobj
= Py_BuildValue("s",_ptemp
);
6468 static wxTimeSpan
wxTimeSpan___neg__(wxTimeSpan
*self
) { return self
->Negate(); }
6469 static PyObject
*_wrap_wxTimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
* _resultobj
;
6471 wxTimeSpan
* _result
;
6473 PyObject
* _argo0
= 0;
6474 char *_kwnames
[] = { "self", NULL
};
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan___neg__",_kwnames
,&_argo0
))
6481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___neg__. Expected _wxTimeSpan_p.");
6488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6489 _result
= new wxTimeSpan (wxTimeSpan___neg__(_arg0
));
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) return NULL
;
6493 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6494 _resultobj
= Py_BuildValue("s",_ptemp
);
6498 static int wxTimeSpan___cmp__(wxTimeSpan
*self
,const wxTimeSpan
& other
) {
6499 if (*self
< other
) return -1;
6500 if (*self
== other
) return 0;
6503 static PyObject
*_wrap_wxTimeSpan___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
* _resultobj
;
6508 PyObject
* _argo0
= 0;
6509 PyObject
* _argo1
= 0;
6510 char *_kwnames
[] = { "self","other", NULL
};
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___cmp__",_kwnames
,&_argo0
,&_argo1
))
6516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6523 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6524 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6531 _result
= (int )wxTimeSpan___cmp__(_arg0
,*_arg1
);
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) return NULL
;
6535 } _resultobj
= Py_BuildValue("i",_result
);
6539 #define wxTimeSpan_IsNull(_swigobj) (_swigobj->IsNull())
6540 static PyObject
*_wrap_wxTimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
* _resultobj
;
6544 PyObject
* _argo0
= 0;
6545 char *_kwnames
[] = { "self", NULL
};
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNull",_kwnames
,&_argo0
))
6551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNull. Expected _wxTimeSpan_p.");
6558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6559 _result
= (bool )wxTimeSpan_IsNull(_arg0
);
6561 wxPyEndAllowThreads(__tstate
);
6562 if (PyErr_Occurred()) return NULL
;
6563 } _resultobj
= Py_BuildValue("i",_result
);
6567 #define wxTimeSpan_IsPositive(_swigobj) (_swigobj->IsPositive())
6568 static PyObject
*_wrap_wxTimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
* _resultobj
;
6572 PyObject
* _argo0
= 0;
6573 char *_kwnames
[] = { "self", NULL
};
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsPositive",_kwnames
,&_argo0
))
6579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsPositive. Expected _wxTimeSpan_p.");
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 _result
= (bool )wxTimeSpan_IsPositive(_arg0
);
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) return NULL
;
6591 } _resultobj
= Py_BuildValue("i",_result
);
6595 #define wxTimeSpan_IsNegative(_swigobj) (_swigobj->IsNegative())
6596 static PyObject
*_wrap_wxTimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
* _resultobj
;
6600 PyObject
* _argo0
= 0;
6601 char *_kwnames
[] = { "self", NULL
};
6604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNegative",_kwnames
,&_argo0
))
6607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNegative. Expected _wxTimeSpan_p.");
6614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6615 _result
= (bool )wxTimeSpan_IsNegative(_arg0
);
6617 wxPyEndAllowThreads(__tstate
);
6618 if (PyErr_Occurred()) return NULL
;
6619 } _resultobj
= Py_BuildValue("i",_result
);
6623 #define wxTimeSpan_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
6624 static PyObject
*_wrap_wxTimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6625 PyObject
* _resultobj
;
6629 PyObject
* _argo0
= 0;
6630 PyObject
* _argo1
= 0;
6631 char *_kwnames
[] = { "self","ts", NULL
};
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
6637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6644 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6645 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 _result
= (bool )wxTimeSpan_IsEqualTo(_arg0
,*_arg1
);
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) return NULL
;
6656 } _resultobj
= Py_BuildValue("i",_result
);
6660 #define wxTimeSpan_IsLongerThan(_swigobj,_swigarg0) (_swigobj->IsLongerThan(_swigarg0))
6661 static PyObject
*_wrap_wxTimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6662 PyObject
* _resultobj
;
6666 PyObject
* _argo0
= 0;
6667 PyObject
* _argo1
= 0;
6668 char *_kwnames
[] = { "self","ts", NULL
};
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsLongerThan",_kwnames
,&_argo0
,&_argo1
))
6674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6681 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6682 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 _result
= (bool )wxTimeSpan_IsLongerThan(_arg0
,*_arg1
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) return NULL
;
6693 } _resultobj
= Py_BuildValue("i",_result
);
6697 #define wxTimeSpan_IsShorterThan(_swigobj,_swigarg0) (_swigobj->IsShorterThan(_swigarg0))
6698 static PyObject
*_wrap_wxTimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6699 PyObject
* _resultobj
;
6703 PyObject
* _argo0
= 0;
6704 PyObject
* _argo1
= 0;
6705 char *_kwnames
[] = { "self","t", NULL
};
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsShorterThan",_kwnames
,&_argo0
,&_argo1
))
6711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6718 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6719 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 _result
= (bool )wxTimeSpan_IsShorterThan(_arg0
,*_arg1
);
6728 wxPyEndAllowThreads(__tstate
);
6729 if (PyErr_Occurred()) return NULL
;
6730 } _resultobj
= Py_BuildValue("i",_result
);
6734 #define wxTimeSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
6735 static PyObject
*_wrap_wxTimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
* _resultobj
;
6739 PyObject
* _argo0
= 0;
6740 char *_kwnames
[] = { "self", NULL
};
6743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetWeeks",_kwnames
,&_argo0
))
6746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetWeeks. Expected _wxTimeSpan_p.");
6753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6754 _result
= (int )wxTimeSpan_GetWeeks(_arg0
);
6756 wxPyEndAllowThreads(__tstate
);
6757 if (PyErr_Occurred()) return NULL
;
6758 } _resultobj
= Py_BuildValue("i",_result
);
6762 #define wxTimeSpan_GetDays(_swigobj) (_swigobj->GetDays())
6763 static PyObject
*_wrap_wxTimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
* _resultobj
;
6767 PyObject
* _argo0
= 0;
6768 char *_kwnames
[] = { "self", NULL
};
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetDays",_kwnames
,&_argo0
))
6774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetDays. Expected _wxTimeSpan_p.");
6781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6782 _result
= (int )wxTimeSpan_GetDays(_arg0
);
6784 wxPyEndAllowThreads(__tstate
);
6785 if (PyErr_Occurred()) return NULL
;
6786 } _resultobj
= Py_BuildValue("i",_result
);
6790 #define wxTimeSpan_GetHours(_swigobj) (_swigobj->GetHours())
6791 static PyObject
*_wrap_wxTimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6792 PyObject
* _resultobj
;
6795 PyObject
* _argo0
= 0;
6796 char *_kwnames
[] = { "self", NULL
};
6799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetHours",_kwnames
,&_argo0
))
6802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetHours. Expected _wxTimeSpan_p.");
6809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6810 _result
= (int )wxTimeSpan_GetHours(_arg0
);
6812 wxPyEndAllowThreads(__tstate
);
6813 if (PyErr_Occurred()) return NULL
;
6814 } _resultobj
= Py_BuildValue("i",_result
);
6818 #define wxTimeSpan_GetMinutes(_swigobj) (_swigobj->GetMinutes())
6819 static PyObject
*_wrap_wxTimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
* _resultobj
;
6823 PyObject
* _argo0
= 0;
6824 char *_kwnames
[] = { "self", NULL
};
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMinutes",_kwnames
,&_argo0
))
6830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMinutes. Expected _wxTimeSpan_p.");
6837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6838 _result
= (int )wxTimeSpan_GetMinutes(_arg0
);
6840 wxPyEndAllowThreads(__tstate
);
6841 if (PyErr_Occurred()) return NULL
;
6842 } _resultobj
= Py_BuildValue("i",_result
);
6846 #define wxTimeSpan_GetSeconds(_swigobj) (_swigobj->GetSeconds())
6847 static PyObject
*_wrap_wxTimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
* _resultobj
;
6849 wxLongLong
* _result
;
6851 PyObject
* _argo0
= 0;
6852 char *_kwnames
[] = { "self", NULL
};
6855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetSeconds",_kwnames
,&_argo0
))
6858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetSeconds. Expected _wxTimeSpan_p.");
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 _result
= new wxLongLong (wxTimeSpan_GetSeconds(_arg0
));
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) return NULL
;
6871 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6872 hi
= PyLong_FromLong(_result
->GetHi());
6873 lo
= PyLong_FromLong(_result
->GetLo());
6874 shifter
= PyLong_FromLong(32);
6875 shifted
= PyNumber_Lshift(hi
, shifter
);
6876 _resultobj
= PyNumber_Or(shifted
, lo
);
6885 #define wxTimeSpan_GetMilliseconds(_swigobj) (_swigobj->GetMilliseconds())
6886 static PyObject
*_wrap_wxTimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
* _resultobj
;
6888 wxLongLong
* _result
;
6890 PyObject
* _argo0
= 0;
6891 char *_kwnames
[] = { "self", NULL
};
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMilliseconds",_kwnames
,&_argo0
))
6897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMilliseconds. Expected _wxTimeSpan_p.");
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 _result
= new wxLongLong (wxTimeSpan_GetMilliseconds(_arg0
));
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) return NULL
;
6910 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6911 hi
= PyLong_FromLong(_result
->GetHi());
6912 lo
= PyLong_FromLong(_result
->GetLo());
6913 shifter
= PyLong_FromLong(32);
6914 shifted
= PyNumber_Lshift(hi
, shifter
);
6915 _resultobj
= PyNumber_Or(shifted
, lo
);
6924 #define wxTimeSpan_Format(_swigobj,_swigarg0) (_swigobj->Format(_swigarg0))
6925 static PyObject
*_wrap_wxTimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6926 PyObject
* _resultobj
;
6929 char * _arg1
= (char *) "%c";
6930 PyObject
* _argo0
= 0;
6931 char *_kwnames
[] = { "self","format", NULL
};
6934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxTimeSpan_Format",_kwnames
,&_argo0
,&_arg1
))
6937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Format. Expected _wxTimeSpan_p.");
6944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6945 _result
= new wxString (wxTimeSpan_Format(_arg0
,_arg1
));
6947 wxPyEndAllowThreads(__tstate
);
6948 if (PyErr_Occurred()) return NULL
;
6950 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6958 #define new_wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6959 static PyObject
*_wrap_new_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
* _resultobj
;
6961 wxDateSpan
* _result
;
6962 int _arg0
= (int ) 0;
6963 int _arg1
= (int ) 0;
6964 int _arg2
= (int ) 0;
6965 int _arg3
= (int ) 0;
6966 char *_kwnames
[] = { "years","months","weeks","days", NULL
};
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxDateSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6974 _result
= (wxDateSpan
*)new_wxDateSpan(_arg0
,_arg1
,_arg2
,_arg3
);
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) return NULL
;
6979 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6980 _resultobj
= Py_BuildValue("s",_ptemp
);
6983 _resultobj
= Py_None
;
6988 #define delete_wxDateSpan(_swigobj) (delete _swigobj)
6989 static PyObject
*_wrap_delete_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
* _resultobj
;
6992 PyObject
* _argo0
= 0;
6993 char *_kwnames
[] = { "self", NULL
};
6996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateSpan",_kwnames
,&_argo0
))
6999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateSpan. Expected _wxDateSpan_p.");
7006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7007 delete_wxDateSpan(_arg0
);
7009 wxPyEndAllowThreads(__tstate
);
7010 if (PyErr_Occurred()) return NULL
;
7011 } Py_INCREF(Py_None
);
7012 _resultobj
= Py_None
;
7016 static PyObject
*_wrap_wxDateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
* _resultobj
;
7018 wxDateSpan
* _result
;
7020 char *_kwnames
[] = { "days", NULL
};
7024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Days",_kwnames
,&_arg0
))
7027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7028 _result
= new wxDateSpan (wxDateSpan::Days(_arg0
));
7030 wxPyEndAllowThreads(__tstate
);
7031 if (PyErr_Occurred()) return NULL
;
7032 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7033 _resultobj
= Py_BuildValue("s",_ptemp
);
7037 static PyObject
*_wrap_wxDateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
* _resultobj
;
7039 wxDateSpan
* _result
;
7040 char *_kwnames
[] = { NULL
};
7044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Day",_kwnames
))
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7048 _result
= new wxDateSpan (wxDateSpan::Day());
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) return NULL
;
7052 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7053 _resultobj
= Py_BuildValue("s",_ptemp
);
7057 static PyObject
*_wrap_wxDateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
* _resultobj
;
7059 wxDateSpan
* _result
;
7061 char *_kwnames
[] = { "weeks", NULL
};
7065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Weeks",_kwnames
,&_arg0
))
7068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 _result
= new wxDateSpan (wxDateSpan::Weeks(_arg0
));
7071 wxPyEndAllowThreads(__tstate
);
7072 if (PyErr_Occurred()) return NULL
;
7073 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7074 _resultobj
= Py_BuildValue("s",_ptemp
);
7078 static PyObject
*_wrap_wxDateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
* _resultobj
;
7080 wxDateSpan
* _result
;
7081 char *_kwnames
[] = { NULL
};
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Week",_kwnames
))
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 _result
= new wxDateSpan (wxDateSpan::Week());
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) return NULL
;
7093 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7094 _resultobj
= Py_BuildValue("s",_ptemp
);
7098 static PyObject
*_wrap_wxDateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
* _resultobj
;
7100 wxDateSpan
* _result
;
7102 char *_kwnames
[] = { "mon", NULL
};
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Months",_kwnames
,&_arg0
))
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 _result
= new wxDateSpan (wxDateSpan::Months(_arg0
));
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) return NULL
;
7114 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7115 _resultobj
= Py_BuildValue("s",_ptemp
);
7119 static PyObject
*_wrap_wxDateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7120 PyObject
* _resultobj
;
7121 wxDateSpan
* _result
;
7122 char *_kwnames
[] = { NULL
};
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Month",_kwnames
))
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 _result
= new wxDateSpan (wxDateSpan::Month());
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) return NULL
;
7134 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7135 _resultobj
= Py_BuildValue("s",_ptemp
);
7139 static PyObject
*_wrap_wxDateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
* _resultobj
;
7141 wxDateSpan
* _result
;
7143 char *_kwnames
[] = { "years", NULL
};
7147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Years",_kwnames
,&_arg0
))
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 _result
= new wxDateSpan (wxDateSpan::Years(_arg0
));
7153 wxPyEndAllowThreads(__tstate
);
7154 if (PyErr_Occurred()) return NULL
;
7155 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7156 _resultobj
= Py_BuildValue("s",_ptemp
);
7160 static PyObject
*_wrap_wxDateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7161 PyObject
* _resultobj
;
7162 wxDateSpan
* _result
;
7163 char *_kwnames
[] = { NULL
};
7167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Year",_kwnames
))
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 _result
= new wxDateSpan (wxDateSpan::Year());
7173 wxPyEndAllowThreads(__tstate
);
7174 if (PyErr_Occurred()) return NULL
;
7175 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7176 _resultobj
= Py_BuildValue("s",_ptemp
);
7180 #define wxDateSpan_SetYears(_swigobj,_swigarg0) (_swigobj->SetYears(_swigarg0))
7181 static PyObject
*_wrap_wxDateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
* _resultobj
;
7183 wxDateSpan
* _result
;
7186 PyObject
* _argo0
= 0;
7187 char *_kwnames
[] = { "self","n", NULL
};
7191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetYears",_kwnames
,&_argo0
,&_arg1
))
7194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetYears. Expected _wxDateSpan_p.");
7201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7202 wxDateSpan
& _result_ref
= wxDateSpan_SetYears(_arg0
,_arg1
);
7203 _result
= (wxDateSpan
*) &_result_ref
;
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) return NULL
;
7208 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7209 _resultobj
= Py_BuildValue("s",_ptemp
);
7212 _resultobj
= Py_None
;
7217 #define wxDateSpan_SetMonths(_swigobj,_swigarg0) (_swigobj->SetMonths(_swigarg0))
7218 static PyObject
*_wrap_wxDateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
* _resultobj
;
7220 wxDateSpan
* _result
;
7223 PyObject
* _argo0
= 0;
7224 char *_kwnames
[] = { "self","n", NULL
};
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetMonths",_kwnames
,&_argo0
,&_arg1
))
7231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetMonths. Expected _wxDateSpan_p.");
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 wxDateSpan
& _result_ref
= wxDateSpan_SetMonths(_arg0
,_arg1
);
7240 _result
= (wxDateSpan
*) &_result_ref
;
7242 wxPyEndAllowThreads(__tstate
);
7243 if (PyErr_Occurred()) return NULL
;
7245 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7246 _resultobj
= Py_BuildValue("s",_ptemp
);
7249 _resultobj
= Py_None
;
7254 #define wxDateSpan_SetWeeks(_swigobj,_swigarg0) (_swigobj->SetWeeks(_swigarg0))
7255 static PyObject
*_wrap_wxDateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
* _resultobj
;
7257 wxDateSpan
* _result
;
7260 PyObject
* _argo0
= 0;
7261 char *_kwnames
[] = { "self","n", NULL
};
7265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetWeeks",_kwnames
,&_argo0
,&_arg1
))
7268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetWeeks. Expected _wxDateSpan_p.");
7275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7276 wxDateSpan
& _result_ref
= wxDateSpan_SetWeeks(_arg0
,_arg1
);
7277 _result
= (wxDateSpan
*) &_result_ref
;
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) return NULL
;
7282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7283 _resultobj
= Py_BuildValue("s",_ptemp
);
7286 _resultobj
= Py_None
;
7291 #define wxDateSpan_SetDays(_swigobj,_swigarg0) (_swigobj->SetDays(_swigarg0))
7292 static PyObject
*_wrap_wxDateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
* _resultobj
;
7294 wxDateSpan
* _result
;
7297 PyObject
* _argo0
= 0;
7298 char *_kwnames
[] = { "self","n", NULL
};
7302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetDays",_kwnames
,&_argo0
,&_arg1
))
7305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetDays. Expected _wxDateSpan_p.");
7312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7313 wxDateSpan
& _result_ref
= wxDateSpan_SetDays(_arg0
,_arg1
);
7314 _result
= (wxDateSpan
*) &_result_ref
;
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) return NULL
;
7319 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7320 _resultobj
= Py_BuildValue("s",_ptemp
);
7323 _resultobj
= Py_None
;
7328 #define wxDateSpan_GetYears(_swigobj) (_swigobj->GetYears())
7329 static PyObject
*_wrap_wxDateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7330 PyObject
* _resultobj
;
7333 PyObject
* _argo0
= 0;
7334 char *_kwnames
[] = { "self", NULL
};
7337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetYears",_kwnames
,&_argo0
))
7340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetYears. Expected _wxDateSpan_p.");
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 _result
= (int )wxDateSpan_GetYears(_arg0
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) return NULL
;
7352 } _resultobj
= Py_BuildValue("i",_result
);
7356 #define wxDateSpan_GetMonths(_swigobj) (_swigobj->GetMonths())
7357 static PyObject
*_wrap_wxDateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
* _resultobj
;
7361 PyObject
* _argo0
= 0;
7362 char *_kwnames
[] = { "self", NULL
};
7365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetMonths",_kwnames
,&_argo0
))
7368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetMonths. Expected _wxDateSpan_p.");
7375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7376 _result
= (int )wxDateSpan_GetMonths(_arg0
);
7378 wxPyEndAllowThreads(__tstate
);
7379 if (PyErr_Occurred()) return NULL
;
7380 } _resultobj
= Py_BuildValue("i",_result
);
7384 #define wxDateSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
7385 static PyObject
*_wrap_wxDateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
* _resultobj
;
7389 PyObject
* _argo0
= 0;
7390 char *_kwnames
[] = { "self", NULL
};
7393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetWeeks",_kwnames
,&_argo0
))
7396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetWeeks. Expected _wxDateSpan_p.");
7403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7404 _result
= (int )wxDateSpan_GetWeeks(_arg0
);
7406 wxPyEndAllowThreads(__tstate
);
7407 if (PyErr_Occurred()) return NULL
;
7408 } _resultobj
= Py_BuildValue("i",_result
);
7412 #define wxDateSpan_GetDays(_swigobj) (_swigobj->GetDays())
7413 static PyObject
*_wrap_wxDateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
* _resultobj
;
7417 PyObject
* _argo0
= 0;
7418 char *_kwnames
[] = { "self", NULL
};
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetDays",_kwnames
,&_argo0
))
7424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetDays. Expected _wxDateSpan_p.");
7431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7432 _result
= (int )wxDateSpan_GetDays(_arg0
);
7434 wxPyEndAllowThreads(__tstate
);
7435 if (PyErr_Occurred()) return NULL
;
7436 } _resultobj
= Py_BuildValue("i",_result
);
7440 #define wxDateSpan_GetTotalDays(_swigobj) (_swigobj->GetTotalDays())
7441 static PyObject
*_wrap_wxDateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7442 PyObject
* _resultobj
;
7445 PyObject
* _argo0
= 0;
7446 char *_kwnames
[] = { "self", NULL
};
7449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetTotalDays",_kwnames
,&_argo0
))
7452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetTotalDays. Expected _wxDateSpan_p.");
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 _result
= (int )wxDateSpan_GetTotalDays(_arg0
);
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) return NULL
;
7464 } _resultobj
= Py_BuildValue("i",_result
);
7468 #define wxDateSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
7469 static PyObject
*_wrap_wxDateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
* _resultobj
;
7471 wxDateSpan
* _result
;
7474 PyObject
* _argo0
= 0;
7475 PyObject
* _argo1
= 0;
7476 char *_kwnames
[] = { "self","other", NULL
};
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Add",_kwnames
,&_argo0
,&_argo1
))
7483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7490 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7491 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 wxDateSpan
& _result_ref
= wxDateSpan_Add(_arg0
,*_arg1
);
7499 _result
= (wxDateSpan
*) &_result_ref
;
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) return NULL
;
7504 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7505 _resultobj
= Py_BuildValue("s",_ptemp
);
7508 _resultobj
= Py_None
;
7513 #define wxDateSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
7514 static PyObject
*_wrap_wxDateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
* _resultobj
;
7516 wxDateSpan
* _result
;
7519 PyObject
* _argo0
= 0;
7520 PyObject
* _argo1
= 0;
7521 char *_kwnames
[] = { "self","other", NULL
};
7525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
7528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7535 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7536 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 wxDateSpan
& _result_ref
= wxDateSpan_Subtract(_arg0
,*_arg1
);
7544 _result
= (wxDateSpan
*) &_result_ref
;
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) return NULL
;
7549 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7550 _resultobj
= Py_BuildValue("s",_ptemp
);
7553 _resultobj
= Py_None
;
7558 #define wxDateSpan_Neg(_swigobj) (_swigobj->Neg())
7559 static PyObject
*_wrap_wxDateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7560 PyObject
* _resultobj
;
7561 wxDateSpan
* _result
;
7563 PyObject
* _argo0
= 0;
7564 char *_kwnames
[] = { "self", NULL
};
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_Neg",_kwnames
,&_argo0
))
7571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Neg. Expected _wxDateSpan_p.");
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 wxDateSpan
& _result_ref
= wxDateSpan_Neg(_arg0
);
7580 _result
= (wxDateSpan
*) &_result_ref
;
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) return NULL
;
7585 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7586 _resultobj
= Py_BuildValue("s",_ptemp
);
7589 _resultobj
= Py_None
;
7594 #define wxDateSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
7595 static PyObject
*_wrap_wxDateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
* _resultobj
;
7597 wxDateSpan
* _result
;
7600 PyObject
* _argo0
= 0;
7601 char *_kwnames
[] = { "self","factor", NULL
};
7605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
7608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Multiply. Expected _wxDateSpan_p.");
7615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7616 wxDateSpan
& _result_ref
= wxDateSpan_Multiply(_arg0
,_arg1
);
7617 _result
= (wxDateSpan
*) &_result_ref
;
7619 wxPyEndAllowThreads(__tstate
);
7620 if (PyErr_Occurred()) return NULL
;
7622 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7623 _resultobj
= Py_BuildValue("s",_ptemp
);
7626 _resultobj
= Py_None
;
7631 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
7632 static PyObject
*_wrap_wxDateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
* _resultobj
;
7634 wxDateSpan
* _result
;
7637 PyObject
* _argo0
= 0;
7638 PyObject
* _argo1
= 0;
7639 char *_kwnames
[] = { "self","other", NULL
};
7643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___add__",_kwnames
,&_argo0
,&_argo1
))
7646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7653 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7654 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 _result
= new wxDateSpan (wxDateSpan___add__(_arg0
,*_arg1
));
7663 wxPyEndAllowThreads(__tstate
);
7664 if (PyErr_Occurred()) return NULL
;
7665 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7666 _resultobj
= Py_BuildValue("s",_ptemp
);
7670 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
- other
; }
7671 static PyObject
*_wrap_wxDateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
* _resultobj
;
7673 wxDateSpan
* _result
;
7676 PyObject
* _argo0
= 0;
7677 PyObject
* _argo1
= 0;
7678 char *_kwnames
[] = { "self","other", NULL
};
7682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
7685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7692 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7693 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 _result
= new wxDateSpan (wxDateSpan___sub__(_arg0
,*_arg1
));
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) return NULL
;
7704 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7705 _resultobj
= Py_BuildValue("s",_ptemp
);
7709 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
) { return *self
* n
; }
7710 static PyObject
*_wrap_wxDateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
* _resultobj
;
7712 wxDateSpan
* _result
;
7715 PyObject
* _argo0
= 0;
7716 char *_kwnames
[] = { "self","n", NULL
};
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
7723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___mul__. Expected _wxDateSpan_p.");
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 _result
= new wxDateSpan (wxDateSpan___mul__(_arg0
,_arg1
));
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) return NULL
;
7735 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7736 _resultobj
= Py_BuildValue("s",_ptemp
);
7740 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
) { return n
* *self
; }
7741 static PyObject
*_wrap_wxDateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
* _resultobj
;
7743 wxDateSpan
* _result
;
7746 PyObject
* _argo0
= 0;
7747 char *_kwnames
[] = { "self","n", NULL
};
7751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
7754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___rmul__. Expected _wxDateSpan_p.");
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 _result
= new wxDateSpan (wxDateSpan___rmul__(_arg0
,_arg1
));
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) return NULL
;
7766 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7767 _resultobj
= Py_BuildValue("s",_ptemp
);
7771 static wxDateSpan
wxDateSpan___neg__(wxDateSpan
*self
) { return self
->Negate(); }
7772 static PyObject
*_wrap_wxDateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7773 PyObject
* _resultobj
;
7774 wxDateSpan
* _result
;
7776 PyObject
* _argo0
= 0;
7777 char *_kwnames
[] = { "self", NULL
};
7781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan___neg__",_kwnames
,&_argo0
))
7784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___neg__. Expected _wxDateSpan_p.");
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 _result
= new wxDateSpan (wxDateSpan___neg__(_arg0
));
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) return NULL
;
7796 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7797 _resultobj
= Py_BuildValue("s",_ptemp
);
7801 static PyMethodDef utilscMethods
[] = {
7802 { "wxDateSpan___neg__", (PyCFunction
) _wrap_wxDateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7803 { "wxDateSpan___rmul__", (PyCFunction
) _wrap_wxDateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7804 { "wxDateSpan___mul__", (PyCFunction
) _wrap_wxDateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7805 { "wxDateSpan___sub__", (PyCFunction
) _wrap_wxDateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7806 { "wxDateSpan___add__", (PyCFunction
) _wrap_wxDateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7807 { "wxDateSpan_Multiply", (PyCFunction
) _wrap_wxDateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7808 { "wxDateSpan_Neg", (PyCFunction
) _wrap_wxDateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7809 { "wxDateSpan_Subtract", (PyCFunction
) _wrap_wxDateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7810 { "wxDateSpan_Add", (PyCFunction
) _wrap_wxDateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7811 { "wxDateSpan_GetTotalDays", (PyCFunction
) _wrap_wxDateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
7812 { "wxDateSpan_GetDays", (PyCFunction
) _wrap_wxDateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7813 { "wxDateSpan_GetWeeks", (PyCFunction
) _wrap_wxDateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7814 { "wxDateSpan_GetMonths", (PyCFunction
) _wrap_wxDateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7815 { "wxDateSpan_GetYears", (PyCFunction
) _wrap_wxDateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
7816 { "wxDateSpan_SetDays", (PyCFunction
) _wrap_wxDateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
7817 { "wxDateSpan_SetWeeks", (PyCFunction
) _wrap_wxDateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7818 { "wxDateSpan_SetMonths", (PyCFunction
) _wrap_wxDateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7819 { "wxDateSpan_SetYears", (PyCFunction
) _wrap_wxDateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
7820 { "wxDateSpan_Year", (PyCFunction
) _wrap_wxDateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
7821 { "wxDateSpan_Years", (PyCFunction
) _wrap_wxDateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
7822 { "wxDateSpan_Month", (PyCFunction
) _wrap_wxDateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
7823 { "wxDateSpan_Months", (PyCFunction
) _wrap_wxDateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
7824 { "wxDateSpan_Week", (PyCFunction
) _wrap_wxDateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7825 { "wxDateSpan_Weeks", (PyCFunction
) _wrap_wxDateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7826 { "wxDateSpan_Day", (PyCFunction
) _wrap_wxDateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7827 { "wxDateSpan_Days", (PyCFunction
) _wrap_wxDateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7828 { "delete_wxDateSpan", (PyCFunction
) _wrap_delete_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7829 { "new_wxDateSpan", (PyCFunction
) _wrap_new_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7830 { "wxTimeSpan_Format", (PyCFunction
) _wrap_wxTimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
7831 { "wxTimeSpan_GetMilliseconds", (PyCFunction
) _wrap_wxTimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
7832 { "wxTimeSpan_GetSeconds", (PyCFunction
) _wrap_wxTimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
7833 { "wxTimeSpan_GetMinutes", (PyCFunction
) _wrap_wxTimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
7834 { "wxTimeSpan_GetHours", (PyCFunction
) _wrap_wxTimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
7835 { "wxTimeSpan_GetDays", (PyCFunction
) _wrap_wxTimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7836 { "wxTimeSpan_GetWeeks", (PyCFunction
) _wrap_wxTimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7837 { "wxTimeSpan_IsShorterThan", (PyCFunction
) _wrap_wxTimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
7838 { "wxTimeSpan_IsLongerThan", (PyCFunction
) _wrap_wxTimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
7839 { "wxTimeSpan_IsEqualTo", (PyCFunction
) _wrap_wxTimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7840 { "wxTimeSpan_IsNegative", (PyCFunction
) _wrap_wxTimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
7841 { "wxTimeSpan_IsPositive", (PyCFunction
) _wrap_wxTimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
7842 { "wxTimeSpan_IsNull", (PyCFunction
) _wrap_wxTimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
7843 { "wxTimeSpan___cmp__", (PyCFunction
) _wrap_wxTimeSpan___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7844 { "wxTimeSpan___neg__", (PyCFunction
) _wrap_wxTimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7845 { "wxTimeSpan___rmul__", (PyCFunction
) _wrap_wxTimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7846 { "wxTimeSpan___mul__", (PyCFunction
) _wrap_wxTimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7847 { "wxTimeSpan___sub__", (PyCFunction
) _wrap_wxTimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7848 { "wxTimeSpan___add__", (PyCFunction
) _wrap_wxTimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7849 { "wxTimeSpan_Abs", (PyCFunction
) _wrap_wxTimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
7850 { "wxTimeSpan_Neg", (PyCFunction
) _wrap_wxTimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7851 { "wxTimeSpan_Multiply", (PyCFunction
) _wrap_wxTimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7852 { "wxTimeSpan_Subtract", (PyCFunction
) _wrap_wxTimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7853 { "wxTimeSpan_Add", (PyCFunction
) _wrap_wxTimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7854 { "delete_wxTimeSpan", (PyCFunction
) _wrap_delete_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7855 { "new_wxTimeSpan", (PyCFunction
) _wrap_new_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7856 { "wxTimeSpan_Week", (PyCFunction
) _wrap_wxTimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7857 { "wxTimeSpan_Weeks", (PyCFunction
) _wrap_wxTimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7858 { "wxTimeSpan_Day", (PyCFunction
) _wrap_wxTimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7859 { "wxTimeSpan_Days", (PyCFunction
) _wrap_wxTimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7860 { "wxTimeSpan_Hour", (PyCFunction
) _wrap_wxTimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
7861 { "wxTimeSpan_Hours", (PyCFunction
) _wrap_wxTimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
7862 { "wxTimeSpan_Minute", (PyCFunction
) _wrap_wxTimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
7863 { "wxTimeSpan_Minutes", (PyCFunction
) _wrap_wxTimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
7864 { "wxTimeSpan_Second", (PyCFunction
) _wrap_wxTimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
7865 { "wxTimeSpan_Seconds", (PyCFunction
) _wrap_wxTimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
7866 { "wxDateTime_FormatISOTime", (PyCFunction
) _wrap_wxDateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
7867 { "wxDateTime_FormatISODate", (PyCFunction
) _wrap_wxDateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
7868 { "wxDateTime_FormatTime", (PyCFunction
) _wrap_wxDateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
7869 { "wxDateTime_FormatDate", (PyCFunction
) _wrap_wxDateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
7870 { "wxDateTime_Format", (PyCFunction
) _wrap_wxDateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
7871 { "wxDateTime_ParseTime", (PyCFunction
) _wrap_wxDateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
7872 { "wxDateTime_ParseDate", (PyCFunction
) _wrap_wxDateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
7873 { "wxDateTime_ParseDateTime", (PyCFunction
) _wrap_wxDateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7874 { "wxDateTime_ParseFormat", (PyCFunction
) _wrap_wxDateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
7875 { "wxDateTime_ParseRfc822Date", (PyCFunction
) _wrap_wxDateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
7876 { "wxDateTime___cmp__", (PyCFunction
) _wrap_wxDateTime___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7877 { "wxDateTime___sub__DS", (PyCFunction
) _wrap_wxDateTime___sub__DS
, METH_VARARGS
| METH_KEYWORDS
},
7878 { "wxDateTime___sub__TS", (PyCFunction
) _wrap_wxDateTime___sub__TS
, METH_VARARGS
| METH_KEYWORDS
},
7879 { "wxDateTime___sub__DT", (PyCFunction
) _wrap_wxDateTime___sub__DT
, METH_VARARGS
| METH_KEYWORDS
},
7880 { "wxDateTime___add__DS", (PyCFunction
) _wrap_wxDateTime___add__DS
, METH_VARARGS
| METH_KEYWORDS
},
7881 { "wxDateTime___add__TS", (PyCFunction
) _wrap_wxDateTime___add__TS
, METH_VARARGS
| METH_KEYWORDS
},
7882 { "wxDateTime_Subtract", (PyCFunction
) _wrap_wxDateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7883 { "wxDateTime_SubtractDS", (PyCFunction
) _wrap_wxDateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
7884 { "wxDateTime_SubtractTS", (PyCFunction
) _wrap_wxDateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
7885 { "wxDateTime_AddDS", (PyCFunction
) _wrap_wxDateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
7886 { "wxDateTime_AddTS", (PyCFunction
) _wrap_wxDateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
7887 { "wxDateTime_IsEqualUpTo", (PyCFunction
) _wrap_wxDateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
7888 { "wxDateTime_IsSameTime", (PyCFunction
) _wrap_wxDateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
7889 { "wxDateTime_IsSameDate", (PyCFunction
) _wrap_wxDateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
7890 { "wxDateTime_IsBetween", (PyCFunction
) _wrap_wxDateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
7891 { "wxDateTime_IsStrictlyBetween", (PyCFunction
) _wrap_wxDateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
7892 { "wxDateTime_IsLaterThan", (PyCFunction
) _wrap_wxDateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
7893 { "wxDateTime_IsEarlierThan", (PyCFunction
) _wrap_wxDateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
7894 { "wxDateTime_IsEqualTo", (PyCFunction
) _wrap_wxDateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7895 { "wxDateTime_IsWorkDay", (PyCFunction
) _wrap_wxDateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
7896 { "wxDateTime_GetWeekOfMonth", (PyCFunction
) _wrap_wxDateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
7897 { "wxDateTime_GetWeekOfYear", (PyCFunction
) _wrap_wxDateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7898 { "wxDateTime_GetDayOfYear", (PyCFunction
) _wrap_wxDateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7899 { "wxDateTime_GetMillisecond", (PyCFunction
) _wrap_wxDateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7900 { "wxDateTime_GetSecond", (PyCFunction
) _wrap_wxDateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7901 { "wxDateTime_GetMinute", (PyCFunction
) _wrap_wxDateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7902 { "wxDateTime_GetHour", (PyCFunction
) _wrap_wxDateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
7903 { "wxDateTime_GetWeekDay", (PyCFunction
) _wrap_wxDateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7904 { "wxDateTime_GetDay", (PyCFunction
) _wrap_wxDateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
7905 { "wxDateTime_GetMonth", (PyCFunction
) _wrap_wxDateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7906 { "wxDateTime_GetYear", (PyCFunction
) _wrap_wxDateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
7907 { "wxDateTime_GetTicks", (PyCFunction
) _wrap_wxDateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
7908 { "wxDateTime_IsValid", (PyCFunction
) _wrap_wxDateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
7909 { "wxDateTime_IsDST", (PyCFunction
) _wrap_wxDateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
7910 { "wxDateTime_MakeGMT", (PyCFunction
) _wrap_wxDateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
7911 { "wxDateTime_ToGMT", (PyCFunction
) _wrap_wxDateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
7912 { "wxDateTime_MakeTimezone", (PyCFunction
) _wrap_wxDateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7913 { "wxDateTime_ToTimezone", (PyCFunction
) _wrap_wxDateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7914 { "wxDateTime_GetRataDie", (PyCFunction
) _wrap_wxDateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
7915 { "wxDateTime_GetMJD", (PyCFunction
) _wrap_wxDateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
7916 { "wxDateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7917 { "wxDateTime_GetJDN", (PyCFunction
) _wrap_wxDateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7918 { "wxDateTime_GetJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7919 { "wxDateTime_GetYearDay", (PyCFunction
) _wrap_wxDateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7920 { "wxDateTime_SetToYearDay", (PyCFunction
) _wrap_wxDateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7921 { "wxDateTime_GetLastMonthDay", (PyCFunction
) _wrap_wxDateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7922 { "wxDateTime_SetToLastMonthDay", (PyCFunction
) _wrap_wxDateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7923 { "wxDateTime_GetWeek", (PyCFunction
) _wrap_wxDateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
7924 { "wxDateTime_SetToTheWeek", (PyCFunction
) _wrap_wxDateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
7925 { "wxDateTime_GetLastWeekDay", (PyCFunction
) _wrap_wxDateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7926 { "wxDateTime_SetToLastWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7927 { "wxDateTime_SetToWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7928 { "wxDateTime_GetPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7929 { "wxDateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7930 { "wxDateTime_GetNextWeekDay", (PyCFunction
) _wrap_wxDateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7931 { "wxDateTime_SetToNextWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7932 { "wxDateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7933 { "wxDateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7934 { "wxDateTime_SetMillisecond", (PyCFunction
) _wrap_wxDateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7935 { "wxDateTime_SetSecond", (PyCFunction
) _wrap_wxDateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7936 { "wxDateTime_SetMinute", (PyCFunction
) _wrap_wxDateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7937 { "wxDateTime_SetHour", (PyCFunction
) _wrap_wxDateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
7938 { "wxDateTime_SetDay", (PyCFunction
) _wrap_wxDateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
7939 { "wxDateTime_SetMonth", (PyCFunction
) _wrap_wxDateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7940 { "wxDateTime_SetYear", (PyCFunction
) _wrap_wxDateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
7941 { "wxDateTime_ResetTime", (PyCFunction
) _wrap_wxDateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
7942 { "wxDateTime_Set", (PyCFunction
) _wrap_wxDateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
7943 { "wxDateTime_SetHMS", (PyCFunction
) _wrap_wxDateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
7944 { "wxDateTime_SetJDN", (PyCFunction
) _wrap_wxDateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7945 { "wxDateTime_SetTimeT", (PyCFunction
) _wrap_wxDateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7946 { "wxDateTime_SetToCurrent", (PyCFunction
) _wrap_wxDateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
7947 { "delete_wxDateTime", (PyCFunction
) _wrap_delete_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7948 { "new_wxDateTimeFromDMY", (PyCFunction
) _wrap_new_wxDateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
7949 { "new_wxDateTimeFromHMS", (PyCFunction
) _wrap_new_wxDateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
7950 { "new_wxDateTimeFromJDN", (PyCFunction
) _wrap_new_wxDateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
7951 { "new_wxDateTimeFromTimeT", (PyCFunction
) _wrap_new_wxDateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7952 { "new_wxDateTime", (PyCFunction
) _wrap_new_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7953 { "wxDateTime_Today", (PyCFunction
) _wrap_wxDateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
7954 { "wxDateTime_Now", (PyCFunction
) _wrap_wxDateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
7955 { "wxDateTime_GetEndDST", (PyCFunction
) _wrap_wxDateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
7956 { "wxDateTime_GetBeginDST", (PyCFunction
) _wrap_wxDateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
7957 { "wxDateTime_IsDSTApplicable", (PyCFunction
) _wrap_wxDateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
7958 { "wxDateTime_GetAmPmStrings", (PyCFunction
) _wrap_wxDateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
7959 { "wxDateTime_GetWeekDayName", (PyCFunction
) _wrap_wxDateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
7960 { "wxDateTime_GetMonthName", (PyCFunction
) _wrap_wxDateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
7961 { "wxDateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
7962 { "wxDateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
7963 { "wxDateTime_GetCentury", (PyCFunction
) _wrap_wxDateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
7964 { "wxDateTime_IsLeapYear", (PyCFunction
) _wrap_wxDateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
7965 { "wxDateTime_GetCurrentMonth", (PyCFunction
) _wrap_wxDateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
7966 { "wxDateTime_ConvertYearToBC", (PyCFunction
) _wrap_wxDateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
7967 { "wxDateTime_GetCurrentYear", (PyCFunction
) _wrap_wxDateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
7968 { "wxDateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_wxDateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
7969 { "wxDateTime_GetCountry", (PyCFunction
) _wrap_wxDateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7970 { "wxDateTime_SetCountry", (PyCFunction
) _wrap_wxDateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7971 { "delete_wxFileConfig", (PyCFunction
) _wrap_delete_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7972 { "new_wxFileConfig", (PyCFunction
) _wrap_new_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7973 { "delete_wxConfig", (PyCFunction
) _wrap_delete_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7974 { "new_wxConfig", (PyCFunction
) _wrap_new_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7975 { "wxConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7976 { "wxConfigBase_RenameGroup", (PyCFunction
) _wrap_wxConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
7977 { "wxConfigBase_RenameEntry", (PyCFunction
) _wrap_wxConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
7978 { "wxConfigBase_GetEntryType", (PyCFunction
) _wrap_wxConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
7979 { "wxConfigBase_WriteBool", (PyCFunction
) _wrap_wxConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
7980 { "wxConfigBase_WriteFloat", (PyCFunction
) _wrap_wxConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
7981 { "wxConfigBase_WriteInt", (PyCFunction
) _wrap_wxConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
7982 { "wxConfigBase_Write", (PyCFunction
) _wrap_wxConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
7983 { "wxConfigBase_GetStyle", (PyCFunction
) _wrap_wxConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7984 { "wxConfigBase_SetStyle", (PyCFunction
) _wrap_wxConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7985 { "wxConfigBase_SetVendorName", (PyCFunction
) _wrap_wxConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7986 { "wxConfigBase_SetAppName", (PyCFunction
) _wrap_wxConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7987 { "wxConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_wxConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7988 { "wxConfigBase_SetPath", (PyCFunction
) _wrap_wxConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
7989 { "wxConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7990 { "wxConfigBase_ReadBool", (PyCFunction
) _wrap_wxConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
7991 { "wxConfigBase_ReadFloat", (PyCFunction
) _wrap_wxConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
7992 { "wxConfigBase_ReadInt", (PyCFunction
) _wrap_wxConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
7993 { "wxConfigBase_Read", (PyCFunction
) _wrap_wxConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
7994 { "wxConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_wxConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7995 { "wxConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_wxConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7996 { "wxConfigBase_HasGroup", (PyCFunction
) _wrap_wxConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
7997 { "wxConfigBase_HasEntry", (PyCFunction
) _wrap_wxConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
7998 { "wxConfigBase_GetVendorName", (PyCFunction
) _wrap_wxConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7999 { "wxConfigBase_GetPath", (PyCFunction
) _wrap_wxConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
8000 { "wxConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
8001 { "wxConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
8002 { "wxConfigBase_GetNextEntry", (PyCFunction
) _wrap_wxConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
8003 { "wxConfigBase_GetNextGroup", (PyCFunction
) _wrap_wxConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
8004 { "wxConfigBase_GetFirstEntry", (PyCFunction
) _wrap_wxConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
8005 { "wxConfigBase_GetFirstGroup", (PyCFunction
) _wrap_wxConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
8006 { "wxConfigBase_GetAppName", (PyCFunction
) _wrap_wxConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
8007 { "wxConfigBase_Flush", (PyCFunction
) _wrap_wxConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
8008 { "wxConfigBase_Exists", (PyCFunction
) _wrap_wxConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
8009 { "wxConfigBase_DeleteGroup", (PyCFunction
) _wrap_wxConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
8010 { "wxConfigBase_DeleteEntry", (PyCFunction
) _wrap_wxConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
8011 { "wxConfigBase_DeleteAll", (PyCFunction
) _wrap_wxConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
8012 { "wxConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_wxConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
8013 { "wxConfigBase_Create", (PyCFunction
) _wrap_wxConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
8014 { "wxConfigBase_Get", (PyCFunction
) _wrap_wxConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
8015 { "wxConfigBase_Set", (PyCFunction
) _wrap_wxConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
8016 { "delete_wxConfigBase", (PyCFunction
) _wrap_delete_wxConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
8017 { "wxGetLocalTimeMillis", (PyCFunction
) _wrap_wxGetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
8018 { "wxGetCurrentTime", (PyCFunction
) _wrap_wxGetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
8019 { "wxGetUTCTime", (PyCFunction
) _wrap_wxGetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
8020 { "wxGetLocalTime", (PyCFunction
) _wrap_wxGetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
8027 * This table is used by the pointer type-checker
8029 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8030 { "_signed_long","_long",0},
8031 { "_wxPrintQuality","_wxCoord",0},
8032 { "_wxPrintQuality","_int",0},
8033 { "_wxPrintQuality","_signed_int",0},
8034 { "_wxPrintQuality","_unsigned_int",0},
8035 { "_wxPrintQuality","_wxWindowID",0},
8036 { "_wxPrintQuality","_uint",0},
8037 { "_wxPrintQuality","_EBool",0},
8038 { "_wxPrintQuality","_size_t",0},
8039 { "_wxPrintQuality","_time_t",0},
8040 { "_byte","_unsigned_char",0},
8041 { "_long","_unsigned_long",0},
8042 { "_long","_signed_long",0},
8043 { "_size_t","_wxCoord",0},
8044 { "_size_t","_wxPrintQuality",0},
8045 { "_size_t","_time_t",0},
8046 { "_size_t","_unsigned_int",0},
8047 { "_size_t","_int",0},
8048 { "_size_t","_wxWindowID",0},
8049 { "_size_t","_uint",0},
8050 { "_uint","_wxCoord",0},
8051 { "_uint","_wxPrintQuality",0},
8052 { "_uint","_time_t",0},
8053 { "_uint","_size_t",0},
8054 { "_uint","_unsigned_int",0},
8055 { "_uint","_int",0},
8056 { "_uint","_wxWindowID",0},
8057 { "_wxChar","_char",0},
8058 { "_char","_wxChar",0},
8059 { "_EBool","_wxCoord",0},
8060 { "_EBool","_wxPrintQuality",0},
8061 { "_EBool","_signed_int",0},
8062 { "_EBool","_int",0},
8063 { "_EBool","_wxWindowID",0},
8064 { "_unsigned_long","_long",0},
8065 { "_signed_int","_wxCoord",0},
8066 { "_signed_int","_wxPrintQuality",0},
8067 { "_signed_int","_EBool",0},
8068 { "_signed_int","_wxWindowID",0},
8069 { "_signed_int","_int",0},
8070 { "_WXTYPE","_wxDateTime_t",0},
8071 { "_WXTYPE","_short",0},
8072 { "_WXTYPE","_signed_short",0},
8073 { "_WXTYPE","_unsigned_short",0},
8074 { "_unsigned_short","_wxDateTime_t",0},
8075 { "_unsigned_short","_WXTYPE",0},
8076 { "_unsigned_short","_short",0},
8077 { "_signed_short","_WXTYPE",0},
8078 { "_signed_short","_short",0},
8079 { "_unsigned_char","_byte",0},
8080 { "_unsigned_int","_wxCoord",0},
8081 { "_unsigned_int","_wxPrintQuality",0},
8082 { "_unsigned_int","_time_t",0},
8083 { "_unsigned_int","_size_t",0},
8084 { "_unsigned_int","_uint",0},
8085 { "_unsigned_int","_wxWindowID",0},
8086 { "_unsigned_int","_int",0},
8087 { "_wxConfigBase","_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
8088 { "_wxConfigBase","_wxConfig",SwigwxConfigTowxConfigBase
},
8089 { "_short","_wxDateTime_t",0},
8090 { "_short","_WXTYPE",0},
8091 { "_short","_unsigned_short",0},
8092 { "_short","_signed_short",0},
8093 { "_wxWindowID","_wxCoord",0},
8094 { "_wxWindowID","_wxPrintQuality",0},
8095 { "_wxWindowID","_time_t",0},
8096 { "_wxWindowID","_size_t",0},
8097 { "_wxWindowID","_EBool",0},
8098 { "_wxWindowID","_uint",0},
8099 { "_wxWindowID","_int",0},
8100 { "_wxWindowID","_signed_int",0},
8101 { "_wxWindowID","_unsigned_int",0},
8102 { "_int","_wxCoord",0},
8103 { "_int","_wxPrintQuality",0},
8104 { "_int","_time_t",0},
8105 { "_int","_size_t",0},
8106 { "_int","_EBool",0},
8107 { "_int","_uint",0},
8108 { "_int","_wxWindowID",0},
8109 { "_int","_unsigned_int",0},
8110 { "_int","_signed_int",0},
8111 { "_wxDateTime_t","_unsigned_short",0},
8112 { "_wxDateTime_t","_short",0},
8113 { "_wxDateTime_t","_WXTYPE",0},
8114 { "_time_t","_wxCoord",0},
8115 { "_time_t","_wxPrintQuality",0},
8116 { "_time_t","_unsigned_int",0},
8117 { "_time_t","_int",0},
8118 { "_time_t","_wxWindowID",0},
8119 { "_time_t","_uint",0},
8120 { "_time_t","_size_t",0},
8121 { "_wxCoord","_int",0},
8122 { "_wxCoord","_signed_int",0},
8123 { "_wxCoord","_unsigned_int",0},
8124 { "_wxCoord","_wxWindowID",0},
8125 { "_wxCoord","_uint",0},
8126 { "_wxCoord","_EBool",0},
8127 { "_wxCoord","_size_t",0},
8128 { "_wxCoord","_time_t",0},
8129 { "_wxCoord","_wxPrintQuality",0},
8132 static PyObject
*SWIG_globals
;
8136 SWIGEXPORT(void) initutilsc() {
8138 SWIG_globals
= SWIG_newvarlink();
8139 m
= Py_InitModule("utilsc", utilscMethods
);
8140 d
= PyModule_GetDict(m
);
8141 PyDict_SetItemString(d
,"wxCONFIG_USE_LOCAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_LOCAL_FILE
));
8142 PyDict_SetItemString(d
,"wxCONFIG_USE_GLOBAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_GLOBAL_FILE
));
8143 PyDict_SetItemString(d
,"wxCONFIG_USE_RELATIVE_PATH", PyInt_FromLong((long) wxCONFIG_USE_RELATIVE_PATH
));
8145 wxClassInfo::CleanUpClasses();
8146 wxClassInfo::InitializeClasses();
8147 PyDict_SetItemString(d
,"wxConfigBase_Type_Unknown", PyInt_FromLong((long) wxConfigBase::Type_Unknown
));
8148 PyDict_SetItemString(d
,"wxConfigBase_Type_String", PyInt_FromLong((long) wxConfigBase::Type_String
));
8149 PyDict_SetItemString(d
,"wxConfigBase_Type_Boolean", PyInt_FromLong((long) wxConfigBase::Type_Boolean
));
8150 PyDict_SetItemString(d
,"wxConfigBase_Type_Integer", PyInt_FromLong((long) wxConfigBase::Type_Integer
));
8151 PyDict_SetItemString(d
,"wxConfigBase_Type_Float", PyInt_FromLong((long) wxConfigBase::Type_Float
));
8152 PyDict_SetItemString(d
,"wxDateTime_Local", PyInt_FromLong((long) wxDateTime::Local
));
8153 PyDict_SetItemString(d
,"wxDateTime_GMT_12", PyInt_FromLong((long) wxDateTime::GMT_12
));
8154 PyDict_SetItemString(d
,"wxDateTime_GMT_11", PyInt_FromLong((long) wxDateTime::GMT_11
));
8155 PyDict_SetItemString(d
,"wxDateTime_GMT_10", PyInt_FromLong((long) wxDateTime::GMT_10
));
8156 PyDict_SetItemString(d
,"wxDateTime_GMT_9", PyInt_FromLong((long) wxDateTime::GMT_9
));
8157 PyDict_SetItemString(d
,"wxDateTime_GMT_8", PyInt_FromLong((long) wxDateTime::GMT_8
));
8158 PyDict_SetItemString(d
,"wxDateTime_GMT_7", PyInt_FromLong((long) wxDateTime::GMT_7
));
8159 PyDict_SetItemString(d
,"wxDateTime_GMT_6", PyInt_FromLong((long) wxDateTime::GMT_6
));
8160 PyDict_SetItemString(d
,"wxDateTime_GMT_5", PyInt_FromLong((long) wxDateTime::GMT_5
));
8161 PyDict_SetItemString(d
,"wxDateTime_GMT_4", PyInt_FromLong((long) wxDateTime::GMT_4
));
8162 PyDict_SetItemString(d
,"wxDateTime_GMT_3", PyInt_FromLong((long) wxDateTime::GMT_3
));
8163 PyDict_SetItemString(d
,"wxDateTime_GMT_2", PyInt_FromLong((long) wxDateTime::GMT_2
));
8164 PyDict_SetItemString(d
,"wxDateTime_GMT_1", PyInt_FromLong((long) wxDateTime::GMT_1
));
8165 PyDict_SetItemString(d
,"wxDateTime_GMT0", PyInt_FromLong((long) wxDateTime::GMT0
));
8166 PyDict_SetItemString(d
,"wxDateTime_GMT1", PyInt_FromLong((long) wxDateTime::GMT1
));
8167 PyDict_SetItemString(d
,"wxDateTime_GMT2", PyInt_FromLong((long) wxDateTime::GMT2
));
8168 PyDict_SetItemString(d
,"wxDateTime_GMT3", PyInt_FromLong((long) wxDateTime::GMT3
));
8169 PyDict_SetItemString(d
,"wxDateTime_GMT4", PyInt_FromLong((long) wxDateTime::GMT4
));
8170 PyDict_SetItemString(d
,"wxDateTime_GMT5", PyInt_FromLong((long) wxDateTime::GMT5
));
8171 PyDict_SetItemString(d
,"wxDateTime_GMT6", PyInt_FromLong((long) wxDateTime::GMT6
));
8172 PyDict_SetItemString(d
,"wxDateTime_GMT7", PyInt_FromLong((long) wxDateTime::GMT7
));
8173 PyDict_SetItemString(d
,"wxDateTime_GMT8", PyInt_FromLong((long) wxDateTime::GMT8
));
8174 PyDict_SetItemString(d
,"wxDateTime_GMT9", PyInt_FromLong((long) wxDateTime::GMT9
));
8175 PyDict_SetItemString(d
,"wxDateTime_GMT10", PyInt_FromLong((long) wxDateTime::GMT10
));
8176 PyDict_SetItemString(d
,"wxDateTime_GMT11", PyInt_FromLong((long) wxDateTime::GMT11
));
8177 PyDict_SetItemString(d
,"wxDateTime_GMT12", PyInt_FromLong((long) wxDateTime::GMT12
));
8178 PyDict_SetItemString(d
,"wxDateTime_WET", PyInt_FromLong((long) wxDateTime::WET
));
8179 PyDict_SetItemString(d
,"wxDateTime_WEST", PyInt_FromLong((long) wxDateTime::WEST
));
8180 PyDict_SetItemString(d
,"wxDateTime_CET", PyInt_FromLong((long) wxDateTime::CET
));
8181 PyDict_SetItemString(d
,"wxDateTime_CEST", PyInt_FromLong((long) wxDateTime::CEST
));
8182 PyDict_SetItemString(d
,"wxDateTime_EET", PyInt_FromLong((long) wxDateTime::EET
));
8183 PyDict_SetItemString(d
,"wxDateTime_EEST", PyInt_FromLong((long) wxDateTime::EEST
));
8184 PyDict_SetItemString(d
,"wxDateTime_MSK", PyInt_FromLong((long) wxDateTime::MSK
));
8185 PyDict_SetItemString(d
,"wxDateTime_MSD", PyInt_FromLong((long) wxDateTime::MSD
));
8186 PyDict_SetItemString(d
,"wxDateTime_AST", PyInt_FromLong((long) wxDateTime::AST
));
8187 PyDict_SetItemString(d
,"wxDateTime_ADT", PyInt_FromLong((long) wxDateTime::ADT
));
8188 PyDict_SetItemString(d
,"wxDateTime_EST", PyInt_FromLong((long) wxDateTime::EST
));
8189 PyDict_SetItemString(d
,"wxDateTime_EDT", PyInt_FromLong((long) wxDateTime::EDT
));
8190 PyDict_SetItemString(d
,"wxDateTime_CST", PyInt_FromLong((long) wxDateTime::CST
));
8191 PyDict_SetItemString(d
,"wxDateTime_CDT", PyInt_FromLong((long) wxDateTime::CDT
));
8192 PyDict_SetItemString(d
,"wxDateTime_MST", PyInt_FromLong((long) wxDateTime::MST
));
8193 PyDict_SetItemString(d
,"wxDateTime_MDT", PyInt_FromLong((long) wxDateTime::MDT
));
8194 PyDict_SetItemString(d
,"wxDateTime_PST", PyInt_FromLong((long) wxDateTime::PST
));
8195 PyDict_SetItemString(d
,"wxDateTime_PDT", PyInt_FromLong((long) wxDateTime::PDT
));
8196 PyDict_SetItemString(d
,"wxDateTime_HST", PyInt_FromLong((long) wxDateTime::HST
));
8197 PyDict_SetItemString(d
,"wxDateTime_AKST", PyInt_FromLong((long) wxDateTime::AKST
));
8198 PyDict_SetItemString(d
,"wxDateTime_AKDT", PyInt_FromLong((long) wxDateTime::AKDT
));
8199 PyDict_SetItemString(d
,"wxDateTime_A_WST", PyInt_FromLong((long) wxDateTime::A_WST
));
8200 PyDict_SetItemString(d
,"wxDateTime_A_CST", PyInt_FromLong((long) wxDateTime::A_CST
));
8201 PyDict_SetItemString(d
,"wxDateTime_A_EST", PyInt_FromLong((long) wxDateTime::A_EST
));
8202 PyDict_SetItemString(d
,"wxDateTime_A_ESST", PyInt_FromLong((long) wxDateTime::A_ESST
));
8203 PyDict_SetItemString(d
,"wxDateTime_UTC", PyInt_FromLong((long) wxDateTime::UTC
));
8204 PyDict_SetItemString(d
,"wxDateTime_Gregorian", PyInt_FromLong((long) wxDateTime::Gregorian
));
8205 PyDict_SetItemString(d
,"wxDateTime_Julian", PyInt_FromLong((long) wxDateTime::Julian
));
8206 PyDict_SetItemString(d
,"wxDateTime_Country_Unknown", PyInt_FromLong((long) wxDateTime::Country_Unknown
));
8207 PyDict_SetItemString(d
,"wxDateTime_Country_Default", PyInt_FromLong((long) wxDateTime::Country_Default
));
8208 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_Start", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_Start
));
8209 PyDict_SetItemString(d
,"wxDateTime_Country_EEC", PyInt_FromLong((long) wxDateTime::Country_EEC
));
8210 PyDict_SetItemString(d
,"wxDateTime_France", PyInt_FromLong((long) wxDateTime::France
));
8211 PyDict_SetItemString(d
,"wxDateTime_Germany", PyInt_FromLong((long) wxDateTime::Germany
));
8212 PyDict_SetItemString(d
,"wxDateTime_UK", PyInt_FromLong((long) wxDateTime::UK
));
8213 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_End", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_End
));
8214 PyDict_SetItemString(d
,"wxDateTime_Russia", PyInt_FromLong((long) wxDateTime::Russia
));
8215 PyDict_SetItemString(d
,"wxDateTime_USA", PyInt_FromLong((long) wxDateTime::USA
));
8216 PyDict_SetItemString(d
,"wxDateTime_Jan", PyInt_FromLong((long) wxDateTime::Jan
));
8217 PyDict_SetItemString(d
,"wxDateTime_Feb", PyInt_FromLong((long) wxDateTime::Feb
));
8218 PyDict_SetItemString(d
,"wxDateTime_Mar", PyInt_FromLong((long) wxDateTime::Mar
));
8219 PyDict_SetItemString(d
,"wxDateTime_Apr", PyInt_FromLong((long) wxDateTime::Apr
));
8220 PyDict_SetItemString(d
,"wxDateTime_May", PyInt_FromLong((long) wxDateTime::May
));
8221 PyDict_SetItemString(d
,"wxDateTime_Jun", PyInt_FromLong((long) wxDateTime::Jun
));
8222 PyDict_SetItemString(d
,"wxDateTime_Jul", PyInt_FromLong((long) wxDateTime::Jul
));
8223 PyDict_SetItemString(d
,"wxDateTime_Aug", PyInt_FromLong((long) wxDateTime::Aug
));
8224 PyDict_SetItemString(d
,"wxDateTime_Sep", PyInt_FromLong((long) wxDateTime::Sep
));
8225 PyDict_SetItemString(d
,"wxDateTime_Oct", PyInt_FromLong((long) wxDateTime::Oct
));
8226 PyDict_SetItemString(d
,"wxDateTime_Nov", PyInt_FromLong((long) wxDateTime::Nov
));
8227 PyDict_SetItemString(d
,"wxDateTime_Dec", PyInt_FromLong((long) wxDateTime::Dec
));
8228 PyDict_SetItemString(d
,"wxDateTime_Inv_Month", PyInt_FromLong((long) wxDateTime::Inv_Month
));
8229 PyDict_SetItemString(d
,"wxDateTime_Sun", PyInt_FromLong((long) wxDateTime::Sun
));
8230 PyDict_SetItemString(d
,"wxDateTime_Mon", PyInt_FromLong((long) wxDateTime::Mon
));
8231 PyDict_SetItemString(d
,"wxDateTime_Tue", PyInt_FromLong((long) wxDateTime::Tue
));
8232 PyDict_SetItemString(d
,"wxDateTime_Wed", PyInt_FromLong((long) wxDateTime::Wed
));
8233 PyDict_SetItemString(d
,"wxDateTime_Thu", PyInt_FromLong((long) wxDateTime::Thu
));
8234 PyDict_SetItemString(d
,"wxDateTime_Fri", PyInt_FromLong((long) wxDateTime::Fri
));
8235 PyDict_SetItemString(d
,"wxDateTime_Sat", PyInt_FromLong((long) wxDateTime::Sat
));
8236 PyDict_SetItemString(d
,"wxDateTime_Inv_WeekDay", PyInt_FromLong((long) wxDateTime::Inv_WeekDay
));
8237 PyDict_SetItemString(d
,"wxDateTime_Inv_Year", PyInt_FromLong((long) wxDateTime::Inv_Year
));
8238 PyDict_SetItemString(d
,"wxDateTime_Name_Full", PyInt_FromLong((long) wxDateTime::Name_Full
));
8239 PyDict_SetItemString(d
,"wxDateTime_Name_Abbr", PyInt_FromLong((long) wxDateTime::Name_Abbr
));
8240 PyDict_SetItemString(d
,"wxDateTime_Default_First", PyInt_FromLong((long) wxDateTime::Default_First
));
8241 PyDict_SetItemString(d
,"wxDateTime_Monday_First", PyInt_FromLong((long) wxDateTime::Monday_First
));
8242 PyDict_SetItemString(d
,"wxDateTime_Sunday_First", PyInt_FromLong((long) wxDateTime::Sunday_First
));
8245 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8246 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);