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>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
67 } else if (target
== Py_None
) {
71 if (!PyList_Check(target
)) {
73 target
= PyList_New(0);
74 PyList_Append(target
, o2
);
77 PyList_Append(target
,o
);
83 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
89 } else if (target
== Py_None
) {
93 if (!PyTuple_Check(target
)) {
95 target
= PyTuple_New(1);
96 PyTuple_SetItem(target
, 0, o2
);
99 PyTuple_SetItem(o3
, 0, o
);
102 target
= PySequence_Concat(o2
, o3
);
109 static char* wxStringErrorMsg
= "string type is required for parameter";
111 static wxString
wxPyEmptyStr("");
113 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
114 PyObject
* ret
= PyTuple_New(3);
116 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
117 PyTuple_SET_ITEM(ret
, 1, PyString_FromString(str
));
118 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
123 #define LOCAL *(new wxDateTime::TimeZone(wxDateTime::Local))
127 static PyObject
*_wrap_wxGetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
128 PyObject
* _resultobj
;
130 char *_kwnames
[] = { NULL
};
133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocalTime",_kwnames
))
136 wxPy_BEGIN_ALLOW_THREADS
;
137 _result
= (long )wxGetLocalTime();
139 wxPy_END_ALLOW_THREADS
;
140 } _resultobj
= Py_BuildValue("l",_result
);
144 static PyObject
*_wrap_wxGetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
145 PyObject
* _resultobj
;
147 char *_kwnames
[] = { NULL
};
150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUTCTime",_kwnames
))
153 wxPy_BEGIN_ALLOW_THREADS
;
154 _result
= (long )wxGetUTCTime();
156 wxPy_END_ALLOW_THREADS
;
157 } _resultobj
= Py_BuildValue("l",_result
);
161 static PyObject
*_wrap_wxGetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
162 PyObject
* _resultobj
;
164 char *_kwnames
[] = { NULL
};
167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentTime",_kwnames
))
170 wxPy_BEGIN_ALLOW_THREADS
;
171 _result
= (long )wxGetCurrentTime();
173 wxPy_END_ALLOW_THREADS
;
174 } _resultobj
= Py_BuildValue("l",_result
);
178 static PyObject
*_wrap_wxGetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
179 PyObject
* _resultobj
;
180 wxLongLong
* _result
;
181 char *_kwnames
[] = { NULL
};
184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocalTimeMillis",_kwnames
))
187 wxPy_BEGIN_ALLOW_THREADS
;
188 _result
= new wxLongLong (wxGetLocalTimeMillis());
190 wxPy_END_ALLOW_THREADS
;
192 PyObject
*hi
, *lo
, *shifter
, *shifted
;
193 hi
= PyLong_FromLong(_result
->GetHi());
194 lo
= PyLong_FromLong(_result
->GetLo());
195 shifter
= PyLong_FromLong(32);
196 shifted
= PyNumber_Lshift(hi
, shifter
);
197 _resultobj
= PyNumber_Or(shifted
, lo
);
206 #define delete_wxConfigBase(_swigobj) (delete _swigobj)
207 static PyObject
*_wrap_delete_wxConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
208 PyObject
* _resultobj
;
209 wxConfigBase
* _arg0
;
210 PyObject
* _argo0
= 0;
211 char *_kwnames
[] = { "self", NULL
};
214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxConfigBase",_kwnames
,&_argo0
))
217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxConfigBase. Expected _wxConfigBase_p.");
224 wxPy_BEGIN_ALLOW_THREADS
;
225 delete_wxConfigBase(_arg0
);
227 wxPy_END_ALLOW_THREADS
;
228 } Py_INCREF(Py_None
);
229 _resultobj
= Py_None
;
233 static PyObject
*_wrap_wxConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
234 PyObject
* _resultobj
;
235 wxConfigBase
* _result
;
236 wxConfigBase
* _arg0
;
237 PyObject
* _argo0
= 0;
238 char *_kwnames
[] = { "pConfig", NULL
};
242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_Set",_kwnames
,&_argo0
))
245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Set. Expected _wxConfigBase_p.");
252 wxPy_BEGIN_ALLOW_THREADS
;
253 _result
= (wxConfigBase
*)wxConfigBase::Set(_arg0
);
255 wxPy_END_ALLOW_THREADS
;
257 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
258 _resultobj
= Py_BuildValue("s",_ptemp
);
261 _resultobj
= Py_None
;
266 static PyObject
*_wrap_wxConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
267 PyObject
* _resultobj
;
268 wxConfigBase
* _result
;
269 bool _arg0
= (bool ) TRUE
;
270 int tempbool0
= (int) TRUE
;
271 char *_kwnames
[] = { "createOnDemand", NULL
};
275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxConfigBase_Get",_kwnames
,&tempbool0
))
277 _arg0
= (bool ) tempbool0
;
279 wxPy_BEGIN_ALLOW_THREADS
;
280 _result
= (wxConfigBase
*)wxConfigBase::Get(_arg0
);
282 wxPy_END_ALLOW_THREADS
;
284 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
285 _resultobj
= Py_BuildValue("s",_ptemp
);
288 _resultobj
= Py_None
;
293 static PyObject
*_wrap_wxConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
294 PyObject
* _resultobj
;
295 wxConfigBase
* _result
;
296 char *_kwnames
[] = { NULL
};
300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxConfigBase_Create",_kwnames
))
303 wxPy_BEGIN_ALLOW_THREADS
;
304 _result
= (wxConfigBase
*)wxConfigBase::Create();
306 wxPy_END_ALLOW_THREADS
;
308 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
309 _resultobj
= Py_BuildValue("s",_ptemp
);
312 _resultobj
= Py_None
;
317 static PyObject
*_wrap_wxConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
318 PyObject
* _resultobj
;
319 char *_kwnames
[] = { NULL
};
322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxConfigBase_DontCreateOnDemand",_kwnames
))
325 wxPy_BEGIN_ALLOW_THREADS
;
326 wxConfigBase::DontCreateOnDemand();
328 wxPy_END_ALLOW_THREADS
;
329 } Py_INCREF(Py_None
);
330 _resultobj
= Py_None
;
334 #define wxConfigBase_DeleteAll(_swigobj) (_swigobj->DeleteAll())
335 static PyObject
*_wrap_wxConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
336 PyObject
* _resultobj
;
338 wxConfigBase
* _arg0
;
339 PyObject
* _argo0
= 0;
340 char *_kwnames
[] = { "self", NULL
};
343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_DeleteAll",_kwnames
,&_argo0
))
346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteAll. Expected _wxConfigBase_p.");
353 wxPy_BEGIN_ALLOW_THREADS
;
354 _result
= (bool )wxConfigBase_DeleteAll(_arg0
);
356 wxPy_END_ALLOW_THREADS
;
357 } _resultobj
= Py_BuildValue("i",_result
);
361 #define wxConfigBase_DeleteEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteEntry(_swigarg0,_swigarg1))
362 static PyObject
*_wrap_wxConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
363 PyObject
* _resultobj
;
365 wxConfigBase
* _arg0
;
367 bool _arg2
= (bool ) TRUE
;
368 PyObject
* _argo0
= 0;
369 PyObject
* _obj1
= 0;
370 int tempbool2
= (int) TRUE
;
371 char *_kwnames
[] = { "self","key","bDeleteGroupIfEmpty", NULL
};
374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxConfigBase_DeleteEntry",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteEntry. Expected _wxConfigBase_p.");
384 #if PYTHON_API_VERSION >= 1009
385 char* tmpPtr
; int tmpSize
;
386 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
387 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
390 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
392 _arg1
= new wxString(tmpPtr
, tmpSize
);
394 if (!PyString_Check(_obj1
)) {
395 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
398 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
401 _arg2
= (bool ) tempbool2
;
403 wxPy_BEGIN_ALLOW_THREADS
;
404 _result
= (bool )wxConfigBase_DeleteEntry(_arg0
,*_arg1
,_arg2
);
406 wxPy_END_ALLOW_THREADS
;
407 } _resultobj
= Py_BuildValue("i",_result
);
415 #define wxConfigBase_DeleteGroup(_swigobj,_swigarg0) (_swigobj->DeleteGroup(_swigarg0))
416 static PyObject
*_wrap_wxConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
417 PyObject
* _resultobj
;
419 wxConfigBase
* _arg0
;
421 PyObject
* _argo0
= 0;
422 PyObject
* _obj1
= 0;
423 char *_kwnames
[] = { "self","key", NULL
};
426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_DeleteGroup",_kwnames
,&_argo0
,&_obj1
))
429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteGroup. Expected _wxConfigBase_p.");
436 #if PYTHON_API_VERSION >= 1009
437 char* tmpPtr
; int tmpSize
;
438 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
439 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
442 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
444 _arg1
= new wxString(tmpPtr
, tmpSize
);
446 if (!PyString_Check(_obj1
)) {
447 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
450 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
454 wxPy_BEGIN_ALLOW_THREADS
;
455 _result
= (bool )wxConfigBase_DeleteGroup(_arg0
,*_arg1
);
457 wxPy_END_ALLOW_THREADS
;
458 } _resultobj
= Py_BuildValue("i",_result
);
466 #define wxConfigBase_Exists(_swigobj,_swigarg0) (_swigobj->Exists(_swigarg0))
467 static PyObject
*_wrap_wxConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
468 PyObject
* _resultobj
;
470 wxConfigBase
* _arg0
;
472 PyObject
* _argo0
= 0;
473 PyObject
* _obj1
= 0;
474 char *_kwnames
[] = { "self","strName", NULL
};
477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_Exists",_kwnames
,&_argo0
,&_obj1
))
480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Exists. Expected _wxConfigBase_p.");
487 #if PYTHON_API_VERSION >= 1009
488 char* tmpPtr
; int tmpSize
;
489 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
490 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
493 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
495 _arg1
= new wxString(tmpPtr
, tmpSize
);
497 if (!PyString_Check(_obj1
)) {
498 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
501 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
505 wxPy_BEGIN_ALLOW_THREADS
;
506 _result
= (bool )wxConfigBase_Exists(_arg0
,*_arg1
);
508 wxPy_END_ALLOW_THREADS
;
509 } _resultobj
= Py_BuildValue("i",_result
);
517 #define wxConfigBase_Flush(_swigobj,_swigarg0) (_swigobj->Flush(_swigarg0))
518 static PyObject
*_wrap_wxConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
519 PyObject
* _resultobj
;
521 wxConfigBase
* _arg0
;
522 bool _arg1
= (bool ) FALSE
;
523 PyObject
* _argo0
= 0;
524 int tempbool1
= (int) FALSE
;
525 char *_kwnames
[] = { "self","bCurrentOnly", NULL
};
528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_Flush",_kwnames
,&_argo0
,&tempbool1
))
531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Flush. Expected _wxConfigBase_p.");
537 _arg1
= (bool ) tempbool1
;
539 wxPy_BEGIN_ALLOW_THREADS
;
540 _result
= (bool )wxConfigBase_Flush(_arg0
,_arg1
);
542 wxPy_END_ALLOW_THREADS
;
543 } _resultobj
= Py_BuildValue("i",_result
);
547 #define wxConfigBase_GetAppName(_swigobj) (_swigobj->GetAppName())
548 static PyObject
*_wrap_wxConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
549 PyObject
* _resultobj
;
551 wxConfigBase
* _arg0
;
552 PyObject
* _argo0
= 0;
553 char *_kwnames
[] = { "self", NULL
};
556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetAppName",_kwnames
,&_argo0
))
559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetAppName. Expected _wxConfigBase_p.");
566 wxPy_BEGIN_ALLOW_THREADS
;
567 _result
= new wxString (wxConfigBase_GetAppName(_arg0
));
569 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
606 _result
= (PyObject
*)wxConfigBase_GetFirstGroup(_arg0
);
608 wxPy_END_ALLOW_THREADS
;
610 _resultobj
= _result
;
615 static PyObject
* wxConfigBase_GetFirstEntry(wxConfigBase
*self
) {
620 cont
= self
->GetFirstEntry(value
, index
);
621 return __EnumerationHelper(cont
, value
, index
);
623 static PyObject
*_wrap_wxConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
624 PyObject
* _resultobj
;
626 wxConfigBase
* _arg0
;
627 PyObject
* _argo0
= 0;
628 char *_kwnames
[] = { "self", NULL
};
631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetFirstEntry",_kwnames
,&_argo0
))
634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetFirstEntry. Expected _wxConfigBase_p.");
641 wxPy_BEGIN_ALLOW_THREADS
;
642 _result
= (PyObject
*)wxConfigBase_GetFirstEntry(_arg0
);
644 wxPy_END_ALLOW_THREADS
;
646 _resultobj
= _result
;
651 static PyObject
* wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
) {
655 cont
= self
->GetNextGroup(value
, index
);
656 return __EnumerationHelper(cont
, value
, index
);
658 static PyObject
*_wrap_wxConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
659 PyObject
* _resultobj
;
661 wxConfigBase
* _arg0
;
663 PyObject
* _argo0
= 0;
664 char *_kwnames
[] = { "self","index", NULL
};
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_GetNextGroup",_kwnames
,&_argo0
,&_arg1
))
670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNextGroup. Expected _wxConfigBase_p.");
677 wxPy_BEGIN_ALLOW_THREADS
;
678 _result
= (PyObject
*)wxConfigBase_GetNextGroup(_arg0
,_arg1
);
680 wxPy_END_ALLOW_THREADS
;
682 _resultobj
= _result
;
687 static PyObject
* wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
) {
691 cont
= self
->GetNextEntry(value
, index
);
692 return __EnumerationHelper(cont
, value
, index
);
694 static PyObject
*_wrap_wxConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
695 PyObject
* _resultobj
;
697 wxConfigBase
* _arg0
;
699 PyObject
* _argo0
= 0;
700 char *_kwnames
[] = { "self","index", NULL
};
703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_GetNextEntry",_kwnames
,&_argo0
,&_arg1
))
706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNextEntry. Expected _wxConfigBase_p.");
713 wxPy_BEGIN_ALLOW_THREADS
;
714 _result
= (PyObject
*)wxConfigBase_GetNextEntry(_arg0
,_arg1
);
716 wxPy_END_ALLOW_THREADS
;
718 _resultobj
= _result
;
723 #define wxConfigBase_GetNumberOfEntries(_swigobj,_swigarg0) (_swigobj->GetNumberOfEntries(_swigarg0))
724 static PyObject
*_wrap_wxConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
725 PyObject
* _resultobj
;
727 wxConfigBase
* _arg0
;
728 bool _arg1
= (bool ) FALSE
;
729 PyObject
* _argo0
= 0;
730 int tempbool1
= (int) FALSE
;
731 char *_kwnames
[] = { "self","bRecursive", NULL
};
734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_GetNumberOfEntries",_kwnames
,&_argo0
,&tempbool1
))
737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNumberOfEntries. Expected _wxConfigBase_p.");
743 _arg1
= (bool ) tempbool1
;
745 wxPy_BEGIN_ALLOW_THREADS
;
746 _result
= (int )wxConfigBase_GetNumberOfEntries(_arg0
,_arg1
);
748 wxPy_END_ALLOW_THREADS
;
749 } _resultobj
= Py_BuildValue("i",_result
);
753 #define wxConfigBase_GetNumberOfGroups(_swigobj,_swigarg0) (_swigobj->GetNumberOfGroups(_swigarg0))
754 static PyObject
*_wrap_wxConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
755 PyObject
* _resultobj
;
757 wxConfigBase
* _arg0
;
758 bool _arg1
= (bool ) FALSE
;
759 PyObject
* _argo0
= 0;
760 int tempbool1
= (int) FALSE
;
761 char *_kwnames
[] = { "self","bRecursive", NULL
};
764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_GetNumberOfGroups",_kwnames
,&_argo0
,&tempbool1
))
767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNumberOfGroups. Expected _wxConfigBase_p.");
773 _arg1
= (bool ) tempbool1
;
775 wxPy_BEGIN_ALLOW_THREADS
;
776 _result
= (int )wxConfigBase_GetNumberOfGroups(_arg0
,_arg1
);
778 wxPy_END_ALLOW_THREADS
;
779 } _resultobj
= Py_BuildValue("i",_result
);
783 #define wxConfigBase_GetPath(_swigobj) (_swigobj->GetPath())
784 static PyObject
*_wrap_wxConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
785 PyObject
* _resultobj
;
787 wxConfigBase
* _arg0
;
788 PyObject
* _argo0
= 0;
789 char *_kwnames
[] = { "self", NULL
};
792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetPath",_kwnames
,&_argo0
))
795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetPath. Expected _wxConfigBase_p.");
802 wxPy_BEGIN_ALLOW_THREADS
;
803 _result
= new wxString (wxConfigBase_GetPath(_arg0
));
805 wxPy_END_ALLOW_THREADS
;
807 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
815 #define wxConfigBase_GetVendorName(_swigobj) (_swigobj->GetVendorName())
816 static PyObject
*_wrap_wxConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
817 PyObject
* _resultobj
;
819 wxConfigBase
* _arg0
;
820 PyObject
* _argo0
= 0;
821 char *_kwnames
[] = { "self", NULL
};
824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetVendorName",_kwnames
,&_argo0
))
827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetVendorName. Expected _wxConfigBase_p.");
834 wxPy_BEGIN_ALLOW_THREADS
;
835 _result
= new wxString (wxConfigBase_GetVendorName(_arg0
));
837 wxPy_END_ALLOW_THREADS
;
839 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
847 #define wxConfigBase_HasEntry(_swigobj,_swigarg0) (_swigobj->HasEntry(_swigarg0))
848 static PyObject
*_wrap_wxConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
849 PyObject
* _resultobj
;
851 wxConfigBase
* _arg0
;
853 PyObject
* _argo0
= 0;
854 PyObject
* _obj1
= 0;
855 char *_kwnames
[] = { "self","strName", NULL
};
858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_HasEntry",_kwnames
,&_argo0
,&_obj1
))
861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_HasEntry. Expected _wxConfigBase_p.");
868 #if PYTHON_API_VERSION >= 1009
869 char* tmpPtr
; int tmpSize
;
870 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
871 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
874 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
876 _arg1
= new wxString(tmpPtr
, tmpSize
);
878 if (!PyString_Check(_obj1
)) {
879 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
882 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
886 wxPy_BEGIN_ALLOW_THREADS
;
887 _result
= (bool )wxConfigBase_HasEntry(_arg0
,*_arg1
);
889 wxPy_END_ALLOW_THREADS
;
890 } _resultobj
= Py_BuildValue("i",_result
);
898 #define wxConfigBase_HasGroup(_swigobj,_swigarg0) (_swigobj->HasGroup(_swigarg0))
899 static PyObject
*_wrap_wxConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
900 PyObject
* _resultobj
;
902 wxConfigBase
* _arg0
;
904 PyObject
* _argo0
= 0;
905 PyObject
* _obj1
= 0;
906 char *_kwnames
[] = { "self","strName", NULL
};
909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_HasGroup",_kwnames
,&_argo0
,&_obj1
))
912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_HasGroup. Expected _wxConfigBase_p.");
919 #if PYTHON_API_VERSION >= 1009
920 char* tmpPtr
; int tmpSize
;
921 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
922 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
925 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
927 _arg1
= new wxString(tmpPtr
, tmpSize
);
929 if (!PyString_Check(_obj1
)) {
930 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
933 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
937 wxPy_BEGIN_ALLOW_THREADS
;
938 _result
= (bool )wxConfigBase_HasGroup(_arg0
,*_arg1
);
940 wxPy_END_ALLOW_THREADS
;
941 } _resultobj
= Py_BuildValue("i",_result
);
949 #define wxConfigBase_IsExpandingEnvVars(_swigobj) (_swigobj->IsExpandingEnvVars())
950 static PyObject
*_wrap_wxConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
951 PyObject
* _resultobj
;
953 wxConfigBase
* _arg0
;
954 PyObject
* _argo0
= 0;
955 char *_kwnames
[] = { "self", NULL
};
958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_IsExpandingEnvVars",_kwnames
,&_argo0
))
961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_IsExpandingEnvVars. Expected _wxConfigBase_p.");
968 wxPy_BEGIN_ALLOW_THREADS
;
969 _result
= (bool )wxConfigBase_IsExpandingEnvVars(_arg0
);
971 wxPy_END_ALLOW_THREADS
;
972 } _resultobj
= Py_BuildValue("i",_result
);
976 #define wxConfigBase_IsRecordingDefaults(_swigobj) (_swigobj->IsRecordingDefaults())
977 static PyObject
*_wrap_wxConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
978 PyObject
* _resultobj
;
980 wxConfigBase
* _arg0
;
981 PyObject
* _argo0
= 0;
982 char *_kwnames
[] = { "self", NULL
};
985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_IsRecordingDefaults",_kwnames
,&_argo0
))
988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_IsRecordingDefaults. Expected _wxConfigBase_p.");
995 wxPy_BEGIN_ALLOW_THREADS
;
996 _result
= (bool )wxConfigBase_IsRecordingDefaults(_arg0
);
998 wxPy_END_ALLOW_THREADS
;
999 } _resultobj
= Py_BuildValue("i",_result
);
1003 #define wxConfigBase_Read(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
1004 static PyObject
*_wrap_wxConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1005 PyObject
* _resultobj
;
1007 wxConfigBase
* _arg0
;
1009 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
1010 PyObject
* _argo0
= 0;
1011 PyObject
* _obj1
= 0;
1012 PyObject
* _obj2
= 0;
1013 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxConfigBase_Read",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Read. Expected _wxConfigBase_p.");
1026 #if PYTHON_API_VERSION >= 1009
1027 char* tmpPtr
; int tmpSize
;
1028 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1029 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1032 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1034 _arg1
= new wxString(tmpPtr
, tmpSize
);
1036 if (!PyString_Check(_obj1
)) {
1037 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1040 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1045 #if PYTHON_API_VERSION >= 1009
1046 char* tmpPtr
; int tmpSize
;
1047 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1048 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1051 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1053 _arg2
= new wxString(tmpPtr
, tmpSize
);
1055 if (!PyString_Check(_obj2
)) {
1056 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1059 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1063 wxPy_BEGIN_ALLOW_THREADS
;
1064 _result
= new wxString (wxConfigBase_Read(_arg0
,*_arg1
,*_arg2
));
1066 wxPy_END_ALLOW_THREADS
;
1068 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1084 #define wxConfigBase_ReadInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
1085 static PyObject
*_wrap_wxConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1086 PyObject
* _resultobj
;
1088 wxConfigBase
* _arg0
;
1090 long _arg2
= (long ) 0;
1091 PyObject
* _argo0
= 0;
1092 PyObject
* _obj1
= 0;
1093 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|l:wxConfigBase_ReadInt",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadInt. Expected _wxConfigBase_p.");
1106 #if PYTHON_API_VERSION >= 1009
1107 char* tmpPtr
; int tmpSize
;
1108 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1109 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1112 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1114 _arg1
= new wxString(tmpPtr
, tmpSize
);
1116 if (!PyString_Check(_obj1
)) {
1117 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1120 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1124 wxPy_BEGIN_ALLOW_THREADS
;
1125 _result
= (long )wxConfigBase_ReadInt(_arg0
,*_arg1
,_arg2
);
1127 wxPy_END_ALLOW_THREADS
;
1128 } _resultobj
= Py_BuildValue("l",_result
);
1136 #define wxConfigBase_ReadFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
1137 static PyObject
*_wrap_wxConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1138 PyObject
* _resultobj
;
1140 wxConfigBase
* _arg0
;
1142 double _arg2
= (double ) 0.0;
1143 PyObject
* _argo0
= 0;
1144 PyObject
* _obj1
= 0;
1145 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|d:wxConfigBase_ReadFloat",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadFloat. Expected _wxConfigBase_p.");
1158 #if PYTHON_API_VERSION >= 1009
1159 char* tmpPtr
; int tmpSize
;
1160 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1161 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1164 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1166 _arg1
= new wxString(tmpPtr
, tmpSize
);
1168 if (!PyString_Check(_obj1
)) {
1169 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1172 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1176 wxPy_BEGIN_ALLOW_THREADS
;
1177 _result
= (double )wxConfigBase_ReadFloat(_arg0
,*_arg1
,_arg2
);
1179 wxPy_END_ALLOW_THREADS
;
1180 } _resultobj
= Py_BuildValue("d",_result
);
1188 #define wxConfigBase_SetExpandEnvVars(_swigobj,_swigarg0) (_swigobj->SetExpandEnvVars(_swigarg0))
1189 static PyObject
*_wrap_wxConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1190 PyObject
* _resultobj
;
1191 wxConfigBase
* _arg0
;
1192 bool _arg1
= (bool ) TRUE
;
1193 PyObject
* _argo0
= 0;
1194 int tempbool1
= (int) TRUE
;
1195 char *_kwnames
[] = { "self","bDoIt", NULL
};
1198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_SetExpandEnvVars",_kwnames
,&_argo0
,&tempbool1
))
1201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetExpandEnvVars. Expected _wxConfigBase_p.");
1207 _arg1
= (bool ) tempbool1
;
1209 wxPy_BEGIN_ALLOW_THREADS
;
1210 wxConfigBase_SetExpandEnvVars(_arg0
,_arg1
);
1212 wxPy_END_ALLOW_THREADS
;
1213 } Py_INCREF(Py_None
);
1214 _resultobj
= Py_None
;
1218 #define wxConfigBase_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1219 static PyObject
*_wrap_wxConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1220 PyObject
* _resultobj
;
1221 wxConfigBase
* _arg0
;
1223 PyObject
* _argo0
= 0;
1224 PyObject
* _obj1
= 0;
1225 char *_kwnames
[] = { "self","strPath", NULL
};
1228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetPath",_kwnames
,&_argo0
,&_obj1
))
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_SetPath. 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
, "String or Unicode type required");
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
));
1256 wxPy_BEGIN_ALLOW_THREADS
;
1257 wxConfigBase_SetPath(_arg0
,*_arg1
);
1259 wxPy_END_ALLOW_THREADS
;
1260 } Py_INCREF(Py_None
);
1261 _resultobj
= Py_None
;
1269 #define wxConfigBase_SetRecordDefaults(_swigobj,_swigarg0) (_swigobj->SetRecordDefaults(_swigarg0))
1270 static PyObject
*_wrap_wxConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
* _resultobj
;
1272 wxConfigBase
* _arg0
;
1273 bool _arg1
= (bool ) TRUE
;
1274 PyObject
* _argo0
= 0;
1275 int tempbool1
= (int) TRUE
;
1276 char *_kwnames
[] = { "self","bDoIt", NULL
};
1279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_SetRecordDefaults",_kwnames
,&_argo0
,&tempbool1
))
1282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetRecordDefaults. Expected _wxConfigBase_p.");
1288 _arg1
= (bool ) tempbool1
;
1290 wxPy_BEGIN_ALLOW_THREADS
;
1291 wxConfigBase_SetRecordDefaults(_arg0
,_arg1
);
1293 wxPy_END_ALLOW_THREADS
;
1294 } Py_INCREF(Py_None
);
1295 _resultobj
= Py_None
;
1299 #define wxConfigBase_SetAppName(_swigobj,_swigarg0) (_swigobj->SetAppName(_swigarg0))
1300 static PyObject
*_wrap_wxConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1301 PyObject
* _resultobj
;
1302 wxConfigBase
* _arg0
;
1304 PyObject
* _argo0
= 0;
1305 PyObject
* _obj1
= 0;
1306 char *_kwnames
[] = { "self","appName", NULL
};
1309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetAppName",_kwnames
,&_argo0
,&_obj1
))
1312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetAppName. Expected _wxConfigBase_p.");
1319 #if PYTHON_API_VERSION >= 1009
1320 char* tmpPtr
; int tmpSize
;
1321 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1322 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1325 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1327 _arg1
= new wxString(tmpPtr
, tmpSize
);
1329 if (!PyString_Check(_obj1
)) {
1330 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1333 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1337 wxPy_BEGIN_ALLOW_THREADS
;
1338 wxConfigBase_SetAppName(_arg0
,*_arg1
);
1340 wxPy_END_ALLOW_THREADS
;
1341 } Py_INCREF(Py_None
);
1342 _resultobj
= Py_None
;
1350 #define wxConfigBase_SetVendorName(_swigobj,_swigarg0) (_swigobj->SetVendorName(_swigarg0))
1351 static PyObject
*_wrap_wxConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1352 PyObject
* _resultobj
;
1353 wxConfigBase
* _arg0
;
1355 PyObject
* _argo0
= 0;
1356 PyObject
* _obj1
= 0;
1357 char *_kwnames
[] = { "self","vendorName", NULL
};
1360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetVendorName",_kwnames
,&_argo0
,&_obj1
))
1363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetVendorName. Expected _wxConfigBase_p.");
1370 #if PYTHON_API_VERSION >= 1009
1371 char* tmpPtr
; int tmpSize
;
1372 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1373 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1376 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1378 _arg1
= new wxString(tmpPtr
, tmpSize
);
1380 if (!PyString_Check(_obj1
)) {
1381 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1384 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1388 wxPy_BEGIN_ALLOW_THREADS
;
1389 wxConfigBase_SetVendorName(_arg0
,*_arg1
);
1391 wxPy_END_ALLOW_THREADS
;
1392 } Py_INCREF(Py_None
);
1393 _resultobj
= Py_None
;
1401 #define wxConfigBase_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1402 static PyObject
*_wrap_wxConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1403 PyObject
* _resultobj
;
1404 wxConfigBase
* _arg0
;
1406 PyObject
* _argo0
= 0;
1407 char *_kwnames
[] = { "self","style", NULL
};
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetStyle. Expected _wxConfigBase_p.");
1420 wxPy_BEGIN_ALLOW_THREADS
;
1421 wxConfigBase_SetStyle(_arg0
,_arg1
);
1423 wxPy_END_ALLOW_THREADS
;
1424 } Py_INCREF(Py_None
);
1425 _resultobj
= Py_None
;
1429 #define wxConfigBase_GetStyle(_swigobj) (_swigobj->GetStyle())
1430 static PyObject
*_wrap_wxConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
* _resultobj
;
1433 wxConfigBase
* _arg0
;
1434 PyObject
* _argo0
= 0;
1435 char *_kwnames
[] = { "self", NULL
};
1438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetStyle",_kwnames
,&_argo0
))
1441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetStyle. Expected _wxConfigBase_p.");
1448 wxPy_BEGIN_ALLOW_THREADS
;
1449 _result
= (long )wxConfigBase_GetStyle(_arg0
);
1451 wxPy_END_ALLOW_THREADS
;
1452 } _resultobj
= Py_BuildValue("l",_result
);
1456 #define wxConfigBase_Write(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1457 static PyObject
*_wrap_wxConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1458 PyObject
* _resultobj
;
1460 wxConfigBase
* _arg0
;
1463 PyObject
* _argo0
= 0;
1464 PyObject
* _obj1
= 0;
1465 PyObject
* _obj2
= 0;
1466 char *_kwnames
[] = { "self","key","value", NULL
};
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_Write",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Write. Expected _wxConfigBase_p.");
1479 #if PYTHON_API_VERSION >= 1009
1480 char* tmpPtr
; int tmpSize
;
1481 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1482 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1485 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1487 _arg1
= new wxString(tmpPtr
, tmpSize
);
1489 if (!PyString_Check(_obj1
)) {
1490 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1493 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1497 #if PYTHON_API_VERSION >= 1009
1498 char* tmpPtr
; int tmpSize
;
1499 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1500 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1503 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1505 _arg2
= new wxString(tmpPtr
, tmpSize
);
1507 if (!PyString_Check(_obj2
)) {
1508 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1511 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1515 wxPy_BEGIN_ALLOW_THREADS
;
1516 _result
= (bool )wxConfigBase_Write(_arg0
,*_arg1
,*_arg2
);
1518 wxPy_END_ALLOW_THREADS
;
1519 } _resultobj
= Py_BuildValue("i",_result
);
1531 #define wxConfigBase_WriteInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1532 static PyObject
*_wrap_wxConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1533 PyObject
* _resultobj
;
1535 wxConfigBase
* _arg0
;
1538 PyObject
* _argo0
= 0;
1539 PyObject
* _obj1
= 0;
1540 char *_kwnames
[] = { "self","key","value", NULL
};
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxConfigBase_WriteInt",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteInt. Expected _wxConfigBase_p.");
1553 #if PYTHON_API_VERSION >= 1009
1554 char* tmpPtr
; int tmpSize
;
1555 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1556 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1559 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1561 _arg1
= new wxString(tmpPtr
, tmpSize
);
1563 if (!PyString_Check(_obj1
)) {
1564 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1567 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1571 wxPy_BEGIN_ALLOW_THREADS
;
1572 _result
= (bool )wxConfigBase_WriteInt(_arg0
,*_arg1
,_arg2
);
1574 wxPy_END_ALLOW_THREADS
;
1575 } _resultobj
= Py_BuildValue("i",_result
);
1583 #define wxConfigBase_WriteFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1584 static PyObject
*_wrap_wxConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
* _resultobj
;
1587 wxConfigBase
* _arg0
;
1590 PyObject
* _argo0
= 0;
1591 PyObject
* _obj1
= 0;
1592 char *_kwnames
[] = { "self","key","value", NULL
};
1595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOd:wxConfigBase_WriteFloat",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteFloat. Expected _wxConfigBase_p.");
1605 #if PYTHON_API_VERSION >= 1009
1606 char* tmpPtr
; int tmpSize
;
1607 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1608 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1611 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1613 _arg1
= new wxString(tmpPtr
, tmpSize
);
1615 if (!PyString_Check(_obj1
)) {
1616 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1619 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1623 wxPy_BEGIN_ALLOW_THREADS
;
1624 _result
= (bool )wxConfigBase_WriteFloat(_arg0
,*_arg1
,_arg2
);
1626 wxPy_END_ALLOW_THREADS
;
1627 } _resultobj
= Py_BuildValue("i",_result
);
1635 #define wxConfigBase_GetEntryType(_swigobj,_swigarg0) (_swigobj->GetEntryType(_swigarg0))
1636 static PyObject
*_wrap_wxConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
* _resultobj
;
1638 wxConfigBase::EntryType _result
;
1639 wxConfigBase
* _arg0
;
1641 PyObject
* _argo0
= 0;
1642 PyObject
* _obj1
= 0;
1643 char *_kwnames
[] = { "self","name", NULL
};
1646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_GetEntryType",_kwnames
,&_argo0
,&_obj1
))
1649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetEntryType. Expected _wxConfigBase_p.");
1656 #if PYTHON_API_VERSION >= 1009
1657 char* tmpPtr
; int tmpSize
;
1658 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1659 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1662 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1664 _arg1
= new wxString(tmpPtr
, tmpSize
);
1666 if (!PyString_Check(_obj1
)) {
1667 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1670 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1674 wxPy_BEGIN_ALLOW_THREADS
;
1675 _result
= (wxConfigBase::EntryType
)wxConfigBase_GetEntryType(_arg0
,*_arg1
);
1677 wxPy_END_ALLOW_THREADS
;
1678 } _resultobj
= Py_BuildValue("i",_result
);
1686 #define wxConfigBase_RenameEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameEntry(_swigarg0,_swigarg1))
1687 static PyObject
*_wrap_wxConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1688 PyObject
* _resultobj
;
1690 wxConfigBase
* _arg0
;
1693 PyObject
* _argo0
= 0;
1694 PyObject
* _obj1
= 0;
1695 PyObject
* _obj2
= 0;
1696 char *_kwnames
[] = { "self","oldName","newName", NULL
};
1699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_RenameEntry",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_RenameEntry. Expected _wxConfigBase_p.");
1709 #if PYTHON_API_VERSION >= 1009
1710 char* tmpPtr
; int tmpSize
;
1711 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1712 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1715 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1717 _arg1
= new wxString(tmpPtr
, tmpSize
);
1719 if (!PyString_Check(_obj1
)) {
1720 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1723 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1727 #if PYTHON_API_VERSION >= 1009
1728 char* tmpPtr
; int tmpSize
;
1729 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1730 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1733 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1735 _arg2
= new wxString(tmpPtr
, tmpSize
);
1737 if (!PyString_Check(_obj2
)) {
1738 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1741 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1745 wxPy_BEGIN_ALLOW_THREADS
;
1746 _result
= (bool )wxConfigBase_RenameEntry(_arg0
,*_arg1
,*_arg2
);
1748 wxPy_END_ALLOW_THREADS
;
1749 } _resultobj
= Py_BuildValue("i",_result
);
1761 #define wxConfigBase_RenameGroup(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameGroup(_swigarg0,_swigarg1))
1762 static PyObject
*_wrap_wxConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1763 PyObject
* _resultobj
;
1765 wxConfigBase
* _arg0
;
1768 PyObject
* _argo0
= 0;
1769 PyObject
* _obj1
= 0;
1770 PyObject
* _obj2
= 0;
1771 char *_kwnames
[] = { "self","oldName","newName", NULL
};
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_RenameGroup",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_RenameGroup. Expected _wxConfigBase_p.");
1784 #if PYTHON_API_VERSION >= 1009
1785 char* tmpPtr
; int tmpSize
;
1786 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1787 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1790 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1792 _arg1
= new wxString(tmpPtr
, tmpSize
);
1794 if (!PyString_Check(_obj1
)) {
1795 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1798 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1802 #if PYTHON_API_VERSION >= 1009
1803 char* tmpPtr
; int tmpSize
;
1804 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1805 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1808 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1810 _arg2
= new wxString(tmpPtr
, tmpSize
);
1812 if (!PyString_Check(_obj2
)) {
1813 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1816 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1820 wxPy_BEGIN_ALLOW_THREADS
;
1821 _result
= (bool )wxConfigBase_RenameGroup(_arg0
,*_arg1
,*_arg2
);
1823 wxPy_END_ALLOW_THREADS
;
1824 } _resultobj
= Py_BuildValue("i",_result
);
1836 #define wxConfigBase_ExpandEnvVars(_swigobj,_swigarg0) (_swigobj->ExpandEnvVars(_swigarg0))
1837 static PyObject
*_wrap_wxConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
* _resultobj
;
1840 wxConfigBase
* _arg0
;
1842 PyObject
* _argo0
= 0;
1843 PyObject
* _obj1
= 0;
1844 char *_kwnames
[] = { "self","str", NULL
};
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_ExpandEnvVars",_kwnames
,&_argo0
,&_obj1
))
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_ExpandEnvVars. 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
, "String or Unicode type required");
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 wxPy_BEGIN_ALLOW_THREADS
;
1876 _result
= new wxString (wxConfigBase_ExpandEnvVars(_arg0
,*_arg1
));
1878 wxPy_END_ALLOW_THREADS
;
1880 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1892 static void *SwigwxConfigTowxConfigBase(void *ptr
) {
1895 src
= (wxConfig
*) ptr
;
1896 dest
= (wxConfigBase
*) src
;
1897 return (void *) dest
;
1900 #define new_wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1901 static PyObject
*_wrap_new_wxConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
* _resultobj
;
1904 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
1905 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
1906 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
1907 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
1908 long _arg4
= (long ) 0;
1909 PyObject
* _obj0
= 0;
1910 PyObject
* _obj1
= 0;
1911 PyObject
* _obj2
= 0;
1912 PyObject
* _obj3
= 0;
1913 char *_kwnames
[] = { "appName","vendorName","localFilename","globalFilename","style", NULL
};
1917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOl:new_wxConfig",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
))
1921 #if PYTHON_API_VERSION >= 1009
1922 char* tmpPtr
; int tmpSize
;
1923 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1924 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1927 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1929 _arg0
= new wxString(tmpPtr
, tmpSize
);
1931 if (!PyString_Check(_obj0
)) {
1932 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1935 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1940 #if PYTHON_API_VERSION >= 1009
1941 char* tmpPtr
; int tmpSize
;
1942 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1943 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1946 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1948 _arg1
= new wxString(tmpPtr
, tmpSize
);
1950 if (!PyString_Check(_obj1
)) {
1951 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1954 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1959 #if PYTHON_API_VERSION >= 1009
1960 char* tmpPtr
; int tmpSize
;
1961 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1962 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1965 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1967 _arg2
= new wxString(tmpPtr
, tmpSize
);
1969 if (!PyString_Check(_obj2
)) {
1970 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1973 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1978 #if PYTHON_API_VERSION >= 1009
1979 char* tmpPtr
; int tmpSize
;
1980 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
1981 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1984 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
1986 _arg3
= new wxString(tmpPtr
, tmpSize
);
1988 if (!PyString_Check(_obj3
)) {
1989 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1992 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
1996 wxPy_BEGIN_ALLOW_THREADS
;
1997 _result
= (wxConfig
*)new_wxConfig(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
1999 wxPy_END_ALLOW_THREADS
;
2001 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfig_p");
2002 _resultobj
= Py_BuildValue("s",_ptemp
);
2005 _resultobj
= Py_None
;
2026 #define delete_wxConfig(_swigobj) (delete _swigobj)
2027 static PyObject
*_wrap_delete_wxConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
* _resultobj
;
2030 PyObject
* _argo0
= 0;
2031 char *_kwnames
[] = { "self", NULL
};
2034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxConfig",_kwnames
,&_argo0
))
2037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfig_p")) {
2039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxConfig. Expected _wxConfig_p.");
2044 wxPy_BEGIN_ALLOW_THREADS
;
2045 delete_wxConfig(_arg0
);
2047 wxPy_END_ALLOW_THREADS
;
2048 } Py_INCREF(Py_None
);
2049 _resultobj
= Py_None
;
2053 static void *SwigwxFileConfigTowxConfigBase(void *ptr
) {
2056 src
= (wxFileConfig
*) ptr
;
2057 dest
= (wxConfigBase
*) src
;
2058 return (void *) dest
;
2061 #define new_wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2062 static PyObject
*_wrap_new_wxFileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
* _resultobj
;
2064 wxFileConfig
* _result
;
2065 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
2066 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
2067 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
2068 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
2069 long _arg4
= (long ) 0;
2070 PyObject
* _obj0
= 0;
2071 PyObject
* _obj1
= 0;
2072 PyObject
* _obj2
= 0;
2073 PyObject
* _obj3
= 0;
2074 char *_kwnames
[] = { "appName","vendorName","localFilename","globalFilename","style", NULL
};
2078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOl:new_wxFileConfig",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
))
2082 #if PYTHON_API_VERSION >= 1009
2083 char* tmpPtr
; int tmpSize
;
2084 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2085 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2088 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2090 _arg0
= new wxString(tmpPtr
, tmpSize
);
2092 if (!PyString_Check(_obj0
)) {
2093 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2096 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2101 #if PYTHON_API_VERSION >= 1009
2102 char* tmpPtr
; int tmpSize
;
2103 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2104 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2107 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2109 _arg1
= new wxString(tmpPtr
, tmpSize
);
2111 if (!PyString_Check(_obj1
)) {
2112 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2115 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2120 #if PYTHON_API_VERSION >= 1009
2121 char* tmpPtr
; int tmpSize
;
2122 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2123 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2126 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2128 _arg2
= new wxString(tmpPtr
, tmpSize
);
2130 if (!PyString_Check(_obj2
)) {
2131 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2134 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2139 #if PYTHON_API_VERSION >= 1009
2140 char* tmpPtr
; int tmpSize
;
2141 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2142 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2145 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2147 _arg3
= new wxString(tmpPtr
, tmpSize
);
2149 if (!PyString_Check(_obj3
)) {
2150 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2153 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2157 wxPy_BEGIN_ALLOW_THREADS
;
2158 _result
= (wxFileConfig
*)new_wxFileConfig(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
2160 wxPy_END_ALLOW_THREADS
;
2162 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileConfig_p");
2163 _resultobj
= Py_BuildValue("s",_ptemp
);
2166 _resultobj
= Py_None
;
2187 #define delete_wxFileConfig(_swigobj) (delete _swigobj)
2188 static PyObject
*_wrap_delete_wxFileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
* _resultobj
;
2190 wxFileConfig
* _arg0
;
2191 PyObject
* _argo0
= 0;
2192 char *_kwnames
[] = { "self", NULL
};
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileConfig",_kwnames
,&_argo0
))
2198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileConfig_p")) {
2200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileConfig. Expected _wxFileConfig_p.");
2205 wxPy_BEGIN_ALLOW_THREADS
;
2206 delete_wxFileConfig(_arg0
);
2208 wxPy_END_ALLOW_THREADS
;
2209 } Py_INCREF(Py_None
);
2210 _resultobj
= Py_None
;
2214 static PyObject
*_wrap_wxDateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
* _resultobj
;
2216 wxDateTime::Country _arg0
;
2217 char *_kwnames
[] = { "country", NULL
};
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateTime_SetCountry",_kwnames
,&_arg0
))
2223 wxPy_BEGIN_ALLOW_THREADS
;
2224 wxDateTime::SetCountry(_arg0
);
2226 wxPy_END_ALLOW_THREADS
;
2227 } Py_INCREF(Py_None
);
2228 _resultobj
= Py_None
;
2232 static PyObject
*_wrap_wxDateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
* _resultobj
;
2234 wxDateTime::Country _result
;
2235 char *_kwnames
[] = { NULL
};
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_GetCountry",_kwnames
))
2241 wxPy_BEGIN_ALLOW_THREADS
;
2242 _result
= (wxDateTime::Country
)wxDateTime::GetCountry();
2244 wxPy_END_ALLOW_THREADS
;
2245 } _resultobj
= Py_BuildValue("i",_result
);
2249 static PyObject
*_wrap_wxDateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2250 PyObject
* _resultobj
;
2252 wxDateTime::Country _arg0
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2253 char *_kwnames
[] = { "country", NULL
};
2256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_IsWestEuropeanCountry",_kwnames
,&_arg0
))
2259 wxPy_BEGIN_ALLOW_THREADS
;
2260 _result
= (bool )wxDateTime::IsWestEuropeanCountry(_arg0
);
2262 wxPy_END_ALLOW_THREADS
;
2263 } _resultobj
= Py_BuildValue("i",_result
);
2267 static PyObject
*_wrap_wxDateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
* _resultobj
;
2270 wxDateTime::Calendar _arg0
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2271 char *_kwnames
[] = { "cal", NULL
};
2274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCurrentYear",_kwnames
,&_arg0
))
2277 wxPy_BEGIN_ALLOW_THREADS
;
2278 _result
= (int )wxDateTime::GetCurrentYear(_arg0
);
2280 wxPy_END_ALLOW_THREADS
;
2281 } _resultobj
= Py_BuildValue("i",_result
);
2285 static PyObject
*_wrap_wxDateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
* _resultobj
;
2289 char *_kwnames
[] = { "year", NULL
};
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateTime_ConvertYearToBC",_kwnames
,&_arg0
))
2295 wxPy_BEGIN_ALLOW_THREADS
;
2296 _result
= (int )wxDateTime::ConvertYearToBC(_arg0
);
2298 wxPy_END_ALLOW_THREADS
;
2299 } _resultobj
= Py_BuildValue("i",_result
);
2303 static PyObject
*_wrap_wxDateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2304 PyObject
* _resultobj
;
2305 wxDateTime::Month _result
;
2306 wxDateTime::Calendar _arg0
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2307 char *_kwnames
[] = { "cal", NULL
};
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCurrentMonth",_kwnames
,&_arg0
))
2313 wxPy_BEGIN_ALLOW_THREADS
;
2314 _result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(_arg0
);
2316 wxPy_END_ALLOW_THREADS
;
2317 } _resultobj
= Py_BuildValue("i",_result
);
2321 static PyObject
*_wrap_wxDateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
* _resultobj
;
2324 int _arg0
= (int ) wxDateTime::Inv_Year
;
2325 wxDateTime::Calendar _arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2326 char *_kwnames
[] = { "year","cal", NULL
};
2329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_IsLeapYear",_kwnames
,&_arg0
,&_arg1
))
2332 wxPy_BEGIN_ALLOW_THREADS
;
2333 _result
= (bool )wxDateTime::IsLeapYear(_arg0
,_arg1
);
2335 wxPy_END_ALLOW_THREADS
;
2336 } _resultobj
= Py_BuildValue("i",_result
);
2340 static PyObject
*_wrap_wxDateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
* _resultobj
;
2343 int _arg0
= (int ) wxDateTime::Inv_Year
;
2344 char *_kwnames
[] = { "year", NULL
};
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCentury",_kwnames
,&_arg0
))
2350 wxPy_BEGIN_ALLOW_THREADS
;
2351 _result
= (int )wxDateTime::GetCentury(_arg0
);
2353 wxPy_END_ALLOW_THREADS
;
2354 } _resultobj
= Py_BuildValue("i",_result
);
2358 static PyObject
*_wrap_wxDateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2359 PyObject
* _resultobj
;
2360 wxDateTime::wxDateTime_t _result
;
2362 wxDateTime::Calendar _arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2363 char *_kwnames
[] = { "year","cal", NULL
};
2366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetNumberOfDaysinYear",_kwnames
,&_arg0
,&_arg1
))
2369 wxPy_BEGIN_ALLOW_THREADS
;
2370 _result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(_arg0
,_arg1
);
2372 wxPy_END_ALLOW_THREADS
;
2373 } _resultobj
= Py_BuildValue("h",_result
);
2377 static PyObject
*_wrap_wxDateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
* _resultobj
;
2379 wxDateTime::wxDateTime_t _result
;
2380 wxDateTime::Month _arg0
;
2381 int _arg1
= (int ) wxDateTime::Inv_Year
;
2382 wxDateTime::Calendar _arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2383 char *_kwnames
[] = { "month","year","cal", NULL
};
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|ii:wxDateTime_GetNumberOfDaysInMonth",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2389 wxPy_BEGIN_ALLOW_THREADS
;
2390 _result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(_arg0
,_arg1
,_arg2
);
2392 wxPy_END_ALLOW_THREADS
;
2393 } _resultobj
= Py_BuildValue("h",_result
);
2397 static PyObject
*_wrap_wxDateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
* _resultobj
;
2400 wxDateTime::Month _arg0
;
2401 wxDateTime::NameFlags _arg1
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
2402 char *_kwnames
[] = { "month","flags", NULL
};
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetMonthName",_kwnames
,&_arg0
,&_arg1
))
2408 wxPy_BEGIN_ALLOW_THREADS
;
2409 _result
= new wxString (wxDateTime::GetMonthName(_arg0
,_arg1
));
2411 wxPy_END_ALLOW_THREADS
;
2413 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2421 static PyObject
*_wrap_wxDateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2422 PyObject
* _resultobj
;
2424 wxDateTime::WeekDay _arg0
;
2425 wxDateTime::NameFlags _arg1
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
2426 char *_kwnames
[] = { "weekday","flags", NULL
};
2429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetWeekDayName",_kwnames
,&_arg0
,&_arg1
))
2432 wxPy_BEGIN_ALLOW_THREADS
;
2433 _result
= new wxString (wxDateTime::GetWeekDayName(_arg0
,_arg1
));
2435 wxPy_END_ALLOW_THREADS
;
2437 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2445 static PyObject
*_wrap_wxDateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2446 PyObject
* _resultobj
;
2449 PyObject
* _obj0
= 0;
2450 PyObject
* _obj1
= 0;
2451 char *_kwnames
[] = { "OUTPUT","OUTPUT", NULL
};
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_GetAmPmStrings",_kwnames
,&_obj0
,&_obj1
))
2457 #if PYTHON_API_VERSION >= 1009
2458 char* tmpPtr
; int tmpSize
;
2459 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2460 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2463 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2465 _arg0
= new wxString(tmpPtr
, tmpSize
);
2467 if (!PyString_Check(_obj0
)) {
2468 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2471 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2475 #if PYTHON_API_VERSION >= 1009
2476 char* tmpPtr
; int tmpSize
;
2477 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2478 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2481 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2483 _arg1
= new wxString(tmpPtr
, tmpSize
);
2485 if (!PyString_Check(_obj1
)) {
2486 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2489 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2493 wxPy_BEGIN_ALLOW_THREADS
;
2494 wxDateTime::GetAmPmStrings(_arg0
,_arg1
);
2496 wxPy_END_ALLOW_THREADS
;
2497 } Py_INCREF(Py_None
);
2498 _resultobj
= Py_None
;
2510 static PyObject
*_wrap_wxDateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2511 PyObject
* _resultobj
;
2513 int _arg0
= (int ) wxDateTime::Inv_Year
;
2514 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2515 char *_kwnames
[] = { "year","country", NULL
};
2518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_IsDSTApplicable",_kwnames
,&_arg0
,&_arg1
))
2521 wxPy_BEGIN_ALLOW_THREADS
;
2522 _result
= (bool )wxDateTime::IsDSTApplicable(_arg0
,_arg1
);
2524 wxPy_END_ALLOW_THREADS
;
2525 } _resultobj
= Py_BuildValue("i",_result
);
2529 static PyObject
*_wrap_wxDateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2530 PyObject
* _resultobj
;
2531 wxDateTime
* _result
;
2532 int _arg0
= (int ) wxDateTime::Inv_Year
;
2533 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2534 char *_kwnames
[] = { "year","country", NULL
};
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_GetBeginDST",_kwnames
,&_arg0
,&_arg1
))
2541 wxPy_BEGIN_ALLOW_THREADS
;
2542 _result
= new wxDateTime (wxDateTime::GetBeginDST(_arg0
,_arg1
));
2544 wxPy_END_ALLOW_THREADS
;
2545 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2546 _resultobj
= Py_BuildValue("s",_ptemp
);
2550 static PyObject
*_wrap_wxDateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2551 PyObject
* _resultobj
;
2552 wxDateTime
* _result
;
2553 int _arg0
= (int ) wxDateTime::Inv_Year
;
2554 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2555 char *_kwnames
[] = { "year","country", NULL
};
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_GetEndDST",_kwnames
,&_arg0
,&_arg1
))
2562 wxPy_BEGIN_ALLOW_THREADS
;
2563 _result
= new wxDateTime (wxDateTime::GetEndDST(_arg0
,_arg1
));
2565 wxPy_END_ALLOW_THREADS
;
2566 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2567 _resultobj
= Py_BuildValue("s",_ptemp
);
2571 static PyObject
*_wrap_wxDateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
* _resultobj
;
2573 wxDateTime
* _result
;
2574 char *_kwnames
[] = { NULL
};
2578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_Now",_kwnames
))
2581 wxPy_BEGIN_ALLOW_THREADS
;
2582 _result
= new wxDateTime (wxDateTime::Now());
2584 wxPy_END_ALLOW_THREADS
;
2585 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2586 _resultobj
= Py_BuildValue("s",_ptemp
);
2590 static PyObject
*_wrap_wxDateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
* _resultobj
;
2592 wxDateTime
* _result
;
2593 char *_kwnames
[] = { NULL
};
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_Today",_kwnames
))
2600 wxPy_BEGIN_ALLOW_THREADS
;
2601 _result
= new wxDateTime (wxDateTime::Today());
2603 wxPy_END_ALLOW_THREADS
;
2604 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2605 _resultobj
= Py_BuildValue("s",_ptemp
);
2609 #define new_wxDateTime() (new wxDateTime())
2610 static PyObject
*_wrap_new_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
* _resultobj
;
2612 wxDateTime
* _result
;
2613 char *_kwnames
[] = { NULL
};
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDateTime",_kwnames
))
2620 wxPy_BEGIN_ALLOW_THREADS
;
2621 _result
= (wxDateTime
*)new_wxDateTime();
2623 wxPy_END_ALLOW_THREADS
;
2625 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2626 _resultobj
= Py_BuildValue("s",_ptemp
);
2629 _resultobj
= Py_None
;
2634 #define new_wxDateTimeFromTimeT(_swigarg0) (new wxDateTime(_swigarg0))
2635 static PyObject
*_wrap_new_wxDateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2636 PyObject
* _resultobj
;
2637 wxDateTime
* _result
;
2639 char *_kwnames
[] = { "timet", NULL
};
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxDateTimeFromTimeT",_kwnames
,&_arg0
))
2646 wxPy_BEGIN_ALLOW_THREADS
;
2647 _result
= (wxDateTime
*)new_wxDateTimeFromTimeT(_arg0
);
2649 wxPy_END_ALLOW_THREADS
;
2651 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2652 _resultobj
= Py_BuildValue("s",_ptemp
);
2655 _resultobj
= Py_None
;
2660 #define new_wxDateTimeFromJDN(_swigarg0) (new wxDateTime(_swigarg0))
2661 static PyObject
*_wrap_new_wxDateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
* _resultobj
;
2663 wxDateTime
* _result
;
2665 char *_kwnames
[] = { "jdn", NULL
};
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"d:new_wxDateTimeFromJDN",_kwnames
,&_arg0
))
2672 wxPy_BEGIN_ALLOW_THREADS
;
2673 _result
= (wxDateTime
*)new_wxDateTimeFromJDN(_arg0
);
2675 wxPy_END_ALLOW_THREADS
;
2677 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2678 _resultobj
= Py_BuildValue("s",_ptemp
);
2681 _resultobj
= Py_None
;
2686 #define new_wxDateTimeFromHMS(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2687 static PyObject
*_wrap_new_wxDateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
* _resultobj
;
2689 wxDateTime
* _result
;
2690 wxDateTime::wxDateTime_t _arg0
;
2691 wxDateTime::wxDateTime_t _arg1
= (wxDateTime::wxDateTime_t
) 0;
2692 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
2693 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2694 char *_kwnames
[] = { "hour","minute","second","millisec", NULL
};
2698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|hhh:new_wxDateTimeFromHMS",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2701 wxPy_BEGIN_ALLOW_THREADS
;
2702 _result
= (wxDateTime
*)new_wxDateTimeFromHMS(_arg0
,_arg1
,_arg2
,_arg3
);
2704 wxPy_END_ALLOW_THREADS
;
2706 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2707 _resultobj
= Py_BuildValue("s",_ptemp
);
2710 _resultobj
= Py_None
;
2715 #define new_wxDateTimeFromDMY(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2716 static PyObject
*_wrap_new_wxDateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2717 PyObject
* _resultobj
;
2718 wxDateTime
* _result
;
2719 wxDateTime::wxDateTime_t _arg0
;
2720 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
2721 int _arg2
= (int ) wxDateTime::Inv_Year
;
2722 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2723 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2724 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
2725 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
2726 char *_kwnames
[] = { "day","month","year","hour","minute","second","millisec", NULL
};
2730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|iihhhh:new_wxDateTimeFromDMY",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2733 wxPy_BEGIN_ALLOW_THREADS
;
2734 _result
= (wxDateTime
*)new_wxDateTimeFromDMY(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2736 wxPy_END_ALLOW_THREADS
;
2738 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2739 _resultobj
= Py_BuildValue("s",_ptemp
);
2742 _resultobj
= Py_None
;
2747 #define delete_wxDateTime(_swigobj) (delete _swigobj)
2748 static PyObject
*_wrap_delete_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2749 PyObject
* _resultobj
;
2751 PyObject
* _argo0
= 0;
2752 char *_kwnames
[] = { "self", NULL
};
2755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateTime",_kwnames
,&_argo0
))
2758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateTime. Expected _wxDateTime_p.");
2765 wxPy_BEGIN_ALLOW_THREADS
;
2766 delete_wxDateTime(_arg0
);
2768 wxPy_END_ALLOW_THREADS
;
2769 } Py_INCREF(Py_None
);
2770 _resultobj
= Py_None
;
2774 #define wxDateTime_SetToCurrent(_swigobj) (_swigobj->SetToCurrent())
2775 static PyObject
*_wrap_wxDateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2776 PyObject
* _resultobj
;
2777 wxDateTime
* _result
;
2779 PyObject
* _argo0
= 0;
2780 char *_kwnames
[] = { "self", NULL
};
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_SetToCurrent",_kwnames
,&_argo0
))
2787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToCurrent. Expected _wxDateTime_p.");
2794 wxPy_BEGIN_ALLOW_THREADS
;
2795 wxDateTime
& _result_ref
= wxDateTime_SetToCurrent(_arg0
);
2796 _result
= (wxDateTime
*) &_result_ref
;
2798 wxPy_END_ALLOW_THREADS
;
2800 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2801 _resultobj
= Py_BuildValue("s",_ptemp
);
2804 _resultobj
= Py_None
;
2809 #define wxDateTime_SetTimeT(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2810 static PyObject
*_wrap_wxDateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
* _resultobj
;
2812 wxDateTime
* _result
;
2815 PyObject
* _argo0
= 0;
2816 char *_kwnames
[] = { "self","timet", NULL
};
2820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetTimeT",_kwnames
,&_argo0
,&_arg1
))
2823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetTimeT. Expected _wxDateTime_p.");
2830 wxPy_BEGIN_ALLOW_THREADS
;
2831 wxDateTime
& _result_ref
= wxDateTime_SetTimeT(_arg0
,_arg1
);
2832 _result
= (wxDateTime
*) &_result_ref
;
2834 wxPy_END_ALLOW_THREADS
;
2836 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2837 _resultobj
= Py_BuildValue("s",_ptemp
);
2840 _resultobj
= Py_None
;
2845 #define wxDateTime_SetJDN(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2846 static PyObject
*_wrap_wxDateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
* _resultobj
;
2848 wxDateTime
* _result
;
2851 PyObject
* _argo0
= 0;
2852 char *_kwnames
[] = { "self","jdn", NULL
};
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxDateTime_SetJDN",_kwnames
,&_argo0
,&_arg1
))
2859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetJDN. Expected _wxDateTime_p.");
2866 wxPy_BEGIN_ALLOW_THREADS
;
2867 wxDateTime
& _result_ref
= wxDateTime_SetJDN(_arg0
,_arg1
);
2868 _result
= (wxDateTime
*) &_result_ref
;
2870 wxPy_END_ALLOW_THREADS
;
2872 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2873 _resultobj
= Py_BuildValue("s",_ptemp
);
2876 _resultobj
= Py_None
;
2881 #define wxDateTime_SetHMS(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2882 static PyObject
*_wrap_wxDateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
* _resultobj
;
2884 wxDateTime
* _result
;
2886 wxDateTime::wxDateTime_t _arg1
;
2887 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
2888 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2889 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2890 PyObject
* _argo0
= 0;
2891 char *_kwnames
[] = { "self","hour","minute","second","millisec", NULL
};
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|hhh:wxDateTime_SetHMS",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHMS. Expected _wxDateTime_p.");
2905 wxPy_BEGIN_ALLOW_THREADS
;
2906 wxDateTime
& _result_ref
= wxDateTime_SetHMS(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2907 _result
= (wxDateTime
*) &_result_ref
;
2909 wxPy_END_ALLOW_THREADS
;
2911 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2912 _resultobj
= Py_BuildValue("s",_ptemp
);
2915 _resultobj
= Py_None
;
2920 #define wxDateTime_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2921 static PyObject
*_wrap_wxDateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2922 PyObject
* _resultobj
;
2923 wxDateTime
* _result
;
2925 wxDateTime::wxDateTime_t _arg1
;
2926 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
2927 int _arg3
= (int ) wxDateTime::Inv_Year
;
2928 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2929 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
2930 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
2931 wxDateTime::wxDateTime_t _arg7
= (wxDateTime::wxDateTime_t
) 0;
2932 PyObject
* _argo0
= 0;
2933 char *_kwnames
[] = { "self","day","month","year","hour","minute","second","millisec", NULL
};
2937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|iihhhh:wxDateTime_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
2940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Set. Expected _wxDateTime_p.");
2947 wxPy_BEGIN_ALLOW_THREADS
;
2948 wxDateTime
& _result_ref
= wxDateTime_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
2949 _result
= (wxDateTime
*) &_result_ref
;
2951 wxPy_END_ALLOW_THREADS
;
2953 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2954 _resultobj
= Py_BuildValue("s",_ptemp
);
2957 _resultobj
= Py_None
;
2962 #define wxDateTime_ResetTime(_swigobj) (_swigobj->ResetTime())
2963 static PyObject
*_wrap_wxDateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2964 PyObject
* _resultobj
;
2965 wxDateTime
* _result
;
2967 PyObject
* _argo0
= 0;
2968 char *_kwnames
[] = { "self", NULL
};
2972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_ResetTime",_kwnames
,&_argo0
))
2975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ResetTime. Expected _wxDateTime_p.");
2982 wxPy_BEGIN_ALLOW_THREADS
;
2983 wxDateTime
& _result_ref
= wxDateTime_ResetTime(_arg0
);
2984 _result
= (wxDateTime
*) &_result_ref
;
2986 wxPy_END_ALLOW_THREADS
;
2988 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2989 _resultobj
= Py_BuildValue("s",_ptemp
);
2992 _resultobj
= Py_None
;
2997 #define wxDateTime_SetYear(_swigobj,_swigarg0) (_swigobj->SetYear(_swigarg0))
2998 static PyObject
*_wrap_wxDateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
* _resultobj
;
3000 wxDateTime
* _result
;
3003 PyObject
* _argo0
= 0;
3004 char *_kwnames
[] = { "self","year", NULL
};
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetYear",_kwnames
,&_argo0
,&_arg1
))
3011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetYear. Expected _wxDateTime_p.");
3018 wxPy_BEGIN_ALLOW_THREADS
;
3019 wxDateTime
& _result_ref
= wxDateTime_SetYear(_arg0
,_arg1
);
3020 _result
= (wxDateTime
*) &_result_ref
;
3022 wxPy_END_ALLOW_THREADS
;
3024 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3025 _resultobj
= Py_BuildValue("s",_ptemp
);
3028 _resultobj
= Py_None
;
3033 #define wxDateTime_SetMonth(_swigobj,_swigarg0) (_swigobj->SetMonth(_swigarg0))
3034 static PyObject
*_wrap_wxDateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
* _resultobj
;
3036 wxDateTime
* _result
;
3038 wxDateTime::Month _arg1
;
3039 PyObject
* _argo0
= 0;
3040 char *_kwnames
[] = { "self","month", NULL
};
3044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetMonth",_kwnames
,&_argo0
,&_arg1
))
3047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMonth. Expected _wxDateTime_p.");
3054 wxPy_BEGIN_ALLOW_THREADS
;
3055 wxDateTime
& _result_ref
= wxDateTime_SetMonth(_arg0
,_arg1
);
3056 _result
= (wxDateTime
*) &_result_ref
;
3058 wxPy_END_ALLOW_THREADS
;
3060 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3061 _resultobj
= Py_BuildValue("s",_ptemp
);
3064 _resultobj
= Py_None
;
3069 #define wxDateTime_SetDay(_swigobj,_swigarg0) (_swigobj->SetDay(_swigarg0))
3070 static PyObject
*_wrap_wxDateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3071 PyObject
* _resultobj
;
3072 wxDateTime
* _result
;
3074 wxDateTime::wxDateTime_t _arg1
;
3075 PyObject
* _argo0
= 0;
3076 char *_kwnames
[] = { "self","day", NULL
};
3080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetDay",_kwnames
,&_argo0
,&_arg1
))
3083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetDay. Expected _wxDateTime_p.");
3090 wxPy_BEGIN_ALLOW_THREADS
;
3091 wxDateTime
& _result_ref
= wxDateTime_SetDay(_arg0
,_arg1
);
3092 _result
= (wxDateTime
*) &_result_ref
;
3094 wxPy_END_ALLOW_THREADS
;
3096 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3097 _resultobj
= Py_BuildValue("s",_ptemp
);
3100 _resultobj
= Py_None
;
3105 #define wxDateTime_SetHour(_swigobj,_swigarg0) (_swigobj->SetHour(_swigarg0))
3106 static PyObject
*_wrap_wxDateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
* _resultobj
;
3108 wxDateTime
* _result
;
3110 wxDateTime::wxDateTime_t _arg1
;
3111 PyObject
* _argo0
= 0;
3112 char *_kwnames
[] = { "self","hour", NULL
};
3116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetHour",_kwnames
,&_argo0
,&_arg1
))
3119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHour. Expected _wxDateTime_p.");
3126 wxPy_BEGIN_ALLOW_THREADS
;
3127 wxDateTime
& _result_ref
= wxDateTime_SetHour(_arg0
,_arg1
);
3128 _result
= (wxDateTime
*) &_result_ref
;
3130 wxPy_END_ALLOW_THREADS
;
3132 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3133 _resultobj
= Py_BuildValue("s",_ptemp
);
3136 _resultobj
= Py_None
;
3141 #define wxDateTime_SetMinute(_swigobj,_swigarg0) (_swigobj->SetMinute(_swigarg0))
3142 static PyObject
*_wrap_wxDateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
* _resultobj
;
3144 wxDateTime
* _result
;
3146 wxDateTime::wxDateTime_t _arg1
;
3147 PyObject
* _argo0
= 0;
3148 char *_kwnames
[] = { "self","minute", NULL
};
3152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMinute",_kwnames
,&_argo0
,&_arg1
))
3155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMinute. Expected _wxDateTime_p.");
3162 wxPy_BEGIN_ALLOW_THREADS
;
3163 wxDateTime
& _result_ref
= wxDateTime_SetMinute(_arg0
,_arg1
);
3164 _result
= (wxDateTime
*) &_result_ref
;
3166 wxPy_END_ALLOW_THREADS
;
3168 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3169 _resultobj
= Py_BuildValue("s",_ptemp
);
3172 _resultobj
= Py_None
;
3177 #define wxDateTime_SetSecond(_swigobj,_swigarg0) (_swigobj->SetSecond(_swigarg0))
3178 static PyObject
*_wrap_wxDateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3179 PyObject
* _resultobj
;
3180 wxDateTime
* _result
;
3182 wxDateTime::wxDateTime_t _arg1
;
3183 PyObject
* _argo0
= 0;
3184 char *_kwnames
[] = { "self","second", NULL
};
3188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetSecond",_kwnames
,&_argo0
,&_arg1
))
3191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetSecond. Expected _wxDateTime_p.");
3198 wxPy_BEGIN_ALLOW_THREADS
;
3199 wxDateTime
& _result_ref
= wxDateTime_SetSecond(_arg0
,_arg1
);
3200 _result
= (wxDateTime
*) &_result_ref
;
3202 wxPy_END_ALLOW_THREADS
;
3204 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3205 _resultobj
= Py_BuildValue("s",_ptemp
);
3208 _resultobj
= Py_None
;
3213 #define wxDateTime_SetMillisecond(_swigobj,_swigarg0) (_swigobj->SetMillisecond(_swigarg0))
3214 static PyObject
*_wrap_wxDateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3215 PyObject
* _resultobj
;
3216 wxDateTime
* _result
;
3218 wxDateTime::wxDateTime_t _arg1
;
3219 PyObject
* _argo0
= 0;
3220 char *_kwnames
[] = { "self","millisecond", NULL
};
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMillisecond",_kwnames
,&_argo0
,&_arg1
))
3227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMillisecond. Expected _wxDateTime_p.");
3234 wxPy_BEGIN_ALLOW_THREADS
;
3235 wxDateTime
& _result_ref
= wxDateTime_SetMillisecond(_arg0
,_arg1
);
3236 _result
= (wxDateTime
*) &_result_ref
;
3238 wxPy_END_ALLOW_THREADS
;
3240 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3241 _resultobj
= Py_BuildValue("s",_ptemp
);
3244 _resultobj
= Py_None
;
3249 #define wxDateTime_SetToWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->SetToWeekDayInSameWeek(_swigarg0))
3250 static PyObject
*_wrap_wxDateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
* _resultobj
;
3252 wxDateTime
* _result
;
3254 wxDateTime::WeekDay _arg1
;
3255 PyObject
* _argo0
= 0;
3256 char *_kwnames
[] = { "self","weekday", NULL
};
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
))
3263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDayInSameWeek. Expected _wxDateTime_p.");
3270 wxPy_BEGIN_ALLOW_THREADS
;
3271 wxDateTime
& _result_ref
= wxDateTime_SetToWeekDayInSameWeek(_arg0
,_arg1
);
3272 _result
= (wxDateTime
*) &_result_ref
;
3274 wxPy_END_ALLOW_THREADS
;
3276 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3277 _resultobj
= Py_BuildValue("s",_ptemp
);
3280 _resultobj
= Py_None
;
3285 #define wxDateTime_GetWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->GetWeekDayInSameWeek(_swigarg0))
3286 static PyObject
*_wrap_wxDateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
* _resultobj
;
3288 wxDateTime
* _result
;
3290 wxDateTime::WeekDay _arg1
;
3291 PyObject
* _argo0
= 0;
3292 char *_kwnames
[] = { "self","weekday", NULL
};
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
))
3299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDayInSameWeek. Expected _wxDateTime_p.");
3306 wxPy_BEGIN_ALLOW_THREADS
;
3307 _result
= new wxDateTime (wxDateTime_GetWeekDayInSameWeek(_arg0
,_arg1
));
3309 wxPy_END_ALLOW_THREADS
;
3310 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3311 _resultobj
= Py_BuildValue("s",_ptemp
);
3315 #define wxDateTime_SetToNextWeekDay(_swigobj,_swigarg0) (_swigobj->SetToNextWeekDay(_swigarg0))
3316 static PyObject
*_wrap_wxDateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3318 wxDateTime
* _result
;
3320 wxDateTime::WeekDay _arg1
;
3321 PyObject
* _argo0
= 0;
3322 char *_kwnames
[] = { "self","weekday", NULL
};
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
3329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToNextWeekDay. Expected _wxDateTime_p.");
3336 wxPy_BEGIN_ALLOW_THREADS
;
3337 wxDateTime
& _result_ref
= wxDateTime_SetToNextWeekDay(_arg0
,_arg1
);
3338 _result
= (wxDateTime
*) &_result_ref
;
3340 wxPy_END_ALLOW_THREADS
;
3342 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3343 _resultobj
= Py_BuildValue("s",_ptemp
);
3346 _resultobj
= Py_None
;
3351 #define wxDateTime_GetNextWeekDay(_swigobj,_swigarg0) (_swigobj->GetNextWeekDay(_swigarg0))
3352 static PyObject
*_wrap_wxDateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
* _resultobj
;
3354 wxDateTime
* _result
;
3356 wxDateTime::WeekDay _arg1
;
3357 PyObject
* _argo0
= 0;
3358 char *_kwnames
[] = { "self","weekday", NULL
};
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
3365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetNextWeekDay. Expected _wxDateTime_p.");
3372 wxPy_BEGIN_ALLOW_THREADS
;
3373 _result
= new wxDateTime (wxDateTime_GetNextWeekDay(_arg0
,_arg1
));
3375 wxPy_END_ALLOW_THREADS
;
3376 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3377 _resultobj
= Py_BuildValue("s",_ptemp
);
3381 #define wxDateTime_SetToPrevWeekDay(_swigobj,_swigarg0) (_swigobj->SetToPrevWeekDay(_swigarg0))
3382 static PyObject
*_wrap_wxDateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3383 PyObject
* _resultobj
;
3384 wxDateTime
* _result
;
3386 wxDateTime::WeekDay _arg1
;
3387 PyObject
* _argo0
= 0;
3388 char *_kwnames
[] = { "self","weekday", NULL
};
3392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToPrevWeekDay. Expected _wxDateTime_p.");
3402 wxPy_BEGIN_ALLOW_THREADS
;
3403 wxDateTime
& _result_ref
= wxDateTime_SetToPrevWeekDay(_arg0
,_arg1
);
3404 _result
= (wxDateTime
*) &_result_ref
;
3406 wxPy_END_ALLOW_THREADS
;
3408 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3409 _resultobj
= Py_BuildValue("s",_ptemp
);
3412 _resultobj
= Py_None
;
3417 #define wxDateTime_GetPrevWeekDay(_swigobj,_swigarg0) (_swigobj->GetPrevWeekDay(_swigarg0))
3418 static PyObject
*_wrap_wxDateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3419 PyObject
* _resultobj
;
3420 wxDateTime
* _result
;
3422 wxDateTime::WeekDay _arg1
;
3423 PyObject
* _argo0
= 0;
3424 char *_kwnames
[] = { "self","weekday", NULL
};
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetPrevWeekDay. Expected _wxDateTime_p.");
3438 wxPy_BEGIN_ALLOW_THREADS
;
3439 _result
= new wxDateTime (wxDateTime_GetPrevWeekDay(_arg0
,_arg1
));
3441 wxPy_END_ALLOW_THREADS
;
3442 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3443 _resultobj
= Py_BuildValue("s",_ptemp
);
3447 #define wxDateTime_SetToWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetToWeekDay(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3448 static PyObject
*_wrap_wxDateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
* _resultobj
;
3452 wxDateTime::WeekDay _arg1
;
3453 int _arg2
= (int ) 1;
3454 wxDateTime::Month _arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3455 int _arg4
= (int ) wxDateTime::Inv_Year
;
3456 PyObject
* _argo0
= 0;
3457 char *_kwnames
[] = { "self","weekday","n","month","year", NULL
};
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iii:wxDateTime_SetToWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDay. Expected _wxDateTime_p.");
3470 wxPy_BEGIN_ALLOW_THREADS
;
3471 _result
= (bool )wxDateTime_SetToWeekDay(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3473 wxPy_END_ALLOW_THREADS
;
3474 } _resultobj
= Py_BuildValue("i",_result
);
3478 #define wxDateTime_GetWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetWeekDay(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3479 static PyObject
*_wrap_wxDateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
* _resultobj
;
3481 wxDateTime
* _result
;
3483 wxDateTime::WeekDay _arg1
;
3484 int _arg2
= (int ) 1;
3485 wxDateTime::Month _arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3486 int _arg4
= (int ) wxDateTime::Inv_Year
;
3487 PyObject
* _argo0
= 0;
3488 char *_kwnames
[] = { "self","weekday","n","month","year", NULL
};
3492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iii:wxDateTime_GetWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDay. Expected _wxDateTime_p.");
3502 wxPy_BEGIN_ALLOW_THREADS
;
3503 _result
= new wxDateTime (wxDateTime_GetWeekDay(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
));
3505 wxPy_END_ALLOW_THREADS
;
3506 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3507 _resultobj
= Py_BuildValue("s",_ptemp
);
3511 #define wxDateTime_SetToLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetToLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3512 static PyObject
*_wrap_wxDateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
* _resultobj
;
3516 wxDateTime::WeekDay _arg1
;
3517 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3518 int _arg3
= (int ) wxDateTime::Inv_Year
;
3519 PyObject
* _argo0
= 0;
3520 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_SetToLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastWeekDay. Expected _wxDateTime_p.");
3533 wxPy_BEGIN_ALLOW_THREADS
;
3534 _result
= (bool )wxDateTime_SetToLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
);
3536 wxPy_END_ALLOW_THREADS
;
3537 } _resultobj
= Py_BuildValue("i",_result
);
3541 #define wxDateTime_GetLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3542 static PyObject
*_wrap_wxDateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
* _resultobj
;
3544 wxDateTime
* _result
;
3546 wxDateTime::WeekDay _arg1
;
3547 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3548 int _arg3
= (int ) wxDateTime::Inv_Year
;
3549 PyObject
* _argo0
= 0;
3550 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_GetLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastWeekDay. Expected _wxDateTime_p.");
3564 wxPy_BEGIN_ALLOW_THREADS
;
3565 _result
= new wxDateTime (wxDateTime_GetLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
));
3567 wxPy_END_ALLOW_THREADS
;
3568 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3569 _resultobj
= Py_BuildValue("s",_ptemp
);
3573 #define wxDateTime_SetToTheWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToTheWeek(_swigarg0,_swigarg1))
3574 static PyObject
*_wrap_wxDateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
* _resultobj
;
3578 wxDateTime::wxDateTime_t _arg1
;
3579 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3580 PyObject
* _argo0
= 0;
3581 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_SetToTheWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToTheWeek. Expected _wxDateTime_p.");
3594 wxPy_BEGIN_ALLOW_THREADS
;
3595 _result
= (bool )wxDateTime_SetToTheWeek(_arg0
,_arg1
,_arg2
);
3597 wxPy_END_ALLOW_THREADS
;
3598 } _resultobj
= Py_BuildValue("i",_result
);
3602 #define wxDateTime_GetWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeek(_swigarg0,_swigarg1))
3603 static PyObject
*_wrap_wxDateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
* _resultobj
;
3605 wxDateTime
* _result
;
3607 wxDateTime::wxDateTime_t _arg1
;
3608 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3609 PyObject
* _argo0
= 0;
3610 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_GetWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeek. Expected _wxDateTime_p.");
3624 wxPy_BEGIN_ALLOW_THREADS
;
3625 _result
= new wxDateTime (wxDateTime_GetWeek(_arg0
,_arg1
,_arg2
));
3627 wxPy_END_ALLOW_THREADS
;
3628 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3629 _resultobj
= Py_BuildValue("s",_ptemp
);
3633 #define wxDateTime_SetToLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToLastMonthDay(_swigarg0,_swigarg1))
3634 static PyObject
*_wrap_wxDateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3635 PyObject
* _resultobj
;
3636 wxDateTime
* _result
;
3638 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3639 int _arg2
= (int ) wxDateTime::Inv_Year
;
3640 PyObject
* _argo0
= 0;
3641 char *_kwnames
[] = { "self","month","year", NULL
};
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_SetToLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastMonthDay. Expected _wxDateTime_p.");
3655 wxPy_BEGIN_ALLOW_THREADS
;
3656 wxDateTime
& _result_ref
= wxDateTime_SetToLastMonthDay(_arg0
,_arg1
,_arg2
);
3657 _result
= (wxDateTime
*) &_result_ref
;
3659 wxPy_END_ALLOW_THREADS
;
3661 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3662 _resultobj
= Py_BuildValue("s",_ptemp
);
3665 _resultobj
= Py_None
;
3670 #define wxDateTime_GetLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastMonthDay(_swigarg0,_swigarg1))
3671 static PyObject
*_wrap_wxDateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3672 PyObject
* _resultobj
;
3673 wxDateTime
* _result
;
3675 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3676 int _arg2
= (int ) wxDateTime::Inv_Year
;
3677 PyObject
* _argo0
= 0;
3678 char *_kwnames
[] = { "self","month","year", NULL
};
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_GetLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastMonthDay. Expected _wxDateTime_p.");
3692 wxPy_BEGIN_ALLOW_THREADS
;
3693 _result
= new wxDateTime (wxDateTime_GetLastMonthDay(_arg0
,_arg1
,_arg2
));
3695 wxPy_END_ALLOW_THREADS
;
3696 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3697 _resultobj
= Py_BuildValue("s",_ptemp
);
3701 #define wxDateTime_SetToYearDay(_swigobj,_swigarg0) (_swigobj->SetToYearDay(_swigarg0))
3702 static PyObject
*_wrap_wxDateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
* _resultobj
;
3704 wxDateTime
* _result
;
3706 wxDateTime::wxDateTime_t _arg1
;
3707 PyObject
* _argo0
= 0;
3708 char *_kwnames
[] = { "self","yday", NULL
};
3712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetToYearDay",_kwnames
,&_argo0
,&_arg1
))
3715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToYearDay. Expected _wxDateTime_p.");
3722 wxPy_BEGIN_ALLOW_THREADS
;
3723 wxDateTime
& _result_ref
= wxDateTime_SetToYearDay(_arg0
,_arg1
);
3724 _result
= (wxDateTime
*) &_result_ref
;
3726 wxPy_END_ALLOW_THREADS
;
3728 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3729 _resultobj
= Py_BuildValue("s",_ptemp
);
3732 _resultobj
= Py_None
;
3737 #define wxDateTime_GetYearDay(_swigobj,_swigarg0) (_swigobj->GetYearDay(_swigarg0))
3738 static PyObject
*_wrap_wxDateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
* _resultobj
;
3740 wxDateTime
* _result
;
3742 wxDateTime::wxDateTime_t _arg1
;
3743 PyObject
* _argo0
= 0;
3744 char *_kwnames
[] = { "self","yday", NULL
};
3748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_GetYearDay",_kwnames
,&_argo0
,&_arg1
))
3751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYearDay. Expected _wxDateTime_p.");
3758 wxPy_BEGIN_ALLOW_THREADS
;
3759 _result
= new wxDateTime (wxDateTime_GetYearDay(_arg0
,_arg1
));
3761 wxPy_END_ALLOW_THREADS
;
3762 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3763 _resultobj
= Py_BuildValue("s",_ptemp
);
3767 #define wxDateTime_GetJulianDayNumber(_swigobj) (_swigobj->GetJulianDayNumber())
3768 static PyObject
*_wrap_wxDateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
* _resultobj
;
3772 PyObject
* _argo0
= 0;
3773 char *_kwnames
[] = { "self", NULL
};
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJulianDayNumber",_kwnames
,&_argo0
))
3779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJulianDayNumber. Expected _wxDateTime_p.");
3786 wxPy_BEGIN_ALLOW_THREADS
;
3787 _result
= (double )wxDateTime_GetJulianDayNumber(_arg0
);
3789 wxPy_END_ALLOW_THREADS
;
3790 } _resultobj
= Py_BuildValue("d",_result
);
3794 #define wxDateTime_GetJDN(_swigobj) (_swigobj->GetJDN())
3795 static PyObject
*_wrap_wxDateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
* _resultobj
;
3799 PyObject
* _argo0
= 0;
3800 char *_kwnames
[] = { "self", NULL
};
3803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJDN",_kwnames
,&_argo0
))
3806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJDN. Expected _wxDateTime_p.");
3813 wxPy_BEGIN_ALLOW_THREADS
;
3814 _result
= (double )wxDateTime_GetJDN(_arg0
);
3816 wxPy_END_ALLOW_THREADS
;
3817 } _resultobj
= Py_BuildValue("d",_result
);
3821 #define wxDateTime_GetModifiedJulianDayNumber(_swigobj) (_swigobj->GetModifiedJulianDayNumber())
3822 static PyObject
*_wrap_wxDateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
* _resultobj
;
3826 PyObject
* _argo0
= 0;
3827 char *_kwnames
[] = { "self", NULL
};
3830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetModifiedJulianDayNumber",_kwnames
,&_argo0
))
3833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetModifiedJulianDayNumber. Expected _wxDateTime_p.");
3840 wxPy_BEGIN_ALLOW_THREADS
;
3841 _result
= (double )wxDateTime_GetModifiedJulianDayNumber(_arg0
);
3843 wxPy_END_ALLOW_THREADS
;
3844 } _resultobj
= Py_BuildValue("d",_result
);
3848 #define wxDateTime_GetMJD(_swigobj) (_swigobj->GetMJD())
3849 static PyObject
*_wrap_wxDateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3850 PyObject
* _resultobj
;
3853 PyObject
* _argo0
= 0;
3854 char *_kwnames
[] = { "self", NULL
};
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetMJD",_kwnames
,&_argo0
))
3860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMJD. Expected _wxDateTime_p.");
3867 wxPy_BEGIN_ALLOW_THREADS
;
3868 _result
= (double )wxDateTime_GetMJD(_arg0
);
3870 wxPy_END_ALLOW_THREADS
;
3871 } _resultobj
= Py_BuildValue("d",_result
);
3875 #define wxDateTime_GetRataDie(_swigobj) (_swigobj->GetRataDie())
3876 static PyObject
*_wrap_wxDateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
* _resultobj
;
3880 PyObject
* _argo0
= 0;
3881 char *_kwnames
[] = { "self", NULL
};
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetRataDie",_kwnames
,&_argo0
))
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_GetRataDie. Expected _wxDateTime_p.");
3894 wxPy_BEGIN_ALLOW_THREADS
;
3895 _result
= (double )wxDateTime_GetRataDie(_arg0
);
3897 wxPy_END_ALLOW_THREADS
;
3898 } _resultobj
= Py_BuildValue("d",_result
);
3902 #define wxDateTime_ToTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToTimezone(_swigarg0,_swigarg1))
3903 static PyObject
*_wrap_wxDateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
* _resultobj
;
3905 wxDateTime
* _result
;
3907 wxDateTime::TimeZone
* _arg1
;
3908 bool _arg2
= (bool ) FALSE
;
3909 PyObject
* _argo0
= 0;
3910 PyObject
* _obj1
= 0;
3911 int tempbool2
= (int) FALSE
;
3912 char *_kwnames
[] = { "self","tz","noDST", NULL
};
3916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_ToTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToTimezone. Expected _wxDateTime_p.");
3926 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3928 _arg2
= (bool ) tempbool2
;
3930 wxPy_BEGIN_ALLOW_THREADS
;
3931 _result
= new wxDateTime (wxDateTime_ToTimezone(_arg0
,*_arg1
,_arg2
));
3933 wxPy_END_ALLOW_THREADS
;
3934 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3935 _resultobj
= Py_BuildValue("s",_ptemp
);
3937 if (_arg1
) delete _arg1
;
3942 #define wxDateTime_MakeTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeTimezone(_swigarg0,_swigarg1))
3943 static PyObject
*_wrap_wxDateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
* _resultobj
;
3945 wxDateTime
* _result
;
3947 wxDateTime::TimeZone
* _arg1
;
3948 bool _arg2
= (bool ) FALSE
;
3949 PyObject
* _argo0
= 0;
3950 PyObject
* _obj1
= 0;
3951 int tempbool2
= (int) FALSE
;
3952 char *_kwnames
[] = { "self","tz","noDST", NULL
};
3956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_MakeTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeTimezone. Expected _wxDateTime_p.");
3966 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3968 _arg2
= (bool ) tempbool2
;
3970 wxPy_BEGIN_ALLOW_THREADS
;
3971 wxDateTime
& _result_ref
= wxDateTime_MakeTimezone(_arg0
,*_arg1
,_arg2
);
3972 _result
= (wxDateTime
*) &_result_ref
;
3974 wxPy_END_ALLOW_THREADS
;
3976 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3977 _resultobj
= Py_BuildValue("s",_ptemp
);
3980 _resultobj
= Py_None
;
3983 if (_arg1
) delete _arg1
;
3988 #define wxDateTime_ToGMT(_swigobj,_swigarg0) (_swigobj->ToGMT(_swigarg0))
3989 static PyObject
*_wrap_wxDateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3990 PyObject
* _resultobj
;
3991 wxDateTime
* _result
;
3993 bool _arg1
= (bool ) FALSE
;
3994 PyObject
* _argo0
= 0;
3995 int tempbool1
= (int) FALSE
;
3996 char *_kwnames
[] = { "self","noDST", NULL
};
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_ToGMT",_kwnames
,&_argo0
,&tempbool1
))
4003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToGMT. Expected _wxDateTime_p.");
4009 _arg1
= (bool ) tempbool1
;
4011 wxPy_BEGIN_ALLOW_THREADS
;
4012 _result
= new wxDateTime (wxDateTime_ToGMT(_arg0
,_arg1
));
4014 wxPy_END_ALLOW_THREADS
;
4015 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4016 _resultobj
= Py_BuildValue("s",_ptemp
);
4020 #define wxDateTime_MakeGMT(_swigobj,_swigarg0) (_swigobj->MakeGMT(_swigarg0))
4021 static PyObject
*_wrap_wxDateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
* _resultobj
;
4023 wxDateTime
* _result
;
4025 bool _arg1
= (bool ) FALSE
;
4026 PyObject
* _argo0
= 0;
4027 int tempbool1
= (int) FALSE
;
4028 char *_kwnames
[] = { "self","noDST", NULL
};
4032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_MakeGMT",_kwnames
,&_argo0
,&tempbool1
))
4035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeGMT. Expected _wxDateTime_p.");
4041 _arg1
= (bool ) tempbool1
;
4043 wxPy_BEGIN_ALLOW_THREADS
;
4044 wxDateTime
& _result_ref
= wxDateTime_MakeGMT(_arg0
,_arg1
);
4045 _result
= (wxDateTime
*) &_result_ref
;
4047 wxPy_END_ALLOW_THREADS
;
4049 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4050 _resultobj
= Py_BuildValue("s",_ptemp
);
4053 _resultobj
= Py_None
;
4058 #define wxDateTime_IsDST(_swigobj,_swigarg0) (_swigobj->IsDST(_swigarg0))
4059 static PyObject
*_wrap_wxDateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4060 PyObject
* _resultobj
;
4063 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
4064 PyObject
* _argo0
= 0;
4065 char *_kwnames
[] = { "self","country", NULL
};
4068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsDST",_kwnames
,&_argo0
,&_arg1
))
4071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsDST. Expected _wxDateTime_p.");
4078 wxPy_BEGIN_ALLOW_THREADS
;
4079 _result
= (int )wxDateTime_IsDST(_arg0
,_arg1
);
4081 wxPy_END_ALLOW_THREADS
;
4082 } _resultobj
= Py_BuildValue("i",_result
);
4086 #define wxDateTime_IsValid(_swigobj) (_swigobj->IsValid())
4087 static PyObject
*_wrap_wxDateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
* _resultobj
;
4091 PyObject
* _argo0
= 0;
4092 char *_kwnames
[] = { "self", NULL
};
4095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_IsValid",_kwnames
,&_argo0
))
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_IsValid. Expected _wxDateTime_p.");
4105 wxPy_BEGIN_ALLOW_THREADS
;
4106 _result
= (bool )wxDateTime_IsValid(_arg0
);
4108 wxPy_END_ALLOW_THREADS
;
4109 } _resultobj
= Py_BuildValue("i",_result
);
4113 #define wxDateTime_GetTicks(_swigobj) (_swigobj->GetTicks())
4114 static PyObject
*_wrap_wxDateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4115 PyObject
* _resultobj
;
4118 PyObject
* _argo0
= 0;
4119 char *_kwnames
[] = { "self", NULL
};
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetTicks",_kwnames
,&_argo0
))
4125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetTicks. Expected _wxDateTime_p.");
4132 wxPy_BEGIN_ALLOW_THREADS
;
4133 _result
= (time_t )wxDateTime_GetTicks(_arg0
);
4135 wxPy_END_ALLOW_THREADS
;
4136 } _resultobj
= Py_BuildValue("i",_result
);
4140 #define wxDateTime_GetYear(_swigobj,_swigarg0) (_swigobj->GetYear(_swigarg0))
4141 static PyObject
*_wrap_wxDateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
* _resultobj
;
4145 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4146 PyObject
* _argo0
= 0;
4147 PyObject
* _obj1
= 0;
4148 char *_kwnames
[] = { "self","tz", NULL
};
4151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetYear",_kwnames
,&_argo0
,&_obj1
))
4154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYear. Expected _wxDateTime_p.");
4162 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4165 wxPy_BEGIN_ALLOW_THREADS
;
4166 _result
= (int )wxDateTime_GetYear(_arg0
,*_arg1
);
4168 wxPy_END_ALLOW_THREADS
;
4169 } _resultobj
= Py_BuildValue("i",_result
);
4171 if (_arg1
) delete _arg1
;
4176 #define wxDateTime_GetMonth(_swigobj,_swigarg0) (_swigobj->GetMonth(_swigarg0))
4177 static PyObject
*_wrap_wxDateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
* _resultobj
;
4179 wxDateTime::Month _result
;
4181 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4182 PyObject
* _argo0
= 0;
4183 PyObject
* _obj1
= 0;
4184 char *_kwnames
[] = { "self","tz", NULL
};
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMonth",_kwnames
,&_argo0
,&_obj1
))
4190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMonth. Expected _wxDateTime_p.");
4198 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4201 wxPy_BEGIN_ALLOW_THREADS
;
4202 _result
= (wxDateTime::Month
)wxDateTime_GetMonth(_arg0
,*_arg1
);
4204 wxPy_END_ALLOW_THREADS
;
4205 } _resultobj
= Py_BuildValue("i",_result
);
4207 if (_arg1
) delete _arg1
;
4212 #define wxDateTime_GetDay(_swigobj,_swigarg0) (_swigobj->GetDay(_swigarg0))
4213 static PyObject
*_wrap_wxDateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
* _resultobj
;
4215 wxDateTime::wxDateTime_t _result
;
4217 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4218 PyObject
* _argo0
= 0;
4219 PyObject
* _obj1
= 0;
4220 char *_kwnames
[] = { "self","tz", NULL
};
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDay",_kwnames
,&_argo0
,&_obj1
))
4226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDay. Expected _wxDateTime_p.");
4234 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4237 wxPy_BEGIN_ALLOW_THREADS
;
4238 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDay(_arg0
,*_arg1
);
4240 wxPy_END_ALLOW_THREADS
;
4241 } _resultobj
= Py_BuildValue("h",_result
);
4243 if (_arg1
) delete _arg1
;
4248 #define wxDateTime_GetHour(_swigobj,_swigarg0) (_swigobj->GetHour(_swigarg0))
4249 static PyObject
*_wrap_wxDateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
* _resultobj
;
4251 wxDateTime::wxDateTime_t _result
;
4253 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4254 PyObject
* _argo0
= 0;
4255 PyObject
* _obj1
= 0;
4256 char *_kwnames
[] = { "self","tz", NULL
};
4259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetHour",_kwnames
,&_argo0
,&_obj1
))
4262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetHour. Expected _wxDateTime_p.");
4270 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4273 wxPy_BEGIN_ALLOW_THREADS
;
4274 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetHour(_arg0
,*_arg1
);
4276 wxPy_END_ALLOW_THREADS
;
4277 } _resultobj
= Py_BuildValue("h",_result
);
4279 if (_arg1
) delete _arg1
;
4284 #define wxDateTime_GetMinute(_swigobj,_swigarg0) (_swigobj->GetMinute(_swigarg0))
4285 static PyObject
*_wrap_wxDateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
* _resultobj
;
4287 wxDateTime::wxDateTime_t _result
;
4289 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4290 PyObject
* _argo0
= 0;
4291 PyObject
* _obj1
= 0;
4292 char *_kwnames
[] = { "self","tz", NULL
};
4295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMinute",_kwnames
,&_argo0
,&_obj1
))
4298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMinute. Expected _wxDateTime_p.");
4306 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4309 wxPy_BEGIN_ALLOW_THREADS
;
4310 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMinute(_arg0
,*_arg1
);
4312 wxPy_END_ALLOW_THREADS
;
4313 } _resultobj
= Py_BuildValue("h",_result
);
4315 if (_arg1
) delete _arg1
;
4320 #define wxDateTime_GetSecond(_swigobj,_swigarg0) (_swigobj->GetSecond(_swigarg0))
4321 static PyObject
*_wrap_wxDateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4322 PyObject
* _resultobj
;
4323 wxDateTime::wxDateTime_t _result
;
4325 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4326 PyObject
* _argo0
= 0;
4327 PyObject
* _obj1
= 0;
4328 char *_kwnames
[] = { "self","tz", NULL
};
4331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetSecond",_kwnames
,&_argo0
,&_obj1
))
4334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetSecond. Expected _wxDateTime_p.");
4342 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4345 wxPy_BEGIN_ALLOW_THREADS
;
4346 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetSecond(_arg0
,*_arg1
);
4348 wxPy_END_ALLOW_THREADS
;
4349 } _resultobj
= Py_BuildValue("h",_result
);
4351 if (_arg1
) delete _arg1
;
4356 #define wxDateTime_GetMillisecond(_swigobj,_swigarg0) (_swigobj->GetMillisecond(_swigarg0))
4357 static PyObject
*_wrap_wxDateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
* _resultobj
;
4359 wxDateTime::wxDateTime_t _result
;
4361 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4362 PyObject
* _argo0
= 0;
4363 PyObject
* _obj1
= 0;
4364 char *_kwnames
[] = { "self","tz", NULL
};
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMillisecond",_kwnames
,&_argo0
,&_obj1
))
4370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMillisecond. Expected _wxDateTime_p.");
4378 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4381 wxPy_BEGIN_ALLOW_THREADS
;
4382 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMillisecond(_arg0
,*_arg1
);
4384 wxPy_END_ALLOW_THREADS
;
4385 } _resultobj
= Py_BuildValue("h",_result
);
4387 if (_arg1
) delete _arg1
;
4392 #define wxDateTime_GetDayOfYear(_swigobj,_swigarg0) (_swigobj->GetDayOfYear(_swigarg0))
4393 static PyObject
*_wrap_wxDateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
* _resultobj
;
4395 wxDateTime::wxDateTime_t _result
;
4397 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4398 PyObject
* _argo0
= 0;
4399 PyObject
* _obj1
= 0;
4400 char *_kwnames
[] = { "self","tz", NULL
};
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDayOfYear",_kwnames
,&_argo0
,&_obj1
))
4406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDayOfYear. Expected _wxDateTime_p.");
4414 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4417 wxPy_BEGIN_ALLOW_THREADS
;
4418 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDayOfYear(_arg0
,*_arg1
);
4420 wxPy_END_ALLOW_THREADS
;
4421 } _resultobj
= Py_BuildValue("h",_result
);
4423 if (_arg1
) delete _arg1
;
4428 #define wxDateTime_GetWeekOfYear(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfYear(_swigarg0,_swigarg1))
4429 static PyObject
*_wrap_wxDateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
* _resultobj
;
4431 wxDateTime::wxDateTime_t _result
;
4433 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4434 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4435 PyObject
* _argo0
= 0;
4436 PyObject
* _obj2
= 0;
4437 char *_kwnames
[] = { "self","flags","tz", NULL
};
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfYear",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfYear. Expected _wxDateTime_p.");
4451 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4454 wxPy_BEGIN_ALLOW_THREADS
;
4455 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfYear(_arg0
,_arg1
,*_arg2
);
4457 wxPy_END_ALLOW_THREADS
;
4458 } _resultobj
= Py_BuildValue("h",_result
);
4460 if (_arg2
) delete _arg2
;
4465 #define wxDateTime_GetWeekOfMonth(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfMonth(_swigarg0,_swigarg1))
4466 static PyObject
*_wrap_wxDateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
* _resultobj
;
4468 wxDateTime::wxDateTime_t _result
;
4470 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4471 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4472 PyObject
* _argo0
= 0;
4473 PyObject
* _obj2
= 0;
4474 char *_kwnames
[] = { "self","flags","tz", NULL
};
4477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfMonth",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfMonth. Expected _wxDateTime_p.");
4488 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4491 wxPy_BEGIN_ALLOW_THREADS
;
4492 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfMonth(_arg0
,_arg1
,*_arg2
);
4494 wxPy_END_ALLOW_THREADS
;
4495 } _resultobj
= Py_BuildValue("h",_result
);
4497 if (_arg2
) delete _arg2
;
4502 #define wxDateTime_IsWorkDay(_swigobj,_swigarg0) (_swigobj->IsWorkDay(_swigarg0))
4503 static PyObject
*_wrap_wxDateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
* _resultobj
;
4507 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
4508 PyObject
* _argo0
= 0;
4509 char *_kwnames
[] = { "self","country", NULL
};
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsWorkDay",_kwnames
,&_argo0
,&_arg1
))
4515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsWorkDay. Expected _wxDateTime_p.");
4522 wxPy_BEGIN_ALLOW_THREADS
;
4523 _result
= (bool )wxDateTime_IsWorkDay(_arg0
,_arg1
);
4525 wxPy_END_ALLOW_THREADS
;
4526 } _resultobj
= Py_BuildValue("i",_result
);
4530 #define wxDateTime_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
4531 static PyObject
*_wrap_wxDateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
* _resultobj
;
4536 PyObject
* _argo0
= 0;
4537 PyObject
* _argo1
= 0;
4538 char *_kwnames
[] = { "self","datetime", NULL
};
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
4544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4558 wxPy_BEGIN_ALLOW_THREADS
;
4559 _result
= (bool )wxDateTime_IsEqualTo(_arg0
,*_arg1
);
4561 wxPy_END_ALLOW_THREADS
;
4562 } _resultobj
= Py_BuildValue("i",_result
);
4566 #define wxDateTime_IsEarlierThan(_swigobj,_swigarg0) (_swigobj->IsEarlierThan(_swigarg0))
4567 static PyObject
*_wrap_wxDateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4568 PyObject
* _resultobj
;
4572 PyObject
* _argo0
= 0;
4573 PyObject
* _argo1
= 0;
4574 char *_kwnames
[] = { "self","datetime", NULL
};
4577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEarlierThan",_kwnames
,&_argo0
,&_argo1
))
4580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4587 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4588 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4594 wxPy_BEGIN_ALLOW_THREADS
;
4595 _result
= (bool )wxDateTime_IsEarlierThan(_arg0
,*_arg1
);
4597 wxPy_END_ALLOW_THREADS
;
4598 } _resultobj
= Py_BuildValue("i",_result
);
4602 #define wxDateTime_IsLaterThan(_swigobj,_swigarg0) (_swigobj->IsLaterThan(_swigarg0))
4603 static PyObject
*_wrap_wxDateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
* _resultobj
;
4608 PyObject
* _argo0
= 0;
4609 PyObject
* _argo1
= 0;
4610 char *_kwnames
[] = { "self","datetime", NULL
};
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsLaterThan",_kwnames
,&_argo0
,&_argo1
))
4616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4623 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4624 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4630 wxPy_BEGIN_ALLOW_THREADS
;
4631 _result
= (bool )wxDateTime_IsLaterThan(_arg0
,*_arg1
);
4633 wxPy_END_ALLOW_THREADS
;
4634 } _resultobj
= Py_BuildValue("i",_result
);
4638 #define wxDateTime_IsStrictlyBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsStrictlyBetween(_swigarg0,_swigarg1))
4639 static PyObject
*_wrap_wxDateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
* _resultobj
;
4645 PyObject
* _argo0
= 0;
4646 PyObject
* _argo1
= 0;
4647 PyObject
* _argo2
= 0;
4648 char *_kwnames
[] = { "self","t1","t2", NULL
};
4651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsStrictlyBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4661 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4662 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4668 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4669 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4675 wxPy_BEGIN_ALLOW_THREADS
;
4676 _result
= (bool )wxDateTime_IsStrictlyBetween(_arg0
,*_arg1
,*_arg2
);
4678 wxPy_END_ALLOW_THREADS
;
4679 } _resultobj
= Py_BuildValue("i",_result
);
4683 #define wxDateTime_IsBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsBetween(_swigarg0,_swigarg1))
4684 static PyObject
*_wrap_wxDateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
* _resultobj
;
4690 PyObject
* _argo0
= 0;
4691 PyObject
* _argo1
= 0;
4692 PyObject
* _argo2
= 0;
4693 char *_kwnames
[] = { "self","t1","t2", NULL
};
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4706 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4707 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4713 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4714 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4720 wxPy_BEGIN_ALLOW_THREADS
;
4721 _result
= (bool )wxDateTime_IsBetween(_arg0
,*_arg1
,*_arg2
);
4723 wxPy_END_ALLOW_THREADS
;
4724 } _resultobj
= Py_BuildValue("i",_result
);
4728 #define wxDateTime_IsSameDate(_swigobj,_swigarg0) (_swigobj->IsSameDate(_swigarg0))
4729 static PyObject
*_wrap_wxDateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4730 PyObject
* _resultobj
;
4734 PyObject
* _argo0
= 0;
4735 PyObject
* _argo1
= 0;
4736 char *_kwnames
[] = { "self","dt", NULL
};
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameDate",_kwnames
,&_argo0
,&_argo1
))
4742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4749 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4750 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4756 wxPy_BEGIN_ALLOW_THREADS
;
4757 _result
= (bool )wxDateTime_IsSameDate(_arg0
,*_arg1
);
4759 wxPy_END_ALLOW_THREADS
;
4760 } _resultobj
= Py_BuildValue("i",_result
);
4764 #define wxDateTime_IsSameTime(_swigobj,_swigarg0) (_swigobj->IsSameTime(_swigarg0))
4765 static PyObject
*_wrap_wxDateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
* _resultobj
;
4770 PyObject
* _argo0
= 0;
4771 PyObject
* _argo1
= 0;
4772 char *_kwnames
[] = { "self","dt", NULL
};
4775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameTime",_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_IsSameTime. 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_IsSameTime. Expected _wxDateTime_p.");
4792 wxPy_BEGIN_ALLOW_THREADS
;
4793 _result
= (bool )wxDateTime_IsSameTime(_arg0
,*_arg1
);
4795 wxPy_END_ALLOW_THREADS
;
4796 } _resultobj
= Py_BuildValue("i",_result
);
4800 #define wxDateTime_IsEqualUpTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEqualUpTo(_swigarg0,_swigarg1))
4801 static PyObject
*_wrap_wxDateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4802 PyObject
* _resultobj
;
4807 PyObject
* _argo0
= 0;
4808 PyObject
* _argo1
= 0;
4809 PyObject
* _argo2
= 0;
4810 char *_kwnames
[] = { "self","dt","ts", NULL
};
4813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsEqualUpTo",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4823 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4824 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4830 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4831 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTimeSpan_p")) {
4832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsEqualUpTo. Expected _wxTimeSpan_p.");
4837 wxPy_BEGIN_ALLOW_THREADS
;
4838 _result
= (bool )wxDateTime_IsEqualUpTo(_arg0
,*_arg1
,*_arg2
);
4840 wxPy_END_ALLOW_THREADS
;
4841 } _resultobj
= Py_BuildValue("i",_result
);
4845 #define wxDateTime_AddTS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4846 static PyObject
*_wrap_wxDateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
* _resultobj
;
4848 wxDateTime
* _result
;
4851 PyObject
* _argo0
= 0;
4852 PyObject
* _argo1
= 0;
4853 char *_kwnames
[] = { "self","diff", NULL
};
4857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddTS",_kwnames
,&_argo0
,&_argo1
))
4860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddTS. Expected _wxDateTime_p.");
4867 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4868 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddTS. Expected _wxTimeSpan_p.");
4874 wxPy_BEGIN_ALLOW_THREADS
;
4875 wxDateTime
& _result_ref
= wxDateTime_AddTS(_arg0
,*_arg1
);
4876 _result
= (wxDateTime
*) &_result_ref
;
4878 wxPy_END_ALLOW_THREADS
;
4880 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4881 _resultobj
= Py_BuildValue("s",_ptemp
);
4884 _resultobj
= Py_None
;
4889 #define wxDateTime_AddDS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4890 static PyObject
*_wrap_wxDateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4891 PyObject
* _resultobj
;
4892 wxDateTime
* _result
;
4895 PyObject
* _argo0
= 0;
4896 PyObject
* _argo1
= 0;
4897 char *_kwnames
[] = { "self","diff", NULL
};
4901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddDS",_kwnames
,&_argo0
,&_argo1
))
4904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddDS. Expected _wxDateTime_p.");
4911 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4912 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddDS. Expected _wxDateSpan_p.");
4918 wxPy_BEGIN_ALLOW_THREADS
;
4919 wxDateTime
& _result_ref
= wxDateTime_AddDS(_arg0
,*_arg1
);
4920 _result
= (wxDateTime
*) &_result_ref
;
4922 wxPy_END_ALLOW_THREADS
;
4924 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4925 _resultobj
= Py_BuildValue("s",_ptemp
);
4928 _resultobj
= Py_None
;
4933 #define wxDateTime_SubtractTS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4934 static PyObject
*_wrap_wxDateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
* _resultobj
;
4936 wxDateTime
* _result
;
4939 PyObject
* _argo0
= 0;
4940 PyObject
* _argo1
= 0;
4941 char *_kwnames
[] = { "self","diff", NULL
};
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractTS",_kwnames
,&_argo0
,&_argo1
))
4948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractTS. Expected _wxDateTime_p.");
4955 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4956 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractTS. Expected _wxTimeSpan_p.");
4962 wxPy_BEGIN_ALLOW_THREADS
;
4963 wxDateTime
& _result_ref
= wxDateTime_SubtractTS(_arg0
,*_arg1
);
4964 _result
= (wxDateTime
*) &_result_ref
;
4966 wxPy_END_ALLOW_THREADS
;
4968 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4969 _resultobj
= Py_BuildValue("s",_ptemp
);
4972 _resultobj
= Py_None
;
4977 #define wxDateTime_SubtractDS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4978 static PyObject
*_wrap_wxDateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4979 PyObject
* _resultobj
;
4980 wxDateTime
* _result
;
4983 PyObject
* _argo0
= 0;
4984 PyObject
* _argo1
= 0;
4985 char *_kwnames
[] = { "self","diff", NULL
};
4989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractDS",_kwnames
,&_argo0
,&_argo1
))
4992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractDS. Expected _wxDateTime_p.");
4999 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5000 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractDS. Expected _wxDateSpan_p.");
5006 wxPy_BEGIN_ALLOW_THREADS
;
5007 wxDateTime
& _result_ref
= wxDateTime_SubtractDS(_arg0
,*_arg1
);
5008 _result
= (wxDateTime
*) &_result_ref
;
5010 wxPy_END_ALLOW_THREADS
;
5012 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
5013 _resultobj
= Py_BuildValue("s",_ptemp
);
5016 _resultobj
= Py_None
;
5021 #define wxDateTime_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5022 static PyObject
*_wrap_wxDateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
* _resultobj
;
5024 wxTimeSpan
* _result
;
5027 PyObject
* _argo0
= 0;
5028 PyObject
* _argo1
= 0;
5029 char *_kwnames
[] = { "self","dt", NULL
};
5033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_Subtract",_kwnames
,&_argo0
,&_argo1
))
5036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Subtract. Expected _wxDateTime_p.");
5043 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5044 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_Subtract. Expected _wxDateTime_p.");
5050 wxPy_BEGIN_ALLOW_THREADS
;
5051 _result
= new wxTimeSpan (wxDateTime_Subtract(_arg0
,*_arg1
));
5053 wxPy_END_ALLOW_THREADS
;
5054 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5055 _resultobj
= Py_BuildValue("s",_ptemp
);
5059 static wxDateTime
wxDateTime___add__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
5060 static PyObject
*_wrap_wxDateTime___add__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
* _resultobj
;
5062 wxDateTime
* _result
;
5065 PyObject
* _argo0
= 0;
5066 PyObject
* _argo1
= 0;
5067 char *_kwnames
[] = { "self","other", NULL
};
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__TS",_kwnames
,&_argo0
,&_argo1
))
5074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__TS. Expected _wxDateTime_p.");
5081 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5082 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__TS. Expected _wxTimeSpan_p.");
5088 wxPy_BEGIN_ALLOW_THREADS
;
5089 _result
= new wxDateTime (wxDateTime___add__TS(_arg0
,*_arg1
));
5091 wxPy_END_ALLOW_THREADS
;
5092 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5093 _resultobj
= Py_BuildValue("s",_ptemp
);
5097 static wxDateTime
wxDateTime___add__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
5098 static PyObject
*_wrap_wxDateTime___add__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5099 PyObject
* _resultobj
;
5100 wxDateTime
* _result
;
5103 PyObject
* _argo0
= 0;
5104 PyObject
* _argo1
= 0;
5105 char *_kwnames
[] = { "self","other", NULL
};
5109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__DS",_kwnames
,&_argo0
,&_argo1
))
5112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__DS. Expected _wxDateTime_p.");
5119 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5120 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__DS. Expected _wxDateSpan_p.");
5126 wxPy_BEGIN_ALLOW_THREADS
;
5127 _result
= new wxDateTime (wxDateTime___add__DS(_arg0
,*_arg1
));
5129 wxPy_END_ALLOW_THREADS
;
5130 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5131 _resultobj
= Py_BuildValue("s",_ptemp
);
5135 static wxTimeSpan
wxDateTime___sub__DT(wxDateTime
*self
,const wxDateTime
& other
) { return *self
- other
; }
5136 static PyObject
*_wrap_wxDateTime___sub__DT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
* _resultobj
;
5138 wxTimeSpan
* _result
;
5141 PyObject
* _argo0
= 0;
5142 PyObject
* _argo1
= 0;
5143 char *_kwnames
[] = { "self","other", NULL
};
5147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DT",_kwnames
,&_argo0
,&_argo1
))
5150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
5157 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5158 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
5164 wxPy_BEGIN_ALLOW_THREADS
;
5165 _result
= new wxTimeSpan (wxDateTime___sub__DT(_arg0
,*_arg1
));
5167 wxPy_END_ALLOW_THREADS
;
5168 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5169 _resultobj
= Py_BuildValue("s",_ptemp
);
5173 static wxDateTime
wxDateTime___sub__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
5174 static PyObject
*_wrap_wxDateTime___sub__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5175 PyObject
* _resultobj
;
5176 wxDateTime
* _result
;
5179 PyObject
* _argo0
= 0;
5180 PyObject
* _argo1
= 0;
5181 char *_kwnames
[] = { "self","other", NULL
};
5185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__TS",_kwnames
,&_argo0
,&_argo1
))
5188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__TS. Expected _wxDateTime_p.");
5195 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5196 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__TS. Expected _wxTimeSpan_p.");
5202 wxPy_BEGIN_ALLOW_THREADS
;
5203 _result
= new wxDateTime (wxDateTime___sub__TS(_arg0
,*_arg1
));
5205 wxPy_END_ALLOW_THREADS
;
5206 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5207 _resultobj
= Py_BuildValue("s",_ptemp
);
5211 static wxDateTime
wxDateTime___sub__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
- other
; }
5212 static PyObject
*_wrap_wxDateTime___sub__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5213 PyObject
* _resultobj
;
5214 wxDateTime
* _result
;
5217 PyObject
* _argo0
= 0;
5218 PyObject
* _argo1
= 0;
5219 char *_kwnames
[] = { "self","other", NULL
};
5223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DS",_kwnames
,&_argo0
,&_argo1
))
5226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DS. Expected _wxDateTime_p.");
5233 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5234 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DS. Expected _wxDateSpan_p.");
5240 wxPy_BEGIN_ALLOW_THREADS
;
5241 _result
= new wxDateTime (wxDateTime___sub__DS(_arg0
,*_arg1
));
5243 wxPy_END_ALLOW_THREADS
;
5244 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5245 _resultobj
= Py_BuildValue("s",_ptemp
);
5249 static int wxDateTime___cmp__(wxDateTime
*self
,const wxDateTime
& other
) {
5250 if (*self
< other
) return -1;
5251 if (*self
== other
) return 0;
5254 static PyObject
*_wrap_wxDateTime___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
* _resultobj
;
5259 PyObject
* _argo0
= 0;
5260 PyObject
* _argo1
= 0;
5261 char *_kwnames
[] = { "self","other", NULL
};
5264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___cmp__",_kwnames
,&_argo0
,&_argo1
))
5267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5274 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5275 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5281 wxPy_BEGIN_ALLOW_THREADS
;
5282 _result
= (int )wxDateTime___cmp__(_arg0
,*_arg1
);
5284 wxPy_END_ALLOW_THREADS
;
5285 } _resultobj
= Py_BuildValue("i",_result
);
5289 #define wxDateTime_ParseRfc822Date(_swigobj,_swigarg0) (_swigobj->ParseRfc822Date(_swigarg0))
5290 static PyObject
*_wrap_wxDateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
* _resultobj
;
5295 PyObject
* _argo0
= 0;
5296 char *_kwnames
[] = { "self","date", NULL
};
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseRfc822Date",_kwnames
,&_argo0
,&_arg1
))
5302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseRfc822Date. Expected _wxDateTime_p.");
5309 wxPy_BEGIN_ALLOW_THREADS
;
5310 _result
= (char *)wxDateTime_ParseRfc822Date(_arg0
,_arg1
);
5312 wxPy_END_ALLOW_THREADS
;
5313 } _resultobj
= Py_BuildValue("s", _result
);
5317 #define wxDateTime_ParseFormat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ParseFormat(_swigarg0,_swigarg1,_swigarg2))
5318 static PyObject
*_wrap_wxDateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5319 PyObject
* _resultobj
;
5323 char * _arg2
= (char *) "%c";
5324 wxDateTime
* _arg3
= (wxDateTime
*) &wxDefaultDateTime
;
5325 PyObject
* _argo0
= 0;
5326 PyObject
* _argo3
= 0;
5327 char *_kwnames
[] = { "self","date","format","dateDef", NULL
};
5330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|sO:wxDateTime_ParseFormat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
5333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5340 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5341 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime_p")) {
5342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5347 wxPy_BEGIN_ALLOW_THREADS
;
5348 _result
= (char *)wxDateTime_ParseFormat(_arg0
,_arg1
,_arg2
,*_arg3
);
5350 wxPy_END_ALLOW_THREADS
;
5351 } _resultobj
= Py_BuildValue("s", _result
);
5355 #define wxDateTime_ParseDateTime(_swigobj,_swigarg0) (_swigobj->ParseDateTime(_swigarg0))
5356 static PyObject
*_wrap_wxDateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
* _resultobj
;
5361 PyObject
* _argo0
= 0;
5362 char *_kwnames
[] = { "self","datetime", NULL
};
5365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseDateTime",_kwnames
,&_argo0
,&_arg1
))
5368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDateTime. Expected _wxDateTime_p.");
5375 wxPy_BEGIN_ALLOW_THREADS
;
5376 _result
= (char *)wxDateTime_ParseDateTime(_arg0
,_arg1
);
5378 wxPy_END_ALLOW_THREADS
;
5379 } _resultobj
= Py_BuildValue("s", _result
);
5383 #define wxDateTime_ParseDate(_swigobj,_swigarg0) (_swigobj->ParseDate(_swigarg0))
5384 static PyObject
*_wrap_wxDateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
* _resultobj
;
5389 PyObject
* _argo0
= 0;
5390 char *_kwnames
[] = { "self","date", NULL
};
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseDate",_kwnames
,&_argo0
,&_arg1
))
5396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDate. Expected _wxDateTime_p.");
5403 wxPy_BEGIN_ALLOW_THREADS
;
5404 _result
= (char *)wxDateTime_ParseDate(_arg0
,_arg1
);
5406 wxPy_END_ALLOW_THREADS
;
5407 } _resultobj
= Py_BuildValue("s", _result
);
5411 #define wxDateTime_ParseTime(_swigobj,_swigarg0) (_swigobj->ParseTime(_swigarg0))
5412 static PyObject
*_wrap_wxDateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5413 PyObject
* _resultobj
;
5417 PyObject
* _argo0
= 0;
5418 char *_kwnames
[] = { "self","time", NULL
};
5421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseTime",_kwnames
,&_argo0
,&_arg1
))
5424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseTime. Expected _wxDateTime_p.");
5431 wxPy_BEGIN_ALLOW_THREADS
;
5432 _result
= (char *)wxDateTime_ParseTime(_arg0
,_arg1
);
5434 wxPy_END_ALLOW_THREADS
;
5435 } _resultobj
= Py_BuildValue("s", _result
);
5439 #define wxDateTime_Format(_swigobj,_swigarg0,_swigarg1) (_swigobj->Format(_swigarg0,_swigarg1))
5440 static PyObject
*_wrap_wxDateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
* _resultobj
;
5444 char * _arg1
= (char *) "%c";
5445 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
5446 PyObject
* _argo0
= 0;
5447 PyObject
* _obj2
= 0;
5448 char *_kwnames
[] = { "self","format","tz", NULL
};
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sO:wxDateTime_Format",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Format. Expected _wxDateTime_p.");
5462 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
5465 wxPy_BEGIN_ALLOW_THREADS
;
5466 _result
= new wxString (wxDateTime_Format(_arg0
,_arg1
,*_arg2
));
5468 wxPy_END_ALLOW_THREADS
;
5470 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5473 if (_arg2
) delete _arg2
;
5481 #define wxDateTime_FormatDate(_swigobj) (_swigobj->FormatDate())
5482 static PyObject
*_wrap_wxDateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
* _resultobj
;
5486 PyObject
* _argo0
= 0;
5487 char *_kwnames
[] = { "self", NULL
};
5490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatDate",_kwnames
,&_argo0
))
5493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatDate. Expected _wxDateTime_p.");
5500 wxPy_BEGIN_ALLOW_THREADS
;
5501 _result
= new wxString (wxDateTime_FormatDate(_arg0
));
5503 wxPy_END_ALLOW_THREADS
;
5505 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5513 #define wxDateTime_FormatTime(_swigobj) (_swigobj->FormatTime())
5514 static PyObject
*_wrap_wxDateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
* _resultobj
;
5518 PyObject
* _argo0
= 0;
5519 char *_kwnames
[] = { "self", NULL
};
5522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatTime",_kwnames
,&_argo0
))
5525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatTime. Expected _wxDateTime_p.");
5532 wxPy_BEGIN_ALLOW_THREADS
;
5533 _result
= new wxString (wxDateTime_FormatTime(_arg0
));
5535 wxPy_END_ALLOW_THREADS
;
5537 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5545 #define wxDateTime_FormatISODate(_swigobj) (_swigobj->FormatISODate())
5546 static PyObject
*_wrap_wxDateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
* _resultobj
;
5550 PyObject
* _argo0
= 0;
5551 char *_kwnames
[] = { "self", NULL
};
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISODate",_kwnames
,&_argo0
))
5557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISODate. Expected _wxDateTime_p.");
5564 wxPy_BEGIN_ALLOW_THREADS
;
5565 _result
= new wxString (wxDateTime_FormatISODate(_arg0
));
5567 wxPy_END_ALLOW_THREADS
;
5569 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5577 #define wxDateTime_FormatISOTime(_swigobj) (_swigobj->FormatISOTime())
5578 static PyObject
*_wrap_wxDateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
* _resultobj
;
5582 PyObject
* _argo0
= 0;
5583 char *_kwnames
[] = { "self", NULL
};
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISOTime",_kwnames
,&_argo0
))
5589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISOTime. Expected _wxDateTime_p.");
5596 wxPy_BEGIN_ALLOW_THREADS
;
5597 _result
= new wxString (wxDateTime_FormatISOTime(_arg0
));
5599 wxPy_END_ALLOW_THREADS
;
5601 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5609 static PyObject
*_wrap_wxTimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
* _resultobj
;
5611 wxTimeSpan
* _result
;
5613 char *_kwnames
[] = { "sec", NULL
};
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Seconds",_kwnames
,&_arg0
))
5620 wxPy_BEGIN_ALLOW_THREADS
;
5621 _result
= new wxTimeSpan (wxTimeSpan::Seconds(_arg0
));
5623 wxPy_END_ALLOW_THREADS
;
5624 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5625 _resultobj
= Py_BuildValue("s",_ptemp
);
5629 static PyObject
*_wrap_wxTimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
* _resultobj
;
5631 wxTimeSpan
* _result
;
5632 char *_kwnames
[] = { NULL
};
5636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Second",_kwnames
))
5639 wxPy_BEGIN_ALLOW_THREADS
;
5640 _result
= new wxTimeSpan (wxTimeSpan::Second());
5642 wxPy_END_ALLOW_THREADS
;
5643 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5644 _resultobj
= Py_BuildValue("s",_ptemp
);
5648 static PyObject
*_wrap_wxTimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5649 PyObject
* _resultobj
;
5650 wxTimeSpan
* _result
;
5652 char *_kwnames
[] = { "min", NULL
};
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Minutes",_kwnames
,&_arg0
))
5659 wxPy_BEGIN_ALLOW_THREADS
;
5660 _result
= new wxTimeSpan (wxTimeSpan::Minutes(_arg0
));
5662 wxPy_END_ALLOW_THREADS
;
5663 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5664 _resultobj
= Py_BuildValue("s",_ptemp
);
5668 static PyObject
*_wrap_wxTimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
* _resultobj
;
5670 wxTimeSpan
* _result
;
5671 char *_kwnames
[] = { NULL
};
5675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Minute",_kwnames
))
5678 wxPy_BEGIN_ALLOW_THREADS
;
5679 _result
= new wxTimeSpan (wxTimeSpan::Minute());
5681 wxPy_END_ALLOW_THREADS
;
5682 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5683 _resultobj
= Py_BuildValue("s",_ptemp
);
5687 static PyObject
*_wrap_wxTimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
* _resultobj
;
5689 wxTimeSpan
* _result
;
5691 char *_kwnames
[] = { "hours", NULL
};
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Hours",_kwnames
,&_arg0
))
5698 wxPy_BEGIN_ALLOW_THREADS
;
5699 _result
= new wxTimeSpan (wxTimeSpan::Hours(_arg0
));
5701 wxPy_END_ALLOW_THREADS
;
5702 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5703 _resultobj
= Py_BuildValue("s",_ptemp
);
5707 static PyObject
*_wrap_wxTimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5708 PyObject
* _resultobj
;
5709 wxTimeSpan
* _result
;
5710 char *_kwnames
[] = { NULL
};
5714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Hour",_kwnames
))
5717 wxPy_BEGIN_ALLOW_THREADS
;
5718 _result
= new wxTimeSpan (wxTimeSpan::Hour());
5720 wxPy_END_ALLOW_THREADS
;
5721 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5722 _resultobj
= Py_BuildValue("s",_ptemp
);
5726 static PyObject
*_wrap_wxTimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5727 PyObject
* _resultobj
;
5728 wxTimeSpan
* _result
;
5730 char *_kwnames
[] = { "days", NULL
};
5734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Days",_kwnames
,&_arg0
))
5737 wxPy_BEGIN_ALLOW_THREADS
;
5738 _result
= new wxTimeSpan (wxTimeSpan::Days(_arg0
));
5740 wxPy_END_ALLOW_THREADS
;
5741 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5742 _resultobj
= Py_BuildValue("s",_ptemp
);
5746 static PyObject
*_wrap_wxTimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
* _resultobj
;
5748 wxTimeSpan
* _result
;
5749 char *_kwnames
[] = { NULL
};
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Day",_kwnames
))
5756 wxPy_BEGIN_ALLOW_THREADS
;
5757 _result
= new wxTimeSpan (wxTimeSpan::Day());
5759 wxPy_END_ALLOW_THREADS
;
5760 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5761 _resultobj
= Py_BuildValue("s",_ptemp
);
5765 static PyObject
*_wrap_wxTimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
* _resultobj
;
5767 wxTimeSpan
* _result
;
5769 char *_kwnames
[] = { "days", NULL
};
5773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Weeks",_kwnames
,&_arg0
))
5776 wxPy_BEGIN_ALLOW_THREADS
;
5777 _result
= new wxTimeSpan (wxTimeSpan::Weeks(_arg0
));
5779 wxPy_END_ALLOW_THREADS
;
5780 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5781 _resultobj
= Py_BuildValue("s",_ptemp
);
5785 static PyObject
*_wrap_wxTimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5786 PyObject
* _resultobj
;
5787 wxTimeSpan
* _result
;
5788 char *_kwnames
[] = { NULL
};
5792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Week",_kwnames
))
5795 wxPy_BEGIN_ALLOW_THREADS
;
5796 _result
= new wxTimeSpan (wxTimeSpan::Week());
5798 wxPy_END_ALLOW_THREADS
;
5799 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5800 _resultobj
= Py_BuildValue("s",_ptemp
);
5804 #define new_wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5805 static PyObject
*_wrap_new_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
* _resultobj
;
5807 wxTimeSpan
* _result
;
5808 long _arg0
= (long ) 0;
5809 long _arg1
= (long ) 0;
5810 long _arg2
= (long ) 0;
5811 long _arg3
= (long ) 0;
5812 char *_kwnames
[] = { "hours","minutes","seconds","milliseconds", NULL
};
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxTimeSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
5819 wxPy_BEGIN_ALLOW_THREADS
;
5820 _result
= (wxTimeSpan
*)new_wxTimeSpan(_arg0
,_arg1
,_arg2
,_arg3
);
5822 wxPy_END_ALLOW_THREADS
;
5824 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5825 _resultobj
= Py_BuildValue("s",_ptemp
);
5828 _resultobj
= Py_None
;
5833 #define delete_wxTimeSpan(_swigobj) (delete _swigobj)
5834 static PyObject
*_wrap_delete_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
* _resultobj
;
5837 PyObject
* _argo0
= 0;
5838 char *_kwnames
[] = { "self", NULL
};
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTimeSpan",_kwnames
,&_argo0
))
5844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTimeSpan. Expected _wxTimeSpan_p.");
5851 wxPy_BEGIN_ALLOW_THREADS
;
5852 delete_wxTimeSpan(_arg0
);
5854 wxPy_END_ALLOW_THREADS
;
5855 } Py_INCREF(Py_None
);
5856 _resultobj
= Py_None
;
5860 #define wxTimeSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
5861 static PyObject
*_wrap_wxTimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
* _resultobj
;
5863 wxTimeSpan
* _result
;
5866 PyObject
* _argo0
= 0;
5867 PyObject
* _argo1
= 0;
5868 char *_kwnames
[] = { "self","diff", NULL
};
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Add",_kwnames
,&_argo0
,&_argo1
))
5875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
5882 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5883 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
5889 wxPy_BEGIN_ALLOW_THREADS
;
5890 wxTimeSpan
& _result_ref
= wxTimeSpan_Add(_arg0
,*_arg1
);
5891 _result
= (wxTimeSpan
*) &_result_ref
;
5893 wxPy_END_ALLOW_THREADS
;
5895 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5896 _resultobj
= Py_BuildValue("s",_ptemp
);
5899 _resultobj
= Py_None
;
5904 #define wxTimeSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5905 static PyObject
*_wrap_wxTimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
* _resultobj
;
5907 wxTimeSpan
* _result
;
5910 PyObject
* _argo0
= 0;
5911 PyObject
* _argo1
= 0;
5912 char *_kwnames
[] = { "self","diff", NULL
};
5916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
5919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
5926 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5927 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
5933 wxPy_BEGIN_ALLOW_THREADS
;
5934 wxTimeSpan
& _result_ref
= wxTimeSpan_Subtract(_arg0
,*_arg1
);
5935 _result
= (wxTimeSpan
*) &_result_ref
;
5937 wxPy_END_ALLOW_THREADS
;
5939 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5940 _resultobj
= Py_BuildValue("s",_ptemp
);
5943 _resultobj
= Py_None
;
5948 #define wxTimeSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
5949 static PyObject
*_wrap_wxTimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
* _resultobj
;
5951 wxTimeSpan
* _result
;
5954 PyObject
* _argo0
= 0;
5955 char *_kwnames
[] = { "self","n", NULL
};
5959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
5962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Multiply. Expected _wxTimeSpan_p.");
5969 wxPy_BEGIN_ALLOW_THREADS
;
5970 wxTimeSpan
& _result_ref
= wxTimeSpan_Multiply(_arg0
,_arg1
);
5971 _result
= (wxTimeSpan
*) &_result_ref
;
5973 wxPy_END_ALLOW_THREADS
;
5975 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5976 _resultobj
= Py_BuildValue("s",_ptemp
);
5979 _resultobj
= Py_None
;
5984 #define wxTimeSpan_Neg(_swigobj) (_swigobj->Neg())
5985 static PyObject
*_wrap_wxTimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
* _resultobj
;
5987 wxTimeSpan
* _result
;
5989 PyObject
* _argo0
= 0;
5990 char *_kwnames
[] = { "self", NULL
};
5994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Neg",_kwnames
,&_argo0
))
5997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Neg. Expected _wxTimeSpan_p.");
6004 wxPy_BEGIN_ALLOW_THREADS
;
6005 wxTimeSpan
& _result_ref
= wxTimeSpan_Neg(_arg0
);
6006 _result
= (wxTimeSpan
*) &_result_ref
;
6008 wxPy_END_ALLOW_THREADS
;
6010 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6011 _resultobj
= Py_BuildValue("s",_ptemp
);
6014 _resultobj
= Py_None
;
6019 #define wxTimeSpan_Abs(_swigobj) (_swigobj->Abs())
6020 static PyObject
*_wrap_wxTimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
* _resultobj
;
6022 wxTimeSpan
* _result
;
6024 PyObject
* _argo0
= 0;
6025 char *_kwnames
[] = { "self", NULL
};
6029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Abs",_kwnames
,&_argo0
))
6032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Abs. Expected _wxTimeSpan_p.");
6039 wxPy_BEGIN_ALLOW_THREADS
;
6040 _result
= new wxTimeSpan (wxTimeSpan_Abs(_arg0
));
6042 wxPy_END_ALLOW_THREADS
;
6043 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6044 _resultobj
= Py_BuildValue("s",_ptemp
);
6048 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
6049 static PyObject
*_wrap_wxTimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
* _resultobj
;
6051 wxTimeSpan
* _result
;
6054 PyObject
* _argo0
= 0;
6055 PyObject
* _argo1
= 0;
6056 char *_kwnames
[] = { "self","other", NULL
};
6060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___add__",_kwnames
,&_argo0
,&_argo1
))
6063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6070 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6071 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6077 wxPy_BEGIN_ALLOW_THREADS
;
6078 _result
= new wxTimeSpan (wxTimeSpan___add__(_arg0
,*_arg1
));
6080 wxPy_END_ALLOW_THREADS
;
6081 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6082 _resultobj
= Py_BuildValue("s",_ptemp
);
6086 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
6087 static PyObject
*_wrap_wxTimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
* _resultobj
;
6089 wxTimeSpan
* _result
;
6092 PyObject
* _argo0
= 0;
6093 PyObject
* _argo1
= 0;
6094 char *_kwnames
[] = { "self","other", NULL
};
6098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
6101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6108 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6109 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6115 wxPy_BEGIN_ALLOW_THREADS
;
6116 _result
= new wxTimeSpan (wxTimeSpan___sub__(_arg0
,*_arg1
));
6118 wxPy_END_ALLOW_THREADS
;
6119 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6120 _resultobj
= Py_BuildValue("s",_ptemp
);
6124 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
) { return *self
* n
; }
6125 static PyObject
*_wrap_wxTimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6126 PyObject
* _resultobj
;
6127 wxTimeSpan
* _result
;
6130 PyObject
* _argo0
= 0;
6131 char *_kwnames
[] = { "self","n", NULL
};
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
6138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___mul__. Expected _wxTimeSpan_p.");
6145 wxPy_BEGIN_ALLOW_THREADS
;
6146 _result
= new wxTimeSpan (wxTimeSpan___mul__(_arg0
,_arg1
));
6148 wxPy_END_ALLOW_THREADS
;
6149 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6150 _resultobj
= Py_BuildValue("s",_ptemp
);
6154 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
) { return n
* *self
; }
6155 static PyObject
*_wrap_wxTimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
* _resultobj
;
6157 wxTimeSpan
* _result
;
6160 PyObject
* _argo0
= 0;
6161 char *_kwnames
[] = { "self","n", NULL
};
6165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
6168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___rmul__. Expected _wxTimeSpan_p.");
6175 wxPy_BEGIN_ALLOW_THREADS
;
6176 _result
= new wxTimeSpan (wxTimeSpan___rmul__(_arg0
,_arg1
));
6178 wxPy_END_ALLOW_THREADS
;
6179 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6180 _resultobj
= Py_BuildValue("s",_ptemp
);
6184 static wxTimeSpan
wxTimeSpan___neg__(wxTimeSpan
*self
) { return self
->Negate(); }
6185 static PyObject
*_wrap_wxTimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
* _resultobj
;
6187 wxTimeSpan
* _result
;
6189 PyObject
* _argo0
= 0;
6190 char *_kwnames
[] = { "self", NULL
};
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan___neg__",_kwnames
,&_argo0
))
6197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___neg__. Expected _wxTimeSpan_p.");
6204 wxPy_BEGIN_ALLOW_THREADS
;
6205 _result
= new wxTimeSpan (wxTimeSpan___neg__(_arg0
));
6207 wxPy_END_ALLOW_THREADS
;
6208 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6209 _resultobj
= Py_BuildValue("s",_ptemp
);
6213 static int wxTimeSpan___cmp__(wxTimeSpan
*self
,const wxTimeSpan
& other
) {
6214 if (*self
< other
) return -1;
6215 if (*self
== other
) return 0;
6218 static PyObject
*_wrap_wxTimeSpan___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
* _resultobj
;
6223 PyObject
* _argo0
= 0;
6224 PyObject
* _argo1
= 0;
6225 char *_kwnames
[] = { "self","other", NULL
};
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___cmp__",_kwnames
,&_argo0
,&_argo1
))
6231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6238 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6239 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6245 wxPy_BEGIN_ALLOW_THREADS
;
6246 _result
= (int )wxTimeSpan___cmp__(_arg0
,*_arg1
);
6248 wxPy_END_ALLOW_THREADS
;
6249 } _resultobj
= Py_BuildValue("i",_result
);
6253 #define wxTimeSpan_IsNull(_swigobj) (_swigobj->IsNull())
6254 static PyObject
*_wrap_wxTimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
* _resultobj
;
6258 PyObject
* _argo0
= 0;
6259 char *_kwnames
[] = { "self", NULL
};
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNull",_kwnames
,&_argo0
))
6265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNull. Expected _wxTimeSpan_p.");
6272 wxPy_BEGIN_ALLOW_THREADS
;
6273 _result
= (bool )wxTimeSpan_IsNull(_arg0
);
6275 wxPy_END_ALLOW_THREADS
;
6276 } _resultobj
= Py_BuildValue("i",_result
);
6280 #define wxTimeSpan_IsPositive(_swigobj) (_swigobj->IsPositive())
6281 static PyObject
*_wrap_wxTimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
* _resultobj
;
6285 PyObject
* _argo0
= 0;
6286 char *_kwnames
[] = { "self", NULL
};
6289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsPositive",_kwnames
,&_argo0
))
6292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsPositive. Expected _wxTimeSpan_p.");
6299 wxPy_BEGIN_ALLOW_THREADS
;
6300 _result
= (bool )wxTimeSpan_IsPositive(_arg0
);
6302 wxPy_END_ALLOW_THREADS
;
6303 } _resultobj
= Py_BuildValue("i",_result
);
6307 #define wxTimeSpan_IsNegative(_swigobj) (_swigobj->IsNegative())
6308 static PyObject
*_wrap_wxTimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
* _resultobj
;
6312 PyObject
* _argo0
= 0;
6313 char *_kwnames
[] = { "self", NULL
};
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNegative",_kwnames
,&_argo0
))
6319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNegative. Expected _wxTimeSpan_p.");
6326 wxPy_BEGIN_ALLOW_THREADS
;
6327 _result
= (bool )wxTimeSpan_IsNegative(_arg0
);
6329 wxPy_END_ALLOW_THREADS
;
6330 } _resultobj
= Py_BuildValue("i",_result
);
6334 #define wxTimeSpan_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
6335 static PyObject
*_wrap_wxTimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
* _resultobj
;
6340 PyObject
* _argo0
= 0;
6341 PyObject
* _argo1
= 0;
6342 char *_kwnames
[] = { "self","ts", NULL
};
6345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
6348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6355 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6356 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6362 wxPy_BEGIN_ALLOW_THREADS
;
6363 _result
= (bool )wxTimeSpan_IsEqualTo(_arg0
,*_arg1
);
6365 wxPy_END_ALLOW_THREADS
;
6366 } _resultobj
= Py_BuildValue("i",_result
);
6370 #define wxTimeSpan_IsLongerThan(_swigobj,_swigarg0) (_swigobj->IsLongerThan(_swigarg0))
6371 static PyObject
*_wrap_wxTimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6372 PyObject
* _resultobj
;
6376 PyObject
* _argo0
= 0;
6377 PyObject
* _argo1
= 0;
6378 char *_kwnames
[] = { "self","ts", NULL
};
6381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsLongerThan",_kwnames
,&_argo0
,&_argo1
))
6384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6391 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6392 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6398 wxPy_BEGIN_ALLOW_THREADS
;
6399 _result
= (bool )wxTimeSpan_IsLongerThan(_arg0
,*_arg1
);
6401 wxPy_END_ALLOW_THREADS
;
6402 } _resultobj
= Py_BuildValue("i",_result
);
6406 #define wxTimeSpan_IsShorterThan(_swigobj,_swigarg0) (_swigobj->IsShorterThan(_swigarg0))
6407 static PyObject
*_wrap_wxTimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6408 PyObject
* _resultobj
;
6412 PyObject
* _argo0
= 0;
6413 PyObject
* _argo1
= 0;
6414 char *_kwnames
[] = { "self","t", NULL
};
6417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsShorterThan",_kwnames
,&_argo0
,&_argo1
))
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_IsShorterThan. Expected _wxTimeSpan_p.");
6427 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6428 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6434 wxPy_BEGIN_ALLOW_THREADS
;
6435 _result
= (bool )wxTimeSpan_IsShorterThan(_arg0
,*_arg1
);
6437 wxPy_END_ALLOW_THREADS
;
6438 } _resultobj
= Py_BuildValue("i",_result
);
6442 #define wxTimeSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
6443 static PyObject
*_wrap_wxTimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
* _resultobj
;
6447 PyObject
* _argo0
= 0;
6448 char *_kwnames
[] = { "self", NULL
};
6451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetWeeks",_kwnames
,&_argo0
))
6454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetWeeks. Expected _wxTimeSpan_p.");
6461 wxPy_BEGIN_ALLOW_THREADS
;
6462 _result
= (int )wxTimeSpan_GetWeeks(_arg0
);
6464 wxPy_END_ALLOW_THREADS
;
6465 } _resultobj
= Py_BuildValue("i",_result
);
6469 #define wxTimeSpan_GetDays(_swigobj) (_swigobj->GetDays())
6470 static PyObject
*_wrap_wxTimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6471 PyObject
* _resultobj
;
6474 PyObject
* _argo0
= 0;
6475 char *_kwnames
[] = { "self", NULL
};
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetDays",_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_GetDays. Expected _wxTimeSpan_p.");
6488 wxPy_BEGIN_ALLOW_THREADS
;
6489 _result
= (int )wxTimeSpan_GetDays(_arg0
);
6491 wxPy_END_ALLOW_THREADS
;
6492 } _resultobj
= Py_BuildValue("i",_result
);
6496 #define wxTimeSpan_GetHours(_swigobj) (_swigobj->GetHours())
6497 static PyObject
*_wrap_wxTimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
* _resultobj
;
6501 PyObject
* _argo0
= 0;
6502 char *_kwnames
[] = { "self", NULL
};
6505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetHours",_kwnames
,&_argo0
))
6508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetHours. Expected _wxTimeSpan_p.");
6515 wxPy_BEGIN_ALLOW_THREADS
;
6516 _result
= (int )wxTimeSpan_GetHours(_arg0
);
6518 wxPy_END_ALLOW_THREADS
;
6519 } _resultobj
= Py_BuildValue("i",_result
);
6523 #define wxTimeSpan_GetMinutes(_swigobj) (_swigobj->GetMinutes())
6524 static PyObject
*_wrap_wxTimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
* _resultobj
;
6528 PyObject
* _argo0
= 0;
6529 char *_kwnames
[] = { "self", NULL
};
6532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMinutes",_kwnames
,&_argo0
))
6535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMinutes. Expected _wxTimeSpan_p.");
6542 wxPy_BEGIN_ALLOW_THREADS
;
6543 _result
= (int )wxTimeSpan_GetMinutes(_arg0
);
6545 wxPy_END_ALLOW_THREADS
;
6546 } _resultobj
= Py_BuildValue("i",_result
);
6550 #define wxTimeSpan_GetSeconds(_swigobj) (_swigobj->GetSeconds())
6551 static PyObject
*_wrap_wxTimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
* _resultobj
;
6553 wxLongLong
* _result
;
6555 PyObject
* _argo0
= 0;
6556 char *_kwnames
[] = { "self", NULL
};
6559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetSeconds",_kwnames
,&_argo0
))
6562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetSeconds. Expected _wxTimeSpan_p.");
6569 wxPy_BEGIN_ALLOW_THREADS
;
6570 _result
= new wxLongLong (wxTimeSpan_GetSeconds(_arg0
));
6572 wxPy_END_ALLOW_THREADS
;
6574 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6575 hi
= PyLong_FromLong(_result
->GetHi());
6576 lo
= PyLong_FromLong(_result
->GetLo());
6577 shifter
= PyLong_FromLong(32);
6578 shifted
= PyNumber_Lshift(hi
, shifter
);
6579 _resultobj
= PyNumber_Or(shifted
, lo
);
6588 #define wxTimeSpan_GetMilliseconds(_swigobj) (_swigobj->GetMilliseconds())
6589 static PyObject
*_wrap_wxTimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
* _resultobj
;
6591 wxLongLong
* _result
;
6593 PyObject
* _argo0
= 0;
6594 char *_kwnames
[] = { "self", NULL
};
6597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMilliseconds",_kwnames
,&_argo0
))
6600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMilliseconds. Expected _wxTimeSpan_p.");
6607 wxPy_BEGIN_ALLOW_THREADS
;
6608 _result
= new wxLongLong (wxTimeSpan_GetMilliseconds(_arg0
));
6610 wxPy_END_ALLOW_THREADS
;
6612 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6613 hi
= PyLong_FromLong(_result
->GetHi());
6614 lo
= PyLong_FromLong(_result
->GetLo());
6615 shifter
= PyLong_FromLong(32);
6616 shifted
= PyNumber_Lshift(hi
, shifter
);
6617 _resultobj
= PyNumber_Or(shifted
, lo
);
6626 #define wxTimeSpan_Format(_swigobj,_swigarg0) (_swigobj->Format(_swigarg0))
6627 static PyObject
*_wrap_wxTimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
* _resultobj
;
6631 char * _arg1
= (char *) "%c";
6632 PyObject
* _argo0
= 0;
6633 char *_kwnames
[] = { "self","format", NULL
};
6636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxTimeSpan_Format",_kwnames
,&_argo0
,&_arg1
))
6639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Format. Expected _wxTimeSpan_p.");
6646 wxPy_BEGIN_ALLOW_THREADS
;
6647 _result
= new wxString (wxTimeSpan_Format(_arg0
,_arg1
));
6649 wxPy_END_ALLOW_THREADS
;
6651 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6659 #define new_wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6660 static PyObject
*_wrap_new_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6661 PyObject
* _resultobj
;
6662 wxDateSpan
* _result
;
6663 int _arg0
= (int ) 0;
6664 int _arg1
= (int ) 0;
6665 int _arg2
= (int ) 0;
6666 int _arg3
= (int ) 0;
6667 char *_kwnames
[] = { "years","months","weeks","days", NULL
};
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxDateSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
6674 wxPy_BEGIN_ALLOW_THREADS
;
6675 _result
= (wxDateSpan
*)new_wxDateSpan(_arg0
,_arg1
,_arg2
,_arg3
);
6677 wxPy_END_ALLOW_THREADS
;
6679 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6680 _resultobj
= Py_BuildValue("s",_ptemp
);
6683 _resultobj
= Py_None
;
6688 #define delete_wxDateSpan(_swigobj) (delete _swigobj)
6689 static PyObject
*_wrap_delete_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6690 PyObject
* _resultobj
;
6692 PyObject
* _argo0
= 0;
6693 char *_kwnames
[] = { "self", NULL
};
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateSpan",_kwnames
,&_argo0
))
6699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateSpan. Expected _wxDateSpan_p.");
6706 wxPy_BEGIN_ALLOW_THREADS
;
6707 delete_wxDateSpan(_arg0
);
6709 wxPy_END_ALLOW_THREADS
;
6710 } Py_INCREF(Py_None
);
6711 _resultobj
= Py_None
;
6715 static PyObject
*_wrap_wxDateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6716 PyObject
* _resultobj
;
6717 wxDateSpan
* _result
;
6719 char *_kwnames
[] = { "days", NULL
};
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Days",_kwnames
,&_arg0
))
6726 wxPy_BEGIN_ALLOW_THREADS
;
6727 _result
= new wxDateSpan (wxDateSpan::Days(_arg0
));
6729 wxPy_END_ALLOW_THREADS
;
6730 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6731 _resultobj
= Py_BuildValue("s",_ptemp
);
6735 static PyObject
*_wrap_wxDateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
* _resultobj
;
6737 wxDateSpan
* _result
;
6738 char *_kwnames
[] = { NULL
};
6742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Day",_kwnames
))
6745 wxPy_BEGIN_ALLOW_THREADS
;
6746 _result
= new wxDateSpan (wxDateSpan::Day());
6748 wxPy_END_ALLOW_THREADS
;
6749 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6750 _resultobj
= Py_BuildValue("s",_ptemp
);
6754 static PyObject
*_wrap_wxDateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6755 PyObject
* _resultobj
;
6756 wxDateSpan
* _result
;
6758 char *_kwnames
[] = { "weeks", NULL
};
6762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Weeks",_kwnames
,&_arg0
))
6765 wxPy_BEGIN_ALLOW_THREADS
;
6766 _result
= new wxDateSpan (wxDateSpan::Weeks(_arg0
));
6768 wxPy_END_ALLOW_THREADS
;
6769 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6770 _resultobj
= Py_BuildValue("s",_ptemp
);
6774 static PyObject
*_wrap_wxDateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6775 PyObject
* _resultobj
;
6776 wxDateSpan
* _result
;
6777 char *_kwnames
[] = { NULL
};
6781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Week",_kwnames
))
6784 wxPy_BEGIN_ALLOW_THREADS
;
6785 _result
= new wxDateSpan (wxDateSpan::Week());
6787 wxPy_END_ALLOW_THREADS
;
6788 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6789 _resultobj
= Py_BuildValue("s",_ptemp
);
6793 static PyObject
*_wrap_wxDateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6794 PyObject
* _resultobj
;
6795 wxDateSpan
* _result
;
6797 char *_kwnames
[] = { "mon", NULL
};
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Months",_kwnames
,&_arg0
))
6804 wxPy_BEGIN_ALLOW_THREADS
;
6805 _result
= new wxDateSpan (wxDateSpan::Months(_arg0
));
6807 wxPy_END_ALLOW_THREADS
;
6808 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6809 _resultobj
= Py_BuildValue("s",_ptemp
);
6813 static PyObject
*_wrap_wxDateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
* _resultobj
;
6815 wxDateSpan
* _result
;
6816 char *_kwnames
[] = { NULL
};
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Month",_kwnames
))
6823 wxPy_BEGIN_ALLOW_THREADS
;
6824 _result
= new wxDateSpan (wxDateSpan::Month());
6826 wxPy_END_ALLOW_THREADS
;
6827 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6828 _resultobj
= Py_BuildValue("s",_ptemp
);
6832 static PyObject
*_wrap_wxDateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6833 PyObject
* _resultobj
;
6834 wxDateSpan
* _result
;
6836 char *_kwnames
[] = { "years", NULL
};
6840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Years",_kwnames
,&_arg0
))
6843 wxPy_BEGIN_ALLOW_THREADS
;
6844 _result
= new wxDateSpan (wxDateSpan::Years(_arg0
));
6846 wxPy_END_ALLOW_THREADS
;
6847 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6848 _resultobj
= Py_BuildValue("s",_ptemp
);
6852 static PyObject
*_wrap_wxDateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
* _resultobj
;
6854 wxDateSpan
* _result
;
6855 char *_kwnames
[] = { NULL
};
6859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Year",_kwnames
))
6862 wxPy_BEGIN_ALLOW_THREADS
;
6863 _result
= new wxDateSpan (wxDateSpan::Year());
6865 wxPy_END_ALLOW_THREADS
;
6866 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6867 _resultobj
= Py_BuildValue("s",_ptemp
);
6871 #define wxDateSpan_SetYears(_swigobj,_swigarg0) (_swigobj->SetYears(_swigarg0))
6872 static PyObject
*_wrap_wxDateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6873 PyObject
* _resultobj
;
6874 wxDateSpan
* _result
;
6877 PyObject
* _argo0
= 0;
6878 char *_kwnames
[] = { "self","n", NULL
};
6882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetYears",_kwnames
,&_argo0
,&_arg1
))
6885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetYears. Expected _wxDateSpan_p.");
6892 wxPy_BEGIN_ALLOW_THREADS
;
6893 wxDateSpan
& _result_ref
= wxDateSpan_SetYears(_arg0
,_arg1
);
6894 _result
= (wxDateSpan
*) &_result_ref
;
6896 wxPy_END_ALLOW_THREADS
;
6898 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6899 _resultobj
= Py_BuildValue("s",_ptemp
);
6902 _resultobj
= Py_None
;
6907 #define wxDateSpan_SetMonths(_swigobj,_swigarg0) (_swigobj->SetMonths(_swigarg0))
6908 static PyObject
*_wrap_wxDateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
* _resultobj
;
6910 wxDateSpan
* _result
;
6913 PyObject
* _argo0
= 0;
6914 char *_kwnames
[] = { "self","n", NULL
};
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetMonths",_kwnames
,&_argo0
,&_arg1
))
6921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetMonths. Expected _wxDateSpan_p.");
6928 wxPy_BEGIN_ALLOW_THREADS
;
6929 wxDateSpan
& _result_ref
= wxDateSpan_SetMonths(_arg0
,_arg1
);
6930 _result
= (wxDateSpan
*) &_result_ref
;
6932 wxPy_END_ALLOW_THREADS
;
6934 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6935 _resultobj
= Py_BuildValue("s",_ptemp
);
6938 _resultobj
= Py_None
;
6943 #define wxDateSpan_SetWeeks(_swigobj,_swigarg0) (_swigobj->SetWeeks(_swigarg0))
6944 static PyObject
*_wrap_wxDateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
* _resultobj
;
6946 wxDateSpan
* _result
;
6949 PyObject
* _argo0
= 0;
6950 char *_kwnames
[] = { "self","n", NULL
};
6954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetWeeks",_kwnames
,&_argo0
,&_arg1
))
6957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetWeeks. Expected _wxDateSpan_p.");
6964 wxPy_BEGIN_ALLOW_THREADS
;
6965 wxDateSpan
& _result_ref
= wxDateSpan_SetWeeks(_arg0
,_arg1
);
6966 _result
= (wxDateSpan
*) &_result_ref
;
6968 wxPy_END_ALLOW_THREADS
;
6970 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6971 _resultobj
= Py_BuildValue("s",_ptemp
);
6974 _resultobj
= Py_None
;
6979 #define wxDateSpan_SetDays(_swigobj,_swigarg0) (_swigobj->SetDays(_swigarg0))
6980 static PyObject
*_wrap_wxDateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
* _resultobj
;
6982 wxDateSpan
* _result
;
6985 PyObject
* _argo0
= 0;
6986 char *_kwnames
[] = { "self","n", NULL
};
6990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetDays",_kwnames
,&_argo0
,&_arg1
))
6993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetDays. Expected _wxDateSpan_p.");
7000 wxPy_BEGIN_ALLOW_THREADS
;
7001 wxDateSpan
& _result_ref
= wxDateSpan_SetDays(_arg0
,_arg1
);
7002 _result
= (wxDateSpan
*) &_result_ref
;
7004 wxPy_END_ALLOW_THREADS
;
7006 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7007 _resultobj
= Py_BuildValue("s",_ptemp
);
7010 _resultobj
= Py_None
;
7015 #define wxDateSpan_GetYears(_swigobj) (_swigobj->GetYears())
7016 static PyObject
*_wrap_wxDateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
* _resultobj
;
7020 PyObject
* _argo0
= 0;
7021 char *_kwnames
[] = { "self", NULL
};
7024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetYears",_kwnames
,&_argo0
))
7027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetYears. Expected _wxDateSpan_p.");
7034 wxPy_BEGIN_ALLOW_THREADS
;
7035 _result
= (int )wxDateSpan_GetYears(_arg0
);
7037 wxPy_END_ALLOW_THREADS
;
7038 } _resultobj
= Py_BuildValue("i",_result
);
7042 #define wxDateSpan_GetMonths(_swigobj) (_swigobj->GetMonths())
7043 static PyObject
*_wrap_wxDateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7044 PyObject
* _resultobj
;
7047 PyObject
* _argo0
= 0;
7048 char *_kwnames
[] = { "self", NULL
};
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetMonths",_kwnames
,&_argo0
))
7054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetMonths. Expected _wxDateSpan_p.");
7061 wxPy_BEGIN_ALLOW_THREADS
;
7062 _result
= (int )wxDateSpan_GetMonths(_arg0
);
7064 wxPy_END_ALLOW_THREADS
;
7065 } _resultobj
= Py_BuildValue("i",_result
);
7069 #define wxDateSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
7070 static PyObject
*_wrap_wxDateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
* _resultobj
;
7074 PyObject
* _argo0
= 0;
7075 char *_kwnames
[] = { "self", NULL
};
7078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetWeeks",_kwnames
,&_argo0
))
7081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetWeeks. Expected _wxDateSpan_p.");
7088 wxPy_BEGIN_ALLOW_THREADS
;
7089 _result
= (int )wxDateSpan_GetWeeks(_arg0
);
7091 wxPy_END_ALLOW_THREADS
;
7092 } _resultobj
= Py_BuildValue("i",_result
);
7096 #define wxDateSpan_GetDays(_swigobj) (_swigobj->GetDays())
7097 static PyObject
*_wrap_wxDateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
* _resultobj
;
7101 PyObject
* _argo0
= 0;
7102 char *_kwnames
[] = { "self", NULL
};
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetDays",_kwnames
,&_argo0
))
7108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetDays. Expected _wxDateSpan_p.");
7115 wxPy_BEGIN_ALLOW_THREADS
;
7116 _result
= (int )wxDateSpan_GetDays(_arg0
);
7118 wxPy_END_ALLOW_THREADS
;
7119 } _resultobj
= Py_BuildValue("i",_result
);
7123 #define wxDateSpan_GetTotalDays(_swigobj) (_swigobj->GetTotalDays())
7124 static PyObject
*_wrap_wxDateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
* _resultobj
;
7128 PyObject
* _argo0
= 0;
7129 char *_kwnames
[] = { "self", NULL
};
7132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetTotalDays",_kwnames
,&_argo0
))
7135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetTotalDays. Expected _wxDateSpan_p.");
7142 wxPy_BEGIN_ALLOW_THREADS
;
7143 _result
= (int )wxDateSpan_GetTotalDays(_arg0
);
7145 wxPy_END_ALLOW_THREADS
;
7146 } _resultobj
= Py_BuildValue("i",_result
);
7150 #define wxDateSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
7151 static PyObject
*_wrap_wxDateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
* _resultobj
;
7153 wxDateSpan
* _result
;
7156 PyObject
* _argo0
= 0;
7157 PyObject
* _argo1
= 0;
7158 char *_kwnames
[] = { "self","other", NULL
};
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Add",_kwnames
,&_argo0
,&_argo1
))
7165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7172 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7173 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7179 wxPy_BEGIN_ALLOW_THREADS
;
7180 wxDateSpan
& _result_ref
= wxDateSpan_Add(_arg0
,*_arg1
);
7181 _result
= (wxDateSpan
*) &_result_ref
;
7183 wxPy_END_ALLOW_THREADS
;
7185 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7186 _resultobj
= Py_BuildValue("s",_ptemp
);
7189 _resultobj
= Py_None
;
7194 #define wxDateSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
7195 static PyObject
*_wrap_wxDateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
* _resultobj
;
7197 wxDateSpan
* _result
;
7200 PyObject
* _argo0
= 0;
7201 PyObject
* _argo1
= 0;
7202 char *_kwnames
[] = { "self","other", NULL
};
7206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
7209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7216 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7217 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7223 wxPy_BEGIN_ALLOW_THREADS
;
7224 wxDateSpan
& _result_ref
= wxDateSpan_Subtract(_arg0
,*_arg1
);
7225 _result
= (wxDateSpan
*) &_result_ref
;
7227 wxPy_END_ALLOW_THREADS
;
7229 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7230 _resultobj
= Py_BuildValue("s",_ptemp
);
7233 _resultobj
= Py_None
;
7238 #define wxDateSpan_Neg(_swigobj) (_swigobj->Neg())
7239 static PyObject
*_wrap_wxDateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7240 PyObject
* _resultobj
;
7241 wxDateSpan
* _result
;
7243 PyObject
* _argo0
= 0;
7244 char *_kwnames
[] = { "self", NULL
};
7248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_Neg",_kwnames
,&_argo0
))
7251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Neg. Expected _wxDateSpan_p.");
7258 wxPy_BEGIN_ALLOW_THREADS
;
7259 wxDateSpan
& _result_ref
= wxDateSpan_Neg(_arg0
);
7260 _result
= (wxDateSpan
*) &_result_ref
;
7262 wxPy_END_ALLOW_THREADS
;
7264 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7265 _resultobj
= Py_BuildValue("s",_ptemp
);
7268 _resultobj
= Py_None
;
7273 #define wxDateSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
7274 static PyObject
*_wrap_wxDateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
* _resultobj
;
7276 wxDateSpan
* _result
;
7279 PyObject
* _argo0
= 0;
7280 char *_kwnames
[] = { "self","factor", NULL
};
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
7287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Multiply. Expected _wxDateSpan_p.");
7294 wxPy_BEGIN_ALLOW_THREADS
;
7295 wxDateSpan
& _result_ref
= wxDateSpan_Multiply(_arg0
,_arg1
);
7296 _result
= (wxDateSpan
*) &_result_ref
;
7298 wxPy_END_ALLOW_THREADS
;
7300 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7301 _resultobj
= Py_BuildValue("s",_ptemp
);
7304 _resultobj
= Py_None
;
7309 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
7310 static PyObject
*_wrap_wxDateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
* _resultobj
;
7312 wxDateSpan
* _result
;
7315 PyObject
* _argo0
= 0;
7316 PyObject
* _argo1
= 0;
7317 char *_kwnames
[] = { "self","other", NULL
};
7321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___add__",_kwnames
,&_argo0
,&_argo1
))
7324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7331 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7332 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7338 wxPy_BEGIN_ALLOW_THREADS
;
7339 _result
= new wxDateSpan (wxDateSpan___add__(_arg0
,*_arg1
));
7341 wxPy_END_ALLOW_THREADS
;
7342 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7343 _resultobj
= Py_BuildValue("s",_ptemp
);
7347 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
- other
; }
7348 static PyObject
*_wrap_wxDateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
* _resultobj
;
7350 wxDateSpan
* _result
;
7353 PyObject
* _argo0
= 0;
7354 PyObject
* _argo1
= 0;
7355 char *_kwnames
[] = { "self","other", NULL
};
7359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
7362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7369 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7370 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7376 wxPy_BEGIN_ALLOW_THREADS
;
7377 _result
= new wxDateSpan (wxDateSpan___sub__(_arg0
,*_arg1
));
7379 wxPy_END_ALLOW_THREADS
;
7380 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7381 _resultobj
= Py_BuildValue("s",_ptemp
);
7385 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
) { return *self
* n
; }
7386 static PyObject
*_wrap_wxDateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7387 PyObject
* _resultobj
;
7388 wxDateSpan
* _result
;
7391 PyObject
* _argo0
= 0;
7392 char *_kwnames
[] = { "self","n", NULL
};
7396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
7399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___mul__. Expected _wxDateSpan_p.");
7406 wxPy_BEGIN_ALLOW_THREADS
;
7407 _result
= new wxDateSpan (wxDateSpan___mul__(_arg0
,_arg1
));
7409 wxPy_END_ALLOW_THREADS
;
7410 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7411 _resultobj
= Py_BuildValue("s",_ptemp
);
7415 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
) { return n
* *self
; }
7416 static PyObject
*_wrap_wxDateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
* _resultobj
;
7418 wxDateSpan
* _result
;
7421 PyObject
* _argo0
= 0;
7422 char *_kwnames
[] = { "self","n", NULL
};
7426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
7429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___rmul__. Expected _wxDateSpan_p.");
7436 wxPy_BEGIN_ALLOW_THREADS
;
7437 _result
= new wxDateSpan (wxDateSpan___rmul__(_arg0
,_arg1
));
7439 wxPy_END_ALLOW_THREADS
;
7440 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7441 _resultobj
= Py_BuildValue("s",_ptemp
);
7445 static wxDateSpan
wxDateSpan___neg__(wxDateSpan
*self
) { return self
->Negate(); }
7446 static PyObject
*_wrap_wxDateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
* _resultobj
;
7448 wxDateSpan
* _result
;
7450 PyObject
* _argo0
= 0;
7451 char *_kwnames
[] = { "self", NULL
};
7455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan___neg__",_kwnames
,&_argo0
))
7458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___neg__. Expected _wxDateSpan_p.");
7465 wxPy_BEGIN_ALLOW_THREADS
;
7466 _result
= new wxDateSpan (wxDateSpan___neg__(_arg0
));
7468 wxPy_END_ALLOW_THREADS
;
7469 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7470 _resultobj
= Py_BuildValue("s",_ptemp
);
7474 static PyMethodDef utilscMethods
[] = {
7475 { "wxDateSpan___neg__", (PyCFunction
) _wrap_wxDateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7476 { "wxDateSpan___rmul__", (PyCFunction
) _wrap_wxDateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7477 { "wxDateSpan___mul__", (PyCFunction
) _wrap_wxDateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7478 { "wxDateSpan___sub__", (PyCFunction
) _wrap_wxDateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7479 { "wxDateSpan___add__", (PyCFunction
) _wrap_wxDateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7480 { "wxDateSpan_Multiply", (PyCFunction
) _wrap_wxDateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7481 { "wxDateSpan_Neg", (PyCFunction
) _wrap_wxDateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7482 { "wxDateSpan_Subtract", (PyCFunction
) _wrap_wxDateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7483 { "wxDateSpan_Add", (PyCFunction
) _wrap_wxDateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7484 { "wxDateSpan_GetTotalDays", (PyCFunction
) _wrap_wxDateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
7485 { "wxDateSpan_GetDays", (PyCFunction
) _wrap_wxDateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7486 { "wxDateSpan_GetWeeks", (PyCFunction
) _wrap_wxDateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7487 { "wxDateSpan_GetMonths", (PyCFunction
) _wrap_wxDateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7488 { "wxDateSpan_GetYears", (PyCFunction
) _wrap_wxDateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
7489 { "wxDateSpan_SetDays", (PyCFunction
) _wrap_wxDateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
7490 { "wxDateSpan_SetWeeks", (PyCFunction
) _wrap_wxDateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7491 { "wxDateSpan_SetMonths", (PyCFunction
) _wrap_wxDateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7492 { "wxDateSpan_SetYears", (PyCFunction
) _wrap_wxDateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
7493 { "wxDateSpan_Year", (PyCFunction
) _wrap_wxDateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
7494 { "wxDateSpan_Years", (PyCFunction
) _wrap_wxDateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
7495 { "wxDateSpan_Month", (PyCFunction
) _wrap_wxDateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
7496 { "wxDateSpan_Months", (PyCFunction
) _wrap_wxDateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
7497 { "wxDateSpan_Week", (PyCFunction
) _wrap_wxDateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7498 { "wxDateSpan_Weeks", (PyCFunction
) _wrap_wxDateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7499 { "wxDateSpan_Day", (PyCFunction
) _wrap_wxDateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7500 { "wxDateSpan_Days", (PyCFunction
) _wrap_wxDateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7501 { "delete_wxDateSpan", (PyCFunction
) _wrap_delete_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7502 { "new_wxDateSpan", (PyCFunction
) _wrap_new_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7503 { "wxTimeSpan_Format", (PyCFunction
) _wrap_wxTimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
7504 { "wxTimeSpan_GetMilliseconds", (PyCFunction
) _wrap_wxTimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
7505 { "wxTimeSpan_GetSeconds", (PyCFunction
) _wrap_wxTimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
7506 { "wxTimeSpan_GetMinutes", (PyCFunction
) _wrap_wxTimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
7507 { "wxTimeSpan_GetHours", (PyCFunction
) _wrap_wxTimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
7508 { "wxTimeSpan_GetDays", (PyCFunction
) _wrap_wxTimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7509 { "wxTimeSpan_GetWeeks", (PyCFunction
) _wrap_wxTimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7510 { "wxTimeSpan_IsShorterThan", (PyCFunction
) _wrap_wxTimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
7511 { "wxTimeSpan_IsLongerThan", (PyCFunction
) _wrap_wxTimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
7512 { "wxTimeSpan_IsEqualTo", (PyCFunction
) _wrap_wxTimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7513 { "wxTimeSpan_IsNegative", (PyCFunction
) _wrap_wxTimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
7514 { "wxTimeSpan_IsPositive", (PyCFunction
) _wrap_wxTimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
7515 { "wxTimeSpan_IsNull", (PyCFunction
) _wrap_wxTimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
7516 { "wxTimeSpan___cmp__", (PyCFunction
) _wrap_wxTimeSpan___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7517 { "wxTimeSpan___neg__", (PyCFunction
) _wrap_wxTimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7518 { "wxTimeSpan___rmul__", (PyCFunction
) _wrap_wxTimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7519 { "wxTimeSpan___mul__", (PyCFunction
) _wrap_wxTimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7520 { "wxTimeSpan___sub__", (PyCFunction
) _wrap_wxTimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7521 { "wxTimeSpan___add__", (PyCFunction
) _wrap_wxTimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7522 { "wxTimeSpan_Abs", (PyCFunction
) _wrap_wxTimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
7523 { "wxTimeSpan_Neg", (PyCFunction
) _wrap_wxTimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7524 { "wxTimeSpan_Multiply", (PyCFunction
) _wrap_wxTimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7525 { "wxTimeSpan_Subtract", (PyCFunction
) _wrap_wxTimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7526 { "wxTimeSpan_Add", (PyCFunction
) _wrap_wxTimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7527 { "delete_wxTimeSpan", (PyCFunction
) _wrap_delete_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7528 { "new_wxTimeSpan", (PyCFunction
) _wrap_new_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7529 { "wxTimeSpan_Week", (PyCFunction
) _wrap_wxTimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7530 { "wxTimeSpan_Weeks", (PyCFunction
) _wrap_wxTimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7531 { "wxTimeSpan_Day", (PyCFunction
) _wrap_wxTimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7532 { "wxTimeSpan_Days", (PyCFunction
) _wrap_wxTimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7533 { "wxTimeSpan_Hour", (PyCFunction
) _wrap_wxTimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
7534 { "wxTimeSpan_Hours", (PyCFunction
) _wrap_wxTimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
7535 { "wxTimeSpan_Minute", (PyCFunction
) _wrap_wxTimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
7536 { "wxTimeSpan_Minutes", (PyCFunction
) _wrap_wxTimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
7537 { "wxTimeSpan_Second", (PyCFunction
) _wrap_wxTimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
7538 { "wxTimeSpan_Seconds", (PyCFunction
) _wrap_wxTimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
7539 { "wxDateTime_FormatISOTime", (PyCFunction
) _wrap_wxDateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
7540 { "wxDateTime_FormatISODate", (PyCFunction
) _wrap_wxDateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
7541 { "wxDateTime_FormatTime", (PyCFunction
) _wrap_wxDateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
7542 { "wxDateTime_FormatDate", (PyCFunction
) _wrap_wxDateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
7543 { "wxDateTime_Format", (PyCFunction
) _wrap_wxDateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
7544 { "wxDateTime_ParseTime", (PyCFunction
) _wrap_wxDateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
7545 { "wxDateTime_ParseDate", (PyCFunction
) _wrap_wxDateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
7546 { "wxDateTime_ParseDateTime", (PyCFunction
) _wrap_wxDateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7547 { "wxDateTime_ParseFormat", (PyCFunction
) _wrap_wxDateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
7548 { "wxDateTime_ParseRfc822Date", (PyCFunction
) _wrap_wxDateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
7549 { "wxDateTime___cmp__", (PyCFunction
) _wrap_wxDateTime___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7550 { "wxDateTime___sub__DS", (PyCFunction
) _wrap_wxDateTime___sub__DS
, METH_VARARGS
| METH_KEYWORDS
},
7551 { "wxDateTime___sub__TS", (PyCFunction
) _wrap_wxDateTime___sub__TS
, METH_VARARGS
| METH_KEYWORDS
},
7552 { "wxDateTime___sub__DT", (PyCFunction
) _wrap_wxDateTime___sub__DT
, METH_VARARGS
| METH_KEYWORDS
},
7553 { "wxDateTime___add__DS", (PyCFunction
) _wrap_wxDateTime___add__DS
, METH_VARARGS
| METH_KEYWORDS
},
7554 { "wxDateTime___add__TS", (PyCFunction
) _wrap_wxDateTime___add__TS
, METH_VARARGS
| METH_KEYWORDS
},
7555 { "wxDateTime_Subtract", (PyCFunction
) _wrap_wxDateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7556 { "wxDateTime_SubtractDS", (PyCFunction
) _wrap_wxDateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
7557 { "wxDateTime_SubtractTS", (PyCFunction
) _wrap_wxDateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
7558 { "wxDateTime_AddDS", (PyCFunction
) _wrap_wxDateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
7559 { "wxDateTime_AddTS", (PyCFunction
) _wrap_wxDateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
7560 { "wxDateTime_IsEqualUpTo", (PyCFunction
) _wrap_wxDateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
7561 { "wxDateTime_IsSameTime", (PyCFunction
) _wrap_wxDateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
7562 { "wxDateTime_IsSameDate", (PyCFunction
) _wrap_wxDateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
7563 { "wxDateTime_IsBetween", (PyCFunction
) _wrap_wxDateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
7564 { "wxDateTime_IsStrictlyBetween", (PyCFunction
) _wrap_wxDateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
7565 { "wxDateTime_IsLaterThan", (PyCFunction
) _wrap_wxDateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
7566 { "wxDateTime_IsEarlierThan", (PyCFunction
) _wrap_wxDateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
7567 { "wxDateTime_IsEqualTo", (PyCFunction
) _wrap_wxDateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7568 { "wxDateTime_IsWorkDay", (PyCFunction
) _wrap_wxDateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
7569 { "wxDateTime_GetWeekOfMonth", (PyCFunction
) _wrap_wxDateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
7570 { "wxDateTime_GetWeekOfYear", (PyCFunction
) _wrap_wxDateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7571 { "wxDateTime_GetDayOfYear", (PyCFunction
) _wrap_wxDateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7572 { "wxDateTime_GetMillisecond", (PyCFunction
) _wrap_wxDateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7573 { "wxDateTime_GetSecond", (PyCFunction
) _wrap_wxDateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7574 { "wxDateTime_GetMinute", (PyCFunction
) _wrap_wxDateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7575 { "wxDateTime_GetHour", (PyCFunction
) _wrap_wxDateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
7576 { "wxDateTime_GetDay", (PyCFunction
) _wrap_wxDateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
7577 { "wxDateTime_GetMonth", (PyCFunction
) _wrap_wxDateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7578 { "wxDateTime_GetYear", (PyCFunction
) _wrap_wxDateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
7579 { "wxDateTime_GetTicks", (PyCFunction
) _wrap_wxDateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
7580 { "wxDateTime_IsValid", (PyCFunction
) _wrap_wxDateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
7581 { "wxDateTime_IsDST", (PyCFunction
) _wrap_wxDateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
7582 { "wxDateTime_MakeGMT", (PyCFunction
) _wrap_wxDateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
7583 { "wxDateTime_ToGMT", (PyCFunction
) _wrap_wxDateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
7584 { "wxDateTime_MakeTimezone", (PyCFunction
) _wrap_wxDateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7585 { "wxDateTime_ToTimezone", (PyCFunction
) _wrap_wxDateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7586 { "wxDateTime_GetRataDie", (PyCFunction
) _wrap_wxDateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
7587 { "wxDateTime_GetMJD", (PyCFunction
) _wrap_wxDateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
7588 { "wxDateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7589 { "wxDateTime_GetJDN", (PyCFunction
) _wrap_wxDateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7590 { "wxDateTime_GetJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7591 { "wxDateTime_GetYearDay", (PyCFunction
) _wrap_wxDateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7592 { "wxDateTime_SetToYearDay", (PyCFunction
) _wrap_wxDateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7593 { "wxDateTime_GetLastMonthDay", (PyCFunction
) _wrap_wxDateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7594 { "wxDateTime_SetToLastMonthDay", (PyCFunction
) _wrap_wxDateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7595 { "wxDateTime_GetWeek", (PyCFunction
) _wrap_wxDateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
7596 { "wxDateTime_SetToTheWeek", (PyCFunction
) _wrap_wxDateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
7597 { "wxDateTime_GetLastWeekDay", (PyCFunction
) _wrap_wxDateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7598 { "wxDateTime_SetToLastWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7599 { "wxDateTime_GetWeekDay", (PyCFunction
) _wrap_wxDateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7600 { "wxDateTime_SetToWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7601 { "wxDateTime_GetPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7602 { "wxDateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7603 { "wxDateTime_GetNextWeekDay", (PyCFunction
) _wrap_wxDateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7604 { "wxDateTime_SetToNextWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7605 { "wxDateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7606 { "wxDateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7607 { "wxDateTime_SetMillisecond", (PyCFunction
) _wrap_wxDateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7608 { "wxDateTime_SetSecond", (PyCFunction
) _wrap_wxDateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7609 { "wxDateTime_SetMinute", (PyCFunction
) _wrap_wxDateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7610 { "wxDateTime_SetHour", (PyCFunction
) _wrap_wxDateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
7611 { "wxDateTime_SetDay", (PyCFunction
) _wrap_wxDateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
7612 { "wxDateTime_SetMonth", (PyCFunction
) _wrap_wxDateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7613 { "wxDateTime_SetYear", (PyCFunction
) _wrap_wxDateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
7614 { "wxDateTime_ResetTime", (PyCFunction
) _wrap_wxDateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
7615 { "wxDateTime_Set", (PyCFunction
) _wrap_wxDateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
7616 { "wxDateTime_SetHMS", (PyCFunction
) _wrap_wxDateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
7617 { "wxDateTime_SetJDN", (PyCFunction
) _wrap_wxDateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7618 { "wxDateTime_SetTimeT", (PyCFunction
) _wrap_wxDateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7619 { "wxDateTime_SetToCurrent", (PyCFunction
) _wrap_wxDateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
7620 { "delete_wxDateTime", (PyCFunction
) _wrap_delete_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7621 { "new_wxDateTimeFromDMY", (PyCFunction
) _wrap_new_wxDateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
7622 { "new_wxDateTimeFromHMS", (PyCFunction
) _wrap_new_wxDateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
7623 { "new_wxDateTimeFromJDN", (PyCFunction
) _wrap_new_wxDateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
7624 { "new_wxDateTimeFromTimeT", (PyCFunction
) _wrap_new_wxDateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7625 { "new_wxDateTime", (PyCFunction
) _wrap_new_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7626 { "wxDateTime_Today", (PyCFunction
) _wrap_wxDateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
7627 { "wxDateTime_Now", (PyCFunction
) _wrap_wxDateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
7628 { "wxDateTime_GetEndDST", (PyCFunction
) _wrap_wxDateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
7629 { "wxDateTime_GetBeginDST", (PyCFunction
) _wrap_wxDateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
7630 { "wxDateTime_IsDSTApplicable", (PyCFunction
) _wrap_wxDateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
7631 { "wxDateTime_GetAmPmStrings", (PyCFunction
) _wrap_wxDateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
7632 { "wxDateTime_GetWeekDayName", (PyCFunction
) _wrap_wxDateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
7633 { "wxDateTime_GetMonthName", (PyCFunction
) _wrap_wxDateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
7634 { "wxDateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
7635 { "wxDateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
7636 { "wxDateTime_GetCentury", (PyCFunction
) _wrap_wxDateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
7637 { "wxDateTime_IsLeapYear", (PyCFunction
) _wrap_wxDateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
7638 { "wxDateTime_GetCurrentMonth", (PyCFunction
) _wrap_wxDateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
7639 { "wxDateTime_ConvertYearToBC", (PyCFunction
) _wrap_wxDateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
7640 { "wxDateTime_GetCurrentYear", (PyCFunction
) _wrap_wxDateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
7641 { "wxDateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_wxDateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
7642 { "wxDateTime_GetCountry", (PyCFunction
) _wrap_wxDateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7643 { "wxDateTime_SetCountry", (PyCFunction
) _wrap_wxDateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7644 { "delete_wxFileConfig", (PyCFunction
) _wrap_delete_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7645 { "new_wxFileConfig", (PyCFunction
) _wrap_new_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7646 { "delete_wxConfig", (PyCFunction
) _wrap_delete_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7647 { "new_wxConfig", (PyCFunction
) _wrap_new_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7648 { "wxConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7649 { "wxConfigBase_RenameGroup", (PyCFunction
) _wrap_wxConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
7650 { "wxConfigBase_RenameEntry", (PyCFunction
) _wrap_wxConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
7651 { "wxConfigBase_GetEntryType", (PyCFunction
) _wrap_wxConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
7652 { "wxConfigBase_WriteFloat", (PyCFunction
) _wrap_wxConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
7653 { "wxConfigBase_WriteInt", (PyCFunction
) _wrap_wxConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
7654 { "wxConfigBase_Write", (PyCFunction
) _wrap_wxConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
7655 { "wxConfigBase_GetStyle", (PyCFunction
) _wrap_wxConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7656 { "wxConfigBase_SetStyle", (PyCFunction
) _wrap_wxConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7657 { "wxConfigBase_SetVendorName", (PyCFunction
) _wrap_wxConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7658 { "wxConfigBase_SetAppName", (PyCFunction
) _wrap_wxConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7659 { "wxConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_wxConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7660 { "wxConfigBase_SetPath", (PyCFunction
) _wrap_wxConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
7661 { "wxConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7662 { "wxConfigBase_ReadFloat", (PyCFunction
) _wrap_wxConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
7663 { "wxConfigBase_ReadInt", (PyCFunction
) _wrap_wxConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
7664 { "wxConfigBase_Read", (PyCFunction
) _wrap_wxConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
7665 { "wxConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_wxConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7666 { "wxConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_wxConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7667 { "wxConfigBase_HasGroup", (PyCFunction
) _wrap_wxConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
7668 { "wxConfigBase_HasEntry", (PyCFunction
) _wrap_wxConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
7669 { "wxConfigBase_GetVendorName", (PyCFunction
) _wrap_wxConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7670 { "wxConfigBase_GetPath", (PyCFunction
) _wrap_wxConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
7671 { "wxConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
7672 { "wxConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
7673 { "wxConfigBase_GetNextEntry", (PyCFunction
) _wrap_wxConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
7674 { "wxConfigBase_GetNextGroup", (PyCFunction
) _wrap_wxConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
7675 { "wxConfigBase_GetFirstEntry", (PyCFunction
) _wrap_wxConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
7676 { "wxConfigBase_GetFirstGroup", (PyCFunction
) _wrap_wxConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
7677 { "wxConfigBase_GetAppName", (PyCFunction
) _wrap_wxConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7678 { "wxConfigBase_Flush", (PyCFunction
) _wrap_wxConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
7679 { "wxConfigBase_Exists", (PyCFunction
) _wrap_wxConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
7680 { "wxConfigBase_DeleteGroup", (PyCFunction
) _wrap_wxConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
7681 { "wxConfigBase_DeleteEntry", (PyCFunction
) _wrap_wxConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
7682 { "wxConfigBase_DeleteAll", (PyCFunction
) _wrap_wxConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
7683 { "wxConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_wxConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
7684 { "wxConfigBase_Create", (PyCFunction
) _wrap_wxConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
7685 { "wxConfigBase_Get", (PyCFunction
) _wrap_wxConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
7686 { "wxConfigBase_Set", (PyCFunction
) _wrap_wxConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
7687 { "delete_wxConfigBase", (PyCFunction
) _wrap_delete_wxConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
7688 { "wxGetLocalTimeMillis", (PyCFunction
) _wrap_wxGetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
7689 { "wxGetCurrentTime", (PyCFunction
) _wrap_wxGetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
7690 { "wxGetUTCTime", (PyCFunction
) _wrap_wxGetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
7691 { "wxGetLocalTime", (PyCFunction
) _wrap_wxGetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
7698 * This table is used by the pointer type-checker
7700 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7701 { "_signed_long","_long",0},
7702 { "_class_wxDateTime","_wxDateTime",0},
7703 { "_wxPrintQuality","_wxCoord",0},
7704 { "_wxPrintQuality","_int",0},
7705 { "_wxPrintQuality","_signed_int",0},
7706 { "_wxPrintQuality","_unsigned_int",0},
7707 { "_wxPrintQuality","_wxWindowID",0},
7708 { "_wxPrintQuality","_uint",0},
7709 { "_wxPrintQuality","_EBool",0},
7710 { "_wxPrintQuality","_size_t",0},
7711 { "_wxPrintQuality","_time_t",0},
7712 { "_byte","_unsigned_char",0},
7713 { "_long","_unsigned_long",0},
7714 { "_long","_signed_long",0},
7715 { "_size_t","_wxCoord",0},
7716 { "_size_t","_wxPrintQuality",0},
7717 { "_size_t","_time_t",0},
7718 { "_size_t","_unsigned_int",0},
7719 { "_size_t","_int",0},
7720 { "_size_t","_wxWindowID",0},
7721 { "_size_t","_uint",0},
7722 { "_wxFileConfig","_class_wxFileConfig",0},
7723 { "_uint","_wxCoord",0},
7724 { "_uint","_wxPrintQuality",0},
7725 { "_uint","_time_t",0},
7726 { "_uint","_size_t",0},
7727 { "_uint","_unsigned_int",0},
7728 { "_uint","_int",0},
7729 { "_uint","_wxWindowID",0},
7730 { "_wxChar","_char",0},
7731 { "_char","_wxChar",0},
7732 { "_wxConfig","_class_wxConfig",0},
7733 { "_class_wxFileConfig","_wxFileConfig",0},
7734 { "_EBool","_wxCoord",0},
7735 { "_EBool","_wxPrintQuality",0},
7736 { "_EBool","_signed_int",0},
7737 { "_EBool","_int",0},
7738 { "_EBool","_wxWindowID",0},
7739 { "_unsigned_long","_long",0},
7740 { "_wxTimeSpan","_class_wxTimeSpan",0},
7741 { "_signed_int","_wxCoord",0},
7742 { "_signed_int","_wxPrintQuality",0},
7743 { "_signed_int","_EBool",0},
7744 { "_signed_int","_wxWindowID",0},
7745 { "_signed_int","_int",0},
7746 { "_WXTYPE","_wxDateTime_t",0},
7747 { "_WXTYPE","_short",0},
7748 { "_WXTYPE","_signed_short",0},
7749 { "_WXTYPE","_unsigned_short",0},
7750 { "_unsigned_short","_wxDateTime_t",0},
7751 { "_unsigned_short","_WXTYPE",0},
7752 { "_unsigned_short","_short",0},
7753 { "_wxDateSpan","_class_wxDateSpan",0},
7754 { "_signed_short","_WXTYPE",0},
7755 { "_signed_short","_short",0},
7756 { "_unsigned_char","_byte",0},
7757 { "_unsigned_int","_wxCoord",0},
7758 { "_unsigned_int","_wxPrintQuality",0},
7759 { "_unsigned_int","_time_t",0},
7760 { "_unsigned_int","_size_t",0},
7761 { "_unsigned_int","_uint",0},
7762 { "_unsigned_int","_wxWindowID",0},
7763 { "_unsigned_int","_int",0},
7764 { "_wxConfigBase","_class_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7765 { "_wxConfigBase","_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7766 { "_wxConfigBase","_class_wxConfig",SwigwxConfigTowxConfigBase
},
7767 { "_wxConfigBase","_wxConfig",SwigwxConfigTowxConfigBase
},
7768 { "_wxConfigBase","_class_wxConfigBase",0},
7769 { "_short","_wxDateTime_t",0},
7770 { "_short","_WXTYPE",0},
7771 { "_short","_unsigned_short",0},
7772 { "_short","_signed_short",0},
7773 { "_wxWindowID","_wxCoord",0},
7774 { "_wxWindowID","_wxPrintQuality",0},
7775 { "_wxWindowID","_time_t",0},
7776 { "_wxWindowID","_size_t",0},
7777 { "_wxWindowID","_EBool",0},
7778 { "_wxWindowID","_uint",0},
7779 { "_wxWindowID","_int",0},
7780 { "_wxWindowID","_signed_int",0},
7781 { "_wxWindowID","_unsigned_int",0},
7782 { "_int","_wxCoord",0},
7783 { "_int","_wxPrintQuality",0},
7784 { "_int","_time_t",0},
7785 { "_int","_size_t",0},
7786 { "_int","_EBool",0},
7787 { "_int","_uint",0},
7788 { "_int","_wxWindowID",0},
7789 { "_int","_unsigned_int",0},
7790 { "_int","_signed_int",0},
7791 { "_wxDateTime_t","_unsigned_short",0},
7792 { "_wxDateTime_t","_short",0},
7793 { "_wxDateTime_t","_WXTYPE",0},
7794 { "_wxDateTime","_class_wxDateTime",0},
7795 { "_time_t","_wxCoord",0},
7796 { "_time_t","_wxPrintQuality",0},
7797 { "_time_t","_unsigned_int",0},
7798 { "_time_t","_int",0},
7799 { "_time_t","_wxWindowID",0},
7800 { "_time_t","_uint",0},
7801 { "_time_t","_size_t",0},
7802 { "_class_wxTimeSpan","_wxTimeSpan",0},
7803 { "_class_wxConfigBase","_class_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7804 { "_class_wxConfigBase","_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7805 { "_class_wxConfigBase","_class_wxConfig",SwigwxConfigTowxConfigBase
},
7806 { "_class_wxConfigBase","_wxConfig",SwigwxConfigTowxConfigBase
},
7807 { "_class_wxConfigBase","_wxConfigBase",0},
7808 { "_wxCoord","_int",0},
7809 { "_wxCoord","_signed_int",0},
7810 { "_wxCoord","_unsigned_int",0},
7811 { "_wxCoord","_wxWindowID",0},
7812 { "_wxCoord","_uint",0},
7813 { "_wxCoord","_EBool",0},
7814 { "_wxCoord","_size_t",0},
7815 { "_wxCoord","_time_t",0},
7816 { "_wxCoord","_wxPrintQuality",0},
7817 { "_class_wxDateSpan","_wxDateSpan",0},
7818 { "_class_wxConfig","_wxConfig",0},
7821 static PyObject
*SWIG_globals
;
7825 SWIGEXPORT(void) initutilsc() {
7827 SWIG_globals
= SWIG_newvarlink();
7828 m
= Py_InitModule("utilsc", utilscMethods
);
7829 d
= PyModule_GetDict(m
);
7830 PyDict_SetItemString(d
,"wxCONFIG_USE_LOCAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_LOCAL_FILE
));
7831 PyDict_SetItemString(d
,"wxCONFIG_USE_GLOBAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_GLOBAL_FILE
));
7832 PyDict_SetItemString(d
,"wxCONFIG_USE_RELATIVE_PATH", PyInt_FromLong((long) wxCONFIG_USE_RELATIVE_PATH
));
7834 wxClassInfo::CleanUpClasses();
7835 wxClassInfo::InitializeClasses();
7836 PyDict_SetItemString(d
,"wxConfigBase_Type_Unknown", PyInt_FromLong((long) wxConfigBase::Type_Unknown
));
7837 PyDict_SetItemString(d
,"wxConfigBase_Type_String", PyInt_FromLong((long) wxConfigBase::Type_String
));
7838 PyDict_SetItemString(d
,"wxConfigBase_Type_Boolean", PyInt_FromLong((long) wxConfigBase::Type_Boolean
));
7839 PyDict_SetItemString(d
,"wxConfigBase_Type_Integer", PyInt_FromLong((long) wxConfigBase::Type_Integer
));
7840 PyDict_SetItemString(d
,"wxConfigBase_Type_Float", PyInt_FromLong((long) wxConfigBase::Type_Float
));
7841 PyDict_SetItemString(d
,"wxDateTime_Local", PyInt_FromLong((long) wxDateTime::Local
));
7842 PyDict_SetItemString(d
,"wxDateTime_GMT_12", PyInt_FromLong((long) wxDateTime::GMT_12
));
7843 PyDict_SetItemString(d
,"wxDateTime_GMT_11", PyInt_FromLong((long) wxDateTime::GMT_11
));
7844 PyDict_SetItemString(d
,"wxDateTime_GMT_10", PyInt_FromLong((long) wxDateTime::GMT_10
));
7845 PyDict_SetItemString(d
,"wxDateTime_GMT_9", PyInt_FromLong((long) wxDateTime::GMT_9
));
7846 PyDict_SetItemString(d
,"wxDateTime_GMT_8", PyInt_FromLong((long) wxDateTime::GMT_8
));
7847 PyDict_SetItemString(d
,"wxDateTime_GMT_7", PyInt_FromLong((long) wxDateTime::GMT_7
));
7848 PyDict_SetItemString(d
,"wxDateTime_GMT_6", PyInt_FromLong((long) wxDateTime::GMT_6
));
7849 PyDict_SetItemString(d
,"wxDateTime_GMT_5", PyInt_FromLong((long) wxDateTime::GMT_5
));
7850 PyDict_SetItemString(d
,"wxDateTime_GMT_4", PyInt_FromLong((long) wxDateTime::GMT_4
));
7851 PyDict_SetItemString(d
,"wxDateTime_GMT_3", PyInt_FromLong((long) wxDateTime::GMT_3
));
7852 PyDict_SetItemString(d
,"wxDateTime_GMT_2", PyInt_FromLong((long) wxDateTime::GMT_2
));
7853 PyDict_SetItemString(d
,"wxDateTime_GMT_1", PyInt_FromLong((long) wxDateTime::GMT_1
));
7854 PyDict_SetItemString(d
,"wxDateTime_GMT0", PyInt_FromLong((long) wxDateTime::GMT0
));
7855 PyDict_SetItemString(d
,"wxDateTime_GMT1", PyInt_FromLong((long) wxDateTime::GMT1
));
7856 PyDict_SetItemString(d
,"wxDateTime_GMT2", PyInt_FromLong((long) wxDateTime::GMT2
));
7857 PyDict_SetItemString(d
,"wxDateTime_GMT3", PyInt_FromLong((long) wxDateTime::GMT3
));
7858 PyDict_SetItemString(d
,"wxDateTime_GMT4", PyInt_FromLong((long) wxDateTime::GMT4
));
7859 PyDict_SetItemString(d
,"wxDateTime_GMT5", PyInt_FromLong((long) wxDateTime::GMT5
));
7860 PyDict_SetItemString(d
,"wxDateTime_GMT6", PyInt_FromLong((long) wxDateTime::GMT6
));
7861 PyDict_SetItemString(d
,"wxDateTime_GMT7", PyInt_FromLong((long) wxDateTime::GMT7
));
7862 PyDict_SetItemString(d
,"wxDateTime_GMT8", PyInt_FromLong((long) wxDateTime::GMT8
));
7863 PyDict_SetItemString(d
,"wxDateTime_GMT9", PyInt_FromLong((long) wxDateTime::GMT9
));
7864 PyDict_SetItemString(d
,"wxDateTime_GMT10", PyInt_FromLong((long) wxDateTime::GMT10
));
7865 PyDict_SetItemString(d
,"wxDateTime_GMT11", PyInt_FromLong((long) wxDateTime::GMT11
));
7866 PyDict_SetItemString(d
,"wxDateTime_GMT12", PyInt_FromLong((long) wxDateTime::GMT12
));
7867 PyDict_SetItemString(d
,"wxDateTime_WET", PyInt_FromLong((long) wxDateTime::WET
));
7868 PyDict_SetItemString(d
,"wxDateTime_WEST", PyInt_FromLong((long) wxDateTime::WEST
));
7869 PyDict_SetItemString(d
,"wxDateTime_CET", PyInt_FromLong((long) wxDateTime::CET
));
7870 PyDict_SetItemString(d
,"wxDateTime_CEST", PyInt_FromLong((long) wxDateTime::CEST
));
7871 PyDict_SetItemString(d
,"wxDateTime_EET", PyInt_FromLong((long) wxDateTime::EET
));
7872 PyDict_SetItemString(d
,"wxDateTime_EEST", PyInt_FromLong((long) wxDateTime::EEST
));
7873 PyDict_SetItemString(d
,"wxDateTime_MSK", PyInt_FromLong((long) wxDateTime::MSK
));
7874 PyDict_SetItemString(d
,"wxDateTime_MSD", PyInt_FromLong((long) wxDateTime::MSD
));
7875 PyDict_SetItemString(d
,"wxDateTime_AST", PyInt_FromLong((long) wxDateTime::AST
));
7876 PyDict_SetItemString(d
,"wxDateTime_ADT", PyInt_FromLong((long) wxDateTime::ADT
));
7877 PyDict_SetItemString(d
,"wxDateTime_EST", PyInt_FromLong((long) wxDateTime::EST
));
7878 PyDict_SetItemString(d
,"wxDateTime_EDT", PyInt_FromLong((long) wxDateTime::EDT
));
7879 PyDict_SetItemString(d
,"wxDateTime_CST", PyInt_FromLong((long) wxDateTime::CST
));
7880 PyDict_SetItemString(d
,"wxDateTime_CDT", PyInt_FromLong((long) wxDateTime::CDT
));
7881 PyDict_SetItemString(d
,"wxDateTime_MST", PyInt_FromLong((long) wxDateTime::MST
));
7882 PyDict_SetItemString(d
,"wxDateTime_MDT", PyInt_FromLong((long) wxDateTime::MDT
));
7883 PyDict_SetItemString(d
,"wxDateTime_PST", PyInt_FromLong((long) wxDateTime::PST
));
7884 PyDict_SetItemString(d
,"wxDateTime_PDT", PyInt_FromLong((long) wxDateTime::PDT
));
7885 PyDict_SetItemString(d
,"wxDateTime_HST", PyInt_FromLong((long) wxDateTime::HST
));
7886 PyDict_SetItemString(d
,"wxDateTime_AKST", PyInt_FromLong((long) wxDateTime::AKST
));
7887 PyDict_SetItemString(d
,"wxDateTime_AKDT", PyInt_FromLong((long) wxDateTime::AKDT
));
7888 PyDict_SetItemString(d
,"wxDateTime_A_WST", PyInt_FromLong((long) wxDateTime::A_WST
));
7889 PyDict_SetItemString(d
,"wxDateTime_A_CST", PyInt_FromLong((long) wxDateTime::A_CST
));
7890 PyDict_SetItemString(d
,"wxDateTime_A_EST", PyInt_FromLong((long) wxDateTime::A_EST
));
7891 PyDict_SetItemString(d
,"wxDateTime_A_ESST", PyInt_FromLong((long) wxDateTime::A_ESST
));
7892 PyDict_SetItemString(d
,"wxDateTime_UTC", PyInt_FromLong((long) wxDateTime::UTC
));
7893 PyDict_SetItemString(d
,"wxDateTime_Gregorian", PyInt_FromLong((long) wxDateTime::Gregorian
));
7894 PyDict_SetItemString(d
,"wxDateTime_Julian", PyInt_FromLong((long) wxDateTime::Julian
));
7895 PyDict_SetItemString(d
,"wxDateTime_Country_Unknown", PyInt_FromLong((long) wxDateTime::Country_Unknown
));
7896 PyDict_SetItemString(d
,"wxDateTime_Country_Default", PyInt_FromLong((long) wxDateTime::Country_Default
));
7897 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_Start", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_Start
));
7898 PyDict_SetItemString(d
,"wxDateTime_Country_EEC", PyInt_FromLong((long) wxDateTime::Country_EEC
));
7899 PyDict_SetItemString(d
,"wxDateTime_France", PyInt_FromLong((long) wxDateTime::France
));
7900 PyDict_SetItemString(d
,"wxDateTime_Germany", PyInt_FromLong((long) wxDateTime::Germany
));
7901 PyDict_SetItemString(d
,"wxDateTime_UK", PyInt_FromLong((long) wxDateTime::UK
));
7902 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_End", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_End
));
7903 PyDict_SetItemString(d
,"wxDateTime_Russia", PyInt_FromLong((long) wxDateTime::Russia
));
7904 PyDict_SetItemString(d
,"wxDateTime_USA", PyInt_FromLong((long) wxDateTime::USA
));
7905 PyDict_SetItemString(d
,"wxDateTime_Jan", PyInt_FromLong((long) wxDateTime::Jan
));
7906 PyDict_SetItemString(d
,"wxDateTime_Feb", PyInt_FromLong((long) wxDateTime::Feb
));
7907 PyDict_SetItemString(d
,"wxDateTime_Mar", PyInt_FromLong((long) wxDateTime::Mar
));
7908 PyDict_SetItemString(d
,"wxDateTime_Apr", PyInt_FromLong((long) wxDateTime::Apr
));
7909 PyDict_SetItemString(d
,"wxDateTime_May", PyInt_FromLong((long) wxDateTime::May
));
7910 PyDict_SetItemString(d
,"wxDateTime_Jun", PyInt_FromLong((long) wxDateTime::Jun
));
7911 PyDict_SetItemString(d
,"wxDateTime_Jul", PyInt_FromLong((long) wxDateTime::Jul
));
7912 PyDict_SetItemString(d
,"wxDateTime_Aug", PyInt_FromLong((long) wxDateTime::Aug
));
7913 PyDict_SetItemString(d
,"wxDateTime_Sep", PyInt_FromLong((long) wxDateTime::Sep
));
7914 PyDict_SetItemString(d
,"wxDateTime_Oct", PyInt_FromLong((long) wxDateTime::Oct
));
7915 PyDict_SetItemString(d
,"wxDateTime_Nov", PyInt_FromLong((long) wxDateTime::Nov
));
7916 PyDict_SetItemString(d
,"wxDateTime_Dec", PyInt_FromLong((long) wxDateTime::Dec
));
7917 PyDict_SetItemString(d
,"wxDateTime_Inv_Month", PyInt_FromLong((long) wxDateTime::Inv_Month
));
7918 PyDict_SetItemString(d
,"wxDateTime_Sun", PyInt_FromLong((long) wxDateTime::Sun
));
7919 PyDict_SetItemString(d
,"wxDateTime_Mon", PyInt_FromLong((long) wxDateTime::Mon
));
7920 PyDict_SetItemString(d
,"wxDateTime_Tue", PyInt_FromLong((long) wxDateTime::Tue
));
7921 PyDict_SetItemString(d
,"wxDateTime_Wed", PyInt_FromLong((long) wxDateTime::Wed
));
7922 PyDict_SetItemString(d
,"wxDateTime_Thu", PyInt_FromLong((long) wxDateTime::Thu
));
7923 PyDict_SetItemString(d
,"wxDateTime_Fri", PyInt_FromLong((long) wxDateTime::Fri
));
7924 PyDict_SetItemString(d
,"wxDateTime_Sat", PyInt_FromLong((long) wxDateTime::Sat
));
7925 PyDict_SetItemString(d
,"wxDateTime_Inv_WeekDay", PyInt_FromLong((long) wxDateTime::Inv_WeekDay
));
7926 PyDict_SetItemString(d
,"wxDateTime_Inv_Year", PyInt_FromLong((long) wxDateTime::Inv_Year
));
7927 PyDict_SetItemString(d
,"wxDateTime_Name_Full", PyInt_FromLong((long) wxDateTime::Name_Full
));
7928 PyDict_SetItemString(d
,"wxDateTime_Name_Abbr", PyInt_FromLong((long) wxDateTime::Name_Abbr
));
7929 PyDict_SetItemString(d
,"wxDateTime_Default_First", PyInt_FromLong((long) wxDateTime::Default_First
));
7930 PyDict_SetItemString(d
,"wxDateTime_Monday_First", PyInt_FromLong((long) wxDateTime::Monday_First
));
7931 PyDict_SetItemString(d
,"wxDateTime_Sunday_First", PyInt_FromLong((long) wxDateTime::Sunday_First
));
7934 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7935 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);