2 * FILE : src/msw/utils.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initutilsc
56 #define SWIG_name "utilsc"
59 #include <wx/config.h>
60 #include <wx/fileconf.h>
61 #include <wx/datetime.h>
64 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
70 } else if (target
== Py_None
) {
74 if (!PyTuple_Check(target
)) {
76 target
= PyTuple_New(1);
77 PyTuple_SetItem(target
, 0, o2
);
80 PyTuple_SetItem(o3
, 0, o
);
83 target
= PySequence_Concat(o2
, o3
);
90 #if PYTHON_API_VERSION >= 1009
91 static char* wxStringErrorMsg
= "String or Unicode type required";
93 static char* wxStringErrorMsg
= "String type required";
96 static wxString
wxPyEmptyStr("");
98 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
99 PyObject
* ret
= PyTuple_New(3);
101 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
102 PyTuple_SET_ITEM(ret
, 1, PyString_FromString(str
));
103 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
108 #define LOCAL *(new wxDateTime::TimeZone(wxDateTime::Local))
112 static PyObject
*_wrap_wxGetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
113 PyObject
* _resultobj
;
115 char *_kwnames
[] = { NULL
};
118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocalTime",_kwnames
))
121 wxPy_BEGIN_ALLOW_THREADS
;
122 _result
= (long )wxGetLocalTime();
124 wxPy_END_ALLOW_THREADS
;
125 if (PyErr_Occurred()) return NULL
;
126 } _resultobj
= Py_BuildValue("l",_result
);
130 static PyObject
*_wrap_wxGetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
131 PyObject
* _resultobj
;
133 char *_kwnames
[] = { NULL
};
136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUTCTime",_kwnames
))
139 wxPy_BEGIN_ALLOW_THREADS
;
140 _result
= (long )wxGetUTCTime();
142 wxPy_END_ALLOW_THREADS
;
143 if (PyErr_Occurred()) return NULL
;
144 } _resultobj
= Py_BuildValue("l",_result
);
148 static PyObject
*_wrap_wxGetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
149 PyObject
* _resultobj
;
151 char *_kwnames
[] = { NULL
};
154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentTime",_kwnames
))
157 wxPy_BEGIN_ALLOW_THREADS
;
158 _result
= (long )wxGetCurrentTime();
160 wxPy_END_ALLOW_THREADS
;
161 if (PyErr_Occurred()) return NULL
;
162 } _resultobj
= Py_BuildValue("l",_result
);
166 static PyObject
*_wrap_wxGetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
167 PyObject
* _resultobj
;
168 wxLongLong
* _result
;
169 char *_kwnames
[] = { NULL
};
172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocalTimeMillis",_kwnames
))
175 wxPy_BEGIN_ALLOW_THREADS
;
176 _result
= new wxLongLong (wxGetLocalTimeMillis());
178 wxPy_END_ALLOW_THREADS
;
179 if (PyErr_Occurred()) return NULL
;
181 PyObject
*hi
, *lo
, *shifter
, *shifted
;
182 hi
= PyLong_FromLong(_result
->GetHi());
183 lo
= PyLong_FromLong(_result
->GetLo());
184 shifter
= PyLong_FromLong(32);
185 shifted
= PyNumber_Lshift(hi
, shifter
);
186 _resultobj
= PyNumber_Or(shifted
, lo
);
195 #define delete_wxConfigBase(_swigobj) (delete _swigobj)
196 static PyObject
*_wrap_delete_wxConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
197 PyObject
* _resultobj
;
198 wxConfigBase
* _arg0
;
199 PyObject
* _argo0
= 0;
200 char *_kwnames
[] = { "self", NULL
};
203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxConfigBase",_kwnames
,&_argo0
))
206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxConfigBase. Expected _wxConfigBase_p.");
213 wxPy_BEGIN_ALLOW_THREADS
;
214 delete_wxConfigBase(_arg0
);
216 wxPy_END_ALLOW_THREADS
;
217 if (PyErr_Occurred()) return NULL
;
218 } Py_INCREF(Py_None
);
219 _resultobj
= Py_None
;
223 static PyObject
*_wrap_wxConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
224 PyObject
* _resultobj
;
225 wxConfigBase
* _result
;
226 wxConfigBase
* _arg0
;
227 PyObject
* _argo0
= 0;
228 char *_kwnames
[] = { "pConfig", NULL
};
232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_Set",_kwnames
,&_argo0
))
235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Set. Expected _wxConfigBase_p.");
242 wxPy_BEGIN_ALLOW_THREADS
;
243 _result
= (wxConfigBase
*)wxConfigBase::Set(_arg0
);
245 wxPy_END_ALLOW_THREADS
;
246 if (PyErr_Occurred()) return NULL
;
248 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
249 _resultobj
= Py_BuildValue("s",_ptemp
);
252 _resultobj
= Py_None
;
257 static PyObject
*_wrap_wxConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
258 PyObject
* _resultobj
;
259 wxConfigBase
* _result
;
260 bool _arg0
= (bool ) TRUE
;
261 int tempbool0
= (int) TRUE
;
262 char *_kwnames
[] = { "createOnDemand", NULL
};
266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxConfigBase_Get",_kwnames
,&tempbool0
))
268 _arg0
= (bool ) tempbool0
;
270 wxPy_BEGIN_ALLOW_THREADS
;
271 _result
= (wxConfigBase
*)wxConfigBase::Get(_arg0
);
273 wxPy_END_ALLOW_THREADS
;
274 if (PyErr_Occurred()) return NULL
;
276 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
277 _resultobj
= Py_BuildValue("s",_ptemp
);
280 _resultobj
= Py_None
;
285 static PyObject
*_wrap_wxConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
286 PyObject
* _resultobj
;
287 wxConfigBase
* _result
;
288 char *_kwnames
[] = { NULL
};
292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxConfigBase_Create",_kwnames
))
295 wxPy_BEGIN_ALLOW_THREADS
;
296 _result
= (wxConfigBase
*)wxConfigBase::Create();
298 wxPy_END_ALLOW_THREADS
;
299 if (PyErr_Occurred()) return NULL
;
301 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
302 _resultobj
= Py_BuildValue("s",_ptemp
);
305 _resultobj
= Py_None
;
310 static PyObject
*_wrap_wxConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
311 PyObject
* _resultobj
;
312 char *_kwnames
[] = { NULL
};
315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxConfigBase_DontCreateOnDemand",_kwnames
))
318 wxPy_BEGIN_ALLOW_THREADS
;
319 wxConfigBase::DontCreateOnDemand();
321 wxPy_END_ALLOW_THREADS
;
322 if (PyErr_Occurred()) return NULL
;
323 } Py_INCREF(Py_None
);
324 _resultobj
= Py_None
;
328 #define wxConfigBase_DeleteAll(_swigobj) (_swigobj->DeleteAll())
329 static PyObject
*_wrap_wxConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
330 PyObject
* _resultobj
;
332 wxConfigBase
* _arg0
;
333 PyObject
* _argo0
= 0;
334 char *_kwnames
[] = { "self", NULL
};
337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_DeleteAll",_kwnames
,&_argo0
))
340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteAll. Expected _wxConfigBase_p.");
347 wxPy_BEGIN_ALLOW_THREADS
;
348 _result
= (bool )wxConfigBase_DeleteAll(_arg0
);
350 wxPy_END_ALLOW_THREADS
;
351 if (PyErr_Occurred()) return NULL
;
352 } _resultobj
= Py_BuildValue("i",_result
);
356 #define wxConfigBase_DeleteEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteEntry(_swigarg0,_swigarg1))
357 static PyObject
*_wrap_wxConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
358 PyObject
* _resultobj
;
360 wxConfigBase
* _arg0
;
362 bool _arg2
= (bool ) TRUE
;
363 PyObject
* _argo0
= 0;
364 PyObject
* _obj1
= 0;
365 int tempbool2
= (int) TRUE
;
366 char *_kwnames
[] = { "self","key","bDeleteGroupIfEmpty", NULL
};
369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxConfigBase_DeleteEntry",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteEntry. Expected _wxConfigBase_p.");
379 #if PYTHON_API_VERSION >= 1009
380 char* tmpPtr
; int tmpSize
;
381 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
382 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
385 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
387 _arg1
= new wxString(tmpPtr
, tmpSize
);
389 if (!PyString_Check(_obj1
)) {
390 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
393 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
396 _arg2
= (bool ) tempbool2
;
398 wxPy_BEGIN_ALLOW_THREADS
;
399 _result
= (bool )wxConfigBase_DeleteEntry(_arg0
,*_arg1
,_arg2
);
401 wxPy_END_ALLOW_THREADS
;
402 if (PyErr_Occurred()) return NULL
;
403 } _resultobj
= Py_BuildValue("i",_result
);
411 #define wxConfigBase_DeleteGroup(_swigobj,_swigarg0) (_swigobj->DeleteGroup(_swigarg0))
412 static PyObject
*_wrap_wxConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
413 PyObject
* _resultobj
;
415 wxConfigBase
* _arg0
;
417 PyObject
* _argo0
= 0;
418 PyObject
* _obj1
= 0;
419 char *_kwnames
[] = { "self","key", NULL
};
422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_DeleteGroup",_kwnames
,&_argo0
,&_obj1
))
425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteGroup. Expected _wxConfigBase_p.");
432 #if PYTHON_API_VERSION >= 1009
433 char* tmpPtr
; int tmpSize
;
434 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
435 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
438 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
440 _arg1
= new wxString(tmpPtr
, tmpSize
);
442 if (!PyString_Check(_obj1
)) {
443 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
446 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
450 wxPy_BEGIN_ALLOW_THREADS
;
451 _result
= (bool )wxConfigBase_DeleteGroup(_arg0
,*_arg1
);
453 wxPy_END_ALLOW_THREADS
;
454 if (PyErr_Occurred()) return NULL
;
455 } _resultobj
= Py_BuildValue("i",_result
);
463 #define wxConfigBase_Exists(_swigobj,_swigarg0) (_swigobj->Exists(_swigarg0))
464 static PyObject
*_wrap_wxConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
465 PyObject
* _resultobj
;
467 wxConfigBase
* _arg0
;
469 PyObject
* _argo0
= 0;
470 PyObject
* _obj1
= 0;
471 char *_kwnames
[] = { "self","strName", NULL
};
474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_Exists",_kwnames
,&_argo0
,&_obj1
))
477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Exists. Expected _wxConfigBase_p.");
484 #if PYTHON_API_VERSION >= 1009
485 char* tmpPtr
; int tmpSize
;
486 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
487 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
490 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
492 _arg1
= new wxString(tmpPtr
, tmpSize
);
494 if (!PyString_Check(_obj1
)) {
495 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
498 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
502 wxPy_BEGIN_ALLOW_THREADS
;
503 _result
= (bool )wxConfigBase_Exists(_arg0
,*_arg1
);
505 wxPy_END_ALLOW_THREADS
;
506 if (PyErr_Occurred()) return NULL
;
507 } _resultobj
= Py_BuildValue("i",_result
);
515 #define wxConfigBase_Flush(_swigobj,_swigarg0) (_swigobj->Flush(_swigarg0))
516 static PyObject
*_wrap_wxConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
517 PyObject
* _resultobj
;
519 wxConfigBase
* _arg0
;
520 bool _arg1
= (bool ) FALSE
;
521 PyObject
* _argo0
= 0;
522 int tempbool1
= (int) FALSE
;
523 char *_kwnames
[] = { "self","bCurrentOnly", NULL
};
526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_Flush",_kwnames
,&_argo0
,&tempbool1
))
529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Flush. Expected _wxConfigBase_p.");
535 _arg1
= (bool ) tempbool1
;
537 wxPy_BEGIN_ALLOW_THREADS
;
538 _result
= (bool )wxConfigBase_Flush(_arg0
,_arg1
);
540 wxPy_END_ALLOW_THREADS
;
541 if (PyErr_Occurred()) return NULL
;
542 } _resultobj
= Py_BuildValue("i",_result
);
546 #define wxConfigBase_GetAppName(_swigobj) (_swigobj->GetAppName())
547 static PyObject
*_wrap_wxConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
548 PyObject
* _resultobj
;
550 wxConfigBase
* _arg0
;
551 PyObject
* _argo0
= 0;
552 char *_kwnames
[] = { "self", NULL
};
555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetAppName",_kwnames
,&_argo0
))
558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetAppName. Expected _wxConfigBase_p.");
565 wxPy_BEGIN_ALLOW_THREADS
;
566 _result
= new wxString (wxConfigBase_GetAppName(_arg0
));
568 wxPy_END_ALLOW_THREADS
;
569 if (PyErr_Occurred()) return NULL
;
571 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
579 static PyObject
* wxConfigBase_GetFirstGroup(wxConfigBase
*self
) {
584 cont
= self
->GetFirstGroup(value
, index
);
585 return __EnumerationHelper(cont
, value
, index
);
587 static PyObject
*_wrap_wxConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
588 PyObject
* _resultobj
;
590 wxConfigBase
* _arg0
;
591 PyObject
* _argo0
= 0;
592 char *_kwnames
[] = { "self", NULL
};
595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetFirstGroup",_kwnames
,&_argo0
))
598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetFirstGroup. Expected _wxConfigBase_p.");
605 wxPy_BEGIN_ALLOW_THREADS
;
606 _result
= (PyObject
*)wxConfigBase_GetFirstGroup(_arg0
);
608 wxPy_END_ALLOW_THREADS
;
609 if (PyErr_Occurred()) return NULL
;
611 _resultobj
= _result
;
616 static PyObject
* wxConfigBase_GetFirstEntry(wxConfigBase
*self
) {
621 cont
= self
->GetFirstEntry(value
, index
);
622 return __EnumerationHelper(cont
, value
, index
);
624 static PyObject
*_wrap_wxConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
625 PyObject
* _resultobj
;
627 wxConfigBase
* _arg0
;
628 PyObject
* _argo0
= 0;
629 char *_kwnames
[] = { "self", NULL
};
632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetFirstEntry",_kwnames
,&_argo0
))
635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetFirstEntry. Expected _wxConfigBase_p.");
642 wxPy_BEGIN_ALLOW_THREADS
;
643 _result
= (PyObject
*)wxConfigBase_GetFirstEntry(_arg0
);
645 wxPy_END_ALLOW_THREADS
;
646 if (PyErr_Occurred()) return NULL
;
648 _resultobj
= _result
;
653 static PyObject
* wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
) {
657 cont
= self
->GetNextGroup(value
, index
);
658 return __EnumerationHelper(cont
, value
, index
);
660 static PyObject
*_wrap_wxConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
661 PyObject
* _resultobj
;
663 wxConfigBase
* _arg0
;
665 PyObject
* _argo0
= 0;
666 char *_kwnames
[] = { "self","index", NULL
};
669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_GetNextGroup",_kwnames
,&_argo0
,&_arg1
))
672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNextGroup. Expected _wxConfigBase_p.");
679 wxPy_BEGIN_ALLOW_THREADS
;
680 _result
= (PyObject
*)wxConfigBase_GetNextGroup(_arg0
,_arg1
);
682 wxPy_END_ALLOW_THREADS
;
683 if (PyErr_Occurred()) return NULL
;
685 _resultobj
= _result
;
690 static PyObject
* wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
) {
694 cont
= self
->GetNextEntry(value
, index
);
695 return __EnumerationHelper(cont
, value
, index
);
697 static PyObject
*_wrap_wxConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
698 PyObject
* _resultobj
;
700 wxConfigBase
* _arg0
;
702 PyObject
* _argo0
= 0;
703 char *_kwnames
[] = { "self","index", NULL
};
706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_GetNextEntry",_kwnames
,&_argo0
,&_arg1
))
709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNextEntry. Expected _wxConfigBase_p.");
716 wxPy_BEGIN_ALLOW_THREADS
;
717 _result
= (PyObject
*)wxConfigBase_GetNextEntry(_arg0
,_arg1
);
719 wxPy_END_ALLOW_THREADS
;
720 if (PyErr_Occurred()) return NULL
;
722 _resultobj
= _result
;
727 #define wxConfigBase_GetNumberOfEntries(_swigobj,_swigarg0) (_swigobj->GetNumberOfEntries(_swigarg0))
728 static PyObject
*_wrap_wxConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
729 PyObject
* _resultobj
;
731 wxConfigBase
* _arg0
;
732 bool _arg1
= (bool ) FALSE
;
733 PyObject
* _argo0
= 0;
734 int tempbool1
= (int) FALSE
;
735 char *_kwnames
[] = { "self","bRecursive", NULL
};
738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_GetNumberOfEntries",_kwnames
,&_argo0
,&tempbool1
))
741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNumberOfEntries. Expected _wxConfigBase_p.");
747 _arg1
= (bool ) tempbool1
;
749 wxPy_BEGIN_ALLOW_THREADS
;
750 _result
= (int )wxConfigBase_GetNumberOfEntries(_arg0
,_arg1
);
752 wxPy_END_ALLOW_THREADS
;
753 if (PyErr_Occurred()) return NULL
;
754 } _resultobj
= Py_BuildValue("i",_result
);
758 #define wxConfigBase_GetNumberOfGroups(_swigobj,_swigarg0) (_swigobj->GetNumberOfGroups(_swigarg0))
759 static PyObject
*_wrap_wxConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
760 PyObject
* _resultobj
;
762 wxConfigBase
* _arg0
;
763 bool _arg1
= (bool ) FALSE
;
764 PyObject
* _argo0
= 0;
765 int tempbool1
= (int) FALSE
;
766 char *_kwnames
[] = { "self","bRecursive", NULL
};
769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_GetNumberOfGroups",_kwnames
,&_argo0
,&tempbool1
))
772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNumberOfGroups. Expected _wxConfigBase_p.");
778 _arg1
= (bool ) tempbool1
;
780 wxPy_BEGIN_ALLOW_THREADS
;
781 _result
= (int )wxConfigBase_GetNumberOfGroups(_arg0
,_arg1
);
783 wxPy_END_ALLOW_THREADS
;
784 if (PyErr_Occurred()) return NULL
;
785 } _resultobj
= Py_BuildValue("i",_result
);
789 #define wxConfigBase_GetPath(_swigobj) (_swigobj->GetPath())
790 static PyObject
*_wrap_wxConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
791 PyObject
* _resultobj
;
793 wxConfigBase
* _arg0
;
794 PyObject
* _argo0
= 0;
795 char *_kwnames
[] = { "self", NULL
};
798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetPath",_kwnames
,&_argo0
))
801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetPath. Expected _wxConfigBase_p.");
808 wxPy_BEGIN_ALLOW_THREADS
;
809 _result
= new wxString (wxConfigBase_GetPath(_arg0
));
811 wxPy_END_ALLOW_THREADS
;
812 if (PyErr_Occurred()) return NULL
;
814 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
822 #define wxConfigBase_GetVendorName(_swigobj) (_swigobj->GetVendorName())
823 static PyObject
*_wrap_wxConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
824 PyObject
* _resultobj
;
826 wxConfigBase
* _arg0
;
827 PyObject
* _argo0
= 0;
828 char *_kwnames
[] = { "self", NULL
};
831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetVendorName",_kwnames
,&_argo0
))
834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetVendorName. Expected _wxConfigBase_p.");
841 wxPy_BEGIN_ALLOW_THREADS
;
842 _result
= new wxString (wxConfigBase_GetVendorName(_arg0
));
844 wxPy_END_ALLOW_THREADS
;
845 if (PyErr_Occurred()) return NULL
;
847 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
855 #define wxConfigBase_HasEntry(_swigobj,_swigarg0) (_swigobj->HasEntry(_swigarg0))
856 static PyObject
*_wrap_wxConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
857 PyObject
* _resultobj
;
859 wxConfigBase
* _arg0
;
861 PyObject
* _argo0
= 0;
862 PyObject
* _obj1
= 0;
863 char *_kwnames
[] = { "self","strName", NULL
};
866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_HasEntry",_kwnames
,&_argo0
,&_obj1
))
869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_HasEntry. Expected _wxConfigBase_p.");
876 #if PYTHON_API_VERSION >= 1009
877 char* tmpPtr
; int tmpSize
;
878 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
879 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
882 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
884 _arg1
= new wxString(tmpPtr
, tmpSize
);
886 if (!PyString_Check(_obj1
)) {
887 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
890 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
894 wxPy_BEGIN_ALLOW_THREADS
;
895 _result
= (bool )wxConfigBase_HasEntry(_arg0
,*_arg1
);
897 wxPy_END_ALLOW_THREADS
;
898 if (PyErr_Occurred()) return NULL
;
899 } _resultobj
= Py_BuildValue("i",_result
);
907 #define wxConfigBase_HasGroup(_swigobj,_swigarg0) (_swigobj->HasGroup(_swigarg0))
908 static PyObject
*_wrap_wxConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
909 PyObject
* _resultobj
;
911 wxConfigBase
* _arg0
;
913 PyObject
* _argo0
= 0;
914 PyObject
* _obj1
= 0;
915 char *_kwnames
[] = { "self","strName", NULL
};
918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_HasGroup",_kwnames
,&_argo0
,&_obj1
))
921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_HasGroup. Expected _wxConfigBase_p.");
928 #if PYTHON_API_VERSION >= 1009
929 char* tmpPtr
; int tmpSize
;
930 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
931 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
934 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
936 _arg1
= new wxString(tmpPtr
, tmpSize
);
938 if (!PyString_Check(_obj1
)) {
939 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
942 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
946 wxPy_BEGIN_ALLOW_THREADS
;
947 _result
= (bool )wxConfigBase_HasGroup(_arg0
,*_arg1
);
949 wxPy_END_ALLOW_THREADS
;
950 if (PyErr_Occurred()) return NULL
;
951 } _resultobj
= Py_BuildValue("i",_result
);
959 #define wxConfigBase_IsExpandingEnvVars(_swigobj) (_swigobj->IsExpandingEnvVars())
960 static PyObject
*_wrap_wxConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
961 PyObject
* _resultobj
;
963 wxConfigBase
* _arg0
;
964 PyObject
* _argo0
= 0;
965 char *_kwnames
[] = { "self", NULL
};
968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_IsExpandingEnvVars",_kwnames
,&_argo0
))
971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_IsExpandingEnvVars. Expected _wxConfigBase_p.");
978 wxPy_BEGIN_ALLOW_THREADS
;
979 _result
= (bool )wxConfigBase_IsExpandingEnvVars(_arg0
);
981 wxPy_END_ALLOW_THREADS
;
982 if (PyErr_Occurred()) return NULL
;
983 } _resultobj
= Py_BuildValue("i",_result
);
987 #define wxConfigBase_IsRecordingDefaults(_swigobj) (_swigobj->IsRecordingDefaults())
988 static PyObject
*_wrap_wxConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
989 PyObject
* _resultobj
;
991 wxConfigBase
* _arg0
;
992 PyObject
* _argo0
= 0;
993 char *_kwnames
[] = { "self", NULL
};
996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_IsRecordingDefaults",_kwnames
,&_argo0
))
999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_IsRecordingDefaults. Expected _wxConfigBase_p.");
1006 wxPy_BEGIN_ALLOW_THREADS
;
1007 _result
= (bool )wxConfigBase_IsRecordingDefaults(_arg0
);
1009 wxPy_END_ALLOW_THREADS
;
1010 if (PyErr_Occurred()) return NULL
;
1011 } _resultobj
= Py_BuildValue("i",_result
);
1015 #define wxConfigBase_Read(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
1016 static PyObject
*_wrap_wxConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1017 PyObject
* _resultobj
;
1019 wxConfigBase
* _arg0
;
1021 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
1022 PyObject
* _argo0
= 0;
1023 PyObject
* _obj1
= 0;
1024 PyObject
* _obj2
= 0;
1025 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxConfigBase_Read",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Read. Expected _wxConfigBase_p.");
1038 #if PYTHON_API_VERSION >= 1009
1039 char* tmpPtr
; int tmpSize
;
1040 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1041 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1044 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1046 _arg1
= new wxString(tmpPtr
, tmpSize
);
1048 if (!PyString_Check(_obj1
)) {
1049 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1052 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1057 #if PYTHON_API_VERSION >= 1009
1058 char* tmpPtr
; int tmpSize
;
1059 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1060 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1063 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1065 _arg2
= new wxString(tmpPtr
, tmpSize
);
1067 if (!PyString_Check(_obj2
)) {
1068 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1071 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1075 wxPy_BEGIN_ALLOW_THREADS
;
1076 _result
= new wxString (wxConfigBase_Read(_arg0
,*_arg1
,*_arg2
));
1078 wxPy_END_ALLOW_THREADS
;
1079 if (PyErr_Occurred()) return NULL
;
1081 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1097 #define wxConfigBase_ReadInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
1098 static PyObject
*_wrap_wxConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1099 PyObject
* _resultobj
;
1101 wxConfigBase
* _arg0
;
1103 long _arg2
= (long ) 0;
1104 PyObject
* _argo0
= 0;
1105 PyObject
* _obj1
= 0;
1106 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|l:wxConfigBase_ReadInt",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadInt. Expected _wxConfigBase_p.");
1119 #if PYTHON_API_VERSION >= 1009
1120 char* tmpPtr
; int tmpSize
;
1121 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1122 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1125 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1127 _arg1
= new wxString(tmpPtr
, tmpSize
);
1129 if (!PyString_Check(_obj1
)) {
1130 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1133 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1137 wxPy_BEGIN_ALLOW_THREADS
;
1138 _result
= (long )wxConfigBase_ReadInt(_arg0
,*_arg1
,_arg2
);
1140 wxPy_END_ALLOW_THREADS
;
1141 if (PyErr_Occurred()) return NULL
;
1142 } _resultobj
= Py_BuildValue("l",_result
);
1150 #define wxConfigBase_ReadFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
1151 static PyObject
*_wrap_wxConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1152 PyObject
* _resultobj
;
1154 wxConfigBase
* _arg0
;
1156 double _arg2
= (double ) 0.0;
1157 PyObject
* _argo0
= 0;
1158 PyObject
* _obj1
= 0;
1159 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|d:wxConfigBase_ReadFloat",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadFloat. Expected _wxConfigBase_p.");
1172 #if PYTHON_API_VERSION >= 1009
1173 char* tmpPtr
; int tmpSize
;
1174 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1175 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1178 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1180 _arg1
= new wxString(tmpPtr
, tmpSize
);
1182 if (!PyString_Check(_obj1
)) {
1183 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1186 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1190 wxPy_BEGIN_ALLOW_THREADS
;
1191 _result
= (double )wxConfigBase_ReadFloat(_arg0
,*_arg1
,_arg2
);
1193 wxPy_END_ALLOW_THREADS
;
1194 if (PyErr_Occurred()) return NULL
;
1195 } _resultobj
= Py_BuildValue("d",_result
);
1203 #define wxConfigBase_SetExpandEnvVars(_swigobj,_swigarg0) (_swigobj->SetExpandEnvVars(_swigarg0))
1204 static PyObject
*_wrap_wxConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1205 PyObject
* _resultobj
;
1206 wxConfigBase
* _arg0
;
1207 bool _arg1
= (bool ) TRUE
;
1208 PyObject
* _argo0
= 0;
1209 int tempbool1
= (int) TRUE
;
1210 char *_kwnames
[] = { "self","bDoIt", NULL
};
1213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_SetExpandEnvVars",_kwnames
,&_argo0
,&tempbool1
))
1216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetExpandEnvVars. Expected _wxConfigBase_p.");
1222 _arg1
= (bool ) tempbool1
;
1224 wxPy_BEGIN_ALLOW_THREADS
;
1225 wxConfigBase_SetExpandEnvVars(_arg0
,_arg1
);
1227 wxPy_END_ALLOW_THREADS
;
1228 if (PyErr_Occurred()) return NULL
;
1229 } Py_INCREF(Py_None
);
1230 _resultobj
= Py_None
;
1234 #define wxConfigBase_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1235 static PyObject
*_wrap_wxConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1236 PyObject
* _resultobj
;
1237 wxConfigBase
* _arg0
;
1239 PyObject
* _argo0
= 0;
1240 PyObject
* _obj1
= 0;
1241 char *_kwnames
[] = { "self","strPath", NULL
};
1244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetPath",_kwnames
,&_argo0
,&_obj1
))
1247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetPath. Expected _wxConfigBase_p.");
1254 #if PYTHON_API_VERSION >= 1009
1255 char* tmpPtr
; int tmpSize
;
1256 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1257 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1260 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1262 _arg1
= new wxString(tmpPtr
, tmpSize
);
1264 if (!PyString_Check(_obj1
)) {
1265 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1268 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1272 wxPy_BEGIN_ALLOW_THREADS
;
1273 wxConfigBase_SetPath(_arg0
,*_arg1
);
1275 wxPy_END_ALLOW_THREADS
;
1276 if (PyErr_Occurred()) return NULL
;
1277 } Py_INCREF(Py_None
);
1278 _resultobj
= Py_None
;
1286 #define wxConfigBase_SetRecordDefaults(_swigobj,_swigarg0) (_swigobj->SetRecordDefaults(_swigarg0))
1287 static PyObject
*_wrap_wxConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1288 PyObject
* _resultobj
;
1289 wxConfigBase
* _arg0
;
1290 bool _arg1
= (bool ) TRUE
;
1291 PyObject
* _argo0
= 0;
1292 int tempbool1
= (int) TRUE
;
1293 char *_kwnames
[] = { "self","bDoIt", NULL
};
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_SetRecordDefaults",_kwnames
,&_argo0
,&tempbool1
))
1299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetRecordDefaults. Expected _wxConfigBase_p.");
1305 _arg1
= (bool ) tempbool1
;
1307 wxPy_BEGIN_ALLOW_THREADS
;
1308 wxConfigBase_SetRecordDefaults(_arg0
,_arg1
);
1310 wxPy_END_ALLOW_THREADS
;
1311 if (PyErr_Occurred()) return NULL
;
1312 } Py_INCREF(Py_None
);
1313 _resultobj
= Py_None
;
1317 #define wxConfigBase_SetAppName(_swigobj,_swigarg0) (_swigobj->SetAppName(_swigarg0))
1318 static PyObject
*_wrap_wxConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1319 PyObject
* _resultobj
;
1320 wxConfigBase
* _arg0
;
1322 PyObject
* _argo0
= 0;
1323 PyObject
* _obj1
= 0;
1324 char *_kwnames
[] = { "self","appName", NULL
};
1327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetAppName",_kwnames
,&_argo0
,&_obj1
))
1330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetAppName. Expected _wxConfigBase_p.");
1337 #if PYTHON_API_VERSION >= 1009
1338 char* tmpPtr
; int tmpSize
;
1339 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1340 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1343 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1345 _arg1
= new wxString(tmpPtr
, tmpSize
);
1347 if (!PyString_Check(_obj1
)) {
1348 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1351 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1355 wxPy_BEGIN_ALLOW_THREADS
;
1356 wxConfigBase_SetAppName(_arg0
,*_arg1
);
1358 wxPy_END_ALLOW_THREADS
;
1359 if (PyErr_Occurred()) return NULL
;
1360 } Py_INCREF(Py_None
);
1361 _resultobj
= Py_None
;
1369 #define wxConfigBase_SetVendorName(_swigobj,_swigarg0) (_swigobj->SetVendorName(_swigarg0))
1370 static PyObject
*_wrap_wxConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1371 PyObject
* _resultobj
;
1372 wxConfigBase
* _arg0
;
1374 PyObject
* _argo0
= 0;
1375 PyObject
* _obj1
= 0;
1376 char *_kwnames
[] = { "self","vendorName", NULL
};
1379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetVendorName",_kwnames
,&_argo0
,&_obj1
))
1382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetVendorName. Expected _wxConfigBase_p.");
1389 #if PYTHON_API_VERSION >= 1009
1390 char* tmpPtr
; int tmpSize
;
1391 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1392 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1395 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1397 _arg1
= new wxString(tmpPtr
, tmpSize
);
1399 if (!PyString_Check(_obj1
)) {
1400 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1403 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1407 wxPy_BEGIN_ALLOW_THREADS
;
1408 wxConfigBase_SetVendorName(_arg0
,*_arg1
);
1410 wxPy_END_ALLOW_THREADS
;
1411 if (PyErr_Occurred()) return NULL
;
1412 } Py_INCREF(Py_None
);
1413 _resultobj
= Py_None
;
1421 #define wxConfigBase_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1422 static PyObject
*_wrap_wxConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
* _resultobj
;
1424 wxConfigBase
* _arg0
;
1426 PyObject
* _argo0
= 0;
1427 char *_kwnames
[] = { "self","style", NULL
};
1430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetStyle. Expected _wxConfigBase_p.");
1440 wxPy_BEGIN_ALLOW_THREADS
;
1441 wxConfigBase_SetStyle(_arg0
,_arg1
);
1443 wxPy_END_ALLOW_THREADS
;
1444 if (PyErr_Occurred()) return NULL
;
1445 } Py_INCREF(Py_None
);
1446 _resultobj
= Py_None
;
1450 #define wxConfigBase_GetStyle(_swigobj) (_swigobj->GetStyle())
1451 static PyObject
*_wrap_wxConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1452 PyObject
* _resultobj
;
1454 wxConfigBase
* _arg0
;
1455 PyObject
* _argo0
= 0;
1456 char *_kwnames
[] = { "self", NULL
};
1459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetStyle",_kwnames
,&_argo0
))
1462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetStyle. Expected _wxConfigBase_p.");
1469 wxPy_BEGIN_ALLOW_THREADS
;
1470 _result
= (long )wxConfigBase_GetStyle(_arg0
);
1472 wxPy_END_ALLOW_THREADS
;
1473 if (PyErr_Occurred()) return NULL
;
1474 } _resultobj
= Py_BuildValue("l",_result
);
1478 #define wxConfigBase_Write(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1479 static PyObject
*_wrap_wxConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
* _resultobj
;
1482 wxConfigBase
* _arg0
;
1485 PyObject
* _argo0
= 0;
1486 PyObject
* _obj1
= 0;
1487 PyObject
* _obj2
= 0;
1488 char *_kwnames
[] = { "self","key","value", NULL
};
1491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_Write",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Write. Expected _wxConfigBase_p.");
1501 #if PYTHON_API_VERSION >= 1009
1502 char* tmpPtr
; int tmpSize
;
1503 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1504 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1507 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1509 _arg1
= new wxString(tmpPtr
, tmpSize
);
1511 if (!PyString_Check(_obj1
)) {
1512 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1515 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1519 #if PYTHON_API_VERSION >= 1009
1520 char* tmpPtr
; int tmpSize
;
1521 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1522 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1525 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1527 _arg2
= new wxString(tmpPtr
, tmpSize
);
1529 if (!PyString_Check(_obj2
)) {
1530 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1533 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1537 wxPy_BEGIN_ALLOW_THREADS
;
1538 _result
= (bool )wxConfigBase_Write(_arg0
,*_arg1
,*_arg2
);
1540 wxPy_END_ALLOW_THREADS
;
1541 if (PyErr_Occurred()) return NULL
;
1542 } _resultobj
= Py_BuildValue("i",_result
);
1554 #define wxConfigBase_WriteInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1555 static PyObject
*_wrap_wxConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1556 PyObject
* _resultobj
;
1558 wxConfigBase
* _arg0
;
1561 PyObject
* _argo0
= 0;
1562 PyObject
* _obj1
= 0;
1563 char *_kwnames
[] = { "self","key","value", NULL
};
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxConfigBase_WriteInt",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteInt. Expected _wxConfigBase_p.");
1576 #if PYTHON_API_VERSION >= 1009
1577 char* tmpPtr
; int tmpSize
;
1578 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1579 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1582 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1584 _arg1
= new wxString(tmpPtr
, tmpSize
);
1586 if (!PyString_Check(_obj1
)) {
1587 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1590 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1594 wxPy_BEGIN_ALLOW_THREADS
;
1595 _result
= (bool )wxConfigBase_WriteInt(_arg0
,*_arg1
,_arg2
);
1597 wxPy_END_ALLOW_THREADS
;
1598 if (PyErr_Occurred()) return NULL
;
1599 } _resultobj
= Py_BuildValue("i",_result
);
1607 #define wxConfigBase_WriteFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1608 static PyObject
*_wrap_wxConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1609 PyObject
* _resultobj
;
1611 wxConfigBase
* _arg0
;
1614 PyObject
* _argo0
= 0;
1615 PyObject
* _obj1
= 0;
1616 char *_kwnames
[] = { "self","key","value", NULL
};
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOd:wxConfigBase_WriteFloat",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteFloat. Expected _wxConfigBase_p.");
1629 #if PYTHON_API_VERSION >= 1009
1630 char* tmpPtr
; int tmpSize
;
1631 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1632 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1635 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1637 _arg1
= new wxString(tmpPtr
, tmpSize
);
1639 if (!PyString_Check(_obj1
)) {
1640 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1643 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1647 wxPy_BEGIN_ALLOW_THREADS
;
1648 _result
= (bool )wxConfigBase_WriteFloat(_arg0
,*_arg1
,_arg2
);
1650 wxPy_END_ALLOW_THREADS
;
1651 if (PyErr_Occurred()) return NULL
;
1652 } _resultobj
= Py_BuildValue("i",_result
);
1660 #define wxConfigBase_GetEntryType(_swigobj,_swigarg0) (_swigobj->GetEntryType(_swigarg0))
1661 static PyObject
*_wrap_wxConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
* _resultobj
;
1663 wxConfigBase::EntryType _result
;
1664 wxConfigBase
* _arg0
;
1666 PyObject
* _argo0
= 0;
1667 PyObject
* _obj1
= 0;
1668 char *_kwnames
[] = { "self","name", NULL
};
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_GetEntryType",_kwnames
,&_argo0
,&_obj1
))
1674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetEntryType. Expected _wxConfigBase_p.");
1681 #if PYTHON_API_VERSION >= 1009
1682 char* tmpPtr
; int tmpSize
;
1683 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1684 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1687 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1689 _arg1
= new wxString(tmpPtr
, tmpSize
);
1691 if (!PyString_Check(_obj1
)) {
1692 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1695 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1699 wxPy_BEGIN_ALLOW_THREADS
;
1700 _result
= (wxConfigBase::EntryType
)wxConfigBase_GetEntryType(_arg0
,*_arg1
);
1702 wxPy_END_ALLOW_THREADS
;
1703 if (PyErr_Occurred()) return NULL
;
1704 } _resultobj
= Py_BuildValue("i",_result
);
1712 #define wxConfigBase_RenameEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameEntry(_swigarg0,_swigarg1))
1713 static PyObject
*_wrap_wxConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
* _resultobj
;
1716 wxConfigBase
* _arg0
;
1719 PyObject
* _argo0
= 0;
1720 PyObject
* _obj1
= 0;
1721 PyObject
* _obj2
= 0;
1722 char *_kwnames
[] = { "self","oldName","newName", NULL
};
1725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_RenameEntry",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_RenameEntry. Expected _wxConfigBase_p.");
1735 #if PYTHON_API_VERSION >= 1009
1736 char* tmpPtr
; int tmpSize
;
1737 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1738 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1741 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1743 _arg1
= new wxString(tmpPtr
, tmpSize
);
1745 if (!PyString_Check(_obj1
)) {
1746 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1749 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1753 #if PYTHON_API_VERSION >= 1009
1754 char* tmpPtr
; int tmpSize
;
1755 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1756 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1759 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1761 _arg2
= new wxString(tmpPtr
, tmpSize
);
1763 if (!PyString_Check(_obj2
)) {
1764 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1767 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1771 wxPy_BEGIN_ALLOW_THREADS
;
1772 _result
= (bool )wxConfigBase_RenameEntry(_arg0
,*_arg1
,*_arg2
);
1774 wxPy_END_ALLOW_THREADS
;
1775 if (PyErr_Occurred()) return NULL
;
1776 } _resultobj
= Py_BuildValue("i",_result
);
1788 #define wxConfigBase_RenameGroup(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameGroup(_swigarg0,_swigarg1))
1789 static PyObject
*_wrap_wxConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1790 PyObject
* _resultobj
;
1792 wxConfigBase
* _arg0
;
1795 PyObject
* _argo0
= 0;
1796 PyObject
* _obj1
= 0;
1797 PyObject
* _obj2
= 0;
1798 char *_kwnames
[] = { "self","oldName","newName", NULL
};
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_RenameGroup",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_RenameGroup. Expected _wxConfigBase_p.");
1811 #if PYTHON_API_VERSION >= 1009
1812 char* tmpPtr
; int tmpSize
;
1813 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1814 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1817 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1819 _arg1
= new wxString(tmpPtr
, tmpSize
);
1821 if (!PyString_Check(_obj1
)) {
1822 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1825 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1829 #if PYTHON_API_VERSION >= 1009
1830 char* tmpPtr
; int tmpSize
;
1831 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1832 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1835 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1837 _arg2
= new wxString(tmpPtr
, tmpSize
);
1839 if (!PyString_Check(_obj2
)) {
1840 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1843 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1847 wxPy_BEGIN_ALLOW_THREADS
;
1848 _result
= (bool )wxConfigBase_RenameGroup(_arg0
,*_arg1
,*_arg2
);
1850 wxPy_END_ALLOW_THREADS
;
1851 if (PyErr_Occurred()) return NULL
;
1852 } _resultobj
= Py_BuildValue("i",_result
);
1864 #define wxConfigBase_ExpandEnvVars(_swigobj,_swigarg0) (_swigobj->ExpandEnvVars(_swigarg0))
1865 static PyObject
*_wrap_wxConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
* _resultobj
;
1868 wxConfigBase
* _arg0
;
1870 PyObject
* _argo0
= 0;
1871 PyObject
* _obj1
= 0;
1872 char *_kwnames
[] = { "self","str", NULL
};
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_ExpandEnvVars",_kwnames
,&_argo0
,&_obj1
))
1878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ExpandEnvVars. Expected _wxConfigBase_p.");
1885 #if PYTHON_API_VERSION >= 1009
1886 char* tmpPtr
; int tmpSize
;
1887 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1888 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1891 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1893 _arg1
= new wxString(tmpPtr
, tmpSize
);
1895 if (!PyString_Check(_obj1
)) {
1896 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1899 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1903 wxPy_BEGIN_ALLOW_THREADS
;
1904 _result
= new wxString (wxConfigBase_ExpandEnvVars(_arg0
,*_arg1
));
1906 wxPy_END_ALLOW_THREADS
;
1907 if (PyErr_Occurred()) return NULL
;
1909 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1921 static void *SwigwxConfigTowxConfigBase(void *ptr
) {
1924 src
= (wxConfig
*) ptr
;
1925 dest
= (wxConfigBase
*) src
;
1926 return (void *) dest
;
1929 #define new_wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1930 static PyObject
*_wrap_new_wxConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1931 PyObject
* _resultobj
;
1933 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
1934 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
1935 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
1936 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
1937 long _arg4
= (long ) 0;
1938 PyObject
* _obj0
= 0;
1939 PyObject
* _obj1
= 0;
1940 PyObject
* _obj2
= 0;
1941 PyObject
* _obj3
= 0;
1942 char *_kwnames
[] = { "appName","vendorName","localFilename","globalFilename","style", NULL
};
1946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOl:new_wxConfig",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
))
1950 #if PYTHON_API_VERSION >= 1009
1951 char* tmpPtr
; int tmpSize
;
1952 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1953 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1956 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1958 _arg0
= new wxString(tmpPtr
, tmpSize
);
1960 if (!PyString_Check(_obj0
)) {
1961 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1964 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1969 #if PYTHON_API_VERSION >= 1009
1970 char* tmpPtr
; int tmpSize
;
1971 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1972 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1975 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1977 _arg1
= new wxString(tmpPtr
, tmpSize
);
1979 if (!PyString_Check(_obj1
)) {
1980 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1983 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1988 #if PYTHON_API_VERSION >= 1009
1989 char* tmpPtr
; int tmpSize
;
1990 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1991 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1994 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1996 _arg2
= new wxString(tmpPtr
, tmpSize
);
1998 if (!PyString_Check(_obj2
)) {
1999 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2002 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2007 #if PYTHON_API_VERSION >= 1009
2008 char* tmpPtr
; int tmpSize
;
2009 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2010 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2013 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2015 _arg3
= new wxString(tmpPtr
, tmpSize
);
2017 if (!PyString_Check(_obj3
)) {
2018 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2021 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2025 wxPy_BEGIN_ALLOW_THREADS
;
2026 _result
= (wxConfig
*)new_wxConfig(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
2028 wxPy_END_ALLOW_THREADS
;
2029 if (PyErr_Occurred()) return NULL
;
2031 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfig_p");
2032 _resultobj
= Py_BuildValue("s",_ptemp
);
2035 _resultobj
= Py_None
;
2056 #define delete_wxConfig(_swigobj) (delete _swigobj)
2057 static PyObject
*_wrap_delete_wxConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2058 PyObject
* _resultobj
;
2060 PyObject
* _argo0
= 0;
2061 char *_kwnames
[] = { "self", NULL
};
2064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxConfig",_kwnames
,&_argo0
))
2067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfig_p")) {
2069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxConfig. Expected _wxConfig_p.");
2074 wxPy_BEGIN_ALLOW_THREADS
;
2075 delete_wxConfig(_arg0
);
2077 wxPy_END_ALLOW_THREADS
;
2078 if (PyErr_Occurred()) return NULL
;
2079 } Py_INCREF(Py_None
);
2080 _resultobj
= Py_None
;
2084 static void *SwigwxFileConfigTowxConfigBase(void *ptr
) {
2087 src
= (wxFileConfig
*) ptr
;
2088 dest
= (wxConfigBase
*) src
;
2089 return (void *) dest
;
2092 #define new_wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2093 static PyObject
*_wrap_new_wxFileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2094 PyObject
* _resultobj
;
2095 wxFileConfig
* _result
;
2096 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
2097 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
2098 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
2099 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
2100 long _arg4
= (long ) 0;
2101 PyObject
* _obj0
= 0;
2102 PyObject
* _obj1
= 0;
2103 PyObject
* _obj2
= 0;
2104 PyObject
* _obj3
= 0;
2105 char *_kwnames
[] = { "appName","vendorName","localFilename","globalFilename","style", NULL
};
2109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOl:new_wxFileConfig",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
))
2113 #if PYTHON_API_VERSION >= 1009
2114 char* tmpPtr
; int tmpSize
;
2115 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2116 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2119 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2121 _arg0
= new wxString(tmpPtr
, tmpSize
);
2123 if (!PyString_Check(_obj0
)) {
2124 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2127 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2132 #if PYTHON_API_VERSION >= 1009
2133 char* tmpPtr
; int tmpSize
;
2134 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2135 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2138 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2140 _arg1
= new wxString(tmpPtr
, tmpSize
);
2142 if (!PyString_Check(_obj1
)) {
2143 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2146 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2151 #if PYTHON_API_VERSION >= 1009
2152 char* tmpPtr
; int tmpSize
;
2153 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2154 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2157 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2159 _arg2
= new wxString(tmpPtr
, tmpSize
);
2161 if (!PyString_Check(_obj2
)) {
2162 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2165 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2170 #if PYTHON_API_VERSION >= 1009
2171 char* tmpPtr
; int tmpSize
;
2172 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2173 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2176 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2178 _arg3
= new wxString(tmpPtr
, tmpSize
);
2180 if (!PyString_Check(_obj3
)) {
2181 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2184 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2188 wxPy_BEGIN_ALLOW_THREADS
;
2189 _result
= (wxFileConfig
*)new_wxFileConfig(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
2191 wxPy_END_ALLOW_THREADS
;
2192 if (PyErr_Occurred()) return NULL
;
2194 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileConfig_p");
2195 _resultobj
= Py_BuildValue("s",_ptemp
);
2198 _resultobj
= Py_None
;
2219 #define delete_wxFileConfig(_swigobj) (delete _swigobj)
2220 static PyObject
*_wrap_delete_wxFileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2222 wxFileConfig
* _arg0
;
2223 PyObject
* _argo0
= 0;
2224 char *_kwnames
[] = { "self", NULL
};
2227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileConfig",_kwnames
,&_argo0
))
2230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileConfig_p")) {
2232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileConfig. Expected _wxFileConfig_p.");
2237 wxPy_BEGIN_ALLOW_THREADS
;
2238 delete_wxFileConfig(_arg0
);
2240 wxPy_END_ALLOW_THREADS
;
2241 if (PyErr_Occurred()) return NULL
;
2242 } Py_INCREF(Py_None
);
2243 _resultobj
= Py_None
;
2247 static PyObject
*_wrap_wxDateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
* _resultobj
;
2249 wxDateTime::Country _arg0
;
2250 char *_kwnames
[] = { "country", NULL
};
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateTime_SetCountry",_kwnames
,&_arg0
))
2256 wxPy_BEGIN_ALLOW_THREADS
;
2257 wxDateTime::SetCountry(_arg0
);
2259 wxPy_END_ALLOW_THREADS
;
2260 if (PyErr_Occurred()) return NULL
;
2261 } Py_INCREF(Py_None
);
2262 _resultobj
= Py_None
;
2266 static PyObject
*_wrap_wxDateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
* _resultobj
;
2268 wxDateTime::Country _result
;
2269 char *_kwnames
[] = { NULL
};
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_GetCountry",_kwnames
))
2275 wxPy_BEGIN_ALLOW_THREADS
;
2276 _result
= (wxDateTime::Country
)wxDateTime::GetCountry();
2278 wxPy_END_ALLOW_THREADS
;
2279 if (PyErr_Occurred()) return NULL
;
2280 } _resultobj
= Py_BuildValue("i",_result
);
2284 static PyObject
*_wrap_wxDateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
* _resultobj
;
2287 wxDateTime::Country _arg0
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2288 char *_kwnames
[] = { "country", NULL
};
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_IsWestEuropeanCountry",_kwnames
,&_arg0
))
2294 wxPy_BEGIN_ALLOW_THREADS
;
2295 _result
= (bool )wxDateTime::IsWestEuropeanCountry(_arg0
);
2297 wxPy_END_ALLOW_THREADS
;
2298 if (PyErr_Occurred()) return NULL
;
2299 } _resultobj
= Py_BuildValue("i",_result
);
2303 static PyObject
*_wrap_wxDateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2304 PyObject
* _resultobj
;
2306 wxDateTime::Calendar _arg0
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2307 char *_kwnames
[] = { "cal", NULL
};
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCurrentYear",_kwnames
,&_arg0
))
2313 wxPy_BEGIN_ALLOW_THREADS
;
2314 _result
= (int )wxDateTime::GetCurrentYear(_arg0
);
2316 wxPy_END_ALLOW_THREADS
;
2317 if (PyErr_Occurred()) return NULL
;
2318 } _resultobj
= Py_BuildValue("i",_result
);
2322 static PyObject
*_wrap_wxDateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2323 PyObject
* _resultobj
;
2326 char *_kwnames
[] = { "year", NULL
};
2329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateTime_ConvertYearToBC",_kwnames
,&_arg0
))
2332 wxPy_BEGIN_ALLOW_THREADS
;
2333 _result
= (int )wxDateTime::ConvertYearToBC(_arg0
);
2335 wxPy_END_ALLOW_THREADS
;
2336 if (PyErr_Occurred()) return NULL
;
2337 } _resultobj
= Py_BuildValue("i",_result
);
2341 static PyObject
*_wrap_wxDateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
* _resultobj
;
2343 wxDateTime::Month _result
;
2344 wxDateTime::Calendar _arg0
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2345 char *_kwnames
[] = { "cal", NULL
};
2348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCurrentMonth",_kwnames
,&_arg0
))
2351 wxPy_BEGIN_ALLOW_THREADS
;
2352 _result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(_arg0
);
2354 wxPy_END_ALLOW_THREADS
;
2355 if (PyErr_Occurred()) return NULL
;
2356 } _resultobj
= Py_BuildValue("i",_result
);
2360 static PyObject
*_wrap_wxDateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2361 PyObject
* _resultobj
;
2363 int _arg0
= (int ) wxDateTime::Inv_Year
;
2364 wxDateTime::Calendar _arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2365 char *_kwnames
[] = { "year","cal", NULL
};
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_IsLeapYear",_kwnames
,&_arg0
,&_arg1
))
2371 wxPy_BEGIN_ALLOW_THREADS
;
2372 _result
= (bool )wxDateTime::IsLeapYear(_arg0
,_arg1
);
2374 wxPy_END_ALLOW_THREADS
;
2375 if (PyErr_Occurred()) return NULL
;
2376 } _resultobj
= Py_BuildValue("i",_result
);
2380 static PyObject
*_wrap_wxDateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2381 PyObject
* _resultobj
;
2383 int _arg0
= (int ) wxDateTime::Inv_Year
;
2384 char *_kwnames
[] = { "year", NULL
};
2387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCentury",_kwnames
,&_arg0
))
2390 wxPy_BEGIN_ALLOW_THREADS
;
2391 _result
= (int )wxDateTime::GetCentury(_arg0
);
2393 wxPy_END_ALLOW_THREADS
;
2394 if (PyErr_Occurred()) return NULL
;
2395 } _resultobj
= Py_BuildValue("i",_result
);
2399 static PyObject
*_wrap_wxDateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
* _resultobj
;
2401 wxDateTime::wxDateTime_t _result
;
2403 wxDateTime::Calendar _arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2404 char *_kwnames
[] = { "year","cal", NULL
};
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetNumberOfDaysinYear",_kwnames
,&_arg0
,&_arg1
))
2410 wxPy_BEGIN_ALLOW_THREADS
;
2411 _result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(_arg0
,_arg1
);
2413 wxPy_END_ALLOW_THREADS
;
2414 if (PyErr_Occurred()) return NULL
;
2415 } _resultobj
= Py_BuildValue("h",_result
);
2419 static PyObject
*_wrap_wxDateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2420 PyObject
* _resultobj
;
2421 wxDateTime::wxDateTime_t _result
;
2422 wxDateTime::Month _arg0
;
2423 int _arg1
= (int ) wxDateTime::Inv_Year
;
2424 wxDateTime::Calendar _arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2425 char *_kwnames
[] = { "month","year","cal", NULL
};
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|ii:wxDateTime_GetNumberOfDaysInMonth",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2431 wxPy_BEGIN_ALLOW_THREADS
;
2432 _result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(_arg0
,_arg1
,_arg2
);
2434 wxPy_END_ALLOW_THREADS
;
2435 if (PyErr_Occurred()) return NULL
;
2436 } _resultobj
= Py_BuildValue("h",_result
);
2440 static PyObject
*_wrap_wxDateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2441 PyObject
* _resultobj
;
2443 wxDateTime::Month _arg0
;
2444 wxDateTime::NameFlags _arg1
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
2445 char *_kwnames
[] = { "month","flags", NULL
};
2448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetMonthName",_kwnames
,&_arg0
,&_arg1
))
2451 wxPy_BEGIN_ALLOW_THREADS
;
2452 _result
= new wxString (wxDateTime::GetMonthName(_arg0
,_arg1
));
2454 wxPy_END_ALLOW_THREADS
;
2455 if (PyErr_Occurred()) return NULL
;
2457 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2465 static PyObject
*_wrap_wxDateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2466 PyObject
* _resultobj
;
2468 wxDateTime::WeekDay _arg0
;
2469 wxDateTime::NameFlags _arg1
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
2470 char *_kwnames
[] = { "weekday","flags", NULL
};
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetWeekDayName",_kwnames
,&_arg0
,&_arg1
))
2476 wxPy_BEGIN_ALLOW_THREADS
;
2477 _result
= new wxString (wxDateTime::GetWeekDayName(_arg0
,_arg1
));
2479 wxPy_END_ALLOW_THREADS
;
2480 if (PyErr_Occurred()) return NULL
;
2482 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2490 static PyObject
*_wrap_wxDateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
* _resultobj
;
2494 PyObject
* _obj0
= 0;
2495 PyObject
* _obj1
= 0;
2496 char *_kwnames
[] = { "OUTPUT","OUTPUT", NULL
};
2499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_GetAmPmStrings",_kwnames
,&_obj0
,&_obj1
))
2502 #if PYTHON_API_VERSION >= 1009
2503 char* tmpPtr
; int tmpSize
;
2504 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2505 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2508 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2510 _arg0
= new wxString(tmpPtr
, tmpSize
);
2512 if (!PyString_Check(_obj0
)) {
2513 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2516 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2520 #if PYTHON_API_VERSION >= 1009
2521 char* tmpPtr
; int tmpSize
;
2522 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2523 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2526 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2528 _arg1
= new wxString(tmpPtr
, tmpSize
);
2530 if (!PyString_Check(_obj1
)) {
2531 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2534 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2538 wxPy_BEGIN_ALLOW_THREADS
;
2539 wxDateTime::GetAmPmStrings(_arg0
,_arg1
);
2541 wxPy_END_ALLOW_THREADS
;
2542 if (PyErr_Occurred()) return NULL
;
2543 } Py_INCREF(Py_None
);
2544 _resultobj
= Py_None
;
2556 static PyObject
*_wrap_wxDateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
* _resultobj
;
2559 int _arg0
= (int ) wxDateTime::Inv_Year
;
2560 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2561 char *_kwnames
[] = { "year","country", NULL
};
2564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_IsDSTApplicable",_kwnames
,&_arg0
,&_arg1
))
2567 wxPy_BEGIN_ALLOW_THREADS
;
2568 _result
= (bool )wxDateTime::IsDSTApplicable(_arg0
,_arg1
);
2570 wxPy_END_ALLOW_THREADS
;
2571 if (PyErr_Occurred()) return NULL
;
2572 } _resultobj
= Py_BuildValue("i",_result
);
2576 static PyObject
*_wrap_wxDateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2577 PyObject
* _resultobj
;
2578 wxDateTime
* _result
;
2579 int _arg0
= (int ) wxDateTime::Inv_Year
;
2580 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2581 char *_kwnames
[] = { "year","country", NULL
};
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_GetBeginDST",_kwnames
,&_arg0
,&_arg1
))
2588 wxPy_BEGIN_ALLOW_THREADS
;
2589 _result
= new wxDateTime (wxDateTime::GetBeginDST(_arg0
,_arg1
));
2591 wxPy_END_ALLOW_THREADS
;
2592 if (PyErr_Occurred()) return NULL
;
2593 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2594 _resultobj
= Py_BuildValue("s",_ptemp
);
2598 static PyObject
*_wrap_wxDateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2599 PyObject
* _resultobj
;
2600 wxDateTime
* _result
;
2601 int _arg0
= (int ) wxDateTime::Inv_Year
;
2602 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2603 char *_kwnames
[] = { "year","country", NULL
};
2607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_GetEndDST",_kwnames
,&_arg0
,&_arg1
))
2610 wxPy_BEGIN_ALLOW_THREADS
;
2611 _result
= new wxDateTime (wxDateTime::GetEndDST(_arg0
,_arg1
));
2613 wxPy_END_ALLOW_THREADS
;
2614 if (PyErr_Occurred()) return NULL
;
2615 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2616 _resultobj
= Py_BuildValue("s",_ptemp
);
2620 static PyObject
*_wrap_wxDateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2621 PyObject
* _resultobj
;
2622 wxDateTime
* _result
;
2623 char *_kwnames
[] = { NULL
};
2627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_Now",_kwnames
))
2630 wxPy_BEGIN_ALLOW_THREADS
;
2631 _result
= new wxDateTime (wxDateTime::Now());
2633 wxPy_END_ALLOW_THREADS
;
2634 if (PyErr_Occurred()) return NULL
;
2635 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2636 _resultobj
= Py_BuildValue("s",_ptemp
);
2640 static PyObject
*_wrap_wxDateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
* _resultobj
;
2642 wxDateTime
* _result
;
2643 char *_kwnames
[] = { NULL
};
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_Today",_kwnames
))
2650 wxPy_BEGIN_ALLOW_THREADS
;
2651 _result
= new wxDateTime (wxDateTime::Today());
2653 wxPy_END_ALLOW_THREADS
;
2654 if (PyErr_Occurred()) return NULL
;
2655 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2656 _resultobj
= Py_BuildValue("s",_ptemp
);
2660 #define new_wxDateTime() (new wxDateTime())
2661 static PyObject
*_wrap_new_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
* _resultobj
;
2663 wxDateTime
* _result
;
2664 char *_kwnames
[] = { NULL
};
2668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDateTime",_kwnames
))
2671 wxPy_BEGIN_ALLOW_THREADS
;
2672 _result
= (wxDateTime
*)new_wxDateTime();
2674 wxPy_END_ALLOW_THREADS
;
2675 if (PyErr_Occurred()) return NULL
;
2677 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2678 _resultobj
= Py_BuildValue("s",_ptemp
);
2681 _resultobj
= Py_None
;
2686 #define new_wxDateTimeFromTimeT(_swigarg0) (new wxDateTime(_swigarg0))
2687 static PyObject
*_wrap_new_wxDateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
* _resultobj
;
2689 wxDateTime
* _result
;
2691 char *_kwnames
[] = { "timet", NULL
};
2695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxDateTimeFromTimeT",_kwnames
,&_arg0
))
2698 wxPy_BEGIN_ALLOW_THREADS
;
2699 _result
= (wxDateTime
*)new_wxDateTimeFromTimeT(_arg0
);
2701 wxPy_END_ALLOW_THREADS
;
2702 if (PyErr_Occurred()) return NULL
;
2704 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2705 _resultobj
= Py_BuildValue("s",_ptemp
);
2708 _resultobj
= Py_None
;
2713 #define new_wxDateTimeFromJDN(_swigarg0) (new wxDateTime(_swigarg0))
2714 static PyObject
*_wrap_new_wxDateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2715 PyObject
* _resultobj
;
2716 wxDateTime
* _result
;
2718 char *_kwnames
[] = { "jdn", NULL
};
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"d:new_wxDateTimeFromJDN",_kwnames
,&_arg0
))
2725 wxPy_BEGIN_ALLOW_THREADS
;
2726 _result
= (wxDateTime
*)new_wxDateTimeFromJDN(_arg0
);
2728 wxPy_END_ALLOW_THREADS
;
2729 if (PyErr_Occurred()) return NULL
;
2731 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2732 _resultobj
= Py_BuildValue("s",_ptemp
);
2735 _resultobj
= Py_None
;
2740 #define new_wxDateTimeFromHMS(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2741 static PyObject
*_wrap_new_wxDateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
* _resultobj
;
2743 wxDateTime
* _result
;
2744 wxDateTime::wxDateTime_t _arg0
;
2745 wxDateTime::wxDateTime_t _arg1
= (wxDateTime::wxDateTime_t
) 0;
2746 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
2747 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2748 char *_kwnames
[] = { "hour","minute","second","millisec", NULL
};
2752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|hhh:new_wxDateTimeFromHMS",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2755 wxPy_BEGIN_ALLOW_THREADS
;
2756 _result
= (wxDateTime
*)new_wxDateTimeFromHMS(_arg0
,_arg1
,_arg2
,_arg3
);
2758 wxPy_END_ALLOW_THREADS
;
2759 if (PyErr_Occurred()) return NULL
;
2761 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2762 _resultobj
= Py_BuildValue("s",_ptemp
);
2765 _resultobj
= Py_None
;
2770 #define new_wxDateTimeFromDMY(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2771 static PyObject
*_wrap_new_wxDateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
* _resultobj
;
2773 wxDateTime
* _result
;
2774 wxDateTime::wxDateTime_t _arg0
;
2775 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
2776 int _arg2
= (int ) wxDateTime::Inv_Year
;
2777 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2778 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2779 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
2780 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
2781 char *_kwnames
[] = { "day","month","year","hour","minute","second","millisec", NULL
};
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|iihhhh:new_wxDateTimeFromDMY",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2788 wxPy_BEGIN_ALLOW_THREADS
;
2789 _result
= (wxDateTime
*)new_wxDateTimeFromDMY(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2791 wxPy_END_ALLOW_THREADS
;
2792 if (PyErr_Occurred()) return NULL
;
2794 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2795 _resultobj
= Py_BuildValue("s",_ptemp
);
2798 _resultobj
= Py_None
;
2803 #define delete_wxDateTime(_swigobj) (delete _swigobj)
2804 static PyObject
*_wrap_delete_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
* _resultobj
;
2807 PyObject
* _argo0
= 0;
2808 char *_kwnames
[] = { "self", NULL
};
2811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateTime",_kwnames
,&_argo0
))
2814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateTime. Expected _wxDateTime_p.");
2821 wxPy_BEGIN_ALLOW_THREADS
;
2822 delete_wxDateTime(_arg0
);
2824 wxPy_END_ALLOW_THREADS
;
2825 if (PyErr_Occurred()) return NULL
;
2826 } Py_INCREF(Py_None
);
2827 _resultobj
= Py_None
;
2831 #define wxDateTime_SetToCurrent(_swigobj) (_swigobj->SetToCurrent())
2832 static PyObject
*_wrap_wxDateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2833 PyObject
* _resultobj
;
2834 wxDateTime
* _result
;
2836 PyObject
* _argo0
= 0;
2837 char *_kwnames
[] = { "self", NULL
};
2841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_SetToCurrent",_kwnames
,&_argo0
))
2844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToCurrent. Expected _wxDateTime_p.");
2851 wxPy_BEGIN_ALLOW_THREADS
;
2852 wxDateTime
& _result_ref
= wxDateTime_SetToCurrent(_arg0
);
2853 _result
= (wxDateTime
*) &_result_ref
;
2855 wxPy_END_ALLOW_THREADS
;
2856 if (PyErr_Occurred()) return NULL
;
2858 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2859 _resultobj
= Py_BuildValue("s",_ptemp
);
2862 _resultobj
= Py_None
;
2867 #define wxDateTime_SetTimeT(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2868 static PyObject
*_wrap_wxDateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2869 PyObject
* _resultobj
;
2870 wxDateTime
* _result
;
2873 PyObject
* _argo0
= 0;
2874 char *_kwnames
[] = { "self","timet", NULL
};
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetTimeT",_kwnames
,&_argo0
,&_arg1
))
2881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetTimeT. Expected _wxDateTime_p.");
2888 wxPy_BEGIN_ALLOW_THREADS
;
2889 wxDateTime
& _result_ref
= wxDateTime_SetTimeT(_arg0
,_arg1
);
2890 _result
= (wxDateTime
*) &_result_ref
;
2892 wxPy_END_ALLOW_THREADS
;
2893 if (PyErr_Occurred()) return NULL
;
2895 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2896 _resultobj
= Py_BuildValue("s",_ptemp
);
2899 _resultobj
= Py_None
;
2904 #define wxDateTime_SetJDN(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2905 static PyObject
*_wrap_wxDateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2906 PyObject
* _resultobj
;
2907 wxDateTime
* _result
;
2910 PyObject
* _argo0
= 0;
2911 char *_kwnames
[] = { "self","jdn", NULL
};
2915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxDateTime_SetJDN",_kwnames
,&_argo0
,&_arg1
))
2918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetJDN. Expected _wxDateTime_p.");
2925 wxPy_BEGIN_ALLOW_THREADS
;
2926 wxDateTime
& _result_ref
= wxDateTime_SetJDN(_arg0
,_arg1
);
2927 _result
= (wxDateTime
*) &_result_ref
;
2929 wxPy_END_ALLOW_THREADS
;
2930 if (PyErr_Occurred()) return NULL
;
2932 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2933 _resultobj
= Py_BuildValue("s",_ptemp
);
2936 _resultobj
= Py_None
;
2941 #define wxDateTime_SetHMS(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2942 static PyObject
*_wrap_wxDateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
* _resultobj
;
2944 wxDateTime
* _result
;
2946 wxDateTime::wxDateTime_t _arg1
;
2947 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
2948 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2949 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2950 PyObject
* _argo0
= 0;
2951 char *_kwnames
[] = { "self","hour","minute","second","millisec", NULL
};
2955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|hhh:wxDateTime_SetHMS",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHMS. Expected _wxDateTime_p.");
2965 wxPy_BEGIN_ALLOW_THREADS
;
2966 wxDateTime
& _result_ref
= wxDateTime_SetHMS(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2967 _result
= (wxDateTime
*) &_result_ref
;
2969 wxPy_END_ALLOW_THREADS
;
2970 if (PyErr_Occurred()) return NULL
;
2972 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2973 _resultobj
= Py_BuildValue("s",_ptemp
);
2976 _resultobj
= Py_None
;
2981 #define wxDateTime_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2982 static PyObject
*_wrap_wxDateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2983 PyObject
* _resultobj
;
2984 wxDateTime
* _result
;
2986 wxDateTime::wxDateTime_t _arg1
;
2987 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
2988 int _arg3
= (int ) wxDateTime::Inv_Year
;
2989 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2990 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
2991 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
2992 wxDateTime::wxDateTime_t _arg7
= (wxDateTime::wxDateTime_t
) 0;
2993 PyObject
* _argo0
= 0;
2994 char *_kwnames
[] = { "self","day","month","year","hour","minute","second","millisec", NULL
};
2998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|iihhhh:wxDateTime_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
3001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Set. Expected _wxDateTime_p.");
3008 wxPy_BEGIN_ALLOW_THREADS
;
3009 wxDateTime
& _result_ref
= wxDateTime_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
3010 _result
= (wxDateTime
*) &_result_ref
;
3012 wxPy_END_ALLOW_THREADS
;
3013 if (PyErr_Occurred()) return NULL
;
3015 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3016 _resultobj
= Py_BuildValue("s",_ptemp
);
3019 _resultobj
= Py_None
;
3024 #define wxDateTime_ResetTime(_swigobj) (_swigobj->ResetTime())
3025 static PyObject
*_wrap_wxDateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
* _resultobj
;
3027 wxDateTime
* _result
;
3029 PyObject
* _argo0
= 0;
3030 char *_kwnames
[] = { "self", NULL
};
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_ResetTime",_kwnames
,&_argo0
))
3037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ResetTime. Expected _wxDateTime_p.");
3044 wxPy_BEGIN_ALLOW_THREADS
;
3045 wxDateTime
& _result_ref
= wxDateTime_ResetTime(_arg0
);
3046 _result
= (wxDateTime
*) &_result_ref
;
3048 wxPy_END_ALLOW_THREADS
;
3049 if (PyErr_Occurred()) return NULL
;
3051 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3052 _resultobj
= Py_BuildValue("s",_ptemp
);
3055 _resultobj
= Py_None
;
3060 #define wxDateTime_SetYear(_swigobj,_swigarg0) (_swigobj->SetYear(_swigarg0))
3061 static PyObject
*_wrap_wxDateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
* _resultobj
;
3063 wxDateTime
* _result
;
3066 PyObject
* _argo0
= 0;
3067 char *_kwnames
[] = { "self","year", NULL
};
3071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetYear",_kwnames
,&_argo0
,&_arg1
))
3074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetYear. Expected _wxDateTime_p.");
3081 wxPy_BEGIN_ALLOW_THREADS
;
3082 wxDateTime
& _result_ref
= wxDateTime_SetYear(_arg0
,_arg1
);
3083 _result
= (wxDateTime
*) &_result_ref
;
3085 wxPy_END_ALLOW_THREADS
;
3086 if (PyErr_Occurred()) return NULL
;
3088 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3089 _resultobj
= Py_BuildValue("s",_ptemp
);
3092 _resultobj
= Py_None
;
3097 #define wxDateTime_SetMonth(_swigobj,_swigarg0) (_swigobj->SetMonth(_swigarg0))
3098 static PyObject
*_wrap_wxDateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
* _resultobj
;
3100 wxDateTime
* _result
;
3102 wxDateTime::Month _arg1
;
3103 PyObject
* _argo0
= 0;
3104 char *_kwnames
[] = { "self","month", NULL
};
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetMonth",_kwnames
,&_argo0
,&_arg1
))
3111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMonth. Expected _wxDateTime_p.");
3118 wxPy_BEGIN_ALLOW_THREADS
;
3119 wxDateTime
& _result_ref
= wxDateTime_SetMonth(_arg0
,_arg1
);
3120 _result
= (wxDateTime
*) &_result_ref
;
3122 wxPy_END_ALLOW_THREADS
;
3123 if (PyErr_Occurred()) return NULL
;
3125 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3126 _resultobj
= Py_BuildValue("s",_ptemp
);
3129 _resultobj
= Py_None
;
3134 #define wxDateTime_SetDay(_swigobj,_swigarg0) (_swigobj->SetDay(_swigarg0))
3135 static PyObject
*_wrap_wxDateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
* _resultobj
;
3137 wxDateTime
* _result
;
3139 wxDateTime::wxDateTime_t _arg1
;
3140 PyObject
* _argo0
= 0;
3141 char *_kwnames
[] = { "self","day", NULL
};
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetDay",_kwnames
,&_argo0
,&_arg1
))
3148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetDay. Expected _wxDateTime_p.");
3155 wxPy_BEGIN_ALLOW_THREADS
;
3156 wxDateTime
& _result_ref
= wxDateTime_SetDay(_arg0
,_arg1
);
3157 _result
= (wxDateTime
*) &_result_ref
;
3159 wxPy_END_ALLOW_THREADS
;
3160 if (PyErr_Occurred()) return NULL
;
3162 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3163 _resultobj
= Py_BuildValue("s",_ptemp
);
3166 _resultobj
= Py_None
;
3171 #define wxDateTime_SetHour(_swigobj,_swigarg0) (_swigobj->SetHour(_swigarg0))
3172 static PyObject
*_wrap_wxDateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
* _resultobj
;
3174 wxDateTime
* _result
;
3176 wxDateTime::wxDateTime_t _arg1
;
3177 PyObject
* _argo0
= 0;
3178 char *_kwnames
[] = { "self","hour", NULL
};
3182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetHour",_kwnames
,&_argo0
,&_arg1
))
3185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHour. Expected _wxDateTime_p.");
3192 wxPy_BEGIN_ALLOW_THREADS
;
3193 wxDateTime
& _result_ref
= wxDateTime_SetHour(_arg0
,_arg1
);
3194 _result
= (wxDateTime
*) &_result_ref
;
3196 wxPy_END_ALLOW_THREADS
;
3197 if (PyErr_Occurred()) return NULL
;
3199 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3200 _resultobj
= Py_BuildValue("s",_ptemp
);
3203 _resultobj
= Py_None
;
3208 #define wxDateTime_SetMinute(_swigobj,_swigarg0) (_swigobj->SetMinute(_swigarg0))
3209 static PyObject
*_wrap_wxDateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3210 PyObject
* _resultobj
;
3211 wxDateTime
* _result
;
3213 wxDateTime::wxDateTime_t _arg1
;
3214 PyObject
* _argo0
= 0;
3215 char *_kwnames
[] = { "self","minute", NULL
};
3219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMinute",_kwnames
,&_argo0
,&_arg1
))
3222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMinute. Expected _wxDateTime_p.");
3229 wxPy_BEGIN_ALLOW_THREADS
;
3230 wxDateTime
& _result_ref
= wxDateTime_SetMinute(_arg0
,_arg1
);
3231 _result
= (wxDateTime
*) &_result_ref
;
3233 wxPy_END_ALLOW_THREADS
;
3234 if (PyErr_Occurred()) return NULL
;
3236 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3237 _resultobj
= Py_BuildValue("s",_ptemp
);
3240 _resultobj
= Py_None
;
3245 #define wxDateTime_SetSecond(_swigobj,_swigarg0) (_swigobj->SetSecond(_swigarg0))
3246 static PyObject
*_wrap_wxDateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
* _resultobj
;
3248 wxDateTime
* _result
;
3250 wxDateTime::wxDateTime_t _arg1
;
3251 PyObject
* _argo0
= 0;
3252 char *_kwnames
[] = { "self","second", NULL
};
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetSecond",_kwnames
,&_argo0
,&_arg1
))
3259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetSecond. Expected _wxDateTime_p.");
3266 wxPy_BEGIN_ALLOW_THREADS
;
3267 wxDateTime
& _result_ref
= wxDateTime_SetSecond(_arg0
,_arg1
);
3268 _result
= (wxDateTime
*) &_result_ref
;
3270 wxPy_END_ALLOW_THREADS
;
3271 if (PyErr_Occurred()) return NULL
;
3273 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3274 _resultobj
= Py_BuildValue("s",_ptemp
);
3277 _resultobj
= Py_None
;
3282 #define wxDateTime_SetMillisecond(_swigobj,_swigarg0) (_swigobj->SetMillisecond(_swigarg0))
3283 static PyObject
*_wrap_wxDateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
* _resultobj
;
3285 wxDateTime
* _result
;
3287 wxDateTime::wxDateTime_t _arg1
;
3288 PyObject
* _argo0
= 0;
3289 char *_kwnames
[] = { "self","millisecond", NULL
};
3293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMillisecond",_kwnames
,&_argo0
,&_arg1
))
3296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMillisecond. Expected _wxDateTime_p.");
3303 wxPy_BEGIN_ALLOW_THREADS
;
3304 wxDateTime
& _result_ref
= wxDateTime_SetMillisecond(_arg0
,_arg1
);
3305 _result
= (wxDateTime
*) &_result_ref
;
3307 wxPy_END_ALLOW_THREADS
;
3308 if (PyErr_Occurred()) return NULL
;
3310 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3311 _resultobj
= Py_BuildValue("s",_ptemp
);
3314 _resultobj
= Py_None
;
3319 #define wxDateTime_SetToWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->SetToWeekDayInSameWeek(_swigarg0))
3320 static PyObject
*_wrap_wxDateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3321 PyObject
* _resultobj
;
3322 wxDateTime
* _result
;
3324 wxDateTime::WeekDay _arg1
;
3325 PyObject
* _argo0
= 0;
3326 char *_kwnames
[] = { "self","weekday", NULL
};
3330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
))
3333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDayInSameWeek. Expected _wxDateTime_p.");
3340 wxPy_BEGIN_ALLOW_THREADS
;
3341 wxDateTime
& _result_ref
= wxDateTime_SetToWeekDayInSameWeek(_arg0
,_arg1
);
3342 _result
= (wxDateTime
*) &_result_ref
;
3344 wxPy_END_ALLOW_THREADS
;
3345 if (PyErr_Occurred()) return NULL
;
3347 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3348 _resultobj
= Py_BuildValue("s",_ptemp
);
3351 _resultobj
= Py_None
;
3356 #define wxDateTime_GetWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->GetWeekDayInSameWeek(_swigarg0))
3357 static PyObject
*_wrap_wxDateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
* _resultobj
;
3359 wxDateTime
* _result
;
3361 wxDateTime::WeekDay _arg1
;
3362 PyObject
* _argo0
= 0;
3363 char *_kwnames
[] = { "self","weekday", NULL
};
3367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
))
3370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDayInSameWeek. Expected _wxDateTime_p.");
3377 wxPy_BEGIN_ALLOW_THREADS
;
3378 _result
= new wxDateTime (wxDateTime_GetWeekDayInSameWeek(_arg0
,_arg1
));
3380 wxPy_END_ALLOW_THREADS
;
3381 if (PyErr_Occurred()) return NULL
;
3382 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3383 _resultobj
= Py_BuildValue("s",_ptemp
);
3387 #define wxDateTime_SetToNextWeekDay(_swigobj,_swigarg0) (_swigobj->SetToNextWeekDay(_swigarg0))
3388 static PyObject
*_wrap_wxDateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3389 PyObject
* _resultobj
;
3390 wxDateTime
* _result
;
3392 wxDateTime::WeekDay _arg1
;
3393 PyObject
* _argo0
= 0;
3394 char *_kwnames
[] = { "self","weekday", NULL
};
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
3401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToNextWeekDay. Expected _wxDateTime_p.");
3408 wxPy_BEGIN_ALLOW_THREADS
;
3409 wxDateTime
& _result_ref
= wxDateTime_SetToNextWeekDay(_arg0
,_arg1
);
3410 _result
= (wxDateTime
*) &_result_ref
;
3412 wxPy_END_ALLOW_THREADS
;
3413 if (PyErr_Occurred()) return NULL
;
3415 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3416 _resultobj
= Py_BuildValue("s",_ptemp
);
3419 _resultobj
= Py_None
;
3424 #define wxDateTime_GetNextWeekDay(_swigobj,_swigarg0) (_swigobj->GetNextWeekDay(_swigarg0))
3425 static PyObject
*_wrap_wxDateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3426 PyObject
* _resultobj
;
3427 wxDateTime
* _result
;
3429 wxDateTime::WeekDay _arg1
;
3430 PyObject
* _argo0
= 0;
3431 char *_kwnames
[] = { "self","weekday", NULL
};
3435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
3438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetNextWeekDay. Expected _wxDateTime_p.");
3445 wxPy_BEGIN_ALLOW_THREADS
;
3446 _result
= new wxDateTime (wxDateTime_GetNextWeekDay(_arg0
,_arg1
));
3448 wxPy_END_ALLOW_THREADS
;
3449 if (PyErr_Occurred()) return NULL
;
3450 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3451 _resultobj
= Py_BuildValue("s",_ptemp
);
3455 #define wxDateTime_SetToPrevWeekDay(_swigobj,_swigarg0) (_swigobj->SetToPrevWeekDay(_swigarg0))
3456 static PyObject
*_wrap_wxDateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
* _resultobj
;
3458 wxDateTime
* _result
;
3460 wxDateTime::WeekDay _arg1
;
3461 PyObject
* _argo0
= 0;
3462 char *_kwnames
[] = { "self","weekday", NULL
};
3466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToPrevWeekDay. Expected _wxDateTime_p.");
3476 wxPy_BEGIN_ALLOW_THREADS
;
3477 wxDateTime
& _result_ref
= wxDateTime_SetToPrevWeekDay(_arg0
,_arg1
);
3478 _result
= (wxDateTime
*) &_result_ref
;
3480 wxPy_END_ALLOW_THREADS
;
3481 if (PyErr_Occurred()) return NULL
;
3483 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3484 _resultobj
= Py_BuildValue("s",_ptemp
);
3487 _resultobj
= Py_None
;
3492 #define wxDateTime_GetPrevWeekDay(_swigobj,_swigarg0) (_swigobj->GetPrevWeekDay(_swigarg0))
3493 static PyObject
*_wrap_wxDateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3494 PyObject
* _resultobj
;
3495 wxDateTime
* _result
;
3497 wxDateTime::WeekDay _arg1
;
3498 PyObject
* _argo0
= 0;
3499 char *_kwnames
[] = { "self","weekday", NULL
};
3503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetPrevWeekDay. Expected _wxDateTime_p.");
3513 wxPy_BEGIN_ALLOW_THREADS
;
3514 _result
= new wxDateTime (wxDateTime_GetPrevWeekDay(_arg0
,_arg1
));
3516 wxPy_END_ALLOW_THREADS
;
3517 if (PyErr_Occurred()) return NULL
;
3518 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3519 _resultobj
= Py_BuildValue("s",_ptemp
);
3523 #define wxDateTime_SetToWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetToWeekDay(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3524 static PyObject
*_wrap_wxDateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
* _resultobj
;
3528 wxDateTime::WeekDay _arg1
;
3529 int _arg2
= (int ) 1;
3530 wxDateTime::Month _arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3531 int _arg4
= (int ) wxDateTime::Inv_Year
;
3532 PyObject
* _argo0
= 0;
3533 char *_kwnames
[] = { "self","weekday","n","month","year", NULL
};
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iii:wxDateTime_SetToWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDay. Expected _wxDateTime_p.");
3546 wxPy_BEGIN_ALLOW_THREADS
;
3547 _result
= (bool )wxDateTime_SetToWeekDay(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3549 wxPy_END_ALLOW_THREADS
;
3550 if (PyErr_Occurred()) return NULL
;
3551 } _resultobj
= Py_BuildValue("i",_result
);
3555 #define wxDateTime_SetToLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetToLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3556 static PyObject
*_wrap_wxDateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
* _resultobj
;
3560 wxDateTime::WeekDay _arg1
;
3561 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3562 int _arg3
= (int ) wxDateTime::Inv_Year
;
3563 PyObject
* _argo0
= 0;
3564 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_SetToLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastWeekDay. Expected _wxDateTime_p.");
3577 wxPy_BEGIN_ALLOW_THREADS
;
3578 _result
= (bool )wxDateTime_SetToLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
);
3580 wxPy_END_ALLOW_THREADS
;
3581 if (PyErr_Occurred()) return NULL
;
3582 } _resultobj
= Py_BuildValue("i",_result
);
3586 #define wxDateTime_GetLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3587 static PyObject
*_wrap_wxDateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
* _resultobj
;
3589 wxDateTime
* _result
;
3591 wxDateTime::WeekDay _arg1
;
3592 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3593 int _arg3
= (int ) wxDateTime::Inv_Year
;
3594 PyObject
* _argo0
= 0;
3595 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_GetLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastWeekDay. Expected _wxDateTime_p.");
3609 wxPy_BEGIN_ALLOW_THREADS
;
3610 _result
= new wxDateTime (wxDateTime_GetLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
));
3612 wxPy_END_ALLOW_THREADS
;
3613 if (PyErr_Occurred()) return NULL
;
3614 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3615 _resultobj
= Py_BuildValue("s",_ptemp
);
3619 #define wxDateTime_SetToTheWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToTheWeek(_swigarg0,_swigarg1))
3620 static PyObject
*_wrap_wxDateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
* _resultobj
;
3624 wxDateTime::wxDateTime_t _arg1
;
3625 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3626 PyObject
* _argo0
= 0;
3627 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_SetToTheWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToTheWeek. Expected _wxDateTime_p.");
3640 wxPy_BEGIN_ALLOW_THREADS
;
3641 _result
= (bool )wxDateTime_SetToTheWeek(_arg0
,_arg1
,_arg2
);
3643 wxPy_END_ALLOW_THREADS
;
3644 if (PyErr_Occurred()) return NULL
;
3645 } _resultobj
= Py_BuildValue("i",_result
);
3649 #define wxDateTime_GetWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeek(_swigarg0,_swigarg1))
3650 static PyObject
*_wrap_wxDateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
* _resultobj
;
3652 wxDateTime
* _result
;
3654 wxDateTime::wxDateTime_t _arg1
;
3655 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3656 PyObject
* _argo0
= 0;
3657 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_GetWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeek. Expected _wxDateTime_p.");
3671 wxPy_BEGIN_ALLOW_THREADS
;
3672 _result
= new wxDateTime (wxDateTime_GetWeek(_arg0
,_arg1
,_arg2
));
3674 wxPy_END_ALLOW_THREADS
;
3675 if (PyErr_Occurred()) return NULL
;
3676 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3677 _resultobj
= Py_BuildValue("s",_ptemp
);
3681 #define wxDateTime_SetToLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToLastMonthDay(_swigarg0,_swigarg1))
3682 static PyObject
*_wrap_wxDateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
* _resultobj
;
3684 wxDateTime
* _result
;
3686 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3687 int _arg2
= (int ) wxDateTime::Inv_Year
;
3688 PyObject
* _argo0
= 0;
3689 char *_kwnames
[] = { "self","month","year", NULL
};
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_SetToLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastMonthDay. Expected _wxDateTime_p.");
3703 wxPy_BEGIN_ALLOW_THREADS
;
3704 wxDateTime
& _result_ref
= wxDateTime_SetToLastMonthDay(_arg0
,_arg1
,_arg2
);
3705 _result
= (wxDateTime
*) &_result_ref
;
3707 wxPy_END_ALLOW_THREADS
;
3708 if (PyErr_Occurred()) return NULL
;
3710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3711 _resultobj
= Py_BuildValue("s",_ptemp
);
3714 _resultobj
= Py_None
;
3719 #define wxDateTime_GetLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastMonthDay(_swigarg0,_swigarg1))
3720 static PyObject
*_wrap_wxDateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
* _resultobj
;
3722 wxDateTime
* _result
;
3724 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3725 int _arg2
= (int ) wxDateTime::Inv_Year
;
3726 PyObject
* _argo0
= 0;
3727 char *_kwnames
[] = { "self","month","year", NULL
};
3731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_GetLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastMonthDay. Expected _wxDateTime_p.");
3741 wxPy_BEGIN_ALLOW_THREADS
;
3742 _result
= new wxDateTime (wxDateTime_GetLastMonthDay(_arg0
,_arg1
,_arg2
));
3744 wxPy_END_ALLOW_THREADS
;
3745 if (PyErr_Occurred()) return NULL
;
3746 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3747 _resultobj
= Py_BuildValue("s",_ptemp
);
3751 #define wxDateTime_SetToYearDay(_swigobj,_swigarg0) (_swigobj->SetToYearDay(_swigarg0))
3752 static PyObject
*_wrap_wxDateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
* _resultobj
;
3754 wxDateTime
* _result
;
3756 wxDateTime::wxDateTime_t _arg1
;
3757 PyObject
* _argo0
= 0;
3758 char *_kwnames
[] = { "self","yday", NULL
};
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetToYearDay",_kwnames
,&_argo0
,&_arg1
))
3765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToYearDay. Expected _wxDateTime_p.");
3772 wxPy_BEGIN_ALLOW_THREADS
;
3773 wxDateTime
& _result_ref
= wxDateTime_SetToYearDay(_arg0
,_arg1
);
3774 _result
= (wxDateTime
*) &_result_ref
;
3776 wxPy_END_ALLOW_THREADS
;
3777 if (PyErr_Occurred()) return NULL
;
3779 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3780 _resultobj
= Py_BuildValue("s",_ptemp
);
3783 _resultobj
= Py_None
;
3788 #define wxDateTime_GetYearDay(_swigobj,_swigarg0) (_swigobj->GetYearDay(_swigarg0))
3789 static PyObject
*_wrap_wxDateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
* _resultobj
;
3791 wxDateTime
* _result
;
3793 wxDateTime::wxDateTime_t _arg1
;
3794 PyObject
* _argo0
= 0;
3795 char *_kwnames
[] = { "self","yday", NULL
};
3799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_GetYearDay",_kwnames
,&_argo0
,&_arg1
))
3802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYearDay. Expected _wxDateTime_p.");
3809 wxPy_BEGIN_ALLOW_THREADS
;
3810 _result
= new wxDateTime (wxDateTime_GetYearDay(_arg0
,_arg1
));
3812 wxPy_END_ALLOW_THREADS
;
3813 if (PyErr_Occurred()) return NULL
;
3814 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3815 _resultobj
= Py_BuildValue("s",_ptemp
);
3819 #define wxDateTime_GetJulianDayNumber(_swigobj) (_swigobj->GetJulianDayNumber())
3820 static PyObject
*_wrap_wxDateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
* _resultobj
;
3824 PyObject
* _argo0
= 0;
3825 char *_kwnames
[] = { "self", NULL
};
3828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJulianDayNumber",_kwnames
,&_argo0
))
3831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJulianDayNumber. Expected _wxDateTime_p.");
3838 wxPy_BEGIN_ALLOW_THREADS
;
3839 _result
= (double )wxDateTime_GetJulianDayNumber(_arg0
);
3841 wxPy_END_ALLOW_THREADS
;
3842 if (PyErr_Occurred()) return NULL
;
3843 } _resultobj
= Py_BuildValue("d",_result
);
3847 #define wxDateTime_GetJDN(_swigobj) (_swigobj->GetJDN())
3848 static PyObject
*_wrap_wxDateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
* _resultobj
;
3852 PyObject
* _argo0
= 0;
3853 char *_kwnames
[] = { "self", NULL
};
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJDN",_kwnames
,&_argo0
))
3859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJDN. Expected _wxDateTime_p.");
3866 wxPy_BEGIN_ALLOW_THREADS
;
3867 _result
= (double )wxDateTime_GetJDN(_arg0
);
3869 wxPy_END_ALLOW_THREADS
;
3870 if (PyErr_Occurred()) return NULL
;
3871 } _resultobj
= Py_BuildValue("d",_result
);
3875 #define wxDateTime_GetModifiedJulianDayNumber(_swigobj) (_swigobj->GetModifiedJulianDayNumber())
3876 static PyObject
*_wrap_wxDateTime_GetModifiedJulianDayNumber(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_GetModifiedJulianDayNumber",_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_GetModifiedJulianDayNumber. Expected _wxDateTime_p.");
3894 wxPy_BEGIN_ALLOW_THREADS
;
3895 _result
= (double )wxDateTime_GetModifiedJulianDayNumber(_arg0
);
3897 wxPy_END_ALLOW_THREADS
;
3898 if (PyErr_Occurred()) return NULL
;
3899 } _resultobj
= Py_BuildValue("d",_result
);
3903 #define wxDateTime_GetMJD(_swigobj) (_swigobj->GetMJD())
3904 static PyObject
*_wrap_wxDateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3905 PyObject
* _resultobj
;
3908 PyObject
* _argo0
= 0;
3909 char *_kwnames
[] = { "self", NULL
};
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetMJD",_kwnames
,&_argo0
))
3915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMJD. Expected _wxDateTime_p.");
3922 wxPy_BEGIN_ALLOW_THREADS
;
3923 _result
= (double )wxDateTime_GetMJD(_arg0
);
3925 wxPy_END_ALLOW_THREADS
;
3926 if (PyErr_Occurred()) return NULL
;
3927 } _resultobj
= Py_BuildValue("d",_result
);
3931 #define wxDateTime_GetRataDie(_swigobj) (_swigobj->GetRataDie())
3932 static PyObject
*_wrap_wxDateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3933 PyObject
* _resultobj
;
3936 PyObject
* _argo0
= 0;
3937 char *_kwnames
[] = { "self", NULL
};
3940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetRataDie",_kwnames
,&_argo0
))
3943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetRataDie. Expected _wxDateTime_p.");
3950 wxPy_BEGIN_ALLOW_THREADS
;
3951 _result
= (double )wxDateTime_GetRataDie(_arg0
);
3953 wxPy_END_ALLOW_THREADS
;
3954 if (PyErr_Occurred()) return NULL
;
3955 } _resultobj
= Py_BuildValue("d",_result
);
3959 #define wxDateTime_ToTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToTimezone(_swigarg0,_swigarg1))
3960 static PyObject
*_wrap_wxDateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3961 PyObject
* _resultobj
;
3962 wxDateTime
* _result
;
3964 wxDateTime::TimeZone
* _arg1
;
3965 bool _arg2
= (bool ) FALSE
;
3966 PyObject
* _argo0
= 0;
3967 PyObject
* _obj1
= 0;
3968 int tempbool2
= (int) FALSE
;
3969 char *_kwnames
[] = { "self","tz","noDST", NULL
};
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_ToTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToTimezone. Expected _wxDateTime_p.");
3983 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3985 _arg2
= (bool ) tempbool2
;
3987 wxPy_BEGIN_ALLOW_THREADS
;
3988 _result
= new wxDateTime (wxDateTime_ToTimezone(_arg0
,*_arg1
,_arg2
));
3990 wxPy_END_ALLOW_THREADS
;
3991 if (PyErr_Occurred()) return NULL
;
3992 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3993 _resultobj
= Py_BuildValue("s",_ptemp
);
3995 if (_arg1
) delete _arg1
;
4000 #define wxDateTime_MakeTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeTimezone(_swigarg0,_swigarg1))
4001 static PyObject
*_wrap_wxDateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
* _resultobj
;
4003 wxDateTime
* _result
;
4005 wxDateTime::TimeZone
* _arg1
;
4006 bool _arg2
= (bool ) FALSE
;
4007 PyObject
* _argo0
= 0;
4008 PyObject
* _obj1
= 0;
4009 int tempbool2
= (int) FALSE
;
4010 char *_kwnames
[] = { "self","tz","noDST", NULL
};
4014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_MakeTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
4017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeTimezone. Expected _wxDateTime_p.");
4024 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4026 _arg2
= (bool ) tempbool2
;
4028 wxPy_BEGIN_ALLOW_THREADS
;
4029 wxDateTime
& _result_ref
= wxDateTime_MakeTimezone(_arg0
,*_arg1
,_arg2
);
4030 _result
= (wxDateTime
*) &_result_ref
;
4032 wxPy_END_ALLOW_THREADS
;
4033 if (PyErr_Occurred()) return NULL
;
4035 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4036 _resultobj
= Py_BuildValue("s",_ptemp
);
4039 _resultobj
= Py_None
;
4042 if (_arg1
) delete _arg1
;
4047 #define wxDateTime_ToGMT(_swigobj,_swigarg0) (_swigobj->ToGMT(_swigarg0))
4048 static PyObject
*_wrap_wxDateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
* _resultobj
;
4050 wxDateTime
* _result
;
4052 bool _arg1
= (bool ) FALSE
;
4053 PyObject
* _argo0
= 0;
4054 int tempbool1
= (int) FALSE
;
4055 char *_kwnames
[] = { "self","noDST", NULL
};
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_ToGMT",_kwnames
,&_argo0
,&tempbool1
))
4062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToGMT. Expected _wxDateTime_p.");
4068 _arg1
= (bool ) tempbool1
;
4070 wxPy_BEGIN_ALLOW_THREADS
;
4071 _result
= new wxDateTime (wxDateTime_ToGMT(_arg0
,_arg1
));
4073 wxPy_END_ALLOW_THREADS
;
4074 if (PyErr_Occurred()) return NULL
;
4075 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4076 _resultobj
= Py_BuildValue("s",_ptemp
);
4080 #define wxDateTime_MakeGMT(_swigobj,_swigarg0) (_swigobj->MakeGMT(_swigarg0))
4081 static PyObject
*_wrap_wxDateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
* _resultobj
;
4083 wxDateTime
* _result
;
4085 bool _arg1
= (bool ) FALSE
;
4086 PyObject
* _argo0
= 0;
4087 int tempbool1
= (int) FALSE
;
4088 char *_kwnames
[] = { "self","noDST", NULL
};
4092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_MakeGMT",_kwnames
,&_argo0
,&tempbool1
))
4095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeGMT. Expected _wxDateTime_p.");
4101 _arg1
= (bool ) tempbool1
;
4103 wxPy_BEGIN_ALLOW_THREADS
;
4104 wxDateTime
& _result_ref
= wxDateTime_MakeGMT(_arg0
,_arg1
);
4105 _result
= (wxDateTime
*) &_result_ref
;
4107 wxPy_END_ALLOW_THREADS
;
4108 if (PyErr_Occurred()) return NULL
;
4110 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4111 _resultobj
= Py_BuildValue("s",_ptemp
);
4114 _resultobj
= Py_None
;
4119 #define wxDateTime_IsDST(_swigobj,_swigarg0) (_swigobj->IsDST(_swigarg0))
4120 static PyObject
*_wrap_wxDateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
* _resultobj
;
4124 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
4125 PyObject
* _argo0
= 0;
4126 char *_kwnames
[] = { "self","country", NULL
};
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsDST",_kwnames
,&_argo0
,&_arg1
))
4132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsDST. Expected _wxDateTime_p.");
4139 wxPy_BEGIN_ALLOW_THREADS
;
4140 _result
= (int )wxDateTime_IsDST(_arg0
,_arg1
);
4142 wxPy_END_ALLOW_THREADS
;
4143 if (PyErr_Occurred()) return NULL
;
4144 } _resultobj
= Py_BuildValue("i",_result
);
4148 #define wxDateTime_IsValid(_swigobj) (_swigobj->IsValid())
4149 static PyObject
*_wrap_wxDateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
* _resultobj
;
4153 PyObject
* _argo0
= 0;
4154 char *_kwnames
[] = { "self", NULL
};
4157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_IsValid",_kwnames
,&_argo0
))
4160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsValid. Expected _wxDateTime_p.");
4167 wxPy_BEGIN_ALLOW_THREADS
;
4168 _result
= (bool )wxDateTime_IsValid(_arg0
);
4170 wxPy_END_ALLOW_THREADS
;
4171 if (PyErr_Occurred()) return NULL
;
4172 } _resultobj
= Py_BuildValue("i",_result
);
4176 #define wxDateTime_GetTicks(_swigobj) (_swigobj->GetTicks())
4177 static PyObject
*_wrap_wxDateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
* _resultobj
;
4181 PyObject
* _argo0
= 0;
4182 char *_kwnames
[] = { "self", NULL
};
4185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetTicks",_kwnames
,&_argo0
))
4188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetTicks. Expected _wxDateTime_p.");
4195 wxPy_BEGIN_ALLOW_THREADS
;
4196 _result
= (time_t )wxDateTime_GetTicks(_arg0
);
4198 wxPy_END_ALLOW_THREADS
;
4199 if (PyErr_Occurred()) return NULL
;
4200 } _resultobj
= Py_BuildValue("i",_result
);
4204 #define wxDateTime_GetYear(_swigobj,_swigarg0) (_swigobj->GetYear(_swigarg0))
4205 static PyObject
*_wrap_wxDateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
* _resultobj
;
4209 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4210 PyObject
* _argo0
= 0;
4211 PyObject
* _obj1
= 0;
4212 char *_kwnames
[] = { "self","tz", NULL
};
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetYear",_kwnames
,&_argo0
,&_obj1
))
4218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYear. Expected _wxDateTime_p.");
4226 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4229 wxPy_BEGIN_ALLOW_THREADS
;
4230 _result
= (int )wxDateTime_GetYear(_arg0
,*_arg1
);
4232 wxPy_END_ALLOW_THREADS
;
4233 if (PyErr_Occurred()) return NULL
;
4234 } _resultobj
= Py_BuildValue("i",_result
);
4236 if (_arg1
) delete _arg1
;
4241 #define wxDateTime_GetMonth(_swigobj,_swigarg0) (_swigobj->GetMonth(_swigarg0))
4242 static PyObject
*_wrap_wxDateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
* _resultobj
;
4244 wxDateTime::Month _result
;
4246 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4247 PyObject
* _argo0
= 0;
4248 PyObject
* _obj1
= 0;
4249 char *_kwnames
[] = { "self","tz", NULL
};
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMonth",_kwnames
,&_argo0
,&_obj1
))
4255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMonth. Expected _wxDateTime_p.");
4263 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4266 wxPy_BEGIN_ALLOW_THREADS
;
4267 _result
= (wxDateTime::Month
)wxDateTime_GetMonth(_arg0
,*_arg1
);
4269 wxPy_END_ALLOW_THREADS
;
4270 if (PyErr_Occurred()) return NULL
;
4271 } _resultobj
= Py_BuildValue("i",_result
);
4273 if (_arg1
) delete _arg1
;
4278 #define wxDateTime_GetDay(_swigobj,_swigarg0) (_swigobj->GetDay(_swigarg0))
4279 static PyObject
*_wrap_wxDateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
* _resultobj
;
4281 wxDateTime::wxDateTime_t _result
;
4283 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4284 PyObject
* _argo0
= 0;
4285 PyObject
* _obj1
= 0;
4286 char *_kwnames
[] = { "self","tz", NULL
};
4289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDay",_kwnames
,&_argo0
,&_obj1
))
4292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDay. Expected _wxDateTime_p.");
4300 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4303 wxPy_BEGIN_ALLOW_THREADS
;
4304 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDay(_arg0
,*_arg1
);
4306 wxPy_END_ALLOW_THREADS
;
4307 if (PyErr_Occurred()) return NULL
;
4308 } _resultobj
= Py_BuildValue("h",_result
);
4310 if (_arg1
) delete _arg1
;
4315 #define wxDateTime_GetWeekDay(_swigobj,_swigarg0) (_swigobj->GetWeekDay(_swigarg0))
4316 static PyObject
*_wrap_wxDateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
* _resultobj
;
4318 wxDateTime::WeekDay _result
;
4320 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4321 PyObject
* _argo0
= 0;
4322 PyObject
* _obj1
= 0;
4323 char *_kwnames
[] = { "self","tz", NULL
};
4326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetWeekDay",_kwnames
,&_argo0
,&_obj1
))
4329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDay. Expected _wxDateTime_p.");
4337 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4340 wxPy_BEGIN_ALLOW_THREADS
;
4341 _result
= (wxDateTime::WeekDay
)wxDateTime_GetWeekDay(_arg0
,*_arg1
);
4343 wxPy_END_ALLOW_THREADS
;
4344 if (PyErr_Occurred()) return NULL
;
4345 } _resultobj
= Py_BuildValue("i",_result
);
4347 if (_arg1
) delete _arg1
;
4352 #define wxDateTime_GetHour(_swigobj,_swigarg0) (_swigobj->GetHour(_swigarg0))
4353 static PyObject
*_wrap_wxDateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
* _resultobj
;
4355 wxDateTime::wxDateTime_t _result
;
4357 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4358 PyObject
* _argo0
= 0;
4359 PyObject
* _obj1
= 0;
4360 char *_kwnames
[] = { "self","tz", NULL
};
4363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetHour",_kwnames
,&_argo0
,&_obj1
))
4366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetHour. Expected _wxDateTime_p.");
4374 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4377 wxPy_BEGIN_ALLOW_THREADS
;
4378 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetHour(_arg0
,*_arg1
);
4380 wxPy_END_ALLOW_THREADS
;
4381 if (PyErr_Occurred()) return NULL
;
4382 } _resultobj
= Py_BuildValue("h",_result
);
4384 if (_arg1
) delete _arg1
;
4389 #define wxDateTime_GetMinute(_swigobj,_swigarg0) (_swigobj->GetMinute(_swigarg0))
4390 static PyObject
*_wrap_wxDateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
* _resultobj
;
4392 wxDateTime::wxDateTime_t _result
;
4394 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4395 PyObject
* _argo0
= 0;
4396 PyObject
* _obj1
= 0;
4397 char *_kwnames
[] = { "self","tz", NULL
};
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMinute",_kwnames
,&_argo0
,&_obj1
))
4403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMinute. Expected _wxDateTime_p.");
4411 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4414 wxPy_BEGIN_ALLOW_THREADS
;
4415 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMinute(_arg0
,*_arg1
);
4417 wxPy_END_ALLOW_THREADS
;
4418 if (PyErr_Occurred()) return NULL
;
4419 } _resultobj
= Py_BuildValue("h",_result
);
4421 if (_arg1
) delete _arg1
;
4426 #define wxDateTime_GetSecond(_swigobj,_swigarg0) (_swigobj->GetSecond(_swigarg0))
4427 static PyObject
*_wrap_wxDateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
* _resultobj
;
4429 wxDateTime::wxDateTime_t _result
;
4431 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4432 PyObject
* _argo0
= 0;
4433 PyObject
* _obj1
= 0;
4434 char *_kwnames
[] = { "self","tz", NULL
};
4437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetSecond",_kwnames
,&_argo0
,&_obj1
))
4440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetSecond. Expected _wxDateTime_p.");
4448 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4451 wxPy_BEGIN_ALLOW_THREADS
;
4452 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetSecond(_arg0
,*_arg1
);
4454 wxPy_END_ALLOW_THREADS
;
4455 if (PyErr_Occurred()) return NULL
;
4456 } _resultobj
= Py_BuildValue("h",_result
);
4458 if (_arg1
) delete _arg1
;
4463 #define wxDateTime_GetMillisecond(_swigobj,_swigarg0) (_swigobj->GetMillisecond(_swigarg0))
4464 static PyObject
*_wrap_wxDateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
* _resultobj
;
4466 wxDateTime::wxDateTime_t _result
;
4468 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4469 PyObject
* _argo0
= 0;
4470 PyObject
* _obj1
= 0;
4471 char *_kwnames
[] = { "self","tz", NULL
};
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMillisecond",_kwnames
,&_argo0
,&_obj1
))
4477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMillisecond. Expected _wxDateTime_p.");
4485 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4488 wxPy_BEGIN_ALLOW_THREADS
;
4489 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMillisecond(_arg0
,*_arg1
);
4491 wxPy_END_ALLOW_THREADS
;
4492 if (PyErr_Occurred()) return NULL
;
4493 } _resultobj
= Py_BuildValue("h",_result
);
4495 if (_arg1
) delete _arg1
;
4500 #define wxDateTime_GetDayOfYear(_swigobj,_swigarg0) (_swigobj->GetDayOfYear(_swigarg0))
4501 static PyObject
*_wrap_wxDateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
* _resultobj
;
4503 wxDateTime::wxDateTime_t _result
;
4505 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4506 PyObject
* _argo0
= 0;
4507 PyObject
* _obj1
= 0;
4508 char *_kwnames
[] = { "self","tz", NULL
};
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDayOfYear",_kwnames
,&_argo0
,&_obj1
))
4514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDayOfYear. Expected _wxDateTime_p.");
4522 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4525 wxPy_BEGIN_ALLOW_THREADS
;
4526 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDayOfYear(_arg0
,*_arg1
);
4528 wxPy_END_ALLOW_THREADS
;
4529 if (PyErr_Occurred()) return NULL
;
4530 } _resultobj
= Py_BuildValue("h",_result
);
4532 if (_arg1
) delete _arg1
;
4537 #define wxDateTime_GetWeekOfYear(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfYear(_swigarg0,_swigarg1))
4538 static PyObject
*_wrap_wxDateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4539 PyObject
* _resultobj
;
4540 wxDateTime::wxDateTime_t _result
;
4542 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4543 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4544 PyObject
* _argo0
= 0;
4545 PyObject
* _obj2
= 0;
4546 char *_kwnames
[] = { "self","flags","tz", NULL
};
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfYear",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfYear. Expected _wxDateTime_p.");
4560 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4563 wxPy_BEGIN_ALLOW_THREADS
;
4564 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfYear(_arg0
,_arg1
,*_arg2
);
4566 wxPy_END_ALLOW_THREADS
;
4567 if (PyErr_Occurred()) return NULL
;
4568 } _resultobj
= Py_BuildValue("h",_result
);
4570 if (_arg2
) delete _arg2
;
4575 #define wxDateTime_GetWeekOfMonth(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfMonth(_swigarg0,_swigarg1))
4576 static PyObject
*_wrap_wxDateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
* _resultobj
;
4578 wxDateTime::wxDateTime_t _result
;
4580 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4581 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4582 PyObject
* _argo0
= 0;
4583 PyObject
* _obj2
= 0;
4584 char *_kwnames
[] = { "self","flags","tz", NULL
};
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfMonth",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfMonth. Expected _wxDateTime_p.");
4598 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4601 wxPy_BEGIN_ALLOW_THREADS
;
4602 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfMonth(_arg0
,_arg1
,*_arg2
);
4604 wxPy_END_ALLOW_THREADS
;
4605 if (PyErr_Occurred()) return NULL
;
4606 } _resultobj
= Py_BuildValue("h",_result
);
4608 if (_arg2
) delete _arg2
;
4613 #define wxDateTime_IsWorkDay(_swigobj,_swigarg0) (_swigobj->IsWorkDay(_swigarg0))
4614 static PyObject
*_wrap_wxDateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
* _resultobj
;
4618 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
4619 PyObject
* _argo0
= 0;
4620 char *_kwnames
[] = { "self","country", NULL
};
4623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsWorkDay",_kwnames
,&_argo0
,&_arg1
))
4626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsWorkDay. Expected _wxDateTime_p.");
4633 wxPy_BEGIN_ALLOW_THREADS
;
4634 _result
= (bool )wxDateTime_IsWorkDay(_arg0
,_arg1
);
4636 wxPy_END_ALLOW_THREADS
;
4637 if (PyErr_Occurred()) return NULL
;
4638 } _resultobj
= Py_BuildValue("i",_result
);
4642 #define wxDateTime_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
4643 static PyObject
*_wrap_wxDateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4644 PyObject
* _resultobj
;
4648 PyObject
* _argo0
= 0;
4649 PyObject
* _argo1
= 0;
4650 char *_kwnames
[] = { "self","datetime", NULL
};
4653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
4656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4663 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4664 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4670 wxPy_BEGIN_ALLOW_THREADS
;
4671 _result
= (bool )wxDateTime_IsEqualTo(_arg0
,*_arg1
);
4673 wxPy_END_ALLOW_THREADS
;
4674 if (PyErr_Occurred()) return NULL
;
4675 } _resultobj
= Py_BuildValue("i",_result
);
4679 #define wxDateTime_IsEarlierThan(_swigobj,_swigarg0) (_swigobj->IsEarlierThan(_swigarg0))
4680 static PyObject
*_wrap_wxDateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4681 PyObject
* _resultobj
;
4685 PyObject
* _argo0
= 0;
4686 PyObject
* _argo1
= 0;
4687 char *_kwnames
[] = { "self","datetime", NULL
};
4690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEarlierThan",_kwnames
,&_argo0
,&_argo1
))
4693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4700 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4701 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4707 wxPy_BEGIN_ALLOW_THREADS
;
4708 _result
= (bool )wxDateTime_IsEarlierThan(_arg0
,*_arg1
);
4710 wxPy_END_ALLOW_THREADS
;
4711 if (PyErr_Occurred()) return NULL
;
4712 } _resultobj
= Py_BuildValue("i",_result
);
4716 #define wxDateTime_IsLaterThan(_swigobj,_swigarg0) (_swigobj->IsLaterThan(_swigarg0))
4717 static PyObject
*_wrap_wxDateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
* _resultobj
;
4722 PyObject
* _argo0
= 0;
4723 PyObject
* _argo1
= 0;
4724 char *_kwnames
[] = { "self","datetime", NULL
};
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsLaterThan",_kwnames
,&_argo0
,&_argo1
))
4730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4737 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4738 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4744 wxPy_BEGIN_ALLOW_THREADS
;
4745 _result
= (bool )wxDateTime_IsLaterThan(_arg0
,*_arg1
);
4747 wxPy_END_ALLOW_THREADS
;
4748 if (PyErr_Occurred()) return NULL
;
4749 } _resultobj
= Py_BuildValue("i",_result
);
4753 #define wxDateTime_IsStrictlyBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsStrictlyBetween(_swigarg0,_swigarg1))
4754 static PyObject
*_wrap_wxDateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
* _resultobj
;
4760 PyObject
* _argo0
= 0;
4761 PyObject
* _argo1
= 0;
4762 PyObject
* _argo2
= 0;
4763 char *_kwnames
[] = { "self","t1","t2", NULL
};
4766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsStrictlyBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4776 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4777 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4783 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4784 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4790 wxPy_BEGIN_ALLOW_THREADS
;
4791 _result
= (bool )wxDateTime_IsStrictlyBetween(_arg0
,*_arg1
,*_arg2
);
4793 wxPy_END_ALLOW_THREADS
;
4794 if (PyErr_Occurred()) return NULL
;
4795 } _resultobj
= Py_BuildValue("i",_result
);
4799 #define wxDateTime_IsBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsBetween(_swigarg0,_swigarg1))
4800 static PyObject
*_wrap_wxDateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
* _resultobj
;
4806 PyObject
* _argo0
= 0;
4807 PyObject
* _argo1
= 0;
4808 PyObject
* _argo2
= 0;
4809 char *_kwnames
[] = { "self","t1","t2", NULL
};
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4822 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4823 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4829 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4830 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4836 wxPy_BEGIN_ALLOW_THREADS
;
4837 _result
= (bool )wxDateTime_IsBetween(_arg0
,*_arg1
,*_arg2
);
4839 wxPy_END_ALLOW_THREADS
;
4840 if (PyErr_Occurred()) return NULL
;
4841 } _resultobj
= Py_BuildValue("i",_result
);
4845 #define wxDateTime_IsSameDate(_swigobj,_swigarg0) (_swigobj->IsSameDate(_swigarg0))
4846 static PyObject
*_wrap_wxDateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
* _resultobj
;
4851 PyObject
* _argo0
= 0;
4852 PyObject
* _argo1
= 0;
4853 char *_kwnames
[] = { "self","dt", NULL
};
4856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameDate",_kwnames
,&_argo0
,&_argo1
))
4859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4866 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4867 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4873 wxPy_BEGIN_ALLOW_THREADS
;
4874 _result
= (bool )wxDateTime_IsSameDate(_arg0
,*_arg1
);
4876 wxPy_END_ALLOW_THREADS
;
4877 if (PyErr_Occurred()) return NULL
;
4878 } _resultobj
= Py_BuildValue("i",_result
);
4882 #define wxDateTime_IsSameTime(_swigobj,_swigarg0) (_swigobj->IsSameTime(_swigarg0))
4883 static PyObject
*_wrap_wxDateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
* _resultobj
;
4888 PyObject
* _argo0
= 0;
4889 PyObject
* _argo1
= 0;
4890 char *_kwnames
[] = { "self","dt", NULL
};
4893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameTime",_kwnames
,&_argo0
,&_argo1
))
4896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
4903 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4904 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
4910 wxPy_BEGIN_ALLOW_THREADS
;
4911 _result
= (bool )wxDateTime_IsSameTime(_arg0
,*_arg1
);
4913 wxPy_END_ALLOW_THREADS
;
4914 if (PyErr_Occurred()) return NULL
;
4915 } _resultobj
= Py_BuildValue("i",_result
);
4919 #define wxDateTime_IsEqualUpTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEqualUpTo(_swigarg0,_swigarg1))
4920 static PyObject
*_wrap_wxDateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
* _resultobj
;
4926 PyObject
* _argo0
= 0;
4927 PyObject
* _argo1
= 0;
4928 PyObject
* _argo2
= 0;
4929 char *_kwnames
[] = { "self","dt","ts", NULL
};
4932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsEqualUpTo",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4942 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4943 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4949 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4950 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTimeSpan_p")) {
4951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsEqualUpTo. Expected _wxTimeSpan_p.");
4956 wxPy_BEGIN_ALLOW_THREADS
;
4957 _result
= (bool )wxDateTime_IsEqualUpTo(_arg0
,*_arg1
,*_arg2
);
4959 wxPy_END_ALLOW_THREADS
;
4960 if (PyErr_Occurred()) return NULL
;
4961 } _resultobj
= Py_BuildValue("i",_result
);
4965 #define wxDateTime_AddTS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4966 static PyObject
*_wrap_wxDateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
* _resultobj
;
4968 wxDateTime
* _result
;
4971 PyObject
* _argo0
= 0;
4972 PyObject
* _argo1
= 0;
4973 char *_kwnames
[] = { "self","diff", NULL
};
4977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddTS",_kwnames
,&_argo0
,&_argo1
))
4980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddTS. Expected _wxDateTime_p.");
4987 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4988 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddTS. Expected _wxTimeSpan_p.");
4994 wxPy_BEGIN_ALLOW_THREADS
;
4995 wxDateTime
& _result_ref
= wxDateTime_AddTS(_arg0
,*_arg1
);
4996 _result
= (wxDateTime
*) &_result_ref
;
4998 wxPy_END_ALLOW_THREADS
;
4999 if (PyErr_Occurred()) return NULL
;
5001 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
5002 _resultobj
= Py_BuildValue("s",_ptemp
);
5005 _resultobj
= Py_None
;
5010 #define wxDateTime_AddDS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
5011 static PyObject
*_wrap_wxDateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5012 PyObject
* _resultobj
;
5013 wxDateTime
* _result
;
5016 PyObject
* _argo0
= 0;
5017 PyObject
* _argo1
= 0;
5018 char *_kwnames
[] = { "self","diff", NULL
};
5022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddDS",_kwnames
,&_argo0
,&_argo1
))
5025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddDS. Expected _wxDateTime_p.");
5032 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5033 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddDS. Expected _wxDateSpan_p.");
5039 wxPy_BEGIN_ALLOW_THREADS
;
5040 wxDateTime
& _result_ref
= wxDateTime_AddDS(_arg0
,*_arg1
);
5041 _result
= (wxDateTime
*) &_result_ref
;
5043 wxPy_END_ALLOW_THREADS
;
5044 if (PyErr_Occurred()) return NULL
;
5046 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
5047 _resultobj
= Py_BuildValue("s",_ptemp
);
5050 _resultobj
= Py_None
;
5055 #define wxDateTime_SubtractTS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5056 static PyObject
*_wrap_wxDateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
* _resultobj
;
5058 wxDateTime
* _result
;
5061 PyObject
* _argo0
= 0;
5062 PyObject
* _argo1
= 0;
5063 char *_kwnames
[] = { "self","diff", NULL
};
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractTS",_kwnames
,&_argo0
,&_argo1
))
5070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractTS. Expected _wxDateTime_p.");
5077 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5078 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractTS. Expected _wxTimeSpan_p.");
5084 wxPy_BEGIN_ALLOW_THREADS
;
5085 wxDateTime
& _result_ref
= wxDateTime_SubtractTS(_arg0
,*_arg1
);
5086 _result
= (wxDateTime
*) &_result_ref
;
5088 wxPy_END_ALLOW_THREADS
;
5089 if (PyErr_Occurred()) return NULL
;
5091 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
5092 _resultobj
= Py_BuildValue("s",_ptemp
);
5095 _resultobj
= Py_None
;
5100 #define wxDateTime_SubtractDS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5101 static PyObject
*_wrap_wxDateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
* _resultobj
;
5103 wxDateTime
* _result
;
5106 PyObject
* _argo0
= 0;
5107 PyObject
* _argo1
= 0;
5108 char *_kwnames
[] = { "self","diff", NULL
};
5112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractDS",_kwnames
,&_argo0
,&_argo1
))
5115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractDS. Expected _wxDateTime_p.");
5122 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5123 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractDS. Expected _wxDateSpan_p.");
5129 wxPy_BEGIN_ALLOW_THREADS
;
5130 wxDateTime
& _result_ref
= wxDateTime_SubtractDS(_arg0
,*_arg1
);
5131 _result
= (wxDateTime
*) &_result_ref
;
5133 wxPy_END_ALLOW_THREADS
;
5134 if (PyErr_Occurred()) return NULL
;
5136 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
5137 _resultobj
= Py_BuildValue("s",_ptemp
);
5140 _resultobj
= Py_None
;
5145 #define wxDateTime_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5146 static PyObject
*_wrap_wxDateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
* _resultobj
;
5148 wxTimeSpan
* _result
;
5151 PyObject
* _argo0
= 0;
5152 PyObject
* _argo1
= 0;
5153 char *_kwnames
[] = { "self","dt", NULL
};
5157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_Subtract",_kwnames
,&_argo0
,&_argo1
))
5160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Subtract. Expected _wxDateTime_p.");
5167 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5168 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_Subtract. Expected _wxDateTime_p.");
5174 wxPy_BEGIN_ALLOW_THREADS
;
5175 _result
= new wxTimeSpan (wxDateTime_Subtract(_arg0
,*_arg1
));
5177 wxPy_END_ALLOW_THREADS
;
5178 if (PyErr_Occurred()) return NULL
;
5179 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5180 _resultobj
= Py_BuildValue("s",_ptemp
);
5184 static wxDateTime
wxDateTime___add__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
5185 static PyObject
*_wrap_wxDateTime___add__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
* _resultobj
;
5187 wxDateTime
* _result
;
5190 PyObject
* _argo0
= 0;
5191 PyObject
* _argo1
= 0;
5192 char *_kwnames
[] = { "self","other", NULL
};
5196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__TS",_kwnames
,&_argo0
,&_argo1
))
5199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__TS. Expected _wxDateTime_p.");
5206 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5207 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__TS. Expected _wxTimeSpan_p.");
5213 wxPy_BEGIN_ALLOW_THREADS
;
5214 _result
= new wxDateTime (wxDateTime___add__TS(_arg0
,*_arg1
));
5216 wxPy_END_ALLOW_THREADS
;
5217 if (PyErr_Occurred()) return NULL
;
5218 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5219 _resultobj
= Py_BuildValue("s",_ptemp
);
5223 static wxDateTime
wxDateTime___add__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
5224 static PyObject
*_wrap_wxDateTime___add__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
* _resultobj
;
5226 wxDateTime
* _result
;
5229 PyObject
* _argo0
= 0;
5230 PyObject
* _argo1
= 0;
5231 char *_kwnames
[] = { "self","other", NULL
};
5235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__DS",_kwnames
,&_argo0
,&_argo1
))
5238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__DS. Expected _wxDateTime_p.");
5245 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5246 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__DS. Expected _wxDateSpan_p.");
5252 wxPy_BEGIN_ALLOW_THREADS
;
5253 _result
= new wxDateTime (wxDateTime___add__DS(_arg0
,*_arg1
));
5255 wxPy_END_ALLOW_THREADS
;
5256 if (PyErr_Occurred()) return NULL
;
5257 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5258 _resultobj
= Py_BuildValue("s",_ptemp
);
5262 static wxTimeSpan
wxDateTime___sub__DT(wxDateTime
*self
,const wxDateTime
& other
) { return *self
- other
; }
5263 static PyObject
*_wrap_wxDateTime___sub__DT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
* _resultobj
;
5265 wxTimeSpan
* _result
;
5268 PyObject
* _argo0
= 0;
5269 PyObject
* _argo1
= 0;
5270 char *_kwnames
[] = { "self","other", NULL
};
5274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DT",_kwnames
,&_argo0
,&_argo1
))
5277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
5284 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5285 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
5291 wxPy_BEGIN_ALLOW_THREADS
;
5292 _result
= new wxTimeSpan (wxDateTime___sub__DT(_arg0
,*_arg1
));
5294 wxPy_END_ALLOW_THREADS
;
5295 if (PyErr_Occurred()) return NULL
;
5296 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5297 _resultobj
= Py_BuildValue("s",_ptemp
);
5301 static wxDateTime
wxDateTime___sub__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
5302 static PyObject
*_wrap_wxDateTime___sub__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5303 PyObject
* _resultobj
;
5304 wxDateTime
* _result
;
5307 PyObject
* _argo0
= 0;
5308 PyObject
* _argo1
= 0;
5309 char *_kwnames
[] = { "self","other", NULL
};
5313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__TS",_kwnames
,&_argo0
,&_argo1
))
5316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__TS. Expected _wxDateTime_p.");
5323 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5324 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__TS. Expected _wxTimeSpan_p.");
5330 wxPy_BEGIN_ALLOW_THREADS
;
5331 _result
= new wxDateTime (wxDateTime___sub__TS(_arg0
,*_arg1
));
5333 wxPy_END_ALLOW_THREADS
;
5334 if (PyErr_Occurred()) return NULL
;
5335 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5336 _resultobj
= Py_BuildValue("s",_ptemp
);
5340 static wxDateTime
wxDateTime___sub__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
- other
; }
5341 static PyObject
*_wrap_wxDateTime___sub__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
* _resultobj
;
5343 wxDateTime
* _result
;
5346 PyObject
* _argo0
= 0;
5347 PyObject
* _argo1
= 0;
5348 char *_kwnames
[] = { "self","other", NULL
};
5352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DS",_kwnames
,&_argo0
,&_argo1
))
5355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DS. Expected _wxDateTime_p.");
5362 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5363 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DS. Expected _wxDateSpan_p.");
5369 wxPy_BEGIN_ALLOW_THREADS
;
5370 _result
= new wxDateTime (wxDateTime___sub__DS(_arg0
,*_arg1
));
5372 wxPy_END_ALLOW_THREADS
;
5373 if (PyErr_Occurred()) return NULL
;
5374 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5375 _resultobj
= Py_BuildValue("s",_ptemp
);
5379 static int wxDateTime___cmp__(wxDateTime
*self
,const wxDateTime
& other
) {
5380 if (*self
< other
) return -1;
5381 if (*self
== other
) return 0;
5384 static PyObject
*_wrap_wxDateTime___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
* _resultobj
;
5389 PyObject
* _argo0
= 0;
5390 PyObject
* _argo1
= 0;
5391 char *_kwnames
[] = { "self","other", NULL
};
5394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___cmp__",_kwnames
,&_argo0
,&_argo1
))
5397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5404 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5405 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5411 wxPy_BEGIN_ALLOW_THREADS
;
5412 _result
= (int )wxDateTime___cmp__(_arg0
,*_arg1
);
5414 wxPy_END_ALLOW_THREADS
;
5415 if (PyErr_Occurred()) return NULL
;
5416 } _resultobj
= Py_BuildValue("i",_result
);
5420 #define wxDateTime_ParseRfc822Date(_swigobj,_swigarg0) (_swigobj->ParseRfc822Date(_swigarg0))
5421 static PyObject
*_wrap_wxDateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
* _resultobj
;
5426 PyObject
* _argo0
= 0;
5427 char *_kwnames
[] = { "self","date", NULL
};
5430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseRfc822Date",_kwnames
,&_argo0
,&_arg1
))
5433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseRfc822Date. Expected _wxDateTime_p.");
5440 wxPy_BEGIN_ALLOW_THREADS
;
5441 _result
= (char *)wxDateTime_ParseRfc822Date(_arg0
,_arg1
);
5443 wxPy_END_ALLOW_THREADS
;
5444 if (PyErr_Occurred()) return NULL
;
5445 } _resultobj
= Py_BuildValue("s", _result
);
5449 #define wxDateTime_ParseFormat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ParseFormat(_swigarg0,_swigarg1,_swigarg2))
5450 static PyObject
*_wrap_wxDateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
* _resultobj
;
5455 char * _arg2
= (char *) "%c";
5456 wxDateTime
* _arg3
= (wxDateTime
*) &wxDefaultDateTime
;
5457 PyObject
* _argo0
= 0;
5458 PyObject
* _argo3
= 0;
5459 char *_kwnames
[] = { "self","date","format","dateDef", NULL
};
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|sO:wxDateTime_ParseFormat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
5465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5472 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5473 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime_p")) {
5474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5479 wxPy_BEGIN_ALLOW_THREADS
;
5480 _result
= (char *)wxDateTime_ParseFormat(_arg0
,_arg1
,_arg2
,*_arg3
);
5482 wxPy_END_ALLOW_THREADS
;
5483 if (PyErr_Occurred()) return NULL
;
5484 } _resultobj
= Py_BuildValue("s", _result
);
5488 #define wxDateTime_ParseDateTime(_swigobj,_swigarg0) (_swigobj->ParseDateTime(_swigarg0))
5489 static PyObject
*_wrap_wxDateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
* _resultobj
;
5494 PyObject
* _argo0
= 0;
5495 char *_kwnames
[] = { "self","datetime", NULL
};
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseDateTime",_kwnames
,&_argo0
,&_arg1
))
5501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDateTime. Expected _wxDateTime_p.");
5508 wxPy_BEGIN_ALLOW_THREADS
;
5509 _result
= (char *)wxDateTime_ParseDateTime(_arg0
,_arg1
);
5511 wxPy_END_ALLOW_THREADS
;
5512 if (PyErr_Occurred()) return NULL
;
5513 } _resultobj
= Py_BuildValue("s", _result
);
5517 #define wxDateTime_ParseDate(_swigobj,_swigarg0) (_swigobj->ParseDate(_swigarg0))
5518 static PyObject
*_wrap_wxDateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
* _resultobj
;
5523 PyObject
* _argo0
= 0;
5524 char *_kwnames
[] = { "self","date", NULL
};
5527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseDate",_kwnames
,&_argo0
,&_arg1
))
5530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDate. Expected _wxDateTime_p.");
5537 wxPy_BEGIN_ALLOW_THREADS
;
5538 _result
= (char *)wxDateTime_ParseDate(_arg0
,_arg1
);
5540 wxPy_END_ALLOW_THREADS
;
5541 if (PyErr_Occurred()) return NULL
;
5542 } _resultobj
= Py_BuildValue("s", _result
);
5546 #define wxDateTime_ParseTime(_swigobj,_swigarg0) (_swigobj->ParseTime(_swigarg0))
5547 static PyObject
*_wrap_wxDateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
* _resultobj
;
5552 PyObject
* _argo0
= 0;
5553 char *_kwnames
[] = { "self","time", NULL
};
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseTime",_kwnames
,&_argo0
,&_arg1
))
5559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseTime. Expected _wxDateTime_p.");
5566 wxPy_BEGIN_ALLOW_THREADS
;
5567 _result
= (char *)wxDateTime_ParseTime(_arg0
,_arg1
);
5569 wxPy_END_ALLOW_THREADS
;
5570 if (PyErr_Occurred()) return NULL
;
5571 } _resultobj
= Py_BuildValue("s", _result
);
5575 #define wxDateTime_Format(_swigobj,_swigarg0,_swigarg1) (_swigobj->Format(_swigarg0,_swigarg1))
5576 static PyObject
*_wrap_wxDateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
* _resultobj
;
5580 char * _arg1
= (char *) "%c";
5581 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
5582 PyObject
* _argo0
= 0;
5583 PyObject
* _obj2
= 0;
5584 char *_kwnames
[] = { "self","format","tz", NULL
};
5587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sO:wxDateTime_Format",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Format. Expected _wxDateTime_p.");
5598 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
5601 wxPy_BEGIN_ALLOW_THREADS
;
5602 _result
= new wxString (wxDateTime_Format(_arg0
,_arg1
,*_arg2
));
5604 wxPy_END_ALLOW_THREADS
;
5605 if (PyErr_Occurred()) return NULL
;
5607 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5610 if (_arg2
) delete _arg2
;
5618 #define wxDateTime_FormatDate(_swigobj) (_swigobj->FormatDate())
5619 static PyObject
*_wrap_wxDateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
* _resultobj
;
5623 PyObject
* _argo0
= 0;
5624 char *_kwnames
[] = { "self", NULL
};
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatDate",_kwnames
,&_argo0
))
5630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatDate. Expected _wxDateTime_p.");
5637 wxPy_BEGIN_ALLOW_THREADS
;
5638 _result
= new wxString (wxDateTime_FormatDate(_arg0
));
5640 wxPy_END_ALLOW_THREADS
;
5641 if (PyErr_Occurred()) return NULL
;
5643 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5651 #define wxDateTime_FormatTime(_swigobj) (_swigobj->FormatTime())
5652 static PyObject
*_wrap_wxDateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
* _resultobj
;
5656 PyObject
* _argo0
= 0;
5657 char *_kwnames
[] = { "self", NULL
};
5660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatTime",_kwnames
,&_argo0
))
5663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatTime. Expected _wxDateTime_p.");
5670 wxPy_BEGIN_ALLOW_THREADS
;
5671 _result
= new wxString (wxDateTime_FormatTime(_arg0
));
5673 wxPy_END_ALLOW_THREADS
;
5674 if (PyErr_Occurred()) return NULL
;
5676 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5684 #define wxDateTime_FormatISODate(_swigobj) (_swigobj->FormatISODate())
5685 static PyObject
*_wrap_wxDateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
* _resultobj
;
5689 PyObject
* _argo0
= 0;
5690 char *_kwnames
[] = { "self", NULL
};
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISODate",_kwnames
,&_argo0
))
5696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISODate. Expected _wxDateTime_p.");
5703 wxPy_BEGIN_ALLOW_THREADS
;
5704 _result
= new wxString (wxDateTime_FormatISODate(_arg0
));
5706 wxPy_END_ALLOW_THREADS
;
5707 if (PyErr_Occurred()) return NULL
;
5709 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5717 #define wxDateTime_FormatISOTime(_swigobj) (_swigobj->FormatISOTime())
5718 static PyObject
*_wrap_wxDateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
* _resultobj
;
5722 PyObject
* _argo0
= 0;
5723 char *_kwnames
[] = { "self", NULL
};
5726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISOTime",_kwnames
,&_argo0
))
5729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISOTime. Expected _wxDateTime_p.");
5736 wxPy_BEGIN_ALLOW_THREADS
;
5737 _result
= new wxString (wxDateTime_FormatISOTime(_arg0
));
5739 wxPy_END_ALLOW_THREADS
;
5740 if (PyErr_Occurred()) return NULL
;
5742 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5750 static PyObject
*_wrap_wxTimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
* _resultobj
;
5752 wxTimeSpan
* _result
;
5754 char *_kwnames
[] = { "sec", NULL
};
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Seconds",_kwnames
,&_arg0
))
5761 wxPy_BEGIN_ALLOW_THREADS
;
5762 _result
= new wxTimeSpan (wxTimeSpan::Seconds(_arg0
));
5764 wxPy_END_ALLOW_THREADS
;
5765 if (PyErr_Occurred()) return NULL
;
5766 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5767 _resultobj
= Py_BuildValue("s",_ptemp
);
5771 static PyObject
*_wrap_wxTimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
* _resultobj
;
5773 wxTimeSpan
* _result
;
5774 char *_kwnames
[] = { NULL
};
5778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Second",_kwnames
))
5781 wxPy_BEGIN_ALLOW_THREADS
;
5782 _result
= new wxTimeSpan (wxTimeSpan::Second());
5784 wxPy_END_ALLOW_THREADS
;
5785 if (PyErr_Occurred()) return NULL
;
5786 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5787 _resultobj
= Py_BuildValue("s",_ptemp
);
5791 static PyObject
*_wrap_wxTimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
* _resultobj
;
5793 wxTimeSpan
* _result
;
5795 char *_kwnames
[] = { "min", NULL
};
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Minutes",_kwnames
,&_arg0
))
5802 wxPy_BEGIN_ALLOW_THREADS
;
5803 _result
= new wxTimeSpan (wxTimeSpan::Minutes(_arg0
));
5805 wxPy_END_ALLOW_THREADS
;
5806 if (PyErr_Occurred()) return NULL
;
5807 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5808 _resultobj
= Py_BuildValue("s",_ptemp
);
5812 static PyObject
*_wrap_wxTimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
* _resultobj
;
5814 wxTimeSpan
* _result
;
5815 char *_kwnames
[] = { NULL
};
5819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Minute",_kwnames
))
5822 wxPy_BEGIN_ALLOW_THREADS
;
5823 _result
= new wxTimeSpan (wxTimeSpan::Minute());
5825 wxPy_END_ALLOW_THREADS
;
5826 if (PyErr_Occurred()) return NULL
;
5827 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5828 _resultobj
= Py_BuildValue("s",_ptemp
);
5832 static PyObject
*_wrap_wxTimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
* _resultobj
;
5834 wxTimeSpan
* _result
;
5836 char *_kwnames
[] = { "hours", NULL
};
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Hours",_kwnames
,&_arg0
))
5843 wxPy_BEGIN_ALLOW_THREADS
;
5844 _result
= new wxTimeSpan (wxTimeSpan::Hours(_arg0
));
5846 wxPy_END_ALLOW_THREADS
;
5847 if (PyErr_Occurred()) return NULL
;
5848 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5849 _resultobj
= Py_BuildValue("s",_ptemp
);
5853 static PyObject
*_wrap_wxTimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5854 PyObject
* _resultobj
;
5855 wxTimeSpan
* _result
;
5856 char *_kwnames
[] = { NULL
};
5860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Hour",_kwnames
))
5863 wxPy_BEGIN_ALLOW_THREADS
;
5864 _result
= new wxTimeSpan (wxTimeSpan::Hour());
5866 wxPy_END_ALLOW_THREADS
;
5867 if (PyErr_Occurred()) return NULL
;
5868 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5869 _resultobj
= Py_BuildValue("s",_ptemp
);
5873 static PyObject
*_wrap_wxTimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
* _resultobj
;
5875 wxTimeSpan
* _result
;
5877 char *_kwnames
[] = { "days", NULL
};
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Days",_kwnames
,&_arg0
))
5884 wxPy_BEGIN_ALLOW_THREADS
;
5885 _result
= new wxTimeSpan (wxTimeSpan::Days(_arg0
));
5887 wxPy_END_ALLOW_THREADS
;
5888 if (PyErr_Occurred()) return NULL
;
5889 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5890 _resultobj
= Py_BuildValue("s",_ptemp
);
5894 static PyObject
*_wrap_wxTimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
* _resultobj
;
5896 wxTimeSpan
* _result
;
5897 char *_kwnames
[] = { NULL
};
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Day",_kwnames
))
5904 wxPy_BEGIN_ALLOW_THREADS
;
5905 _result
= new wxTimeSpan (wxTimeSpan::Day());
5907 wxPy_END_ALLOW_THREADS
;
5908 if (PyErr_Occurred()) return NULL
;
5909 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5910 _resultobj
= Py_BuildValue("s",_ptemp
);
5914 static PyObject
*_wrap_wxTimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
* _resultobj
;
5916 wxTimeSpan
* _result
;
5918 char *_kwnames
[] = { "days", NULL
};
5922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Weeks",_kwnames
,&_arg0
))
5925 wxPy_BEGIN_ALLOW_THREADS
;
5926 _result
= new wxTimeSpan (wxTimeSpan::Weeks(_arg0
));
5928 wxPy_END_ALLOW_THREADS
;
5929 if (PyErr_Occurred()) return NULL
;
5930 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5931 _resultobj
= Py_BuildValue("s",_ptemp
);
5935 static PyObject
*_wrap_wxTimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
* _resultobj
;
5937 wxTimeSpan
* _result
;
5938 char *_kwnames
[] = { NULL
};
5942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Week",_kwnames
))
5945 wxPy_BEGIN_ALLOW_THREADS
;
5946 _result
= new wxTimeSpan (wxTimeSpan::Week());
5948 wxPy_END_ALLOW_THREADS
;
5949 if (PyErr_Occurred()) return NULL
;
5950 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5951 _resultobj
= Py_BuildValue("s",_ptemp
);
5955 #define new_wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5956 static PyObject
*_wrap_new_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
* _resultobj
;
5958 wxTimeSpan
* _result
;
5959 long _arg0
= (long ) 0;
5960 long _arg1
= (long ) 0;
5961 long _arg2
= (long ) 0;
5962 long _arg3
= (long ) 0;
5963 char *_kwnames
[] = { "hours","minutes","seconds","milliseconds", NULL
};
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxTimeSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
5970 wxPy_BEGIN_ALLOW_THREADS
;
5971 _result
= (wxTimeSpan
*)new_wxTimeSpan(_arg0
,_arg1
,_arg2
,_arg3
);
5973 wxPy_END_ALLOW_THREADS
;
5974 if (PyErr_Occurred()) return NULL
;
5976 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5977 _resultobj
= Py_BuildValue("s",_ptemp
);
5980 _resultobj
= Py_None
;
5985 #define delete_wxTimeSpan(_swigobj) (delete _swigobj)
5986 static PyObject
*_wrap_delete_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
* _resultobj
;
5989 PyObject
* _argo0
= 0;
5990 char *_kwnames
[] = { "self", NULL
};
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTimeSpan",_kwnames
,&_argo0
))
5996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTimeSpan. Expected _wxTimeSpan_p.");
6003 wxPy_BEGIN_ALLOW_THREADS
;
6004 delete_wxTimeSpan(_arg0
);
6006 wxPy_END_ALLOW_THREADS
;
6007 if (PyErr_Occurred()) return NULL
;
6008 } Py_INCREF(Py_None
);
6009 _resultobj
= Py_None
;
6013 #define wxTimeSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
6014 static PyObject
*_wrap_wxTimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6015 PyObject
* _resultobj
;
6016 wxTimeSpan
* _result
;
6019 PyObject
* _argo0
= 0;
6020 PyObject
* _argo1
= 0;
6021 char *_kwnames
[] = { "self","diff", NULL
};
6025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Add",_kwnames
,&_argo0
,&_argo1
))
6028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
6035 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6036 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
6042 wxPy_BEGIN_ALLOW_THREADS
;
6043 wxTimeSpan
& _result_ref
= wxTimeSpan_Add(_arg0
,*_arg1
);
6044 _result
= (wxTimeSpan
*) &_result_ref
;
6046 wxPy_END_ALLOW_THREADS
;
6047 if (PyErr_Occurred()) return NULL
;
6049 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6050 _resultobj
= Py_BuildValue("s",_ptemp
);
6053 _resultobj
= Py_None
;
6058 #define wxTimeSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
6059 static PyObject
*_wrap_wxTimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6060 PyObject
* _resultobj
;
6061 wxTimeSpan
* _result
;
6064 PyObject
* _argo0
= 0;
6065 PyObject
* _argo1
= 0;
6066 char *_kwnames
[] = { "self","diff", NULL
};
6070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
6073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
6080 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6081 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
6087 wxPy_BEGIN_ALLOW_THREADS
;
6088 wxTimeSpan
& _result_ref
= wxTimeSpan_Subtract(_arg0
,*_arg1
);
6089 _result
= (wxTimeSpan
*) &_result_ref
;
6091 wxPy_END_ALLOW_THREADS
;
6092 if (PyErr_Occurred()) return NULL
;
6094 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6095 _resultobj
= Py_BuildValue("s",_ptemp
);
6098 _resultobj
= Py_None
;
6103 #define wxTimeSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
6104 static PyObject
*_wrap_wxTimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6105 PyObject
* _resultobj
;
6106 wxTimeSpan
* _result
;
6109 PyObject
* _argo0
= 0;
6110 char *_kwnames
[] = { "self","n", NULL
};
6114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
6117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Multiply. Expected _wxTimeSpan_p.");
6124 wxPy_BEGIN_ALLOW_THREADS
;
6125 wxTimeSpan
& _result_ref
= wxTimeSpan_Multiply(_arg0
,_arg1
);
6126 _result
= (wxTimeSpan
*) &_result_ref
;
6128 wxPy_END_ALLOW_THREADS
;
6129 if (PyErr_Occurred()) return NULL
;
6131 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6132 _resultobj
= Py_BuildValue("s",_ptemp
);
6135 _resultobj
= Py_None
;
6140 #define wxTimeSpan_Neg(_swigobj) (_swigobj->Neg())
6141 static PyObject
*_wrap_wxTimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
* _resultobj
;
6143 wxTimeSpan
* _result
;
6145 PyObject
* _argo0
= 0;
6146 char *_kwnames
[] = { "self", NULL
};
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Neg",_kwnames
,&_argo0
))
6153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Neg. Expected _wxTimeSpan_p.");
6160 wxPy_BEGIN_ALLOW_THREADS
;
6161 wxTimeSpan
& _result_ref
= wxTimeSpan_Neg(_arg0
);
6162 _result
= (wxTimeSpan
*) &_result_ref
;
6164 wxPy_END_ALLOW_THREADS
;
6165 if (PyErr_Occurred()) return NULL
;
6167 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6168 _resultobj
= Py_BuildValue("s",_ptemp
);
6171 _resultobj
= Py_None
;
6176 #define wxTimeSpan_Abs(_swigobj) (_swigobj->Abs())
6177 static PyObject
*_wrap_wxTimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
* _resultobj
;
6179 wxTimeSpan
* _result
;
6181 PyObject
* _argo0
= 0;
6182 char *_kwnames
[] = { "self", NULL
};
6186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Abs",_kwnames
,&_argo0
))
6189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Abs. Expected _wxTimeSpan_p.");
6196 wxPy_BEGIN_ALLOW_THREADS
;
6197 _result
= new wxTimeSpan (wxTimeSpan_Abs(_arg0
));
6199 wxPy_END_ALLOW_THREADS
;
6200 if (PyErr_Occurred()) return NULL
;
6201 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6202 _resultobj
= Py_BuildValue("s",_ptemp
);
6206 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
6207 static PyObject
*_wrap_wxTimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6208 PyObject
* _resultobj
;
6209 wxTimeSpan
* _result
;
6212 PyObject
* _argo0
= 0;
6213 PyObject
* _argo1
= 0;
6214 char *_kwnames
[] = { "self","other", NULL
};
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___add__",_kwnames
,&_argo0
,&_argo1
))
6221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6228 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6229 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6235 wxPy_BEGIN_ALLOW_THREADS
;
6236 _result
= new wxTimeSpan (wxTimeSpan___add__(_arg0
,*_arg1
));
6238 wxPy_END_ALLOW_THREADS
;
6239 if (PyErr_Occurred()) return NULL
;
6240 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6241 _resultobj
= Py_BuildValue("s",_ptemp
);
6245 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
6246 static PyObject
*_wrap_wxTimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6247 PyObject
* _resultobj
;
6248 wxTimeSpan
* _result
;
6251 PyObject
* _argo0
= 0;
6252 PyObject
* _argo1
= 0;
6253 char *_kwnames
[] = { "self","other", NULL
};
6257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
6260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6267 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6268 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6274 wxPy_BEGIN_ALLOW_THREADS
;
6275 _result
= new wxTimeSpan (wxTimeSpan___sub__(_arg0
,*_arg1
));
6277 wxPy_END_ALLOW_THREADS
;
6278 if (PyErr_Occurred()) return NULL
;
6279 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6280 _resultobj
= Py_BuildValue("s",_ptemp
);
6284 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
) { return *self
* n
; }
6285 static PyObject
*_wrap_wxTimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6286 PyObject
* _resultobj
;
6287 wxTimeSpan
* _result
;
6290 PyObject
* _argo0
= 0;
6291 char *_kwnames
[] = { "self","n", NULL
};
6295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
6298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___mul__. Expected _wxTimeSpan_p.");
6305 wxPy_BEGIN_ALLOW_THREADS
;
6306 _result
= new wxTimeSpan (wxTimeSpan___mul__(_arg0
,_arg1
));
6308 wxPy_END_ALLOW_THREADS
;
6309 if (PyErr_Occurred()) return NULL
;
6310 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6311 _resultobj
= Py_BuildValue("s",_ptemp
);
6315 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
) { return n
* *self
; }
6316 static PyObject
*_wrap_wxTimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
* _resultobj
;
6318 wxTimeSpan
* _result
;
6321 PyObject
* _argo0
= 0;
6322 char *_kwnames
[] = { "self","n", NULL
};
6326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
6329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___rmul__. Expected _wxTimeSpan_p.");
6336 wxPy_BEGIN_ALLOW_THREADS
;
6337 _result
= new wxTimeSpan (wxTimeSpan___rmul__(_arg0
,_arg1
));
6339 wxPy_END_ALLOW_THREADS
;
6340 if (PyErr_Occurred()) return NULL
;
6341 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6342 _resultobj
= Py_BuildValue("s",_ptemp
);
6346 static wxTimeSpan
wxTimeSpan___neg__(wxTimeSpan
*self
) { return self
->Negate(); }
6347 static PyObject
*_wrap_wxTimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
* _resultobj
;
6349 wxTimeSpan
* _result
;
6351 PyObject
* _argo0
= 0;
6352 char *_kwnames
[] = { "self", NULL
};
6356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan___neg__",_kwnames
,&_argo0
))
6359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___neg__. Expected _wxTimeSpan_p.");
6366 wxPy_BEGIN_ALLOW_THREADS
;
6367 _result
= new wxTimeSpan (wxTimeSpan___neg__(_arg0
));
6369 wxPy_END_ALLOW_THREADS
;
6370 if (PyErr_Occurred()) return NULL
;
6371 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6372 _resultobj
= Py_BuildValue("s",_ptemp
);
6376 static int wxTimeSpan___cmp__(wxTimeSpan
*self
,const wxTimeSpan
& other
) {
6377 if (*self
< other
) return -1;
6378 if (*self
== other
) return 0;
6381 static PyObject
*_wrap_wxTimeSpan___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6382 PyObject
* _resultobj
;
6386 PyObject
* _argo0
= 0;
6387 PyObject
* _argo1
= 0;
6388 char *_kwnames
[] = { "self","other", NULL
};
6391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___cmp__",_kwnames
,&_argo0
,&_argo1
))
6394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6401 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6402 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6408 wxPy_BEGIN_ALLOW_THREADS
;
6409 _result
= (int )wxTimeSpan___cmp__(_arg0
,*_arg1
);
6411 wxPy_END_ALLOW_THREADS
;
6412 if (PyErr_Occurred()) return NULL
;
6413 } _resultobj
= Py_BuildValue("i",_result
);
6417 #define wxTimeSpan_IsNull(_swigobj) (_swigobj->IsNull())
6418 static PyObject
*_wrap_wxTimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6419 PyObject
* _resultobj
;
6422 PyObject
* _argo0
= 0;
6423 char *_kwnames
[] = { "self", NULL
};
6426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNull",_kwnames
,&_argo0
))
6429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNull. Expected _wxTimeSpan_p.");
6436 wxPy_BEGIN_ALLOW_THREADS
;
6437 _result
= (bool )wxTimeSpan_IsNull(_arg0
);
6439 wxPy_END_ALLOW_THREADS
;
6440 if (PyErr_Occurred()) return NULL
;
6441 } _resultobj
= Py_BuildValue("i",_result
);
6445 #define wxTimeSpan_IsPositive(_swigobj) (_swigobj->IsPositive())
6446 static PyObject
*_wrap_wxTimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
* _resultobj
;
6450 PyObject
* _argo0
= 0;
6451 char *_kwnames
[] = { "self", NULL
};
6454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsPositive",_kwnames
,&_argo0
))
6457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsPositive. Expected _wxTimeSpan_p.");
6464 wxPy_BEGIN_ALLOW_THREADS
;
6465 _result
= (bool )wxTimeSpan_IsPositive(_arg0
);
6467 wxPy_END_ALLOW_THREADS
;
6468 if (PyErr_Occurred()) return NULL
;
6469 } _resultobj
= Py_BuildValue("i",_result
);
6473 #define wxTimeSpan_IsNegative(_swigobj) (_swigobj->IsNegative())
6474 static PyObject
*_wrap_wxTimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6475 PyObject
* _resultobj
;
6478 PyObject
* _argo0
= 0;
6479 char *_kwnames
[] = { "self", NULL
};
6482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNegative",_kwnames
,&_argo0
))
6485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNegative. Expected _wxTimeSpan_p.");
6492 wxPy_BEGIN_ALLOW_THREADS
;
6493 _result
= (bool )wxTimeSpan_IsNegative(_arg0
);
6495 wxPy_END_ALLOW_THREADS
;
6496 if (PyErr_Occurred()) return NULL
;
6497 } _resultobj
= Py_BuildValue("i",_result
);
6501 #define wxTimeSpan_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
6502 static PyObject
*_wrap_wxTimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
* _resultobj
;
6507 PyObject
* _argo0
= 0;
6508 PyObject
* _argo1
= 0;
6509 char *_kwnames
[] = { "self","ts", NULL
};
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
6515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6522 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6523 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6529 wxPy_BEGIN_ALLOW_THREADS
;
6530 _result
= (bool )wxTimeSpan_IsEqualTo(_arg0
,*_arg1
);
6532 wxPy_END_ALLOW_THREADS
;
6533 if (PyErr_Occurred()) return NULL
;
6534 } _resultobj
= Py_BuildValue("i",_result
);
6538 #define wxTimeSpan_IsLongerThan(_swigobj,_swigarg0) (_swigobj->IsLongerThan(_swigarg0))
6539 static PyObject
*_wrap_wxTimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
* _resultobj
;
6544 PyObject
* _argo0
= 0;
6545 PyObject
* _argo1
= 0;
6546 char *_kwnames
[] = { "self","ts", NULL
};
6549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsLongerThan",_kwnames
,&_argo0
,&_argo1
))
6552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6559 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6560 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6566 wxPy_BEGIN_ALLOW_THREADS
;
6567 _result
= (bool )wxTimeSpan_IsLongerThan(_arg0
,*_arg1
);
6569 wxPy_END_ALLOW_THREADS
;
6570 if (PyErr_Occurred()) return NULL
;
6571 } _resultobj
= Py_BuildValue("i",_result
);
6575 #define wxTimeSpan_IsShorterThan(_swigobj,_swigarg0) (_swigobj->IsShorterThan(_swigarg0))
6576 static PyObject
*_wrap_wxTimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6577 PyObject
* _resultobj
;
6581 PyObject
* _argo0
= 0;
6582 PyObject
* _argo1
= 0;
6583 char *_kwnames
[] = { "self","t", NULL
};
6586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsShorterThan",_kwnames
,&_argo0
,&_argo1
))
6589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6596 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6597 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6603 wxPy_BEGIN_ALLOW_THREADS
;
6604 _result
= (bool )wxTimeSpan_IsShorterThan(_arg0
,*_arg1
);
6606 wxPy_END_ALLOW_THREADS
;
6607 if (PyErr_Occurred()) return NULL
;
6608 } _resultobj
= Py_BuildValue("i",_result
);
6612 #define wxTimeSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
6613 static PyObject
*_wrap_wxTimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6614 PyObject
* _resultobj
;
6617 PyObject
* _argo0
= 0;
6618 char *_kwnames
[] = { "self", NULL
};
6621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetWeeks",_kwnames
,&_argo0
))
6624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetWeeks. Expected _wxTimeSpan_p.");
6631 wxPy_BEGIN_ALLOW_THREADS
;
6632 _result
= (int )wxTimeSpan_GetWeeks(_arg0
);
6634 wxPy_END_ALLOW_THREADS
;
6635 if (PyErr_Occurred()) return NULL
;
6636 } _resultobj
= Py_BuildValue("i",_result
);
6640 #define wxTimeSpan_GetDays(_swigobj) (_swigobj->GetDays())
6641 static PyObject
*_wrap_wxTimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6642 PyObject
* _resultobj
;
6645 PyObject
* _argo0
= 0;
6646 char *_kwnames
[] = { "self", NULL
};
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetDays",_kwnames
,&_argo0
))
6652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetDays. Expected _wxTimeSpan_p.");
6659 wxPy_BEGIN_ALLOW_THREADS
;
6660 _result
= (int )wxTimeSpan_GetDays(_arg0
);
6662 wxPy_END_ALLOW_THREADS
;
6663 if (PyErr_Occurred()) return NULL
;
6664 } _resultobj
= Py_BuildValue("i",_result
);
6668 #define wxTimeSpan_GetHours(_swigobj) (_swigobj->GetHours())
6669 static PyObject
*_wrap_wxTimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
* _resultobj
;
6673 PyObject
* _argo0
= 0;
6674 char *_kwnames
[] = { "self", NULL
};
6677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetHours",_kwnames
,&_argo0
))
6680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetHours. Expected _wxTimeSpan_p.");
6687 wxPy_BEGIN_ALLOW_THREADS
;
6688 _result
= (int )wxTimeSpan_GetHours(_arg0
);
6690 wxPy_END_ALLOW_THREADS
;
6691 if (PyErr_Occurred()) return NULL
;
6692 } _resultobj
= Py_BuildValue("i",_result
);
6696 #define wxTimeSpan_GetMinutes(_swigobj) (_swigobj->GetMinutes())
6697 static PyObject
*_wrap_wxTimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
* _resultobj
;
6701 PyObject
* _argo0
= 0;
6702 char *_kwnames
[] = { "self", NULL
};
6705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMinutes",_kwnames
,&_argo0
))
6708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMinutes. Expected _wxTimeSpan_p.");
6715 wxPy_BEGIN_ALLOW_THREADS
;
6716 _result
= (int )wxTimeSpan_GetMinutes(_arg0
);
6718 wxPy_END_ALLOW_THREADS
;
6719 if (PyErr_Occurred()) return NULL
;
6720 } _resultobj
= Py_BuildValue("i",_result
);
6724 #define wxTimeSpan_GetSeconds(_swigobj) (_swigobj->GetSeconds())
6725 static PyObject
*_wrap_wxTimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
* _resultobj
;
6727 wxLongLong
* _result
;
6729 PyObject
* _argo0
= 0;
6730 char *_kwnames
[] = { "self", NULL
};
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetSeconds",_kwnames
,&_argo0
))
6736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetSeconds. Expected _wxTimeSpan_p.");
6743 wxPy_BEGIN_ALLOW_THREADS
;
6744 _result
= new wxLongLong (wxTimeSpan_GetSeconds(_arg0
));
6746 wxPy_END_ALLOW_THREADS
;
6747 if (PyErr_Occurred()) return NULL
;
6749 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6750 hi
= PyLong_FromLong(_result
->GetHi());
6751 lo
= PyLong_FromLong(_result
->GetLo());
6752 shifter
= PyLong_FromLong(32);
6753 shifted
= PyNumber_Lshift(hi
, shifter
);
6754 _resultobj
= PyNumber_Or(shifted
, lo
);
6763 #define wxTimeSpan_GetMilliseconds(_swigobj) (_swigobj->GetMilliseconds())
6764 static PyObject
*_wrap_wxTimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
* _resultobj
;
6766 wxLongLong
* _result
;
6768 PyObject
* _argo0
= 0;
6769 char *_kwnames
[] = { "self", NULL
};
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMilliseconds",_kwnames
,&_argo0
))
6775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMilliseconds. Expected _wxTimeSpan_p.");
6782 wxPy_BEGIN_ALLOW_THREADS
;
6783 _result
= new wxLongLong (wxTimeSpan_GetMilliseconds(_arg0
));
6785 wxPy_END_ALLOW_THREADS
;
6786 if (PyErr_Occurred()) return NULL
;
6788 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6789 hi
= PyLong_FromLong(_result
->GetHi());
6790 lo
= PyLong_FromLong(_result
->GetLo());
6791 shifter
= PyLong_FromLong(32);
6792 shifted
= PyNumber_Lshift(hi
, shifter
);
6793 _resultobj
= PyNumber_Or(shifted
, lo
);
6802 #define wxTimeSpan_Format(_swigobj,_swigarg0) (_swigobj->Format(_swigarg0))
6803 static PyObject
*_wrap_wxTimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6804 PyObject
* _resultobj
;
6807 char * _arg1
= (char *) "%c";
6808 PyObject
* _argo0
= 0;
6809 char *_kwnames
[] = { "self","format", NULL
};
6812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxTimeSpan_Format",_kwnames
,&_argo0
,&_arg1
))
6815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Format. Expected _wxTimeSpan_p.");
6822 wxPy_BEGIN_ALLOW_THREADS
;
6823 _result
= new wxString (wxTimeSpan_Format(_arg0
,_arg1
));
6825 wxPy_END_ALLOW_THREADS
;
6826 if (PyErr_Occurred()) return NULL
;
6828 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6836 #define new_wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6837 static PyObject
*_wrap_new_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6838 PyObject
* _resultobj
;
6839 wxDateSpan
* _result
;
6840 int _arg0
= (int ) 0;
6841 int _arg1
= (int ) 0;
6842 int _arg2
= (int ) 0;
6843 int _arg3
= (int ) 0;
6844 char *_kwnames
[] = { "years","months","weeks","days", NULL
};
6848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxDateSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
6851 wxPy_BEGIN_ALLOW_THREADS
;
6852 _result
= (wxDateSpan
*)new_wxDateSpan(_arg0
,_arg1
,_arg2
,_arg3
);
6854 wxPy_END_ALLOW_THREADS
;
6855 if (PyErr_Occurred()) return NULL
;
6857 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6858 _resultobj
= Py_BuildValue("s",_ptemp
);
6861 _resultobj
= Py_None
;
6866 #define delete_wxDateSpan(_swigobj) (delete _swigobj)
6867 static PyObject
*_wrap_delete_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6868 PyObject
* _resultobj
;
6870 PyObject
* _argo0
= 0;
6871 char *_kwnames
[] = { "self", NULL
};
6874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateSpan",_kwnames
,&_argo0
))
6877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateSpan. Expected _wxDateSpan_p.");
6884 wxPy_BEGIN_ALLOW_THREADS
;
6885 delete_wxDateSpan(_arg0
);
6887 wxPy_END_ALLOW_THREADS
;
6888 if (PyErr_Occurred()) return NULL
;
6889 } Py_INCREF(Py_None
);
6890 _resultobj
= Py_None
;
6894 static PyObject
*_wrap_wxDateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
* _resultobj
;
6896 wxDateSpan
* _result
;
6898 char *_kwnames
[] = { "days", NULL
};
6902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Days",_kwnames
,&_arg0
))
6905 wxPy_BEGIN_ALLOW_THREADS
;
6906 _result
= new wxDateSpan (wxDateSpan::Days(_arg0
));
6908 wxPy_END_ALLOW_THREADS
;
6909 if (PyErr_Occurred()) return NULL
;
6910 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6911 _resultobj
= Py_BuildValue("s",_ptemp
);
6915 static PyObject
*_wrap_wxDateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6916 PyObject
* _resultobj
;
6917 wxDateSpan
* _result
;
6918 char *_kwnames
[] = { NULL
};
6922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Day",_kwnames
))
6925 wxPy_BEGIN_ALLOW_THREADS
;
6926 _result
= new wxDateSpan (wxDateSpan::Day());
6928 wxPy_END_ALLOW_THREADS
;
6929 if (PyErr_Occurred()) return NULL
;
6930 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6931 _resultobj
= Py_BuildValue("s",_ptemp
);
6935 static PyObject
*_wrap_wxDateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
* _resultobj
;
6937 wxDateSpan
* _result
;
6939 char *_kwnames
[] = { "weeks", NULL
};
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Weeks",_kwnames
,&_arg0
))
6946 wxPy_BEGIN_ALLOW_THREADS
;
6947 _result
= new wxDateSpan (wxDateSpan::Weeks(_arg0
));
6949 wxPy_END_ALLOW_THREADS
;
6950 if (PyErr_Occurred()) return NULL
;
6951 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6952 _resultobj
= Py_BuildValue("s",_ptemp
);
6956 static PyObject
*_wrap_wxDateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6957 PyObject
* _resultobj
;
6958 wxDateSpan
* _result
;
6959 char *_kwnames
[] = { NULL
};
6963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Week",_kwnames
))
6966 wxPy_BEGIN_ALLOW_THREADS
;
6967 _result
= new wxDateSpan (wxDateSpan::Week());
6969 wxPy_END_ALLOW_THREADS
;
6970 if (PyErr_Occurred()) return NULL
;
6971 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6972 _resultobj
= Py_BuildValue("s",_ptemp
);
6976 static PyObject
*_wrap_wxDateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
* _resultobj
;
6978 wxDateSpan
* _result
;
6980 char *_kwnames
[] = { "mon", NULL
};
6984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Months",_kwnames
,&_arg0
))
6987 wxPy_BEGIN_ALLOW_THREADS
;
6988 _result
= new wxDateSpan (wxDateSpan::Months(_arg0
));
6990 wxPy_END_ALLOW_THREADS
;
6991 if (PyErr_Occurred()) return NULL
;
6992 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6993 _resultobj
= Py_BuildValue("s",_ptemp
);
6997 static PyObject
*_wrap_wxDateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
* _resultobj
;
6999 wxDateSpan
* _result
;
7000 char *_kwnames
[] = { NULL
};
7004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Month",_kwnames
))
7007 wxPy_BEGIN_ALLOW_THREADS
;
7008 _result
= new wxDateSpan (wxDateSpan::Month());
7010 wxPy_END_ALLOW_THREADS
;
7011 if (PyErr_Occurred()) return NULL
;
7012 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7013 _resultobj
= Py_BuildValue("s",_ptemp
);
7017 static PyObject
*_wrap_wxDateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
* _resultobj
;
7019 wxDateSpan
* _result
;
7021 char *_kwnames
[] = { "years", NULL
};
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Years",_kwnames
,&_arg0
))
7028 wxPy_BEGIN_ALLOW_THREADS
;
7029 _result
= new wxDateSpan (wxDateSpan::Years(_arg0
));
7031 wxPy_END_ALLOW_THREADS
;
7032 if (PyErr_Occurred()) return NULL
;
7033 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7034 _resultobj
= Py_BuildValue("s",_ptemp
);
7038 static PyObject
*_wrap_wxDateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
* _resultobj
;
7040 wxDateSpan
* _result
;
7041 char *_kwnames
[] = { NULL
};
7045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Year",_kwnames
))
7048 wxPy_BEGIN_ALLOW_THREADS
;
7049 _result
= new wxDateSpan (wxDateSpan::Year());
7051 wxPy_END_ALLOW_THREADS
;
7052 if (PyErr_Occurred()) return NULL
;
7053 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7054 _resultobj
= Py_BuildValue("s",_ptemp
);
7058 #define wxDateSpan_SetYears(_swigobj,_swigarg0) (_swigobj->SetYears(_swigarg0))
7059 static PyObject
*_wrap_wxDateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
* _resultobj
;
7061 wxDateSpan
* _result
;
7064 PyObject
* _argo0
= 0;
7065 char *_kwnames
[] = { "self","n", NULL
};
7069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetYears",_kwnames
,&_argo0
,&_arg1
))
7072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetYears. Expected _wxDateSpan_p.");
7079 wxPy_BEGIN_ALLOW_THREADS
;
7080 wxDateSpan
& _result_ref
= wxDateSpan_SetYears(_arg0
,_arg1
);
7081 _result
= (wxDateSpan
*) &_result_ref
;
7083 wxPy_END_ALLOW_THREADS
;
7084 if (PyErr_Occurred()) return NULL
;
7086 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7087 _resultobj
= Py_BuildValue("s",_ptemp
);
7090 _resultobj
= Py_None
;
7095 #define wxDateSpan_SetMonths(_swigobj,_swigarg0) (_swigobj->SetMonths(_swigarg0))
7096 static PyObject
*_wrap_wxDateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
* _resultobj
;
7098 wxDateSpan
* _result
;
7101 PyObject
* _argo0
= 0;
7102 char *_kwnames
[] = { "self","n", NULL
};
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetMonths",_kwnames
,&_argo0
,&_arg1
))
7109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetMonths. Expected _wxDateSpan_p.");
7116 wxPy_BEGIN_ALLOW_THREADS
;
7117 wxDateSpan
& _result_ref
= wxDateSpan_SetMonths(_arg0
,_arg1
);
7118 _result
= (wxDateSpan
*) &_result_ref
;
7120 wxPy_END_ALLOW_THREADS
;
7121 if (PyErr_Occurred()) return NULL
;
7123 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7124 _resultobj
= Py_BuildValue("s",_ptemp
);
7127 _resultobj
= Py_None
;
7132 #define wxDateSpan_SetWeeks(_swigobj,_swigarg0) (_swigobj->SetWeeks(_swigarg0))
7133 static PyObject
*_wrap_wxDateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
* _resultobj
;
7135 wxDateSpan
* _result
;
7138 PyObject
* _argo0
= 0;
7139 char *_kwnames
[] = { "self","n", NULL
};
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetWeeks",_kwnames
,&_argo0
,&_arg1
))
7146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetWeeks. Expected _wxDateSpan_p.");
7153 wxPy_BEGIN_ALLOW_THREADS
;
7154 wxDateSpan
& _result_ref
= wxDateSpan_SetWeeks(_arg0
,_arg1
);
7155 _result
= (wxDateSpan
*) &_result_ref
;
7157 wxPy_END_ALLOW_THREADS
;
7158 if (PyErr_Occurred()) return NULL
;
7160 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7161 _resultobj
= Py_BuildValue("s",_ptemp
);
7164 _resultobj
= Py_None
;
7169 #define wxDateSpan_SetDays(_swigobj,_swigarg0) (_swigobj->SetDays(_swigarg0))
7170 static PyObject
*_wrap_wxDateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
* _resultobj
;
7172 wxDateSpan
* _result
;
7175 PyObject
* _argo0
= 0;
7176 char *_kwnames
[] = { "self","n", NULL
};
7180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetDays",_kwnames
,&_argo0
,&_arg1
))
7183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetDays. Expected _wxDateSpan_p.");
7190 wxPy_BEGIN_ALLOW_THREADS
;
7191 wxDateSpan
& _result_ref
= wxDateSpan_SetDays(_arg0
,_arg1
);
7192 _result
= (wxDateSpan
*) &_result_ref
;
7194 wxPy_END_ALLOW_THREADS
;
7195 if (PyErr_Occurred()) return NULL
;
7197 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7198 _resultobj
= Py_BuildValue("s",_ptemp
);
7201 _resultobj
= Py_None
;
7206 #define wxDateSpan_GetYears(_swigobj) (_swigobj->GetYears())
7207 static PyObject
*_wrap_wxDateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
* _resultobj
;
7211 PyObject
* _argo0
= 0;
7212 char *_kwnames
[] = { "self", NULL
};
7215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetYears",_kwnames
,&_argo0
))
7218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetYears. Expected _wxDateSpan_p.");
7225 wxPy_BEGIN_ALLOW_THREADS
;
7226 _result
= (int )wxDateSpan_GetYears(_arg0
);
7228 wxPy_END_ALLOW_THREADS
;
7229 if (PyErr_Occurred()) return NULL
;
7230 } _resultobj
= Py_BuildValue("i",_result
);
7234 #define wxDateSpan_GetMonths(_swigobj) (_swigobj->GetMonths())
7235 static PyObject
*_wrap_wxDateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7236 PyObject
* _resultobj
;
7239 PyObject
* _argo0
= 0;
7240 char *_kwnames
[] = { "self", NULL
};
7243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetMonths",_kwnames
,&_argo0
))
7246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetMonths. Expected _wxDateSpan_p.");
7253 wxPy_BEGIN_ALLOW_THREADS
;
7254 _result
= (int )wxDateSpan_GetMonths(_arg0
);
7256 wxPy_END_ALLOW_THREADS
;
7257 if (PyErr_Occurred()) return NULL
;
7258 } _resultobj
= Py_BuildValue("i",_result
);
7262 #define wxDateSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
7263 static PyObject
*_wrap_wxDateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
* _resultobj
;
7267 PyObject
* _argo0
= 0;
7268 char *_kwnames
[] = { "self", NULL
};
7271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetWeeks",_kwnames
,&_argo0
))
7274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetWeeks. Expected _wxDateSpan_p.");
7281 wxPy_BEGIN_ALLOW_THREADS
;
7282 _result
= (int )wxDateSpan_GetWeeks(_arg0
);
7284 wxPy_END_ALLOW_THREADS
;
7285 if (PyErr_Occurred()) return NULL
;
7286 } _resultobj
= Py_BuildValue("i",_result
);
7290 #define wxDateSpan_GetDays(_swigobj) (_swigobj->GetDays())
7291 static PyObject
*_wrap_wxDateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
* _resultobj
;
7295 PyObject
* _argo0
= 0;
7296 char *_kwnames
[] = { "self", NULL
};
7299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetDays",_kwnames
,&_argo0
))
7302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetDays. Expected _wxDateSpan_p.");
7309 wxPy_BEGIN_ALLOW_THREADS
;
7310 _result
= (int )wxDateSpan_GetDays(_arg0
);
7312 wxPy_END_ALLOW_THREADS
;
7313 if (PyErr_Occurred()) return NULL
;
7314 } _resultobj
= Py_BuildValue("i",_result
);
7318 #define wxDateSpan_GetTotalDays(_swigobj) (_swigobj->GetTotalDays())
7319 static PyObject
*_wrap_wxDateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
* _resultobj
;
7323 PyObject
* _argo0
= 0;
7324 char *_kwnames
[] = { "self", NULL
};
7327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetTotalDays",_kwnames
,&_argo0
))
7330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetTotalDays. Expected _wxDateSpan_p.");
7337 wxPy_BEGIN_ALLOW_THREADS
;
7338 _result
= (int )wxDateSpan_GetTotalDays(_arg0
);
7340 wxPy_END_ALLOW_THREADS
;
7341 if (PyErr_Occurred()) return NULL
;
7342 } _resultobj
= Py_BuildValue("i",_result
);
7346 #define wxDateSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
7347 static PyObject
*_wrap_wxDateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
* _resultobj
;
7349 wxDateSpan
* _result
;
7352 PyObject
* _argo0
= 0;
7353 PyObject
* _argo1
= 0;
7354 char *_kwnames
[] = { "self","other", NULL
};
7358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Add",_kwnames
,&_argo0
,&_argo1
))
7361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7368 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7369 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7375 wxPy_BEGIN_ALLOW_THREADS
;
7376 wxDateSpan
& _result_ref
= wxDateSpan_Add(_arg0
,*_arg1
);
7377 _result
= (wxDateSpan
*) &_result_ref
;
7379 wxPy_END_ALLOW_THREADS
;
7380 if (PyErr_Occurred()) return NULL
;
7382 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7383 _resultobj
= Py_BuildValue("s",_ptemp
);
7386 _resultobj
= Py_None
;
7391 #define wxDateSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
7392 static PyObject
*_wrap_wxDateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
* _resultobj
;
7394 wxDateSpan
* _result
;
7397 PyObject
* _argo0
= 0;
7398 PyObject
* _argo1
= 0;
7399 char *_kwnames
[] = { "self","other", NULL
};
7403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
7406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7413 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7414 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7420 wxPy_BEGIN_ALLOW_THREADS
;
7421 wxDateSpan
& _result_ref
= wxDateSpan_Subtract(_arg0
,*_arg1
);
7422 _result
= (wxDateSpan
*) &_result_ref
;
7424 wxPy_END_ALLOW_THREADS
;
7425 if (PyErr_Occurred()) return NULL
;
7427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7428 _resultobj
= Py_BuildValue("s",_ptemp
);
7431 _resultobj
= Py_None
;
7436 #define wxDateSpan_Neg(_swigobj) (_swigobj->Neg())
7437 static PyObject
*_wrap_wxDateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7438 PyObject
* _resultobj
;
7439 wxDateSpan
* _result
;
7441 PyObject
* _argo0
= 0;
7442 char *_kwnames
[] = { "self", NULL
};
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_Neg",_kwnames
,&_argo0
))
7449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Neg. Expected _wxDateSpan_p.");
7456 wxPy_BEGIN_ALLOW_THREADS
;
7457 wxDateSpan
& _result_ref
= wxDateSpan_Neg(_arg0
);
7458 _result
= (wxDateSpan
*) &_result_ref
;
7460 wxPy_END_ALLOW_THREADS
;
7461 if (PyErr_Occurred()) return NULL
;
7463 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7464 _resultobj
= Py_BuildValue("s",_ptemp
);
7467 _resultobj
= Py_None
;
7472 #define wxDateSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
7473 static PyObject
*_wrap_wxDateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7474 PyObject
* _resultobj
;
7475 wxDateSpan
* _result
;
7478 PyObject
* _argo0
= 0;
7479 char *_kwnames
[] = { "self","factor", NULL
};
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
7486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Multiply. Expected _wxDateSpan_p.");
7493 wxPy_BEGIN_ALLOW_THREADS
;
7494 wxDateSpan
& _result_ref
= wxDateSpan_Multiply(_arg0
,_arg1
);
7495 _result
= (wxDateSpan
*) &_result_ref
;
7497 wxPy_END_ALLOW_THREADS
;
7498 if (PyErr_Occurred()) return NULL
;
7500 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7501 _resultobj
= Py_BuildValue("s",_ptemp
);
7504 _resultobj
= Py_None
;
7509 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
7510 static PyObject
*_wrap_wxDateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
* _resultobj
;
7512 wxDateSpan
* _result
;
7515 PyObject
* _argo0
= 0;
7516 PyObject
* _argo1
= 0;
7517 char *_kwnames
[] = { "self","other", NULL
};
7521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___add__",_kwnames
,&_argo0
,&_argo1
))
7524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7531 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7532 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7538 wxPy_BEGIN_ALLOW_THREADS
;
7539 _result
= new wxDateSpan (wxDateSpan___add__(_arg0
,*_arg1
));
7541 wxPy_END_ALLOW_THREADS
;
7542 if (PyErr_Occurred()) return NULL
;
7543 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7544 _resultobj
= Py_BuildValue("s",_ptemp
);
7548 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
- other
; }
7549 static PyObject
*_wrap_wxDateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
* _resultobj
;
7551 wxDateSpan
* _result
;
7554 PyObject
* _argo0
= 0;
7555 PyObject
* _argo1
= 0;
7556 char *_kwnames
[] = { "self","other", NULL
};
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
7563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7570 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7571 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7577 wxPy_BEGIN_ALLOW_THREADS
;
7578 _result
= new wxDateSpan (wxDateSpan___sub__(_arg0
,*_arg1
));
7580 wxPy_END_ALLOW_THREADS
;
7581 if (PyErr_Occurred()) return NULL
;
7582 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7583 _resultobj
= Py_BuildValue("s",_ptemp
);
7587 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
) { return *self
* n
; }
7588 static PyObject
*_wrap_wxDateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
* _resultobj
;
7590 wxDateSpan
* _result
;
7593 PyObject
* _argo0
= 0;
7594 char *_kwnames
[] = { "self","n", NULL
};
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
7601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___mul__. Expected _wxDateSpan_p.");
7608 wxPy_BEGIN_ALLOW_THREADS
;
7609 _result
= new wxDateSpan (wxDateSpan___mul__(_arg0
,_arg1
));
7611 wxPy_END_ALLOW_THREADS
;
7612 if (PyErr_Occurred()) return NULL
;
7613 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7614 _resultobj
= Py_BuildValue("s",_ptemp
);
7618 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
) { return n
* *self
; }
7619 static PyObject
*_wrap_wxDateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
* _resultobj
;
7621 wxDateSpan
* _result
;
7624 PyObject
* _argo0
= 0;
7625 char *_kwnames
[] = { "self","n", NULL
};
7629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
7632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___rmul__. Expected _wxDateSpan_p.");
7639 wxPy_BEGIN_ALLOW_THREADS
;
7640 _result
= new wxDateSpan (wxDateSpan___rmul__(_arg0
,_arg1
));
7642 wxPy_END_ALLOW_THREADS
;
7643 if (PyErr_Occurred()) return NULL
;
7644 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7645 _resultobj
= Py_BuildValue("s",_ptemp
);
7649 static wxDateSpan
wxDateSpan___neg__(wxDateSpan
*self
) { return self
->Negate(); }
7650 static PyObject
*_wrap_wxDateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
* _resultobj
;
7652 wxDateSpan
* _result
;
7654 PyObject
* _argo0
= 0;
7655 char *_kwnames
[] = { "self", NULL
};
7659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan___neg__",_kwnames
,&_argo0
))
7662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___neg__. Expected _wxDateSpan_p.");
7669 wxPy_BEGIN_ALLOW_THREADS
;
7670 _result
= new wxDateSpan (wxDateSpan___neg__(_arg0
));
7672 wxPy_END_ALLOW_THREADS
;
7673 if (PyErr_Occurred()) return NULL
;
7674 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7675 _resultobj
= Py_BuildValue("s",_ptemp
);
7679 static PyMethodDef utilscMethods
[] = {
7680 { "wxDateSpan___neg__", (PyCFunction
) _wrap_wxDateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7681 { "wxDateSpan___rmul__", (PyCFunction
) _wrap_wxDateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7682 { "wxDateSpan___mul__", (PyCFunction
) _wrap_wxDateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7683 { "wxDateSpan___sub__", (PyCFunction
) _wrap_wxDateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7684 { "wxDateSpan___add__", (PyCFunction
) _wrap_wxDateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7685 { "wxDateSpan_Multiply", (PyCFunction
) _wrap_wxDateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7686 { "wxDateSpan_Neg", (PyCFunction
) _wrap_wxDateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7687 { "wxDateSpan_Subtract", (PyCFunction
) _wrap_wxDateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7688 { "wxDateSpan_Add", (PyCFunction
) _wrap_wxDateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7689 { "wxDateSpan_GetTotalDays", (PyCFunction
) _wrap_wxDateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
7690 { "wxDateSpan_GetDays", (PyCFunction
) _wrap_wxDateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7691 { "wxDateSpan_GetWeeks", (PyCFunction
) _wrap_wxDateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7692 { "wxDateSpan_GetMonths", (PyCFunction
) _wrap_wxDateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7693 { "wxDateSpan_GetYears", (PyCFunction
) _wrap_wxDateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
7694 { "wxDateSpan_SetDays", (PyCFunction
) _wrap_wxDateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
7695 { "wxDateSpan_SetWeeks", (PyCFunction
) _wrap_wxDateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7696 { "wxDateSpan_SetMonths", (PyCFunction
) _wrap_wxDateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7697 { "wxDateSpan_SetYears", (PyCFunction
) _wrap_wxDateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
7698 { "wxDateSpan_Year", (PyCFunction
) _wrap_wxDateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
7699 { "wxDateSpan_Years", (PyCFunction
) _wrap_wxDateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
7700 { "wxDateSpan_Month", (PyCFunction
) _wrap_wxDateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
7701 { "wxDateSpan_Months", (PyCFunction
) _wrap_wxDateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
7702 { "wxDateSpan_Week", (PyCFunction
) _wrap_wxDateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7703 { "wxDateSpan_Weeks", (PyCFunction
) _wrap_wxDateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7704 { "wxDateSpan_Day", (PyCFunction
) _wrap_wxDateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7705 { "wxDateSpan_Days", (PyCFunction
) _wrap_wxDateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7706 { "delete_wxDateSpan", (PyCFunction
) _wrap_delete_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7707 { "new_wxDateSpan", (PyCFunction
) _wrap_new_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7708 { "wxTimeSpan_Format", (PyCFunction
) _wrap_wxTimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
7709 { "wxTimeSpan_GetMilliseconds", (PyCFunction
) _wrap_wxTimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
7710 { "wxTimeSpan_GetSeconds", (PyCFunction
) _wrap_wxTimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
7711 { "wxTimeSpan_GetMinutes", (PyCFunction
) _wrap_wxTimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
7712 { "wxTimeSpan_GetHours", (PyCFunction
) _wrap_wxTimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
7713 { "wxTimeSpan_GetDays", (PyCFunction
) _wrap_wxTimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7714 { "wxTimeSpan_GetWeeks", (PyCFunction
) _wrap_wxTimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7715 { "wxTimeSpan_IsShorterThan", (PyCFunction
) _wrap_wxTimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
7716 { "wxTimeSpan_IsLongerThan", (PyCFunction
) _wrap_wxTimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
7717 { "wxTimeSpan_IsEqualTo", (PyCFunction
) _wrap_wxTimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7718 { "wxTimeSpan_IsNegative", (PyCFunction
) _wrap_wxTimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
7719 { "wxTimeSpan_IsPositive", (PyCFunction
) _wrap_wxTimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
7720 { "wxTimeSpan_IsNull", (PyCFunction
) _wrap_wxTimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
7721 { "wxTimeSpan___cmp__", (PyCFunction
) _wrap_wxTimeSpan___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7722 { "wxTimeSpan___neg__", (PyCFunction
) _wrap_wxTimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7723 { "wxTimeSpan___rmul__", (PyCFunction
) _wrap_wxTimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7724 { "wxTimeSpan___mul__", (PyCFunction
) _wrap_wxTimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7725 { "wxTimeSpan___sub__", (PyCFunction
) _wrap_wxTimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7726 { "wxTimeSpan___add__", (PyCFunction
) _wrap_wxTimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7727 { "wxTimeSpan_Abs", (PyCFunction
) _wrap_wxTimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
7728 { "wxTimeSpan_Neg", (PyCFunction
) _wrap_wxTimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7729 { "wxTimeSpan_Multiply", (PyCFunction
) _wrap_wxTimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7730 { "wxTimeSpan_Subtract", (PyCFunction
) _wrap_wxTimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7731 { "wxTimeSpan_Add", (PyCFunction
) _wrap_wxTimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7732 { "delete_wxTimeSpan", (PyCFunction
) _wrap_delete_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7733 { "new_wxTimeSpan", (PyCFunction
) _wrap_new_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7734 { "wxTimeSpan_Week", (PyCFunction
) _wrap_wxTimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7735 { "wxTimeSpan_Weeks", (PyCFunction
) _wrap_wxTimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7736 { "wxTimeSpan_Day", (PyCFunction
) _wrap_wxTimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7737 { "wxTimeSpan_Days", (PyCFunction
) _wrap_wxTimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7738 { "wxTimeSpan_Hour", (PyCFunction
) _wrap_wxTimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
7739 { "wxTimeSpan_Hours", (PyCFunction
) _wrap_wxTimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
7740 { "wxTimeSpan_Minute", (PyCFunction
) _wrap_wxTimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
7741 { "wxTimeSpan_Minutes", (PyCFunction
) _wrap_wxTimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
7742 { "wxTimeSpan_Second", (PyCFunction
) _wrap_wxTimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
7743 { "wxTimeSpan_Seconds", (PyCFunction
) _wrap_wxTimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
7744 { "wxDateTime_FormatISOTime", (PyCFunction
) _wrap_wxDateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
7745 { "wxDateTime_FormatISODate", (PyCFunction
) _wrap_wxDateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
7746 { "wxDateTime_FormatTime", (PyCFunction
) _wrap_wxDateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
7747 { "wxDateTime_FormatDate", (PyCFunction
) _wrap_wxDateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
7748 { "wxDateTime_Format", (PyCFunction
) _wrap_wxDateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
7749 { "wxDateTime_ParseTime", (PyCFunction
) _wrap_wxDateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
7750 { "wxDateTime_ParseDate", (PyCFunction
) _wrap_wxDateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
7751 { "wxDateTime_ParseDateTime", (PyCFunction
) _wrap_wxDateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7752 { "wxDateTime_ParseFormat", (PyCFunction
) _wrap_wxDateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
7753 { "wxDateTime_ParseRfc822Date", (PyCFunction
) _wrap_wxDateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
7754 { "wxDateTime___cmp__", (PyCFunction
) _wrap_wxDateTime___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7755 { "wxDateTime___sub__DS", (PyCFunction
) _wrap_wxDateTime___sub__DS
, METH_VARARGS
| METH_KEYWORDS
},
7756 { "wxDateTime___sub__TS", (PyCFunction
) _wrap_wxDateTime___sub__TS
, METH_VARARGS
| METH_KEYWORDS
},
7757 { "wxDateTime___sub__DT", (PyCFunction
) _wrap_wxDateTime___sub__DT
, METH_VARARGS
| METH_KEYWORDS
},
7758 { "wxDateTime___add__DS", (PyCFunction
) _wrap_wxDateTime___add__DS
, METH_VARARGS
| METH_KEYWORDS
},
7759 { "wxDateTime___add__TS", (PyCFunction
) _wrap_wxDateTime___add__TS
, METH_VARARGS
| METH_KEYWORDS
},
7760 { "wxDateTime_Subtract", (PyCFunction
) _wrap_wxDateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7761 { "wxDateTime_SubtractDS", (PyCFunction
) _wrap_wxDateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
7762 { "wxDateTime_SubtractTS", (PyCFunction
) _wrap_wxDateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
7763 { "wxDateTime_AddDS", (PyCFunction
) _wrap_wxDateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
7764 { "wxDateTime_AddTS", (PyCFunction
) _wrap_wxDateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
7765 { "wxDateTime_IsEqualUpTo", (PyCFunction
) _wrap_wxDateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
7766 { "wxDateTime_IsSameTime", (PyCFunction
) _wrap_wxDateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
7767 { "wxDateTime_IsSameDate", (PyCFunction
) _wrap_wxDateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
7768 { "wxDateTime_IsBetween", (PyCFunction
) _wrap_wxDateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
7769 { "wxDateTime_IsStrictlyBetween", (PyCFunction
) _wrap_wxDateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
7770 { "wxDateTime_IsLaterThan", (PyCFunction
) _wrap_wxDateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
7771 { "wxDateTime_IsEarlierThan", (PyCFunction
) _wrap_wxDateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
7772 { "wxDateTime_IsEqualTo", (PyCFunction
) _wrap_wxDateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7773 { "wxDateTime_IsWorkDay", (PyCFunction
) _wrap_wxDateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
7774 { "wxDateTime_GetWeekOfMonth", (PyCFunction
) _wrap_wxDateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
7775 { "wxDateTime_GetWeekOfYear", (PyCFunction
) _wrap_wxDateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7776 { "wxDateTime_GetDayOfYear", (PyCFunction
) _wrap_wxDateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7777 { "wxDateTime_GetMillisecond", (PyCFunction
) _wrap_wxDateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7778 { "wxDateTime_GetSecond", (PyCFunction
) _wrap_wxDateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7779 { "wxDateTime_GetMinute", (PyCFunction
) _wrap_wxDateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7780 { "wxDateTime_GetHour", (PyCFunction
) _wrap_wxDateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
7781 { "wxDateTime_GetWeekDay", (PyCFunction
) _wrap_wxDateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7782 { "wxDateTime_GetDay", (PyCFunction
) _wrap_wxDateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
7783 { "wxDateTime_GetMonth", (PyCFunction
) _wrap_wxDateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7784 { "wxDateTime_GetYear", (PyCFunction
) _wrap_wxDateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
7785 { "wxDateTime_GetTicks", (PyCFunction
) _wrap_wxDateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
7786 { "wxDateTime_IsValid", (PyCFunction
) _wrap_wxDateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
7787 { "wxDateTime_IsDST", (PyCFunction
) _wrap_wxDateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
7788 { "wxDateTime_MakeGMT", (PyCFunction
) _wrap_wxDateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
7789 { "wxDateTime_ToGMT", (PyCFunction
) _wrap_wxDateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
7790 { "wxDateTime_MakeTimezone", (PyCFunction
) _wrap_wxDateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7791 { "wxDateTime_ToTimezone", (PyCFunction
) _wrap_wxDateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7792 { "wxDateTime_GetRataDie", (PyCFunction
) _wrap_wxDateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
7793 { "wxDateTime_GetMJD", (PyCFunction
) _wrap_wxDateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
7794 { "wxDateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7795 { "wxDateTime_GetJDN", (PyCFunction
) _wrap_wxDateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7796 { "wxDateTime_GetJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7797 { "wxDateTime_GetYearDay", (PyCFunction
) _wrap_wxDateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7798 { "wxDateTime_SetToYearDay", (PyCFunction
) _wrap_wxDateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7799 { "wxDateTime_GetLastMonthDay", (PyCFunction
) _wrap_wxDateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7800 { "wxDateTime_SetToLastMonthDay", (PyCFunction
) _wrap_wxDateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7801 { "wxDateTime_GetWeek", (PyCFunction
) _wrap_wxDateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
7802 { "wxDateTime_SetToTheWeek", (PyCFunction
) _wrap_wxDateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
7803 { "wxDateTime_GetLastWeekDay", (PyCFunction
) _wrap_wxDateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7804 { "wxDateTime_SetToLastWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7805 { "wxDateTime_SetToWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7806 { "wxDateTime_GetPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7807 { "wxDateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7808 { "wxDateTime_GetNextWeekDay", (PyCFunction
) _wrap_wxDateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7809 { "wxDateTime_SetToNextWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7810 { "wxDateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7811 { "wxDateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7812 { "wxDateTime_SetMillisecond", (PyCFunction
) _wrap_wxDateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7813 { "wxDateTime_SetSecond", (PyCFunction
) _wrap_wxDateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7814 { "wxDateTime_SetMinute", (PyCFunction
) _wrap_wxDateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7815 { "wxDateTime_SetHour", (PyCFunction
) _wrap_wxDateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
7816 { "wxDateTime_SetDay", (PyCFunction
) _wrap_wxDateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
7817 { "wxDateTime_SetMonth", (PyCFunction
) _wrap_wxDateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7818 { "wxDateTime_SetYear", (PyCFunction
) _wrap_wxDateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
7819 { "wxDateTime_ResetTime", (PyCFunction
) _wrap_wxDateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
7820 { "wxDateTime_Set", (PyCFunction
) _wrap_wxDateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
7821 { "wxDateTime_SetHMS", (PyCFunction
) _wrap_wxDateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
7822 { "wxDateTime_SetJDN", (PyCFunction
) _wrap_wxDateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7823 { "wxDateTime_SetTimeT", (PyCFunction
) _wrap_wxDateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7824 { "wxDateTime_SetToCurrent", (PyCFunction
) _wrap_wxDateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
7825 { "delete_wxDateTime", (PyCFunction
) _wrap_delete_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7826 { "new_wxDateTimeFromDMY", (PyCFunction
) _wrap_new_wxDateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
7827 { "new_wxDateTimeFromHMS", (PyCFunction
) _wrap_new_wxDateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
7828 { "new_wxDateTimeFromJDN", (PyCFunction
) _wrap_new_wxDateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
7829 { "new_wxDateTimeFromTimeT", (PyCFunction
) _wrap_new_wxDateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7830 { "new_wxDateTime", (PyCFunction
) _wrap_new_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7831 { "wxDateTime_Today", (PyCFunction
) _wrap_wxDateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
7832 { "wxDateTime_Now", (PyCFunction
) _wrap_wxDateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
7833 { "wxDateTime_GetEndDST", (PyCFunction
) _wrap_wxDateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
7834 { "wxDateTime_GetBeginDST", (PyCFunction
) _wrap_wxDateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
7835 { "wxDateTime_IsDSTApplicable", (PyCFunction
) _wrap_wxDateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
7836 { "wxDateTime_GetAmPmStrings", (PyCFunction
) _wrap_wxDateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
7837 { "wxDateTime_GetWeekDayName", (PyCFunction
) _wrap_wxDateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
7838 { "wxDateTime_GetMonthName", (PyCFunction
) _wrap_wxDateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
7839 { "wxDateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
7840 { "wxDateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
7841 { "wxDateTime_GetCentury", (PyCFunction
) _wrap_wxDateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
7842 { "wxDateTime_IsLeapYear", (PyCFunction
) _wrap_wxDateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
7843 { "wxDateTime_GetCurrentMonth", (PyCFunction
) _wrap_wxDateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
7844 { "wxDateTime_ConvertYearToBC", (PyCFunction
) _wrap_wxDateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
7845 { "wxDateTime_GetCurrentYear", (PyCFunction
) _wrap_wxDateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
7846 { "wxDateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_wxDateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
7847 { "wxDateTime_GetCountry", (PyCFunction
) _wrap_wxDateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7848 { "wxDateTime_SetCountry", (PyCFunction
) _wrap_wxDateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7849 { "delete_wxFileConfig", (PyCFunction
) _wrap_delete_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7850 { "new_wxFileConfig", (PyCFunction
) _wrap_new_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7851 { "delete_wxConfig", (PyCFunction
) _wrap_delete_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7852 { "new_wxConfig", (PyCFunction
) _wrap_new_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7853 { "wxConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7854 { "wxConfigBase_RenameGroup", (PyCFunction
) _wrap_wxConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
7855 { "wxConfigBase_RenameEntry", (PyCFunction
) _wrap_wxConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
7856 { "wxConfigBase_GetEntryType", (PyCFunction
) _wrap_wxConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
7857 { "wxConfigBase_WriteFloat", (PyCFunction
) _wrap_wxConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
7858 { "wxConfigBase_WriteInt", (PyCFunction
) _wrap_wxConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
7859 { "wxConfigBase_Write", (PyCFunction
) _wrap_wxConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
7860 { "wxConfigBase_GetStyle", (PyCFunction
) _wrap_wxConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7861 { "wxConfigBase_SetStyle", (PyCFunction
) _wrap_wxConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7862 { "wxConfigBase_SetVendorName", (PyCFunction
) _wrap_wxConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7863 { "wxConfigBase_SetAppName", (PyCFunction
) _wrap_wxConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7864 { "wxConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_wxConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7865 { "wxConfigBase_SetPath", (PyCFunction
) _wrap_wxConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
7866 { "wxConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7867 { "wxConfigBase_ReadFloat", (PyCFunction
) _wrap_wxConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
7868 { "wxConfigBase_ReadInt", (PyCFunction
) _wrap_wxConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
7869 { "wxConfigBase_Read", (PyCFunction
) _wrap_wxConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
7870 { "wxConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_wxConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7871 { "wxConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_wxConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7872 { "wxConfigBase_HasGroup", (PyCFunction
) _wrap_wxConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
7873 { "wxConfigBase_HasEntry", (PyCFunction
) _wrap_wxConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
7874 { "wxConfigBase_GetVendorName", (PyCFunction
) _wrap_wxConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7875 { "wxConfigBase_GetPath", (PyCFunction
) _wrap_wxConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
7876 { "wxConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
7877 { "wxConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
7878 { "wxConfigBase_GetNextEntry", (PyCFunction
) _wrap_wxConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
7879 { "wxConfigBase_GetNextGroup", (PyCFunction
) _wrap_wxConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
7880 { "wxConfigBase_GetFirstEntry", (PyCFunction
) _wrap_wxConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
7881 { "wxConfigBase_GetFirstGroup", (PyCFunction
) _wrap_wxConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
7882 { "wxConfigBase_GetAppName", (PyCFunction
) _wrap_wxConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7883 { "wxConfigBase_Flush", (PyCFunction
) _wrap_wxConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
7884 { "wxConfigBase_Exists", (PyCFunction
) _wrap_wxConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
7885 { "wxConfigBase_DeleteGroup", (PyCFunction
) _wrap_wxConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
7886 { "wxConfigBase_DeleteEntry", (PyCFunction
) _wrap_wxConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
7887 { "wxConfigBase_DeleteAll", (PyCFunction
) _wrap_wxConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
7888 { "wxConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_wxConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
7889 { "wxConfigBase_Create", (PyCFunction
) _wrap_wxConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
7890 { "wxConfigBase_Get", (PyCFunction
) _wrap_wxConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
7891 { "wxConfigBase_Set", (PyCFunction
) _wrap_wxConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
7892 { "delete_wxConfigBase", (PyCFunction
) _wrap_delete_wxConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
7893 { "wxGetLocalTimeMillis", (PyCFunction
) _wrap_wxGetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
7894 { "wxGetCurrentTime", (PyCFunction
) _wrap_wxGetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
7895 { "wxGetUTCTime", (PyCFunction
) _wrap_wxGetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
7896 { "wxGetLocalTime", (PyCFunction
) _wrap_wxGetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
7903 * This table is used by the pointer type-checker
7905 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7906 { "_signed_long","_long",0},
7907 { "_wxPrintQuality","_wxCoord",0},
7908 { "_wxPrintQuality","_int",0},
7909 { "_wxPrintQuality","_signed_int",0},
7910 { "_wxPrintQuality","_unsigned_int",0},
7911 { "_wxPrintQuality","_wxWindowID",0},
7912 { "_wxPrintQuality","_uint",0},
7913 { "_wxPrintQuality","_EBool",0},
7914 { "_wxPrintQuality","_size_t",0},
7915 { "_wxPrintQuality","_time_t",0},
7916 { "_byte","_unsigned_char",0},
7917 { "_long","_unsigned_long",0},
7918 { "_long","_signed_long",0},
7919 { "_size_t","_wxCoord",0},
7920 { "_size_t","_wxPrintQuality",0},
7921 { "_size_t","_time_t",0},
7922 { "_size_t","_unsigned_int",0},
7923 { "_size_t","_int",0},
7924 { "_size_t","_wxWindowID",0},
7925 { "_size_t","_uint",0},
7926 { "_uint","_wxCoord",0},
7927 { "_uint","_wxPrintQuality",0},
7928 { "_uint","_time_t",0},
7929 { "_uint","_size_t",0},
7930 { "_uint","_unsigned_int",0},
7931 { "_uint","_int",0},
7932 { "_uint","_wxWindowID",0},
7933 { "_wxChar","_char",0},
7934 { "_char","_wxChar",0},
7935 { "_EBool","_wxCoord",0},
7936 { "_EBool","_wxPrintQuality",0},
7937 { "_EBool","_signed_int",0},
7938 { "_EBool","_int",0},
7939 { "_EBool","_wxWindowID",0},
7940 { "_unsigned_long","_long",0},
7941 { "_signed_int","_wxCoord",0},
7942 { "_signed_int","_wxPrintQuality",0},
7943 { "_signed_int","_EBool",0},
7944 { "_signed_int","_wxWindowID",0},
7945 { "_signed_int","_int",0},
7946 { "_WXTYPE","_wxDateTime_t",0},
7947 { "_WXTYPE","_short",0},
7948 { "_WXTYPE","_signed_short",0},
7949 { "_WXTYPE","_unsigned_short",0},
7950 { "_unsigned_short","_wxDateTime_t",0},
7951 { "_unsigned_short","_WXTYPE",0},
7952 { "_unsigned_short","_short",0},
7953 { "_signed_short","_WXTYPE",0},
7954 { "_signed_short","_short",0},
7955 { "_unsigned_char","_byte",0},
7956 { "_unsigned_int","_wxCoord",0},
7957 { "_unsigned_int","_wxPrintQuality",0},
7958 { "_unsigned_int","_time_t",0},
7959 { "_unsigned_int","_size_t",0},
7960 { "_unsigned_int","_uint",0},
7961 { "_unsigned_int","_wxWindowID",0},
7962 { "_unsigned_int","_int",0},
7963 { "_wxConfigBase","_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7964 { "_wxConfigBase","_wxConfig",SwigwxConfigTowxConfigBase
},
7965 { "_short","_wxDateTime_t",0},
7966 { "_short","_WXTYPE",0},
7967 { "_short","_unsigned_short",0},
7968 { "_short","_signed_short",0},
7969 { "_wxWindowID","_wxCoord",0},
7970 { "_wxWindowID","_wxPrintQuality",0},
7971 { "_wxWindowID","_time_t",0},
7972 { "_wxWindowID","_size_t",0},
7973 { "_wxWindowID","_EBool",0},
7974 { "_wxWindowID","_uint",0},
7975 { "_wxWindowID","_int",0},
7976 { "_wxWindowID","_signed_int",0},
7977 { "_wxWindowID","_unsigned_int",0},
7978 { "_int","_wxCoord",0},
7979 { "_int","_wxPrintQuality",0},
7980 { "_int","_time_t",0},
7981 { "_int","_size_t",0},
7982 { "_int","_EBool",0},
7983 { "_int","_uint",0},
7984 { "_int","_wxWindowID",0},
7985 { "_int","_unsigned_int",0},
7986 { "_int","_signed_int",0},
7987 { "_wxDateTime_t","_unsigned_short",0},
7988 { "_wxDateTime_t","_short",0},
7989 { "_wxDateTime_t","_WXTYPE",0},
7990 { "_time_t","_wxCoord",0},
7991 { "_time_t","_wxPrintQuality",0},
7992 { "_time_t","_unsigned_int",0},
7993 { "_time_t","_int",0},
7994 { "_time_t","_wxWindowID",0},
7995 { "_time_t","_uint",0},
7996 { "_time_t","_size_t",0},
7997 { "_wxCoord","_int",0},
7998 { "_wxCoord","_signed_int",0},
7999 { "_wxCoord","_unsigned_int",0},
8000 { "_wxCoord","_wxWindowID",0},
8001 { "_wxCoord","_uint",0},
8002 { "_wxCoord","_EBool",0},
8003 { "_wxCoord","_size_t",0},
8004 { "_wxCoord","_time_t",0},
8005 { "_wxCoord","_wxPrintQuality",0},
8008 static PyObject
*SWIG_globals
;
8012 SWIGEXPORT(void) initutilsc() {
8014 SWIG_globals
= SWIG_newvarlink();
8015 m
= Py_InitModule("utilsc", utilscMethods
);
8016 d
= PyModule_GetDict(m
);
8017 PyDict_SetItemString(d
,"wxCONFIG_USE_LOCAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_LOCAL_FILE
));
8018 PyDict_SetItemString(d
,"wxCONFIG_USE_GLOBAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_GLOBAL_FILE
));
8019 PyDict_SetItemString(d
,"wxCONFIG_USE_RELATIVE_PATH", PyInt_FromLong((long) wxCONFIG_USE_RELATIVE_PATH
));
8021 wxClassInfo::CleanUpClasses();
8022 wxClassInfo::InitializeClasses();
8023 PyDict_SetItemString(d
,"wxConfigBase_Type_Unknown", PyInt_FromLong((long) wxConfigBase::Type_Unknown
));
8024 PyDict_SetItemString(d
,"wxConfigBase_Type_String", PyInt_FromLong((long) wxConfigBase::Type_String
));
8025 PyDict_SetItemString(d
,"wxConfigBase_Type_Boolean", PyInt_FromLong((long) wxConfigBase::Type_Boolean
));
8026 PyDict_SetItemString(d
,"wxConfigBase_Type_Integer", PyInt_FromLong((long) wxConfigBase::Type_Integer
));
8027 PyDict_SetItemString(d
,"wxConfigBase_Type_Float", PyInt_FromLong((long) wxConfigBase::Type_Float
));
8028 PyDict_SetItemString(d
,"wxDateTime_Local", PyInt_FromLong((long) wxDateTime::Local
));
8029 PyDict_SetItemString(d
,"wxDateTime_GMT_12", PyInt_FromLong((long) wxDateTime::GMT_12
));
8030 PyDict_SetItemString(d
,"wxDateTime_GMT_11", PyInt_FromLong((long) wxDateTime::GMT_11
));
8031 PyDict_SetItemString(d
,"wxDateTime_GMT_10", PyInt_FromLong((long) wxDateTime::GMT_10
));
8032 PyDict_SetItemString(d
,"wxDateTime_GMT_9", PyInt_FromLong((long) wxDateTime::GMT_9
));
8033 PyDict_SetItemString(d
,"wxDateTime_GMT_8", PyInt_FromLong((long) wxDateTime::GMT_8
));
8034 PyDict_SetItemString(d
,"wxDateTime_GMT_7", PyInt_FromLong((long) wxDateTime::GMT_7
));
8035 PyDict_SetItemString(d
,"wxDateTime_GMT_6", PyInt_FromLong((long) wxDateTime::GMT_6
));
8036 PyDict_SetItemString(d
,"wxDateTime_GMT_5", PyInt_FromLong((long) wxDateTime::GMT_5
));
8037 PyDict_SetItemString(d
,"wxDateTime_GMT_4", PyInt_FromLong((long) wxDateTime::GMT_4
));
8038 PyDict_SetItemString(d
,"wxDateTime_GMT_3", PyInt_FromLong((long) wxDateTime::GMT_3
));
8039 PyDict_SetItemString(d
,"wxDateTime_GMT_2", PyInt_FromLong((long) wxDateTime::GMT_2
));
8040 PyDict_SetItemString(d
,"wxDateTime_GMT_1", PyInt_FromLong((long) wxDateTime::GMT_1
));
8041 PyDict_SetItemString(d
,"wxDateTime_GMT0", PyInt_FromLong((long) wxDateTime::GMT0
));
8042 PyDict_SetItemString(d
,"wxDateTime_GMT1", PyInt_FromLong((long) wxDateTime::GMT1
));
8043 PyDict_SetItemString(d
,"wxDateTime_GMT2", PyInt_FromLong((long) wxDateTime::GMT2
));
8044 PyDict_SetItemString(d
,"wxDateTime_GMT3", PyInt_FromLong((long) wxDateTime::GMT3
));
8045 PyDict_SetItemString(d
,"wxDateTime_GMT4", PyInt_FromLong((long) wxDateTime::GMT4
));
8046 PyDict_SetItemString(d
,"wxDateTime_GMT5", PyInt_FromLong((long) wxDateTime::GMT5
));
8047 PyDict_SetItemString(d
,"wxDateTime_GMT6", PyInt_FromLong((long) wxDateTime::GMT6
));
8048 PyDict_SetItemString(d
,"wxDateTime_GMT7", PyInt_FromLong((long) wxDateTime::GMT7
));
8049 PyDict_SetItemString(d
,"wxDateTime_GMT8", PyInt_FromLong((long) wxDateTime::GMT8
));
8050 PyDict_SetItemString(d
,"wxDateTime_GMT9", PyInt_FromLong((long) wxDateTime::GMT9
));
8051 PyDict_SetItemString(d
,"wxDateTime_GMT10", PyInt_FromLong((long) wxDateTime::GMT10
));
8052 PyDict_SetItemString(d
,"wxDateTime_GMT11", PyInt_FromLong((long) wxDateTime::GMT11
));
8053 PyDict_SetItemString(d
,"wxDateTime_GMT12", PyInt_FromLong((long) wxDateTime::GMT12
));
8054 PyDict_SetItemString(d
,"wxDateTime_WET", PyInt_FromLong((long) wxDateTime::WET
));
8055 PyDict_SetItemString(d
,"wxDateTime_WEST", PyInt_FromLong((long) wxDateTime::WEST
));
8056 PyDict_SetItemString(d
,"wxDateTime_CET", PyInt_FromLong((long) wxDateTime::CET
));
8057 PyDict_SetItemString(d
,"wxDateTime_CEST", PyInt_FromLong((long) wxDateTime::CEST
));
8058 PyDict_SetItemString(d
,"wxDateTime_EET", PyInt_FromLong((long) wxDateTime::EET
));
8059 PyDict_SetItemString(d
,"wxDateTime_EEST", PyInt_FromLong((long) wxDateTime::EEST
));
8060 PyDict_SetItemString(d
,"wxDateTime_MSK", PyInt_FromLong((long) wxDateTime::MSK
));
8061 PyDict_SetItemString(d
,"wxDateTime_MSD", PyInt_FromLong((long) wxDateTime::MSD
));
8062 PyDict_SetItemString(d
,"wxDateTime_AST", PyInt_FromLong((long) wxDateTime::AST
));
8063 PyDict_SetItemString(d
,"wxDateTime_ADT", PyInt_FromLong((long) wxDateTime::ADT
));
8064 PyDict_SetItemString(d
,"wxDateTime_EST", PyInt_FromLong((long) wxDateTime::EST
));
8065 PyDict_SetItemString(d
,"wxDateTime_EDT", PyInt_FromLong((long) wxDateTime::EDT
));
8066 PyDict_SetItemString(d
,"wxDateTime_CST", PyInt_FromLong((long) wxDateTime::CST
));
8067 PyDict_SetItemString(d
,"wxDateTime_CDT", PyInt_FromLong((long) wxDateTime::CDT
));
8068 PyDict_SetItemString(d
,"wxDateTime_MST", PyInt_FromLong((long) wxDateTime::MST
));
8069 PyDict_SetItemString(d
,"wxDateTime_MDT", PyInt_FromLong((long) wxDateTime::MDT
));
8070 PyDict_SetItemString(d
,"wxDateTime_PST", PyInt_FromLong((long) wxDateTime::PST
));
8071 PyDict_SetItemString(d
,"wxDateTime_PDT", PyInt_FromLong((long) wxDateTime::PDT
));
8072 PyDict_SetItemString(d
,"wxDateTime_HST", PyInt_FromLong((long) wxDateTime::HST
));
8073 PyDict_SetItemString(d
,"wxDateTime_AKST", PyInt_FromLong((long) wxDateTime::AKST
));
8074 PyDict_SetItemString(d
,"wxDateTime_AKDT", PyInt_FromLong((long) wxDateTime::AKDT
));
8075 PyDict_SetItemString(d
,"wxDateTime_A_WST", PyInt_FromLong((long) wxDateTime::A_WST
));
8076 PyDict_SetItemString(d
,"wxDateTime_A_CST", PyInt_FromLong((long) wxDateTime::A_CST
));
8077 PyDict_SetItemString(d
,"wxDateTime_A_EST", PyInt_FromLong((long) wxDateTime::A_EST
));
8078 PyDict_SetItemString(d
,"wxDateTime_A_ESST", PyInt_FromLong((long) wxDateTime::A_ESST
));
8079 PyDict_SetItemString(d
,"wxDateTime_UTC", PyInt_FromLong((long) wxDateTime::UTC
));
8080 PyDict_SetItemString(d
,"wxDateTime_Gregorian", PyInt_FromLong((long) wxDateTime::Gregorian
));
8081 PyDict_SetItemString(d
,"wxDateTime_Julian", PyInt_FromLong((long) wxDateTime::Julian
));
8082 PyDict_SetItemString(d
,"wxDateTime_Country_Unknown", PyInt_FromLong((long) wxDateTime::Country_Unknown
));
8083 PyDict_SetItemString(d
,"wxDateTime_Country_Default", PyInt_FromLong((long) wxDateTime::Country_Default
));
8084 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_Start", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_Start
));
8085 PyDict_SetItemString(d
,"wxDateTime_Country_EEC", PyInt_FromLong((long) wxDateTime::Country_EEC
));
8086 PyDict_SetItemString(d
,"wxDateTime_France", PyInt_FromLong((long) wxDateTime::France
));
8087 PyDict_SetItemString(d
,"wxDateTime_Germany", PyInt_FromLong((long) wxDateTime::Germany
));
8088 PyDict_SetItemString(d
,"wxDateTime_UK", PyInt_FromLong((long) wxDateTime::UK
));
8089 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_End", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_End
));
8090 PyDict_SetItemString(d
,"wxDateTime_Russia", PyInt_FromLong((long) wxDateTime::Russia
));
8091 PyDict_SetItemString(d
,"wxDateTime_USA", PyInt_FromLong((long) wxDateTime::USA
));
8092 PyDict_SetItemString(d
,"wxDateTime_Jan", PyInt_FromLong((long) wxDateTime::Jan
));
8093 PyDict_SetItemString(d
,"wxDateTime_Feb", PyInt_FromLong((long) wxDateTime::Feb
));
8094 PyDict_SetItemString(d
,"wxDateTime_Mar", PyInt_FromLong((long) wxDateTime::Mar
));
8095 PyDict_SetItemString(d
,"wxDateTime_Apr", PyInt_FromLong((long) wxDateTime::Apr
));
8096 PyDict_SetItemString(d
,"wxDateTime_May", PyInt_FromLong((long) wxDateTime::May
));
8097 PyDict_SetItemString(d
,"wxDateTime_Jun", PyInt_FromLong((long) wxDateTime::Jun
));
8098 PyDict_SetItemString(d
,"wxDateTime_Jul", PyInt_FromLong((long) wxDateTime::Jul
));
8099 PyDict_SetItemString(d
,"wxDateTime_Aug", PyInt_FromLong((long) wxDateTime::Aug
));
8100 PyDict_SetItemString(d
,"wxDateTime_Sep", PyInt_FromLong((long) wxDateTime::Sep
));
8101 PyDict_SetItemString(d
,"wxDateTime_Oct", PyInt_FromLong((long) wxDateTime::Oct
));
8102 PyDict_SetItemString(d
,"wxDateTime_Nov", PyInt_FromLong((long) wxDateTime::Nov
));
8103 PyDict_SetItemString(d
,"wxDateTime_Dec", PyInt_FromLong((long) wxDateTime::Dec
));
8104 PyDict_SetItemString(d
,"wxDateTime_Inv_Month", PyInt_FromLong((long) wxDateTime::Inv_Month
));
8105 PyDict_SetItemString(d
,"wxDateTime_Sun", PyInt_FromLong((long) wxDateTime::Sun
));
8106 PyDict_SetItemString(d
,"wxDateTime_Mon", PyInt_FromLong((long) wxDateTime::Mon
));
8107 PyDict_SetItemString(d
,"wxDateTime_Tue", PyInt_FromLong((long) wxDateTime::Tue
));
8108 PyDict_SetItemString(d
,"wxDateTime_Wed", PyInt_FromLong((long) wxDateTime::Wed
));
8109 PyDict_SetItemString(d
,"wxDateTime_Thu", PyInt_FromLong((long) wxDateTime::Thu
));
8110 PyDict_SetItemString(d
,"wxDateTime_Fri", PyInt_FromLong((long) wxDateTime::Fri
));
8111 PyDict_SetItemString(d
,"wxDateTime_Sat", PyInt_FromLong((long) wxDateTime::Sat
));
8112 PyDict_SetItemString(d
,"wxDateTime_Inv_WeekDay", PyInt_FromLong((long) wxDateTime::Inv_WeekDay
));
8113 PyDict_SetItemString(d
,"wxDateTime_Inv_Year", PyInt_FromLong((long) wxDateTime::Inv_Year
));
8114 PyDict_SetItemString(d
,"wxDateTime_Name_Full", PyInt_FromLong((long) wxDateTime::Name_Full
));
8115 PyDict_SetItemString(d
,"wxDateTime_Name_Abbr", PyInt_FromLong((long) wxDateTime::Name_Abbr
));
8116 PyDict_SetItemString(d
,"wxDateTime_Default_First", PyInt_FromLong((long) wxDateTime::Default_First
));
8117 PyDict_SetItemString(d
,"wxDateTime_Monday_First", PyInt_FromLong((long) wxDateTime::Monday_First
));
8118 PyDict_SetItemString(d
,"wxDateTime_Sunday_First", PyInt_FromLong((long) wxDateTime::Sunday_First
));
8121 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8122 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);