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 is required for parameter";
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_GetWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetWeekDay(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3556 static PyObject
*_wrap_wxDateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
* _resultobj
;
3558 wxDateTime
* _result
;
3560 wxDateTime::WeekDay _arg1
;
3561 int _arg2
= (int ) 1;
3562 wxDateTime::Month _arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3563 int _arg4
= (int ) wxDateTime::Inv_Year
;
3564 PyObject
* _argo0
= 0;
3565 char *_kwnames
[] = { "self","weekday","n","month","year", NULL
};
3569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iii:wxDateTime_GetWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDay. Expected _wxDateTime_p.");
3579 wxPy_BEGIN_ALLOW_THREADS
;
3580 _result
= new wxDateTime (wxDateTime_GetWeekDay(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
));
3582 wxPy_END_ALLOW_THREADS
;
3583 if (PyErr_Occurred()) return NULL
;
3584 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3585 _resultobj
= Py_BuildValue("s",_ptemp
);
3589 #define wxDateTime_SetToLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetToLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3590 static PyObject
*_wrap_wxDateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
* _resultobj
;
3594 wxDateTime::WeekDay _arg1
;
3595 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3596 int _arg3
= (int ) wxDateTime::Inv_Year
;
3597 PyObject
* _argo0
= 0;
3598 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_SetToLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastWeekDay. Expected _wxDateTime_p.");
3611 wxPy_BEGIN_ALLOW_THREADS
;
3612 _result
= (bool )wxDateTime_SetToLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
);
3614 wxPy_END_ALLOW_THREADS
;
3615 if (PyErr_Occurred()) return NULL
;
3616 } _resultobj
= Py_BuildValue("i",_result
);
3620 #define wxDateTime_GetLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3621 static PyObject
*_wrap_wxDateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3622 PyObject
* _resultobj
;
3623 wxDateTime
* _result
;
3625 wxDateTime::WeekDay _arg1
;
3626 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3627 int _arg3
= (int ) wxDateTime::Inv_Year
;
3628 PyObject
* _argo0
= 0;
3629 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_GetLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastWeekDay. Expected _wxDateTime_p.");
3643 wxPy_BEGIN_ALLOW_THREADS
;
3644 _result
= new wxDateTime (wxDateTime_GetLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
));
3646 wxPy_END_ALLOW_THREADS
;
3647 if (PyErr_Occurred()) return NULL
;
3648 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3649 _resultobj
= Py_BuildValue("s",_ptemp
);
3653 #define wxDateTime_SetToTheWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToTheWeek(_swigarg0,_swigarg1))
3654 static PyObject
*_wrap_wxDateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3655 PyObject
* _resultobj
;
3658 wxDateTime::wxDateTime_t _arg1
;
3659 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3660 PyObject
* _argo0
= 0;
3661 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_SetToTheWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToTheWeek. Expected _wxDateTime_p.");
3674 wxPy_BEGIN_ALLOW_THREADS
;
3675 _result
= (bool )wxDateTime_SetToTheWeek(_arg0
,_arg1
,_arg2
);
3677 wxPy_END_ALLOW_THREADS
;
3678 if (PyErr_Occurred()) return NULL
;
3679 } _resultobj
= Py_BuildValue("i",_result
);
3683 #define wxDateTime_GetWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeek(_swigarg0,_swigarg1))
3684 static PyObject
*_wrap_wxDateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
* _resultobj
;
3686 wxDateTime
* _result
;
3688 wxDateTime::wxDateTime_t _arg1
;
3689 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3690 PyObject
* _argo0
= 0;
3691 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_GetWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeek. Expected _wxDateTime_p.");
3705 wxPy_BEGIN_ALLOW_THREADS
;
3706 _result
= new wxDateTime (wxDateTime_GetWeek(_arg0
,_arg1
,_arg2
));
3708 wxPy_END_ALLOW_THREADS
;
3709 if (PyErr_Occurred()) return NULL
;
3710 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3711 _resultobj
= Py_BuildValue("s",_ptemp
);
3715 #define wxDateTime_SetToLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToLastMonthDay(_swigarg0,_swigarg1))
3716 static PyObject
*_wrap_wxDateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
* _resultobj
;
3718 wxDateTime
* _result
;
3720 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3721 int _arg2
= (int ) wxDateTime::Inv_Year
;
3722 PyObject
* _argo0
= 0;
3723 char *_kwnames
[] = { "self","month","year", NULL
};
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_SetToLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastMonthDay. Expected _wxDateTime_p.");
3737 wxPy_BEGIN_ALLOW_THREADS
;
3738 wxDateTime
& _result_ref
= wxDateTime_SetToLastMonthDay(_arg0
,_arg1
,_arg2
);
3739 _result
= (wxDateTime
*) &_result_ref
;
3741 wxPy_END_ALLOW_THREADS
;
3742 if (PyErr_Occurred()) return NULL
;
3744 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3745 _resultobj
= Py_BuildValue("s",_ptemp
);
3748 _resultobj
= Py_None
;
3753 #define wxDateTime_GetLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastMonthDay(_swigarg0,_swigarg1))
3754 static PyObject
*_wrap_wxDateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
* _resultobj
;
3756 wxDateTime
* _result
;
3758 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3759 int _arg2
= (int ) wxDateTime::Inv_Year
;
3760 PyObject
* _argo0
= 0;
3761 char *_kwnames
[] = { "self","month","year", NULL
};
3765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_GetLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastMonthDay. Expected _wxDateTime_p.");
3775 wxPy_BEGIN_ALLOW_THREADS
;
3776 _result
= new wxDateTime (wxDateTime_GetLastMonthDay(_arg0
,_arg1
,_arg2
));
3778 wxPy_END_ALLOW_THREADS
;
3779 if (PyErr_Occurred()) return NULL
;
3780 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3781 _resultobj
= Py_BuildValue("s",_ptemp
);
3785 #define wxDateTime_SetToYearDay(_swigobj,_swigarg0) (_swigobj->SetToYearDay(_swigarg0))
3786 static PyObject
*_wrap_wxDateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
* _resultobj
;
3788 wxDateTime
* _result
;
3790 wxDateTime::wxDateTime_t _arg1
;
3791 PyObject
* _argo0
= 0;
3792 char *_kwnames
[] = { "self","yday", NULL
};
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetToYearDay",_kwnames
,&_argo0
,&_arg1
))
3799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToYearDay. Expected _wxDateTime_p.");
3806 wxPy_BEGIN_ALLOW_THREADS
;
3807 wxDateTime
& _result_ref
= wxDateTime_SetToYearDay(_arg0
,_arg1
);
3808 _result
= (wxDateTime
*) &_result_ref
;
3810 wxPy_END_ALLOW_THREADS
;
3811 if (PyErr_Occurred()) return NULL
;
3813 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3814 _resultobj
= Py_BuildValue("s",_ptemp
);
3817 _resultobj
= Py_None
;
3822 #define wxDateTime_GetYearDay(_swigobj,_swigarg0) (_swigobj->GetYearDay(_swigarg0))
3823 static PyObject
*_wrap_wxDateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3824 PyObject
* _resultobj
;
3825 wxDateTime
* _result
;
3827 wxDateTime::wxDateTime_t _arg1
;
3828 PyObject
* _argo0
= 0;
3829 char *_kwnames
[] = { "self","yday", NULL
};
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_GetYearDay",_kwnames
,&_argo0
,&_arg1
))
3836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYearDay. Expected _wxDateTime_p.");
3843 wxPy_BEGIN_ALLOW_THREADS
;
3844 _result
= new wxDateTime (wxDateTime_GetYearDay(_arg0
,_arg1
));
3846 wxPy_END_ALLOW_THREADS
;
3847 if (PyErr_Occurred()) return NULL
;
3848 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3849 _resultobj
= Py_BuildValue("s",_ptemp
);
3853 #define wxDateTime_GetJulianDayNumber(_swigobj) (_swigobj->GetJulianDayNumber())
3854 static PyObject
*_wrap_wxDateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3855 PyObject
* _resultobj
;
3858 PyObject
* _argo0
= 0;
3859 char *_kwnames
[] = { "self", NULL
};
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJulianDayNumber",_kwnames
,&_argo0
))
3865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJulianDayNumber. Expected _wxDateTime_p.");
3872 wxPy_BEGIN_ALLOW_THREADS
;
3873 _result
= (double )wxDateTime_GetJulianDayNumber(_arg0
);
3875 wxPy_END_ALLOW_THREADS
;
3876 if (PyErr_Occurred()) return NULL
;
3877 } _resultobj
= Py_BuildValue("d",_result
);
3881 #define wxDateTime_GetJDN(_swigobj) (_swigobj->GetJDN())
3882 static PyObject
*_wrap_wxDateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
* _resultobj
;
3886 PyObject
* _argo0
= 0;
3887 char *_kwnames
[] = { "self", NULL
};
3890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJDN",_kwnames
,&_argo0
))
3893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJDN. Expected _wxDateTime_p.");
3900 wxPy_BEGIN_ALLOW_THREADS
;
3901 _result
= (double )wxDateTime_GetJDN(_arg0
);
3903 wxPy_END_ALLOW_THREADS
;
3904 if (PyErr_Occurred()) return NULL
;
3905 } _resultobj
= Py_BuildValue("d",_result
);
3909 #define wxDateTime_GetModifiedJulianDayNumber(_swigobj) (_swigobj->GetModifiedJulianDayNumber())
3910 static PyObject
*_wrap_wxDateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
* _resultobj
;
3914 PyObject
* _argo0
= 0;
3915 char *_kwnames
[] = { "self", NULL
};
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetModifiedJulianDayNumber",_kwnames
,&_argo0
))
3921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetModifiedJulianDayNumber. Expected _wxDateTime_p.");
3928 wxPy_BEGIN_ALLOW_THREADS
;
3929 _result
= (double )wxDateTime_GetModifiedJulianDayNumber(_arg0
);
3931 wxPy_END_ALLOW_THREADS
;
3932 if (PyErr_Occurred()) return NULL
;
3933 } _resultobj
= Py_BuildValue("d",_result
);
3937 #define wxDateTime_GetMJD(_swigobj) (_swigobj->GetMJD())
3938 static PyObject
*_wrap_wxDateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
* _resultobj
;
3942 PyObject
* _argo0
= 0;
3943 char *_kwnames
[] = { "self", NULL
};
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetMJD",_kwnames
,&_argo0
))
3949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMJD. Expected _wxDateTime_p.");
3956 wxPy_BEGIN_ALLOW_THREADS
;
3957 _result
= (double )wxDateTime_GetMJD(_arg0
);
3959 wxPy_END_ALLOW_THREADS
;
3960 if (PyErr_Occurred()) return NULL
;
3961 } _resultobj
= Py_BuildValue("d",_result
);
3965 #define wxDateTime_GetRataDie(_swigobj) (_swigobj->GetRataDie())
3966 static PyObject
*_wrap_wxDateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
* _resultobj
;
3970 PyObject
* _argo0
= 0;
3971 char *_kwnames
[] = { "self", NULL
};
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetRataDie",_kwnames
,&_argo0
))
3977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetRataDie. Expected _wxDateTime_p.");
3984 wxPy_BEGIN_ALLOW_THREADS
;
3985 _result
= (double )wxDateTime_GetRataDie(_arg0
);
3987 wxPy_END_ALLOW_THREADS
;
3988 if (PyErr_Occurred()) return NULL
;
3989 } _resultobj
= Py_BuildValue("d",_result
);
3993 #define wxDateTime_ToTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToTimezone(_swigarg0,_swigarg1))
3994 static PyObject
*_wrap_wxDateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
* _resultobj
;
3996 wxDateTime
* _result
;
3998 wxDateTime::TimeZone
* _arg1
;
3999 bool _arg2
= (bool ) FALSE
;
4000 PyObject
* _argo0
= 0;
4001 PyObject
* _obj1
= 0;
4002 int tempbool2
= (int) FALSE
;
4003 char *_kwnames
[] = { "self","tz","noDST", NULL
};
4007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_ToTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
4010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToTimezone. Expected _wxDateTime_p.");
4017 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4019 _arg2
= (bool ) tempbool2
;
4021 wxPy_BEGIN_ALLOW_THREADS
;
4022 _result
= new wxDateTime (wxDateTime_ToTimezone(_arg0
,*_arg1
,_arg2
));
4024 wxPy_END_ALLOW_THREADS
;
4025 if (PyErr_Occurred()) return NULL
;
4026 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4027 _resultobj
= Py_BuildValue("s",_ptemp
);
4029 if (_arg1
) delete _arg1
;
4034 #define wxDateTime_MakeTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeTimezone(_swigarg0,_swigarg1))
4035 static PyObject
*_wrap_wxDateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
* _resultobj
;
4037 wxDateTime
* _result
;
4039 wxDateTime::TimeZone
* _arg1
;
4040 bool _arg2
= (bool ) FALSE
;
4041 PyObject
* _argo0
= 0;
4042 PyObject
* _obj1
= 0;
4043 int tempbool2
= (int) FALSE
;
4044 char *_kwnames
[] = { "self","tz","noDST", NULL
};
4048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_MakeTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
4051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeTimezone. Expected _wxDateTime_p.");
4058 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4060 _arg2
= (bool ) tempbool2
;
4062 wxPy_BEGIN_ALLOW_THREADS
;
4063 wxDateTime
& _result_ref
= wxDateTime_MakeTimezone(_arg0
,*_arg1
,_arg2
);
4064 _result
= (wxDateTime
*) &_result_ref
;
4066 wxPy_END_ALLOW_THREADS
;
4067 if (PyErr_Occurred()) return NULL
;
4069 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4070 _resultobj
= Py_BuildValue("s",_ptemp
);
4073 _resultobj
= Py_None
;
4076 if (_arg1
) delete _arg1
;
4081 #define wxDateTime_ToGMT(_swigobj,_swigarg0) (_swigobj->ToGMT(_swigarg0))
4082 static PyObject
*_wrap_wxDateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
* _resultobj
;
4084 wxDateTime
* _result
;
4086 bool _arg1
= (bool ) FALSE
;
4087 PyObject
* _argo0
= 0;
4088 int tempbool1
= (int) FALSE
;
4089 char *_kwnames
[] = { "self","noDST", NULL
};
4093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_ToGMT",_kwnames
,&_argo0
,&tempbool1
))
4096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToGMT. Expected _wxDateTime_p.");
4102 _arg1
= (bool ) tempbool1
;
4104 wxPy_BEGIN_ALLOW_THREADS
;
4105 _result
= new wxDateTime (wxDateTime_ToGMT(_arg0
,_arg1
));
4107 wxPy_END_ALLOW_THREADS
;
4108 if (PyErr_Occurred()) return NULL
;
4109 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4110 _resultobj
= Py_BuildValue("s",_ptemp
);
4114 #define wxDateTime_MakeGMT(_swigobj,_swigarg0) (_swigobj->MakeGMT(_swigarg0))
4115 static PyObject
*_wrap_wxDateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4116 PyObject
* _resultobj
;
4117 wxDateTime
* _result
;
4119 bool _arg1
= (bool ) FALSE
;
4120 PyObject
* _argo0
= 0;
4121 int tempbool1
= (int) FALSE
;
4122 char *_kwnames
[] = { "self","noDST", NULL
};
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_MakeGMT",_kwnames
,&_argo0
,&tempbool1
))
4129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeGMT. Expected _wxDateTime_p.");
4135 _arg1
= (bool ) tempbool1
;
4137 wxPy_BEGIN_ALLOW_THREADS
;
4138 wxDateTime
& _result_ref
= wxDateTime_MakeGMT(_arg0
,_arg1
);
4139 _result
= (wxDateTime
*) &_result_ref
;
4141 wxPy_END_ALLOW_THREADS
;
4142 if (PyErr_Occurred()) return NULL
;
4144 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4145 _resultobj
= Py_BuildValue("s",_ptemp
);
4148 _resultobj
= Py_None
;
4153 #define wxDateTime_IsDST(_swigobj,_swigarg0) (_swigobj->IsDST(_swigarg0))
4154 static PyObject
*_wrap_wxDateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
* _resultobj
;
4158 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
4159 PyObject
* _argo0
= 0;
4160 char *_kwnames
[] = { "self","country", NULL
};
4163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsDST",_kwnames
,&_argo0
,&_arg1
))
4166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsDST. Expected _wxDateTime_p.");
4173 wxPy_BEGIN_ALLOW_THREADS
;
4174 _result
= (int )wxDateTime_IsDST(_arg0
,_arg1
);
4176 wxPy_END_ALLOW_THREADS
;
4177 if (PyErr_Occurred()) return NULL
;
4178 } _resultobj
= Py_BuildValue("i",_result
);
4182 #define wxDateTime_IsValid(_swigobj) (_swigobj->IsValid())
4183 static PyObject
*_wrap_wxDateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
* _resultobj
;
4187 PyObject
* _argo0
= 0;
4188 char *_kwnames
[] = { "self", NULL
};
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_IsValid",_kwnames
,&_argo0
))
4194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsValid. Expected _wxDateTime_p.");
4201 wxPy_BEGIN_ALLOW_THREADS
;
4202 _result
= (bool )wxDateTime_IsValid(_arg0
);
4204 wxPy_END_ALLOW_THREADS
;
4205 if (PyErr_Occurred()) return NULL
;
4206 } _resultobj
= Py_BuildValue("i",_result
);
4210 #define wxDateTime_GetTicks(_swigobj) (_swigobj->GetTicks())
4211 static PyObject
*_wrap_wxDateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
* _resultobj
;
4215 PyObject
* _argo0
= 0;
4216 char *_kwnames
[] = { "self", NULL
};
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetTicks",_kwnames
,&_argo0
))
4222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetTicks. Expected _wxDateTime_p.");
4229 wxPy_BEGIN_ALLOW_THREADS
;
4230 _result
= (time_t )wxDateTime_GetTicks(_arg0
);
4232 wxPy_END_ALLOW_THREADS
;
4233 if (PyErr_Occurred()) return NULL
;
4234 } _resultobj
= Py_BuildValue("i",_result
);
4238 #define wxDateTime_GetYear(_swigobj,_swigarg0) (_swigobj->GetYear(_swigarg0))
4239 static PyObject
*_wrap_wxDateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
* _resultobj
;
4243 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4244 PyObject
* _argo0
= 0;
4245 PyObject
* _obj1
= 0;
4246 char *_kwnames
[] = { "self","tz", NULL
};
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetYear",_kwnames
,&_argo0
,&_obj1
))
4252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYear. Expected _wxDateTime_p.");
4260 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4263 wxPy_BEGIN_ALLOW_THREADS
;
4264 _result
= (int )wxDateTime_GetYear(_arg0
,*_arg1
);
4266 wxPy_END_ALLOW_THREADS
;
4267 if (PyErr_Occurred()) return NULL
;
4268 } _resultobj
= Py_BuildValue("i",_result
);
4270 if (_arg1
) delete _arg1
;
4275 #define wxDateTime_GetMonth(_swigobj,_swigarg0) (_swigobj->GetMonth(_swigarg0))
4276 static PyObject
*_wrap_wxDateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
* _resultobj
;
4278 wxDateTime::Month _result
;
4280 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4281 PyObject
* _argo0
= 0;
4282 PyObject
* _obj1
= 0;
4283 char *_kwnames
[] = { "self","tz", NULL
};
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMonth",_kwnames
,&_argo0
,&_obj1
))
4289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMonth. Expected _wxDateTime_p.");
4297 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4300 wxPy_BEGIN_ALLOW_THREADS
;
4301 _result
= (wxDateTime::Month
)wxDateTime_GetMonth(_arg0
,*_arg1
);
4303 wxPy_END_ALLOW_THREADS
;
4304 if (PyErr_Occurred()) return NULL
;
4305 } _resultobj
= Py_BuildValue("i",_result
);
4307 if (_arg1
) delete _arg1
;
4312 #define wxDateTime_GetDay(_swigobj,_swigarg0) (_swigobj->GetDay(_swigarg0))
4313 static PyObject
*_wrap_wxDateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
* _resultobj
;
4315 wxDateTime::wxDateTime_t _result
;
4317 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4318 PyObject
* _argo0
= 0;
4319 PyObject
* _obj1
= 0;
4320 char *_kwnames
[] = { "self","tz", NULL
};
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDay",_kwnames
,&_argo0
,&_obj1
))
4326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDay. Expected _wxDateTime_p.");
4334 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4337 wxPy_BEGIN_ALLOW_THREADS
;
4338 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDay(_arg0
,*_arg1
);
4340 wxPy_END_ALLOW_THREADS
;
4341 if (PyErr_Occurred()) return NULL
;
4342 } _resultobj
= Py_BuildValue("h",_result
);
4344 if (_arg1
) delete _arg1
;
4349 #define wxDateTime_GetHour(_swigobj,_swigarg0) (_swigobj->GetHour(_swigarg0))
4350 static PyObject
*_wrap_wxDateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4351 PyObject
* _resultobj
;
4352 wxDateTime::wxDateTime_t _result
;
4354 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4355 PyObject
* _argo0
= 0;
4356 PyObject
* _obj1
= 0;
4357 char *_kwnames
[] = { "self","tz", NULL
};
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetHour",_kwnames
,&_argo0
,&_obj1
))
4363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetHour. Expected _wxDateTime_p.");
4371 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4374 wxPy_BEGIN_ALLOW_THREADS
;
4375 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetHour(_arg0
,*_arg1
);
4377 wxPy_END_ALLOW_THREADS
;
4378 if (PyErr_Occurred()) return NULL
;
4379 } _resultobj
= Py_BuildValue("h",_result
);
4381 if (_arg1
) delete _arg1
;
4386 #define wxDateTime_GetMinute(_swigobj,_swigarg0) (_swigobj->GetMinute(_swigarg0))
4387 static PyObject
*_wrap_wxDateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
* _resultobj
;
4389 wxDateTime::wxDateTime_t _result
;
4391 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4392 PyObject
* _argo0
= 0;
4393 PyObject
* _obj1
= 0;
4394 char *_kwnames
[] = { "self","tz", NULL
};
4397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMinute",_kwnames
,&_argo0
,&_obj1
))
4400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMinute. Expected _wxDateTime_p.");
4408 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4411 wxPy_BEGIN_ALLOW_THREADS
;
4412 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMinute(_arg0
,*_arg1
);
4414 wxPy_END_ALLOW_THREADS
;
4415 if (PyErr_Occurred()) return NULL
;
4416 } _resultobj
= Py_BuildValue("h",_result
);
4418 if (_arg1
) delete _arg1
;
4423 #define wxDateTime_GetSecond(_swigobj,_swigarg0) (_swigobj->GetSecond(_swigarg0))
4424 static PyObject
*_wrap_wxDateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4425 PyObject
* _resultobj
;
4426 wxDateTime::wxDateTime_t _result
;
4428 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4429 PyObject
* _argo0
= 0;
4430 PyObject
* _obj1
= 0;
4431 char *_kwnames
[] = { "self","tz", NULL
};
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetSecond",_kwnames
,&_argo0
,&_obj1
))
4437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetSecond. Expected _wxDateTime_p.");
4445 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4448 wxPy_BEGIN_ALLOW_THREADS
;
4449 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetSecond(_arg0
,*_arg1
);
4451 wxPy_END_ALLOW_THREADS
;
4452 if (PyErr_Occurred()) return NULL
;
4453 } _resultobj
= Py_BuildValue("h",_result
);
4455 if (_arg1
) delete _arg1
;
4460 #define wxDateTime_GetMillisecond(_swigobj,_swigarg0) (_swigobj->GetMillisecond(_swigarg0))
4461 static PyObject
*_wrap_wxDateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
* _resultobj
;
4463 wxDateTime::wxDateTime_t _result
;
4465 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4466 PyObject
* _argo0
= 0;
4467 PyObject
* _obj1
= 0;
4468 char *_kwnames
[] = { "self","tz", NULL
};
4471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMillisecond",_kwnames
,&_argo0
,&_obj1
))
4474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMillisecond. Expected _wxDateTime_p.");
4482 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4485 wxPy_BEGIN_ALLOW_THREADS
;
4486 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMillisecond(_arg0
,*_arg1
);
4488 wxPy_END_ALLOW_THREADS
;
4489 if (PyErr_Occurred()) return NULL
;
4490 } _resultobj
= Py_BuildValue("h",_result
);
4492 if (_arg1
) delete _arg1
;
4497 #define wxDateTime_GetDayOfYear(_swigobj,_swigarg0) (_swigobj->GetDayOfYear(_swigarg0))
4498 static PyObject
*_wrap_wxDateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4499 PyObject
* _resultobj
;
4500 wxDateTime::wxDateTime_t _result
;
4502 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4503 PyObject
* _argo0
= 0;
4504 PyObject
* _obj1
= 0;
4505 char *_kwnames
[] = { "self","tz", NULL
};
4508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDayOfYear",_kwnames
,&_argo0
,&_obj1
))
4511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDayOfYear. Expected _wxDateTime_p.");
4519 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4522 wxPy_BEGIN_ALLOW_THREADS
;
4523 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDayOfYear(_arg0
,*_arg1
);
4525 wxPy_END_ALLOW_THREADS
;
4526 if (PyErr_Occurred()) return NULL
;
4527 } _resultobj
= Py_BuildValue("h",_result
);
4529 if (_arg1
) delete _arg1
;
4534 #define wxDateTime_GetWeekOfYear(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfYear(_swigarg0,_swigarg1))
4535 static PyObject
*_wrap_wxDateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4536 PyObject
* _resultobj
;
4537 wxDateTime::wxDateTime_t _result
;
4539 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4540 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4541 PyObject
* _argo0
= 0;
4542 PyObject
* _obj2
= 0;
4543 char *_kwnames
[] = { "self","flags","tz", NULL
};
4546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfYear",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfYear. Expected _wxDateTime_p.");
4557 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4560 wxPy_BEGIN_ALLOW_THREADS
;
4561 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfYear(_arg0
,_arg1
,*_arg2
);
4563 wxPy_END_ALLOW_THREADS
;
4564 if (PyErr_Occurred()) return NULL
;
4565 } _resultobj
= Py_BuildValue("h",_result
);
4567 if (_arg2
) delete _arg2
;
4572 #define wxDateTime_GetWeekOfMonth(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfMonth(_swigarg0,_swigarg1))
4573 static PyObject
*_wrap_wxDateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
* _resultobj
;
4575 wxDateTime::wxDateTime_t _result
;
4577 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4578 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4579 PyObject
* _argo0
= 0;
4580 PyObject
* _obj2
= 0;
4581 char *_kwnames
[] = { "self","flags","tz", NULL
};
4584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfMonth",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfMonth. Expected _wxDateTime_p.");
4595 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4598 wxPy_BEGIN_ALLOW_THREADS
;
4599 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfMonth(_arg0
,_arg1
,*_arg2
);
4601 wxPy_END_ALLOW_THREADS
;
4602 if (PyErr_Occurred()) return NULL
;
4603 } _resultobj
= Py_BuildValue("h",_result
);
4605 if (_arg2
) delete _arg2
;
4610 #define wxDateTime_IsWorkDay(_swigobj,_swigarg0) (_swigobj->IsWorkDay(_swigarg0))
4611 static PyObject
*_wrap_wxDateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4612 PyObject
* _resultobj
;
4615 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
4616 PyObject
* _argo0
= 0;
4617 char *_kwnames
[] = { "self","country", NULL
};
4620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsWorkDay",_kwnames
,&_argo0
,&_arg1
))
4623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsWorkDay. Expected _wxDateTime_p.");
4630 wxPy_BEGIN_ALLOW_THREADS
;
4631 _result
= (bool )wxDateTime_IsWorkDay(_arg0
,_arg1
);
4633 wxPy_END_ALLOW_THREADS
;
4634 if (PyErr_Occurred()) return NULL
;
4635 } _resultobj
= Py_BuildValue("i",_result
);
4639 #define wxDateTime_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
4640 static PyObject
*_wrap_wxDateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
* _resultobj
;
4645 PyObject
* _argo0
= 0;
4646 PyObject
* _argo1
= 0;
4647 char *_kwnames
[] = { "self","datetime", NULL
};
4650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
4653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4660 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4661 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4667 wxPy_BEGIN_ALLOW_THREADS
;
4668 _result
= (bool )wxDateTime_IsEqualTo(_arg0
,*_arg1
);
4670 wxPy_END_ALLOW_THREADS
;
4671 if (PyErr_Occurred()) return NULL
;
4672 } _resultobj
= Py_BuildValue("i",_result
);
4676 #define wxDateTime_IsEarlierThan(_swigobj,_swigarg0) (_swigobj->IsEarlierThan(_swigarg0))
4677 static PyObject
*_wrap_wxDateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
* _resultobj
;
4682 PyObject
* _argo0
= 0;
4683 PyObject
* _argo1
= 0;
4684 char *_kwnames
[] = { "self","datetime", NULL
};
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEarlierThan",_kwnames
,&_argo0
,&_argo1
))
4690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4697 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4698 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4704 wxPy_BEGIN_ALLOW_THREADS
;
4705 _result
= (bool )wxDateTime_IsEarlierThan(_arg0
,*_arg1
);
4707 wxPy_END_ALLOW_THREADS
;
4708 if (PyErr_Occurred()) return NULL
;
4709 } _resultobj
= Py_BuildValue("i",_result
);
4713 #define wxDateTime_IsLaterThan(_swigobj,_swigarg0) (_swigobj->IsLaterThan(_swigarg0))
4714 static PyObject
*_wrap_wxDateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4715 PyObject
* _resultobj
;
4719 PyObject
* _argo0
= 0;
4720 PyObject
* _argo1
= 0;
4721 char *_kwnames
[] = { "self","datetime", NULL
};
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsLaterThan",_kwnames
,&_argo0
,&_argo1
))
4727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4734 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4735 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4741 wxPy_BEGIN_ALLOW_THREADS
;
4742 _result
= (bool )wxDateTime_IsLaterThan(_arg0
,*_arg1
);
4744 wxPy_END_ALLOW_THREADS
;
4745 if (PyErr_Occurred()) return NULL
;
4746 } _resultobj
= Py_BuildValue("i",_result
);
4750 #define wxDateTime_IsStrictlyBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsStrictlyBetween(_swigarg0,_swigarg1))
4751 static PyObject
*_wrap_wxDateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
* _resultobj
;
4757 PyObject
* _argo0
= 0;
4758 PyObject
* _argo1
= 0;
4759 PyObject
* _argo2
= 0;
4760 char *_kwnames
[] = { "self","t1","t2", NULL
};
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsStrictlyBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4773 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4774 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4780 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4781 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4787 wxPy_BEGIN_ALLOW_THREADS
;
4788 _result
= (bool )wxDateTime_IsStrictlyBetween(_arg0
,*_arg1
,*_arg2
);
4790 wxPy_END_ALLOW_THREADS
;
4791 if (PyErr_Occurred()) return NULL
;
4792 } _resultobj
= Py_BuildValue("i",_result
);
4796 #define wxDateTime_IsBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsBetween(_swigarg0,_swigarg1))
4797 static PyObject
*_wrap_wxDateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
* _resultobj
;
4803 PyObject
* _argo0
= 0;
4804 PyObject
* _argo1
= 0;
4805 PyObject
* _argo2
= 0;
4806 char *_kwnames
[] = { "self","t1","t2", NULL
};
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4819 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4820 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4826 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4827 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4833 wxPy_BEGIN_ALLOW_THREADS
;
4834 _result
= (bool )wxDateTime_IsBetween(_arg0
,*_arg1
,*_arg2
);
4836 wxPy_END_ALLOW_THREADS
;
4837 if (PyErr_Occurred()) return NULL
;
4838 } _resultobj
= Py_BuildValue("i",_result
);
4842 #define wxDateTime_IsSameDate(_swigobj,_swigarg0) (_swigobj->IsSameDate(_swigarg0))
4843 static PyObject
*_wrap_wxDateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
* _resultobj
;
4848 PyObject
* _argo0
= 0;
4849 PyObject
* _argo1
= 0;
4850 char *_kwnames
[] = { "self","dt", NULL
};
4853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameDate",_kwnames
,&_argo0
,&_argo1
))
4856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4863 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4864 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4870 wxPy_BEGIN_ALLOW_THREADS
;
4871 _result
= (bool )wxDateTime_IsSameDate(_arg0
,*_arg1
);
4873 wxPy_END_ALLOW_THREADS
;
4874 if (PyErr_Occurred()) return NULL
;
4875 } _resultobj
= Py_BuildValue("i",_result
);
4879 #define wxDateTime_IsSameTime(_swigobj,_swigarg0) (_swigobj->IsSameTime(_swigarg0))
4880 static PyObject
*_wrap_wxDateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
* _resultobj
;
4885 PyObject
* _argo0
= 0;
4886 PyObject
* _argo1
= 0;
4887 char *_kwnames
[] = { "self","dt", NULL
};
4890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameTime",_kwnames
,&_argo0
,&_argo1
))
4893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
4900 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4901 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
4907 wxPy_BEGIN_ALLOW_THREADS
;
4908 _result
= (bool )wxDateTime_IsSameTime(_arg0
,*_arg1
);
4910 wxPy_END_ALLOW_THREADS
;
4911 if (PyErr_Occurred()) return NULL
;
4912 } _resultobj
= Py_BuildValue("i",_result
);
4916 #define wxDateTime_IsEqualUpTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEqualUpTo(_swigarg0,_swigarg1))
4917 static PyObject
*_wrap_wxDateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
* _resultobj
;
4923 PyObject
* _argo0
= 0;
4924 PyObject
* _argo1
= 0;
4925 PyObject
* _argo2
= 0;
4926 char *_kwnames
[] = { "self","dt","ts", NULL
};
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsEqualUpTo",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4939 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4940 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4946 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4947 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTimeSpan_p")) {
4948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsEqualUpTo. Expected _wxTimeSpan_p.");
4953 wxPy_BEGIN_ALLOW_THREADS
;
4954 _result
= (bool )wxDateTime_IsEqualUpTo(_arg0
,*_arg1
,*_arg2
);
4956 wxPy_END_ALLOW_THREADS
;
4957 if (PyErr_Occurred()) return NULL
;
4958 } _resultobj
= Py_BuildValue("i",_result
);
4962 #define wxDateTime_AddTS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4963 static PyObject
*_wrap_wxDateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
* _resultobj
;
4965 wxDateTime
* _result
;
4968 PyObject
* _argo0
= 0;
4969 PyObject
* _argo1
= 0;
4970 char *_kwnames
[] = { "self","diff", NULL
};
4974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddTS",_kwnames
,&_argo0
,&_argo1
))
4977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddTS. Expected _wxDateTime_p.");
4984 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4985 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddTS. Expected _wxTimeSpan_p.");
4991 wxPy_BEGIN_ALLOW_THREADS
;
4992 wxDateTime
& _result_ref
= wxDateTime_AddTS(_arg0
,*_arg1
);
4993 _result
= (wxDateTime
*) &_result_ref
;
4995 wxPy_END_ALLOW_THREADS
;
4996 if (PyErr_Occurred()) return NULL
;
4998 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4999 _resultobj
= Py_BuildValue("s",_ptemp
);
5002 _resultobj
= Py_None
;
5007 #define wxDateTime_AddDS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
5008 static PyObject
*_wrap_wxDateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
* _resultobj
;
5010 wxDateTime
* _result
;
5013 PyObject
* _argo0
= 0;
5014 PyObject
* _argo1
= 0;
5015 char *_kwnames
[] = { "self","diff", NULL
};
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddDS",_kwnames
,&_argo0
,&_argo1
))
5022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddDS. Expected _wxDateTime_p.");
5029 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5030 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddDS. Expected _wxDateSpan_p.");
5036 wxPy_BEGIN_ALLOW_THREADS
;
5037 wxDateTime
& _result_ref
= wxDateTime_AddDS(_arg0
,*_arg1
);
5038 _result
= (wxDateTime
*) &_result_ref
;
5040 wxPy_END_ALLOW_THREADS
;
5041 if (PyErr_Occurred()) return NULL
;
5043 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
5044 _resultobj
= Py_BuildValue("s",_ptemp
);
5047 _resultobj
= Py_None
;
5052 #define wxDateTime_SubtractTS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5053 static PyObject
*_wrap_wxDateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
* _resultobj
;
5055 wxDateTime
* _result
;
5058 PyObject
* _argo0
= 0;
5059 PyObject
* _argo1
= 0;
5060 char *_kwnames
[] = { "self","diff", NULL
};
5064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractTS",_kwnames
,&_argo0
,&_argo1
))
5067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractTS. Expected _wxDateTime_p.");
5074 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5075 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractTS. Expected _wxTimeSpan_p.");
5081 wxPy_BEGIN_ALLOW_THREADS
;
5082 wxDateTime
& _result_ref
= wxDateTime_SubtractTS(_arg0
,*_arg1
);
5083 _result
= (wxDateTime
*) &_result_ref
;
5085 wxPy_END_ALLOW_THREADS
;
5086 if (PyErr_Occurred()) return NULL
;
5088 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
5089 _resultobj
= Py_BuildValue("s",_ptemp
);
5092 _resultobj
= Py_None
;
5097 #define wxDateTime_SubtractDS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5098 static PyObject
*_wrap_wxDateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5099 PyObject
* _resultobj
;
5100 wxDateTime
* _result
;
5103 PyObject
* _argo0
= 0;
5104 PyObject
* _argo1
= 0;
5105 char *_kwnames
[] = { "self","diff", NULL
};
5109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractDS",_kwnames
,&_argo0
,&_argo1
))
5112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractDS. Expected _wxDateTime_p.");
5119 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5120 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractDS. Expected _wxDateSpan_p.");
5126 wxPy_BEGIN_ALLOW_THREADS
;
5127 wxDateTime
& _result_ref
= wxDateTime_SubtractDS(_arg0
,*_arg1
);
5128 _result
= (wxDateTime
*) &_result_ref
;
5130 wxPy_END_ALLOW_THREADS
;
5131 if (PyErr_Occurred()) return NULL
;
5133 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
5134 _resultobj
= Py_BuildValue("s",_ptemp
);
5137 _resultobj
= Py_None
;
5142 #define wxDateTime_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5143 static PyObject
*_wrap_wxDateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
* _resultobj
;
5145 wxTimeSpan
* _result
;
5148 PyObject
* _argo0
= 0;
5149 PyObject
* _argo1
= 0;
5150 char *_kwnames
[] = { "self","dt", NULL
};
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_Subtract",_kwnames
,&_argo0
,&_argo1
))
5157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Subtract. Expected _wxDateTime_p.");
5164 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5165 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_Subtract. Expected _wxDateTime_p.");
5171 wxPy_BEGIN_ALLOW_THREADS
;
5172 _result
= new wxTimeSpan (wxDateTime_Subtract(_arg0
,*_arg1
));
5174 wxPy_END_ALLOW_THREADS
;
5175 if (PyErr_Occurred()) return NULL
;
5176 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5177 _resultobj
= Py_BuildValue("s",_ptemp
);
5181 static wxDateTime
wxDateTime___add__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
5182 static PyObject
*_wrap_wxDateTime___add__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
* _resultobj
;
5184 wxDateTime
* _result
;
5187 PyObject
* _argo0
= 0;
5188 PyObject
* _argo1
= 0;
5189 char *_kwnames
[] = { "self","other", NULL
};
5193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__TS",_kwnames
,&_argo0
,&_argo1
))
5196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__TS. Expected _wxDateTime_p.");
5203 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5204 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__TS. Expected _wxTimeSpan_p.");
5210 wxPy_BEGIN_ALLOW_THREADS
;
5211 _result
= new wxDateTime (wxDateTime___add__TS(_arg0
,*_arg1
));
5213 wxPy_END_ALLOW_THREADS
;
5214 if (PyErr_Occurred()) return NULL
;
5215 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5216 _resultobj
= Py_BuildValue("s",_ptemp
);
5220 static wxDateTime
wxDateTime___add__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
5221 static PyObject
*_wrap_wxDateTime___add__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
* _resultobj
;
5223 wxDateTime
* _result
;
5226 PyObject
* _argo0
= 0;
5227 PyObject
* _argo1
= 0;
5228 char *_kwnames
[] = { "self","other", NULL
};
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__DS",_kwnames
,&_argo0
,&_argo1
))
5235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__DS. Expected _wxDateTime_p.");
5242 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5243 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__DS. Expected _wxDateSpan_p.");
5249 wxPy_BEGIN_ALLOW_THREADS
;
5250 _result
= new wxDateTime (wxDateTime___add__DS(_arg0
,*_arg1
));
5252 wxPy_END_ALLOW_THREADS
;
5253 if (PyErr_Occurred()) return NULL
;
5254 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5255 _resultobj
= Py_BuildValue("s",_ptemp
);
5259 static wxTimeSpan
wxDateTime___sub__DT(wxDateTime
*self
,const wxDateTime
& other
) { return *self
- other
; }
5260 static PyObject
*_wrap_wxDateTime___sub__DT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
* _resultobj
;
5262 wxTimeSpan
* _result
;
5265 PyObject
* _argo0
= 0;
5266 PyObject
* _argo1
= 0;
5267 char *_kwnames
[] = { "self","other", NULL
};
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DT",_kwnames
,&_argo0
,&_argo1
))
5274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
5281 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5282 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
5288 wxPy_BEGIN_ALLOW_THREADS
;
5289 _result
= new wxTimeSpan (wxDateTime___sub__DT(_arg0
,*_arg1
));
5291 wxPy_END_ALLOW_THREADS
;
5292 if (PyErr_Occurred()) return NULL
;
5293 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5294 _resultobj
= Py_BuildValue("s",_ptemp
);
5298 static wxDateTime
wxDateTime___sub__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
5299 static PyObject
*_wrap_wxDateTime___sub__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5300 PyObject
* _resultobj
;
5301 wxDateTime
* _result
;
5304 PyObject
* _argo0
= 0;
5305 PyObject
* _argo1
= 0;
5306 char *_kwnames
[] = { "self","other", NULL
};
5310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__TS",_kwnames
,&_argo0
,&_argo1
))
5313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__TS. Expected _wxDateTime_p.");
5320 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5321 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__TS. Expected _wxTimeSpan_p.");
5327 wxPy_BEGIN_ALLOW_THREADS
;
5328 _result
= new wxDateTime (wxDateTime___sub__TS(_arg0
,*_arg1
));
5330 wxPy_END_ALLOW_THREADS
;
5331 if (PyErr_Occurred()) return NULL
;
5332 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5333 _resultobj
= Py_BuildValue("s",_ptemp
);
5337 static wxDateTime
wxDateTime___sub__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
- other
; }
5338 static PyObject
*_wrap_wxDateTime___sub__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
* _resultobj
;
5340 wxDateTime
* _result
;
5343 PyObject
* _argo0
= 0;
5344 PyObject
* _argo1
= 0;
5345 char *_kwnames
[] = { "self","other", NULL
};
5349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DS",_kwnames
,&_argo0
,&_argo1
))
5352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DS. Expected _wxDateTime_p.");
5359 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5360 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DS. Expected _wxDateSpan_p.");
5366 wxPy_BEGIN_ALLOW_THREADS
;
5367 _result
= new wxDateTime (wxDateTime___sub__DS(_arg0
,*_arg1
));
5369 wxPy_END_ALLOW_THREADS
;
5370 if (PyErr_Occurred()) return NULL
;
5371 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5372 _resultobj
= Py_BuildValue("s",_ptemp
);
5376 static int wxDateTime___cmp__(wxDateTime
*self
,const wxDateTime
& other
) {
5377 if (*self
< other
) return -1;
5378 if (*self
== other
) return 0;
5381 static PyObject
*_wrap_wxDateTime___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
* _resultobj
;
5386 PyObject
* _argo0
= 0;
5387 PyObject
* _argo1
= 0;
5388 char *_kwnames
[] = { "self","other", NULL
};
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___cmp__",_kwnames
,&_argo0
,&_argo1
))
5394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5401 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5402 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5408 wxPy_BEGIN_ALLOW_THREADS
;
5409 _result
= (int )wxDateTime___cmp__(_arg0
,*_arg1
);
5411 wxPy_END_ALLOW_THREADS
;
5412 if (PyErr_Occurred()) return NULL
;
5413 } _resultobj
= Py_BuildValue("i",_result
);
5417 #define wxDateTime_ParseRfc822Date(_swigobj,_swigarg0) (_swigobj->ParseRfc822Date(_swigarg0))
5418 static PyObject
*_wrap_wxDateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
* _resultobj
;
5423 PyObject
* _argo0
= 0;
5424 char *_kwnames
[] = { "self","date", NULL
};
5427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseRfc822Date",_kwnames
,&_argo0
,&_arg1
))
5430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseRfc822Date. Expected _wxDateTime_p.");
5437 wxPy_BEGIN_ALLOW_THREADS
;
5438 _result
= (char *)wxDateTime_ParseRfc822Date(_arg0
,_arg1
);
5440 wxPy_END_ALLOW_THREADS
;
5441 if (PyErr_Occurred()) return NULL
;
5442 } _resultobj
= Py_BuildValue("s", _result
);
5446 #define wxDateTime_ParseFormat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ParseFormat(_swigarg0,_swigarg1,_swigarg2))
5447 static PyObject
*_wrap_wxDateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
* _resultobj
;
5452 char * _arg2
= (char *) "%c";
5453 wxDateTime
* _arg3
= (wxDateTime
*) &wxDefaultDateTime
;
5454 PyObject
* _argo0
= 0;
5455 PyObject
* _argo3
= 0;
5456 char *_kwnames
[] = { "self","date","format","dateDef", NULL
};
5459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|sO:wxDateTime_ParseFormat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
5462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5469 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5470 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime_p")) {
5471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5476 wxPy_BEGIN_ALLOW_THREADS
;
5477 _result
= (char *)wxDateTime_ParseFormat(_arg0
,_arg1
,_arg2
,*_arg3
);
5479 wxPy_END_ALLOW_THREADS
;
5480 if (PyErr_Occurred()) return NULL
;
5481 } _resultobj
= Py_BuildValue("s", _result
);
5485 #define wxDateTime_ParseDateTime(_swigobj,_swigarg0) (_swigobj->ParseDateTime(_swigarg0))
5486 static PyObject
*_wrap_wxDateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5487 PyObject
* _resultobj
;
5491 PyObject
* _argo0
= 0;
5492 char *_kwnames
[] = { "self","datetime", NULL
};
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseDateTime",_kwnames
,&_argo0
,&_arg1
))
5498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDateTime. Expected _wxDateTime_p.");
5505 wxPy_BEGIN_ALLOW_THREADS
;
5506 _result
= (char *)wxDateTime_ParseDateTime(_arg0
,_arg1
);
5508 wxPy_END_ALLOW_THREADS
;
5509 if (PyErr_Occurred()) return NULL
;
5510 } _resultobj
= Py_BuildValue("s", _result
);
5514 #define wxDateTime_ParseDate(_swigobj,_swigarg0) (_swigobj->ParseDate(_swigarg0))
5515 static PyObject
*_wrap_wxDateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
* _resultobj
;
5520 PyObject
* _argo0
= 0;
5521 char *_kwnames
[] = { "self","date", NULL
};
5524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseDate",_kwnames
,&_argo0
,&_arg1
))
5527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDate. Expected _wxDateTime_p.");
5534 wxPy_BEGIN_ALLOW_THREADS
;
5535 _result
= (char *)wxDateTime_ParseDate(_arg0
,_arg1
);
5537 wxPy_END_ALLOW_THREADS
;
5538 if (PyErr_Occurred()) return NULL
;
5539 } _resultobj
= Py_BuildValue("s", _result
);
5543 #define wxDateTime_ParseTime(_swigobj,_swigarg0) (_swigobj->ParseTime(_swigarg0))
5544 static PyObject
*_wrap_wxDateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
* _resultobj
;
5549 PyObject
* _argo0
= 0;
5550 char *_kwnames
[] = { "self","time", NULL
};
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseTime",_kwnames
,&_argo0
,&_arg1
))
5556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseTime. Expected _wxDateTime_p.");
5563 wxPy_BEGIN_ALLOW_THREADS
;
5564 _result
= (char *)wxDateTime_ParseTime(_arg0
,_arg1
);
5566 wxPy_END_ALLOW_THREADS
;
5567 if (PyErr_Occurred()) return NULL
;
5568 } _resultobj
= Py_BuildValue("s", _result
);
5572 #define wxDateTime_Format(_swigobj,_swigarg0,_swigarg1) (_swigobj->Format(_swigarg0,_swigarg1))
5573 static PyObject
*_wrap_wxDateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
* _resultobj
;
5577 char * _arg1
= (char *) "%c";
5578 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
5579 PyObject
* _argo0
= 0;
5580 PyObject
* _obj2
= 0;
5581 char *_kwnames
[] = { "self","format","tz", NULL
};
5584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sO:wxDateTime_Format",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Format. Expected _wxDateTime_p.");
5595 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
5598 wxPy_BEGIN_ALLOW_THREADS
;
5599 _result
= new wxString (wxDateTime_Format(_arg0
,_arg1
,*_arg2
));
5601 wxPy_END_ALLOW_THREADS
;
5602 if (PyErr_Occurred()) return NULL
;
5604 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5607 if (_arg2
) delete _arg2
;
5615 #define wxDateTime_FormatDate(_swigobj) (_swigobj->FormatDate())
5616 static PyObject
*_wrap_wxDateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
* _resultobj
;
5620 PyObject
* _argo0
= 0;
5621 char *_kwnames
[] = { "self", NULL
};
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatDate",_kwnames
,&_argo0
))
5627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatDate. Expected _wxDateTime_p.");
5634 wxPy_BEGIN_ALLOW_THREADS
;
5635 _result
= new wxString (wxDateTime_FormatDate(_arg0
));
5637 wxPy_END_ALLOW_THREADS
;
5638 if (PyErr_Occurred()) return NULL
;
5640 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5648 #define wxDateTime_FormatTime(_swigobj) (_swigobj->FormatTime())
5649 static PyObject
*_wrap_wxDateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
* _resultobj
;
5653 PyObject
* _argo0
= 0;
5654 char *_kwnames
[] = { "self", NULL
};
5657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatTime",_kwnames
,&_argo0
))
5660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatTime. Expected _wxDateTime_p.");
5667 wxPy_BEGIN_ALLOW_THREADS
;
5668 _result
= new wxString (wxDateTime_FormatTime(_arg0
));
5670 wxPy_END_ALLOW_THREADS
;
5671 if (PyErr_Occurred()) return NULL
;
5673 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5681 #define wxDateTime_FormatISODate(_swigobj) (_swigobj->FormatISODate())
5682 static PyObject
*_wrap_wxDateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
* _resultobj
;
5686 PyObject
* _argo0
= 0;
5687 char *_kwnames
[] = { "self", NULL
};
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISODate",_kwnames
,&_argo0
))
5693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISODate. Expected _wxDateTime_p.");
5700 wxPy_BEGIN_ALLOW_THREADS
;
5701 _result
= new wxString (wxDateTime_FormatISODate(_arg0
));
5703 wxPy_END_ALLOW_THREADS
;
5704 if (PyErr_Occurred()) return NULL
;
5706 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5714 #define wxDateTime_FormatISOTime(_swigobj) (_swigobj->FormatISOTime())
5715 static PyObject
*_wrap_wxDateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
* _resultobj
;
5719 PyObject
* _argo0
= 0;
5720 char *_kwnames
[] = { "self", NULL
};
5723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISOTime",_kwnames
,&_argo0
))
5726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISOTime. Expected _wxDateTime_p.");
5733 wxPy_BEGIN_ALLOW_THREADS
;
5734 _result
= new wxString (wxDateTime_FormatISOTime(_arg0
));
5736 wxPy_END_ALLOW_THREADS
;
5737 if (PyErr_Occurred()) return NULL
;
5739 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5747 static PyObject
*_wrap_wxTimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
* _resultobj
;
5749 wxTimeSpan
* _result
;
5751 char *_kwnames
[] = { "sec", NULL
};
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Seconds",_kwnames
,&_arg0
))
5758 wxPy_BEGIN_ALLOW_THREADS
;
5759 _result
= new wxTimeSpan (wxTimeSpan::Seconds(_arg0
));
5761 wxPy_END_ALLOW_THREADS
;
5762 if (PyErr_Occurred()) return NULL
;
5763 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5764 _resultobj
= Py_BuildValue("s",_ptemp
);
5768 static PyObject
*_wrap_wxTimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5769 PyObject
* _resultobj
;
5770 wxTimeSpan
* _result
;
5771 char *_kwnames
[] = { NULL
};
5775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Second",_kwnames
))
5778 wxPy_BEGIN_ALLOW_THREADS
;
5779 _result
= new wxTimeSpan (wxTimeSpan::Second());
5781 wxPy_END_ALLOW_THREADS
;
5782 if (PyErr_Occurred()) return NULL
;
5783 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5784 _resultobj
= Py_BuildValue("s",_ptemp
);
5788 static PyObject
*_wrap_wxTimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
* _resultobj
;
5790 wxTimeSpan
* _result
;
5792 char *_kwnames
[] = { "min", NULL
};
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Minutes",_kwnames
,&_arg0
))
5799 wxPy_BEGIN_ALLOW_THREADS
;
5800 _result
= new wxTimeSpan (wxTimeSpan::Minutes(_arg0
));
5802 wxPy_END_ALLOW_THREADS
;
5803 if (PyErr_Occurred()) return NULL
;
5804 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5805 _resultobj
= Py_BuildValue("s",_ptemp
);
5809 static PyObject
*_wrap_wxTimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
* _resultobj
;
5811 wxTimeSpan
* _result
;
5812 char *_kwnames
[] = { NULL
};
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Minute",_kwnames
))
5819 wxPy_BEGIN_ALLOW_THREADS
;
5820 _result
= new wxTimeSpan (wxTimeSpan::Minute());
5822 wxPy_END_ALLOW_THREADS
;
5823 if (PyErr_Occurred()) return NULL
;
5824 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5825 _resultobj
= Py_BuildValue("s",_ptemp
);
5829 static PyObject
*_wrap_wxTimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
* _resultobj
;
5831 wxTimeSpan
* _result
;
5833 char *_kwnames
[] = { "hours", NULL
};
5837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Hours",_kwnames
,&_arg0
))
5840 wxPy_BEGIN_ALLOW_THREADS
;
5841 _result
= new wxTimeSpan (wxTimeSpan::Hours(_arg0
));
5843 wxPy_END_ALLOW_THREADS
;
5844 if (PyErr_Occurred()) return NULL
;
5845 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5846 _resultobj
= Py_BuildValue("s",_ptemp
);
5850 static PyObject
*_wrap_wxTimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
* _resultobj
;
5852 wxTimeSpan
* _result
;
5853 char *_kwnames
[] = { NULL
};
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Hour",_kwnames
))
5860 wxPy_BEGIN_ALLOW_THREADS
;
5861 _result
= new wxTimeSpan (wxTimeSpan::Hour());
5863 wxPy_END_ALLOW_THREADS
;
5864 if (PyErr_Occurred()) return NULL
;
5865 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5866 _resultobj
= Py_BuildValue("s",_ptemp
);
5870 static PyObject
*_wrap_wxTimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
* _resultobj
;
5872 wxTimeSpan
* _result
;
5874 char *_kwnames
[] = { "days", NULL
};
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Days",_kwnames
,&_arg0
))
5881 wxPy_BEGIN_ALLOW_THREADS
;
5882 _result
= new wxTimeSpan (wxTimeSpan::Days(_arg0
));
5884 wxPy_END_ALLOW_THREADS
;
5885 if (PyErr_Occurred()) return NULL
;
5886 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5887 _resultobj
= Py_BuildValue("s",_ptemp
);
5891 static PyObject
*_wrap_wxTimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5892 PyObject
* _resultobj
;
5893 wxTimeSpan
* _result
;
5894 char *_kwnames
[] = { NULL
};
5898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Day",_kwnames
))
5901 wxPy_BEGIN_ALLOW_THREADS
;
5902 _result
= new wxTimeSpan (wxTimeSpan::Day());
5904 wxPy_END_ALLOW_THREADS
;
5905 if (PyErr_Occurred()) return NULL
;
5906 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5907 _resultobj
= Py_BuildValue("s",_ptemp
);
5911 static PyObject
*_wrap_wxTimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
* _resultobj
;
5913 wxTimeSpan
* _result
;
5915 char *_kwnames
[] = { "days", NULL
};
5919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Weeks",_kwnames
,&_arg0
))
5922 wxPy_BEGIN_ALLOW_THREADS
;
5923 _result
= new wxTimeSpan (wxTimeSpan::Weeks(_arg0
));
5925 wxPy_END_ALLOW_THREADS
;
5926 if (PyErr_Occurred()) return NULL
;
5927 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5928 _resultobj
= Py_BuildValue("s",_ptemp
);
5932 static PyObject
*_wrap_wxTimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
* _resultobj
;
5934 wxTimeSpan
* _result
;
5935 char *_kwnames
[] = { NULL
};
5939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Week",_kwnames
))
5942 wxPy_BEGIN_ALLOW_THREADS
;
5943 _result
= new wxTimeSpan (wxTimeSpan::Week());
5945 wxPy_END_ALLOW_THREADS
;
5946 if (PyErr_Occurred()) return NULL
;
5947 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5948 _resultobj
= Py_BuildValue("s",_ptemp
);
5952 #define new_wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5953 static PyObject
*_wrap_new_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
* _resultobj
;
5955 wxTimeSpan
* _result
;
5956 long _arg0
= (long ) 0;
5957 long _arg1
= (long ) 0;
5958 long _arg2
= (long ) 0;
5959 long _arg3
= (long ) 0;
5960 char *_kwnames
[] = { "hours","minutes","seconds","milliseconds", NULL
};
5964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxTimeSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
5967 wxPy_BEGIN_ALLOW_THREADS
;
5968 _result
= (wxTimeSpan
*)new_wxTimeSpan(_arg0
,_arg1
,_arg2
,_arg3
);
5970 wxPy_END_ALLOW_THREADS
;
5971 if (PyErr_Occurred()) return NULL
;
5973 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5974 _resultobj
= Py_BuildValue("s",_ptemp
);
5977 _resultobj
= Py_None
;
5982 #define delete_wxTimeSpan(_swigobj) (delete _swigobj)
5983 static PyObject
*_wrap_delete_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
* _resultobj
;
5986 PyObject
* _argo0
= 0;
5987 char *_kwnames
[] = { "self", NULL
};
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTimeSpan",_kwnames
,&_argo0
))
5993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTimeSpan. Expected _wxTimeSpan_p.");
6000 wxPy_BEGIN_ALLOW_THREADS
;
6001 delete_wxTimeSpan(_arg0
);
6003 wxPy_END_ALLOW_THREADS
;
6004 if (PyErr_Occurred()) return NULL
;
6005 } Py_INCREF(Py_None
);
6006 _resultobj
= Py_None
;
6010 #define wxTimeSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
6011 static PyObject
*_wrap_wxTimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
* _resultobj
;
6013 wxTimeSpan
* _result
;
6016 PyObject
* _argo0
= 0;
6017 PyObject
* _argo1
= 0;
6018 char *_kwnames
[] = { "self","diff", NULL
};
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Add",_kwnames
,&_argo0
,&_argo1
))
6025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
6032 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6033 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
6039 wxPy_BEGIN_ALLOW_THREADS
;
6040 wxTimeSpan
& _result_ref
= wxTimeSpan_Add(_arg0
,*_arg1
);
6041 _result
= (wxTimeSpan
*) &_result_ref
;
6043 wxPy_END_ALLOW_THREADS
;
6044 if (PyErr_Occurred()) return NULL
;
6046 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6047 _resultobj
= Py_BuildValue("s",_ptemp
);
6050 _resultobj
= Py_None
;
6055 #define wxTimeSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
6056 static PyObject
*_wrap_wxTimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
* _resultobj
;
6058 wxTimeSpan
* _result
;
6061 PyObject
* _argo0
= 0;
6062 PyObject
* _argo1
= 0;
6063 char *_kwnames
[] = { "self","diff", NULL
};
6067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
6070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
6077 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6078 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
6084 wxPy_BEGIN_ALLOW_THREADS
;
6085 wxTimeSpan
& _result_ref
= wxTimeSpan_Subtract(_arg0
,*_arg1
);
6086 _result
= (wxTimeSpan
*) &_result_ref
;
6088 wxPy_END_ALLOW_THREADS
;
6089 if (PyErr_Occurred()) return NULL
;
6091 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6092 _resultobj
= Py_BuildValue("s",_ptemp
);
6095 _resultobj
= Py_None
;
6100 #define wxTimeSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
6101 static PyObject
*_wrap_wxTimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
* _resultobj
;
6103 wxTimeSpan
* _result
;
6106 PyObject
* _argo0
= 0;
6107 char *_kwnames
[] = { "self","n", NULL
};
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
6114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Multiply. Expected _wxTimeSpan_p.");
6121 wxPy_BEGIN_ALLOW_THREADS
;
6122 wxTimeSpan
& _result_ref
= wxTimeSpan_Multiply(_arg0
,_arg1
);
6123 _result
= (wxTimeSpan
*) &_result_ref
;
6125 wxPy_END_ALLOW_THREADS
;
6126 if (PyErr_Occurred()) return NULL
;
6128 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6129 _resultobj
= Py_BuildValue("s",_ptemp
);
6132 _resultobj
= Py_None
;
6137 #define wxTimeSpan_Neg(_swigobj) (_swigobj->Neg())
6138 static PyObject
*_wrap_wxTimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
* _resultobj
;
6140 wxTimeSpan
* _result
;
6142 PyObject
* _argo0
= 0;
6143 char *_kwnames
[] = { "self", NULL
};
6147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Neg",_kwnames
,&_argo0
))
6150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Neg. Expected _wxTimeSpan_p.");
6157 wxPy_BEGIN_ALLOW_THREADS
;
6158 wxTimeSpan
& _result_ref
= wxTimeSpan_Neg(_arg0
);
6159 _result
= (wxTimeSpan
*) &_result_ref
;
6161 wxPy_END_ALLOW_THREADS
;
6162 if (PyErr_Occurred()) return NULL
;
6164 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6165 _resultobj
= Py_BuildValue("s",_ptemp
);
6168 _resultobj
= Py_None
;
6173 #define wxTimeSpan_Abs(_swigobj) (_swigobj->Abs())
6174 static PyObject
*_wrap_wxTimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6175 PyObject
* _resultobj
;
6176 wxTimeSpan
* _result
;
6178 PyObject
* _argo0
= 0;
6179 char *_kwnames
[] = { "self", NULL
};
6183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Abs",_kwnames
,&_argo0
))
6186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Abs. Expected _wxTimeSpan_p.");
6193 wxPy_BEGIN_ALLOW_THREADS
;
6194 _result
= new wxTimeSpan (wxTimeSpan_Abs(_arg0
));
6196 wxPy_END_ALLOW_THREADS
;
6197 if (PyErr_Occurred()) return NULL
;
6198 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6199 _resultobj
= Py_BuildValue("s",_ptemp
);
6203 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
6204 static PyObject
*_wrap_wxTimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6205 PyObject
* _resultobj
;
6206 wxTimeSpan
* _result
;
6209 PyObject
* _argo0
= 0;
6210 PyObject
* _argo1
= 0;
6211 char *_kwnames
[] = { "self","other", NULL
};
6215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___add__",_kwnames
,&_argo0
,&_argo1
))
6218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6225 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6226 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6232 wxPy_BEGIN_ALLOW_THREADS
;
6233 _result
= new wxTimeSpan (wxTimeSpan___add__(_arg0
,*_arg1
));
6235 wxPy_END_ALLOW_THREADS
;
6236 if (PyErr_Occurred()) return NULL
;
6237 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6238 _resultobj
= Py_BuildValue("s",_ptemp
);
6242 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
6243 static PyObject
*_wrap_wxTimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6244 PyObject
* _resultobj
;
6245 wxTimeSpan
* _result
;
6248 PyObject
* _argo0
= 0;
6249 PyObject
* _argo1
= 0;
6250 char *_kwnames
[] = { "self","other", NULL
};
6254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
6257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6264 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6265 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6271 wxPy_BEGIN_ALLOW_THREADS
;
6272 _result
= new wxTimeSpan (wxTimeSpan___sub__(_arg0
,*_arg1
));
6274 wxPy_END_ALLOW_THREADS
;
6275 if (PyErr_Occurred()) return NULL
;
6276 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6277 _resultobj
= Py_BuildValue("s",_ptemp
);
6281 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
) { return *self
* n
; }
6282 static PyObject
*_wrap_wxTimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
* _resultobj
;
6284 wxTimeSpan
* _result
;
6287 PyObject
* _argo0
= 0;
6288 char *_kwnames
[] = { "self","n", NULL
};
6292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
6295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___mul__. Expected _wxTimeSpan_p.");
6302 wxPy_BEGIN_ALLOW_THREADS
;
6303 _result
= new wxTimeSpan (wxTimeSpan___mul__(_arg0
,_arg1
));
6305 wxPy_END_ALLOW_THREADS
;
6306 if (PyErr_Occurred()) return NULL
;
6307 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6308 _resultobj
= Py_BuildValue("s",_ptemp
);
6312 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
) { return n
* *self
; }
6313 static PyObject
*_wrap_wxTimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
* _resultobj
;
6315 wxTimeSpan
* _result
;
6318 PyObject
* _argo0
= 0;
6319 char *_kwnames
[] = { "self","n", NULL
};
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
6326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___rmul__. Expected _wxTimeSpan_p.");
6333 wxPy_BEGIN_ALLOW_THREADS
;
6334 _result
= new wxTimeSpan (wxTimeSpan___rmul__(_arg0
,_arg1
));
6336 wxPy_END_ALLOW_THREADS
;
6337 if (PyErr_Occurred()) return NULL
;
6338 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6339 _resultobj
= Py_BuildValue("s",_ptemp
);
6343 static wxTimeSpan
wxTimeSpan___neg__(wxTimeSpan
*self
) { return self
->Negate(); }
6344 static PyObject
*_wrap_wxTimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6345 PyObject
* _resultobj
;
6346 wxTimeSpan
* _result
;
6348 PyObject
* _argo0
= 0;
6349 char *_kwnames
[] = { "self", NULL
};
6353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan___neg__",_kwnames
,&_argo0
))
6356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___neg__. Expected _wxTimeSpan_p.");
6363 wxPy_BEGIN_ALLOW_THREADS
;
6364 _result
= new wxTimeSpan (wxTimeSpan___neg__(_arg0
));
6366 wxPy_END_ALLOW_THREADS
;
6367 if (PyErr_Occurred()) return NULL
;
6368 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6369 _resultobj
= Py_BuildValue("s",_ptemp
);
6373 static int wxTimeSpan___cmp__(wxTimeSpan
*self
,const wxTimeSpan
& other
) {
6374 if (*self
< other
) return -1;
6375 if (*self
== other
) return 0;
6378 static PyObject
*_wrap_wxTimeSpan___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
* _resultobj
;
6383 PyObject
* _argo0
= 0;
6384 PyObject
* _argo1
= 0;
6385 char *_kwnames
[] = { "self","other", NULL
};
6388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___cmp__",_kwnames
,&_argo0
,&_argo1
))
6391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6398 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6399 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6405 wxPy_BEGIN_ALLOW_THREADS
;
6406 _result
= (int )wxTimeSpan___cmp__(_arg0
,*_arg1
);
6408 wxPy_END_ALLOW_THREADS
;
6409 if (PyErr_Occurred()) return NULL
;
6410 } _resultobj
= Py_BuildValue("i",_result
);
6414 #define wxTimeSpan_IsNull(_swigobj) (_swigobj->IsNull())
6415 static PyObject
*_wrap_wxTimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
* _resultobj
;
6419 PyObject
* _argo0
= 0;
6420 char *_kwnames
[] = { "self", NULL
};
6423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNull",_kwnames
,&_argo0
))
6426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNull. Expected _wxTimeSpan_p.");
6433 wxPy_BEGIN_ALLOW_THREADS
;
6434 _result
= (bool )wxTimeSpan_IsNull(_arg0
);
6436 wxPy_END_ALLOW_THREADS
;
6437 if (PyErr_Occurred()) return NULL
;
6438 } _resultobj
= Py_BuildValue("i",_result
);
6442 #define wxTimeSpan_IsPositive(_swigobj) (_swigobj->IsPositive())
6443 static PyObject
*_wrap_wxTimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
* _resultobj
;
6447 PyObject
* _argo0
= 0;
6448 char *_kwnames
[] = { "self", NULL
};
6451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsPositive",_kwnames
,&_argo0
))
6454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsPositive. Expected _wxTimeSpan_p.");
6461 wxPy_BEGIN_ALLOW_THREADS
;
6462 _result
= (bool )wxTimeSpan_IsPositive(_arg0
);
6464 wxPy_END_ALLOW_THREADS
;
6465 if (PyErr_Occurred()) return NULL
;
6466 } _resultobj
= Py_BuildValue("i",_result
);
6470 #define wxTimeSpan_IsNegative(_swigobj) (_swigobj->IsNegative())
6471 static PyObject
*_wrap_wxTimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
* _resultobj
;
6475 PyObject
* _argo0
= 0;
6476 char *_kwnames
[] = { "self", NULL
};
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNegative",_kwnames
,&_argo0
))
6482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNegative. Expected _wxTimeSpan_p.");
6489 wxPy_BEGIN_ALLOW_THREADS
;
6490 _result
= (bool )wxTimeSpan_IsNegative(_arg0
);
6492 wxPy_END_ALLOW_THREADS
;
6493 if (PyErr_Occurred()) return NULL
;
6494 } _resultobj
= Py_BuildValue("i",_result
);
6498 #define wxTimeSpan_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
6499 static PyObject
*_wrap_wxTimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
* _resultobj
;
6504 PyObject
* _argo0
= 0;
6505 PyObject
* _argo1
= 0;
6506 char *_kwnames
[] = { "self","ts", NULL
};
6509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
6512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6519 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6520 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6526 wxPy_BEGIN_ALLOW_THREADS
;
6527 _result
= (bool )wxTimeSpan_IsEqualTo(_arg0
,*_arg1
);
6529 wxPy_END_ALLOW_THREADS
;
6530 if (PyErr_Occurred()) return NULL
;
6531 } _resultobj
= Py_BuildValue("i",_result
);
6535 #define wxTimeSpan_IsLongerThan(_swigobj,_swigarg0) (_swigobj->IsLongerThan(_swigarg0))
6536 static PyObject
*_wrap_wxTimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
* _resultobj
;
6541 PyObject
* _argo0
= 0;
6542 PyObject
* _argo1
= 0;
6543 char *_kwnames
[] = { "self","ts", NULL
};
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsLongerThan",_kwnames
,&_argo0
,&_argo1
))
6549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6556 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6557 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6563 wxPy_BEGIN_ALLOW_THREADS
;
6564 _result
= (bool )wxTimeSpan_IsLongerThan(_arg0
,*_arg1
);
6566 wxPy_END_ALLOW_THREADS
;
6567 if (PyErr_Occurred()) return NULL
;
6568 } _resultobj
= Py_BuildValue("i",_result
);
6572 #define wxTimeSpan_IsShorterThan(_swigobj,_swigarg0) (_swigobj->IsShorterThan(_swigarg0))
6573 static PyObject
*_wrap_wxTimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6574 PyObject
* _resultobj
;
6578 PyObject
* _argo0
= 0;
6579 PyObject
* _argo1
= 0;
6580 char *_kwnames
[] = { "self","t", NULL
};
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsShorterThan",_kwnames
,&_argo0
,&_argo1
))
6586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6593 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6594 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6600 wxPy_BEGIN_ALLOW_THREADS
;
6601 _result
= (bool )wxTimeSpan_IsShorterThan(_arg0
,*_arg1
);
6603 wxPy_END_ALLOW_THREADS
;
6604 if (PyErr_Occurred()) return NULL
;
6605 } _resultobj
= Py_BuildValue("i",_result
);
6609 #define wxTimeSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
6610 static PyObject
*_wrap_wxTimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6611 PyObject
* _resultobj
;
6614 PyObject
* _argo0
= 0;
6615 char *_kwnames
[] = { "self", NULL
};
6618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetWeeks",_kwnames
,&_argo0
))
6621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetWeeks. Expected _wxTimeSpan_p.");
6628 wxPy_BEGIN_ALLOW_THREADS
;
6629 _result
= (int )wxTimeSpan_GetWeeks(_arg0
);
6631 wxPy_END_ALLOW_THREADS
;
6632 if (PyErr_Occurred()) return NULL
;
6633 } _resultobj
= Py_BuildValue("i",_result
);
6637 #define wxTimeSpan_GetDays(_swigobj) (_swigobj->GetDays())
6638 static PyObject
*_wrap_wxTimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
* _resultobj
;
6642 PyObject
* _argo0
= 0;
6643 char *_kwnames
[] = { "self", NULL
};
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetDays",_kwnames
,&_argo0
))
6649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetDays. Expected _wxTimeSpan_p.");
6656 wxPy_BEGIN_ALLOW_THREADS
;
6657 _result
= (int )wxTimeSpan_GetDays(_arg0
);
6659 wxPy_END_ALLOW_THREADS
;
6660 if (PyErr_Occurred()) return NULL
;
6661 } _resultobj
= Py_BuildValue("i",_result
);
6665 #define wxTimeSpan_GetHours(_swigobj) (_swigobj->GetHours())
6666 static PyObject
*_wrap_wxTimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6667 PyObject
* _resultobj
;
6670 PyObject
* _argo0
= 0;
6671 char *_kwnames
[] = { "self", NULL
};
6674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetHours",_kwnames
,&_argo0
))
6677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetHours. Expected _wxTimeSpan_p.");
6684 wxPy_BEGIN_ALLOW_THREADS
;
6685 _result
= (int )wxTimeSpan_GetHours(_arg0
);
6687 wxPy_END_ALLOW_THREADS
;
6688 if (PyErr_Occurred()) return NULL
;
6689 } _resultobj
= Py_BuildValue("i",_result
);
6693 #define wxTimeSpan_GetMinutes(_swigobj) (_swigobj->GetMinutes())
6694 static PyObject
*_wrap_wxTimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6695 PyObject
* _resultobj
;
6698 PyObject
* _argo0
= 0;
6699 char *_kwnames
[] = { "self", NULL
};
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMinutes",_kwnames
,&_argo0
))
6705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMinutes. Expected _wxTimeSpan_p.");
6712 wxPy_BEGIN_ALLOW_THREADS
;
6713 _result
= (int )wxTimeSpan_GetMinutes(_arg0
);
6715 wxPy_END_ALLOW_THREADS
;
6716 if (PyErr_Occurred()) return NULL
;
6717 } _resultobj
= Py_BuildValue("i",_result
);
6721 #define wxTimeSpan_GetSeconds(_swigobj) (_swigobj->GetSeconds())
6722 static PyObject
*_wrap_wxTimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6723 PyObject
* _resultobj
;
6724 wxLongLong
* _result
;
6726 PyObject
* _argo0
= 0;
6727 char *_kwnames
[] = { "self", NULL
};
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetSeconds",_kwnames
,&_argo0
))
6733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetSeconds. Expected _wxTimeSpan_p.");
6740 wxPy_BEGIN_ALLOW_THREADS
;
6741 _result
= new wxLongLong (wxTimeSpan_GetSeconds(_arg0
));
6743 wxPy_END_ALLOW_THREADS
;
6744 if (PyErr_Occurred()) return NULL
;
6746 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6747 hi
= PyLong_FromLong(_result
->GetHi());
6748 lo
= PyLong_FromLong(_result
->GetLo());
6749 shifter
= PyLong_FromLong(32);
6750 shifted
= PyNumber_Lshift(hi
, shifter
);
6751 _resultobj
= PyNumber_Or(shifted
, lo
);
6760 #define wxTimeSpan_GetMilliseconds(_swigobj) (_swigobj->GetMilliseconds())
6761 static PyObject
*_wrap_wxTimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
* _resultobj
;
6763 wxLongLong
* _result
;
6765 PyObject
* _argo0
= 0;
6766 char *_kwnames
[] = { "self", NULL
};
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMilliseconds",_kwnames
,&_argo0
))
6772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMilliseconds. Expected _wxTimeSpan_p.");
6779 wxPy_BEGIN_ALLOW_THREADS
;
6780 _result
= new wxLongLong (wxTimeSpan_GetMilliseconds(_arg0
));
6782 wxPy_END_ALLOW_THREADS
;
6783 if (PyErr_Occurred()) return NULL
;
6785 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6786 hi
= PyLong_FromLong(_result
->GetHi());
6787 lo
= PyLong_FromLong(_result
->GetLo());
6788 shifter
= PyLong_FromLong(32);
6789 shifted
= PyNumber_Lshift(hi
, shifter
);
6790 _resultobj
= PyNumber_Or(shifted
, lo
);
6799 #define wxTimeSpan_Format(_swigobj,_swigarg0) (_swigobj->Format(_swigarg0))
6800 static PyObject
*_wrap_wxTimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
* _resultobj
;
6804 char * _arg1
= (char *) "%c";
6805 PyObject
* _argo0
= 0;
6806 char *_kwnames
[] = { "self","format", NULL
};
6809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxTimeSpan_Format",_kwnames
,&_argo0
,&_arg1
))
6812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Format. Expected _wxTimeSpan_p.");
6819 wxPy_BEGIN_ALLOW_THREADS
;
6820 _result
= new wxString (wxTimeSpan_Format(_arg0
,_arg1
));
6822 wxPy_END_ALLOW_THREADS
;
6823 if (PyErr_Occurred()) return NULL
;
6825 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6833 #define new_wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6834 static PyObject
*_wrap_new_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
* _resultobj
;
6836 wxDateSpan
* _result
;
6837 int _arg0
= (int ) 0;
6838 int _arg1
= (int ) 0;
6839 int _arg2
= (int ) 0;
6840 int _arg3
= (int ) 0;
6841 char *_kwnames
[] = { "years","months","weeks","days", NULL
};
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxDateSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
6848 wxPy_BEGIN_ALLOW_THREADS
;
6849 _result
= (wxDateSpan
*)new_wxDateSpan(_arg0
,_arg1
,_arg2
,_arg3
);
6851 wxPy_END_ALLOW_THREADS
;
6852 if (PyErr_Occurred()) return NULL
;
6854 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6855 _resultobj
= Py_BuildValue("s",_ptemp
);
6858 _resultobj
= Py_None
;
6863 #define delete_wxDateSpan(_swigobj) (delete _swigobj)
6864 static PyObject
*_wrap_delete_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
* _resultobj
;
6867 PyObject
* _argo0
= 0;
6868 char *_kwnames
[] = { "self", NULL
};
6871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateSpan",_kwnames
,&_argo0
))
6874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateSpan. Expected _wxDateSpan_p.");
6881 wxPy_BEGIN_ALLOW_THREADS
;
6882 delete_wxDateSpan(_arg0
);
6884 wxPy_END_ALLOW_THREADS
;
6885 if (PyErr_Occurred()) return NULL
;
6886 } Py_INCREF(Py_None
);
6887 _resultobj
= Py_None
;
6891 static PyObject
*_wrap_wxDateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6892 PyObject
* _resultobj
;
6893 wxDateSpan
* _result
;
6895 char *_kwnames
[] = { "days", NULL
};
6899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Days",_kwnames
,&_arg0
))
6902 wxPy_BEGIN_ALLOW_THREADS
;
6903 _result
= new wxDateSpan (wxDateSpan::Days(_arg0
));
6905 wxPy_END_ALLOW_THREADS
;
6906 if (PyErr_Occurred()) return NULL
;
6907 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6908 _resultobj
= Py_BuildValue("s",_ptemp
);
6912 static PyObject
*_wrap_wxDateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6913 PyObject
* _resultobj
;
6914 wxDateSpan
* _result
;
6915 char *_kwnames
[] = { NULL
};
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Day",_kwnames
))
6922 wxPy_BEGIN_ALLOW_THREADS
;
6923 _result
= new wxDateSpan (wxDateSpan::Day());
6925 wxPy_END_ALLOW_THREADS
;
6926 if (PyErr_Occurred()) return NULL
;
6927 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6928 _resultobj
= Py_BuildValue("s",_ptemp
);
6932 static PyObject
*_wrap_wxDateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
* _resultobj
;
6934 wxDateSpan
* _result
;
6936 char *_kwnames
[] = { "weeks", NULL
};
6940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Weeks",_kwnames
,&_arg0
))
6943 wxPy_BEGIN_ALLOW_THREADS
;
6944 _result
= new wxDateSpan (wxDateSpan::Weeks(_arg0
));
6946 wxPy_END_ALLOW_THREADS
;
6947 if (PyErr_Occurred()) return NULL
;
6948 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6949 _resultobj
= Py_BuildValue("s",_ptemp
);
6953 static PyObject
*_wrap_wxDateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6954 PyObject
* _resultobj
;
6955 wxDateSpan
* _result
;
6956 char *_kwnames
[] = { NULL
};
6960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Week",_kwnames
))
6963 wxPy_BEGIN_ALLOW_THREADS
;
6964 _result
= new wxDateSpan (wxDateSpan::Week());
6966 wxPy_END_ALLOW_THREADS
;
6967 if (PyErr_Occurred()) return NULL
;
6968 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6969 _resultobj
= Py_BuildValue("s",_ptemp
);
6973 static PyObject
*_wrap_wxDateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
* _resultobj
;
6975 wxDateSpan
* _result
;
6977 char *_kwnames
[] = { "mon", NULL
};
6981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Months",_kwnames
,&_arg0
))
6984 wxPy_BEGIN_ALLOW_THREADS
;
6985 _result
= new wxDateSpan (wxDateSpan::Months(_arg0
));
6987 wxPy_END_ALLOW_THREADS
;
6988 if (PyErr_Occurred()) return NULL
;
6989 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6990 _resultobj
= Py_BuildValue("s",_ptemp
);
6994 static PyObject
*_wrap_wxDateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6995 PyObject
* _resultobj
;
6996 wxDateSpan
* _result
;
6997 char *_kwnames
[] = { NULL
};
7001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Month",_kwnames
))
7004 wxPy_BEGIN_ALLOW_THREADS
;
7005 _result
= new wxDateSpan (wxDateSpan::Month());
7007 wxPy_END_ALLOW_THREADS
;
7008 if (PyErr_Occurred()) return NULL
;
7009 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7010 _resultobj
= Py_BuildValue("s",_ptemp
);
7014 static PyObject
*_wrap_wxDateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
* _resultobj
;
7016 wxDateSpan
* _result
;
7018 char *_kwnames
[] = { "years", NULL
};
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Years",_kwnames
,&_arg0
))
7025 wxPy_BEGIN_ALLOW_THREADS
;
7026 _result
= new wxDateSpan (wxDateSpan::Years(_arg0
));
7028 wxPy_END_ALLOW_THREADS
;
7029 if (PyErr_Occurred()) return NULL
;
7030 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7031 _resultobj
= Py_BuildValue("s",_ptemp
);
7035 static PyObject
*_wrap_wxDateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
* _resultobj
;
7037 wxDateSpan
* _result
;
7038 char *_kwnames
[] = { NULL
};
7042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Year",_kwnames
))
7045 wxPy_BEGIN_ALLOW_THREADS
;
7046 _result
= new wxDateSpan (wxDateSpan::Year());
7048 wxPy_END_ALLOW_THREADS
;
7049 if (PyErr_Occurred()) return NULL
;
7050 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7051 _resultobj
= Py_BuildValue("s",_ptemp
);
7055 #define wxDateSpan_SetYears(_swigobj,_swigarg0) (_swigobj->SetYears(_swigarg0))
7056 static PyObject
*_wrap_wxDateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
* _resultobj
;
7058 wxDateSpan
* _result
;
7061 PyObject
* _argo0
= 0;
7062 char *_kwnames
[] = { "self","n", NULL
};
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetYears",_kwnames
,&_argo0
,&_arg1
))
7069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetYears. Expected _wxDateSpan_p.");
7076 wxPy_BEGIN_ALLOW_THREADS
;
7077 wxDateSpan
& _result_ref
= wxDateSpan_SetYears(_arg0
,_arg1
);
7078 _result
= (wxDateSpan
*) &_result_ref
;
7080 wxPy_END_ALLOW_THREADS
;
7081 if (PyErr_Occurred()) return NULL
;
7083 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7084 _resultobj
= Py_BuildValue("s",_ptemp
);
7087 _resultobj
= Py_None
;
7092 #define wxDateSpan_SetMonths(_swigobj,_swigarg0) (_swigobj->SetMonths(_swigarg0))
7093 static PyObject
*_wrap_wxDateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7094 PyObject
* _resultobj
;
7095 wxDateSpan
* _result
;
7098 PyObject
* _argo0
= 0;
7099 char *_kwnames
[] = { "self","n", NULL
};
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetMonths",_kwnames
,&_argo0
,&_arg1
))
7106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetMonths. Expected _wxDateSpan_p.");
7113 wxPy_BEGIN_ALLOW_THREADS
;
7114 wxDateSpan
& _result_ref
= wxDateSpan_SetMonths(_arg0
,_arg1
);
7115 _result
= (wxDateSpan
*) &_result_ref
;
7117 wxPy_END_ALLOW_THREADS
;
7118 if (PyErr_Occurred()) return NULL
;
7120 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7121 _resultobj
= Py_BuildValue("s",_ptemp
);
7124 _resultobj
= Py_None
;
7129 #define wxDateSpan_SetWeeks(_swigobj,_swigarg0) (_swigobj->SetWeeks(_swigarg0))
7130 static PyObject
*_wrap_wxDateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
* _resultobj
;
7132 wxDateSpan
* _result
;
7135 PyObject
* _argo0
= 0;
7136 char *_kwnames
[] = { "self","n", NULL
};
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetWeeks",_kwnames
,&_argo0
,&_arg1
))
7143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetWeeks. Expected _wxDateSpan_p.");
7150 wxPy_BEGIN_ALLOW_THREADS
;
7151 wxDateSpan
& _result_ref
= wxDateSpan_SetWeeks(_arg0
,_arg1
);
7152 _result
= (wxDateSpan
*) &_result_ref
;
7154 wxPy_END_ALLOW_THREADS
;
7155 if (PyErr_Occurred()) return NULL
;
7157 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7158 _resultobj
= Py_BuildValue("s",_ptemp
);
7161 _resultobj
= Py_None
;
7166 #define wxDateSpan_SetDays(_swigobj,_swigarg0) (_swigobj->SetDays(_swigarg0))
7167 static PyObject
*_wrap_wxDateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
* _resultobj
;
7169 wxDateSpan
* _result
;
7172 PyObject
* _argo0
= 0;
7173 char *_kwnames
[] = { "self","n", NULL
};
7177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetDays",_kwnames
,&_argo0
,&_arg1
))
7180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetDays. Expected _wxDateSpan_p.");
7187 wxPy_BEGIN_ALLOW_THREADS
;
7188 wxDateSpan
& _result_ref
= wxDateSpan_SetDays(_arg0
,_arg1
);
7189 _result
= (wxDateSpan
*) &_result_ref
;
7191 wxPy_END_ALLOW_THREADS
;
7192 if (PyErr_Occurred()) return NULL
;
7194 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7195 _resultobj
= Py_BuildValue("s",_ptemp
);
7198 _resultobj
= Py_None
;
7203 #define wxDateSpan_GetYears(_swigobj) (_swigobj->GetYears())
7204 static PyObject
*_wrap_wxDateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
* _resultobj
;
7208 PyObject
* _argo0
= 0;
7209 char *_kwnames
[] = { "self", NULL
};
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetYears",_kwnames
,&_argo0
))
7215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetYears. Expected _wxDateSpan_p.");
7222 wxPy_BEGIN_ALLOW_THREADS
;
7223 _result
= (int )wxDateSpan_GetYears(_arg0
);
7225 wxPy_END_ALLOW_THREADS
;
7226 if (PyErr_Occurred()) return NULL
;
7227 } _resultobj
= Py_BuildValue("i",_result
);
7231 #define wxDateSpan_GetMonths(_swigobj) (_swigobj->GetMonths())
7232 static PyObject
*_wrap_wxDateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
* _resultobj
;
7236 PyObject
* _argo0
= 0;
7237 char *_kwnames
[] = { "self", NULL
};
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetMonths",_kwnames
,&_argo0
))
7243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetMonths. Expected _wxDateSpan_p.");
7250 wxPy_BEGIN_ALLOW_THREADS
;
7251 _result
= (int )wxDateSpan_GetMonths(_arg0
);
7253 wxPy_END_ALLOW_THREADS
;
7254 if (PyErr_Occurred()) return NULL
;
7255 } _resultobj
= Py_BuildValue("i",_result
);
7259 #define wxDateSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
7260 static PyObject
*_wrap_wxDateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7261 PyObject
* _resultobj
;
7264 PyObject
* _argo0
= 0;
7265 char *_kwnames
[] = { "self", NULL
};
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetWeeks",_kwnames
,&_argo0
))
7271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetWeeks. Expected _wxDateSpan_p.");
7278 wxPy_BEGIN_ALLOW_THREADS
;
7279 _result
= (int )wxDateSpan_GetWeeks(_arg0
);
7281 wxPy_END_ALLOW_THREADS
;
7282 if (PyErr_Occurred()) return NULL
;
7283 } _resultobj
= Py_BuildValue("i",_result
);
7287 #define wxDateSpan_GetDays(_swigobj) (_swigobj->GetDays())
7288 static PyObject
*_wrap_wxDateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
* _resultobj
;
7292 PyObject
* _argo0
= 0;
7293 char *_kwnames
[] = { "self", NULL
};
7296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetDays",_kwnames
,&_argo0
))
7299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetDays. Expected _wxDateSpan_p.");
7306 wxPy_BEGIN_ALLOW_THREADS
;
7307 _result
= (int )wxDateSpan_GetDays(_arg0
);
7309 wxPy_END_ALLOW_THREADS
;
7310 if (PyErr_Occurred()) return NULL
;
7311 } _resultobj
= Py_BuildValue("i",_result
);
7315 #define wxDateSpan_GetTotalDays(_swigobj) (_swigobj->GetTotalDays())
7316 static PyObject
*_wrap_wxDateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
* _resultobj
;
7320 PyObject
* _argo0
= 0;
7321 char *_kwnames
[] = { "self", NULL
};
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetTotalDays",_kwnames
,&_argo0
))
7327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetTotalDays. Expected _wxDateSpan_p.");
7334 wxPy_BEGIN_ALLOW_THREADS
;
7335 _result
= (int )wxDateSpan_GetTotalDays(_arg0
);
7337 wxPy_END_ALLOW_THREADS
;
7338 if (PyErr_Occurred()) return NULL
;
7339 } _resultobj
= Py_BuildValue("i",_result
);
7343 #define wxDateSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
7344 static PyObject
*_wrap_wxDateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7345 PyObject
* _resultobj
;
7346 wxDateSpan
* _result
;
7349 PyObject
* _argo0
= 0;
7350 PyObject
* _argo1
= 0;
7351 char *_kwnames
[] = { "self","other", NULL
};
7355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Add",_kwnames
,&_argo0
,&_argo1
))
7358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7365 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7366 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7372 wxPy_BEGIN_ALLOW_THREADS
;
7373 wxDateSpan
& _result_ref
= wxDateSpan_Add(_arg0
,*_arg1
);
7374 _result
= (wxDateSpan
*) &_result_ref
;
7376 wxPy_END_ALLOW_THREADS
;
7377 if (PyErr_Occurred()) return NULL
;
7379 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7380 _resultobj
= Py_BuildValue("s",_ptemp
);
7383 _resultobj
= Py_None
;
7388 #define wxDateSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
7389 static PyObject
*_wrap_wxDateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7390 PyObject
* _resultobj
;
7391 wxDateSpan
* _result
;
7394 PyObject
* _argo0
= 0;
7395 PyObject
* _argo1
= 0;
7396 char *_kwnames
[] = { "self","other", NULL
};
7400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
7403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7410 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7411 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7417 wxPy_BEGIN_ALLOW_THREADS
;
7418 wxDateSpan
& _result_ref
= wxDateSpan_Subtract(_arg0
,*_arg1
);
7419 _result
= (wxDateSpan
*) &_result_ref
;
7421 wxPy_END_ALLOW_THREADS
;
7422 if (PyErr_Occurred()) return NULL
;
7424 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7425 _resultobj
= Py_BuildValue("s",_ptemp
);
7428 _resultobj
= Py_None
;
7433 #define wxDateSpan_Neg(_swigobj) (_swigobj->Neg())
7434 static PyObject
*_wrap_wxDateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
* _resultobj
;
7436 wxDateSpan
* _result
;
7438 PyObject
* _argo0
= 0;
7439 char *_kwnames
[] = { "self", NULL
};
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_Neg",_kwnames
,&_argo0
))
7446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Neg. Expected _wxDateSpan_p.");
7453 wxPy_BEGIN_ALLOW_THREADS
;
7454 wxDateSpan
& _result_ref
= wxDateSpan_Neg(_arg0
);
7455 _result
= (wxDateSpan
*) &_result_ref
;
7457 wxPy_END_ALLOW_THREADS
;
7458 if (PyErr_Occurred()) return NULL
;
7460 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7461 _resultobj
= Py_BuildValue("s",_ptemp
);
7464 _resultobj
= Py_None
;
7469 #define wxDateSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
7470 static PyObject
*_wrap_wxDateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
* _resultobj
;
7472 wxDateSpan
* _result
;
7475 PyObject
* _argo0
= 0;
7476 char *_kwnames
[] = { "self","factor", NULL
};
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
7483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Multiply. Expected _wxDateSpan_p.");
7490 wxPy_BEGIN_ALLOW_THREADS
;
7491 wxDateSpan
& _result_ref
= wxDateSpan_Multiply(_arg0
,_arg1
);
7492 _result
= (wxDateSpan
*) &_result_ref
;
7494 wxPy_END_ALLOW_THREADS
;
7495 if (PyErr_Occurred()) return NULL
;
7497 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7498 _resultobj
= Py_BuildValue("s",_ptemp
);
7501 _resultobj
= Py_None
;
7506 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
7507 static PyObject
*_wrap_wxDateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7508 PyObject
* _resultobj
;
7509 wxDateSpan
* _result
;
7512 PyObject
* _argo0
= 0;
7513 PyObject
* _argo1
= 0;
7514 char *_kwnames
[] = { "self","other", NULL
};
7518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___add__",_kwnames
,&_argo0
,&_argo1
))
7521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7528 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7529 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7535 wxPy_BEGIN_ALLOW_THREADS
;
7536 _result
= new wxDateSpan (wxDateSpan___add__(_arg0
,*_arg1
));
7538 wxPy_END_ALLOW_THREADS
;
7539 if (PyErr_Occurred()) return NULL
;
7540 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7541 _resultobj
= Py_BuildValue("s",_ptemp
);
7545 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
- other
; }
7546 static PyObject
*_wrap_wxDateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
* _resultobj
;
7548 wxDateSpan
* _result
;
7551 PyObject
* _argo0
= 0;
7552 PyObject
* _argo1
= 0;
7553 char *_kwnames
[] = { "self","other", NULL
};
7557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
7560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7567 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7568 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7574 wxPy_BEGIN_ALLOW_THREADS
;
7575 _result
= new wxDateSpan (wxDateSpan___sub__(_arg0
,*_arg1
));
7577 wxPy_END_ALLOW_THREADS
;
7578 if (PyErr_Occurred()) return NULL
;
7579 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7580 _resultobj
= Py_BuildValue("s",_ptemp
);
7584 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
) { return *self
* n
; }
7585 static PyObject
*_wrap_wxDateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
* _resultobj
;
7587 wxDateSpan
* _result
;
7590 PyObject
* _argo0
= 0;
7591 char *_kwnames
[] = { "self","n", NULL
};
7595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
7598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___mul__. Expected _wxDateSpan_p.");
7605 wxPy_BEGIN_ALLOW_THREADS
;
7606 _result
= new wxDateSpan (wxDateSpan___mul__(_arg0
,_arg1
));
7608 wxPy_END_ALLOW_THREADS
;
7609 if (PyErr_Occurred()) return NULL
;
7610 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7611 _resultobj
= Py_BuildValue("s",_ptemp
);
7615 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
) { return n
* *self
; }
7616 static PyObject
*_wrap_wxDateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
* _resultobj
;
7618 wxDateSpan
* _result
;
7621 PyObject
* _argo0
= 0;
7622 char *_kwnames
[] = { "self","n", NULL
};
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
7629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___rmul__. Expected _wxDateSpan_p.");
7636 wxPy_BEGIN_ALLOW_THREADS
;
7637 _result
= new wxDateSpan (wxDateSpan___rmul__(_arg0
,_arg1
));
7639 wxPy_END_ALLOW_THREADS
;
7640 if (PyErr_Occurred()) return NULL
;
7641 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7642 _resultobj
= Py_BuildValue("s",_ptemp
);
7646 static wxDateSpan
wxDateSpan___neg__(wxDateSpan
*self
) { return self
->Negate(); }
7647 static PyObject
*_wrap_wxDateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
* _resultobj
;
7649 wxDateSpan
* _result
;
7651 PyObject
* _argo0
= 0;
7652 char *_kwnames
[] = { "self", NULL
};
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan___neg__",_kwnames
,&_argo0
))
7659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___neg__. Expected _wxDateSpan_p.");
7666 wxPy_BEGIN_ALLOW_THREADS
;
7667 _result
= new wxDateSpan (wxDateSpan___neg__(_arg0
));
7669 wxPy_END_ALLOW_THREADS
;
7670 if (PyErr_Occurred()) return NULL
;
7671 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7672 _resultobj
= Py_BuildValue("s",_ptemp
);
7676 static PyMethodDef utilscMethods
[] = {
7677 { "wxDateSpan___neg__", (PyCFunction
) _wrap_wxDateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7678 { "wxDateSpan___rmul__", (PyCFunction
) _wrap_wxDateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7679 { "wxDateSpan___mul__", (PyCFunction
) _wrap_wxDateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7680 { "wxDateSpan___sub__", (PyCFunction
) _wrap_wxDateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7681 { "wxDateSpan___add__", (PyCFunction
) _wrap_wxDateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7682 { "wxDateSpan_Multiply", (PyCFunction
) _wrap_wxDateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7683 { "wxDateSpan_Neg", (PyCFunction
) _wrap_wxDateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7684 { "wxDateSpan_Subtract", (PyCFunction
) _wrap_wxDateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7685 { "wxDateSpan_Add", (PyCFunction
) _wrap_wxDateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7686 { "wxDateSpan_GetTotalDays", (PyCFunction
) _wrap_wxDateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
7687 { "wxDateSpan_GetDays", (PyCFunction
) _wrap_wxDateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7688 { "wxDateSpan_GetWeeks", (PyCFunction
) _wrap_wxDateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7689 { "wxDateSpan_GetMonths", (PyCFunction
) _wrap_wxDateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7690 { "wxDateSpan_GetYears", (PyCFunction
) _wrap_wxDateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
7691 { "wxDateSpan_SetDays", (PyCFunction
) _wrap_wxDateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
7692 { "wxDateSpan_SetWeeks", (PyCFunction
) _wrap_wxDateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7693 { "wxDateSpan_SetMonths", (PyCFunction
) _wrap_wxDateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7694 { "wxDateSpan_SetYears", (PyCFunction
) _wrap_wxDateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
7695 { "wxDateSpan_Year", (PyCFunction
) _wrap_wxDateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
7696 { "wxDateSpan_Years", (PyCFunction
) _wrap_wxDateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
7697 { "wxDateSpan_Month", (PyCFunction
) _wrap_wxDateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
7698 { "wxDateSpan_Months", (PyCFunction
) _wrap_wxDateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
7699 { "wxDateSpan_Week", (PyCFunction
) _wrap_wxDateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7700 { "wxDateSpan_Weeks", (PyCFunction
) _wrap_wxDateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7701 { "wxDateSpan_Day", (PyCFunction
) _wrap_wxDateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7702 { "wxDateSpan_Days", (PyCFunction
) _wrap_wxDateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7703 { "delete_wxDateSpan", (PyCFunction
) _wrap_delete_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7704 { "new_wxDateSpan", (PyCFunction
) _wrap_new_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7705 { "wxTimeSpan_Format", (PyCFunction
) _wrap_wxTimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
7706 { "wxTimeSpan_GetMilliseconds", (PyCFunction
) _wrap_wxTimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
7707 { "wxTimeSpan_GetSeconds", (PyCFunction
) _wrap_wxTimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
7708 { "wxTimeSpan_GetMinutes", (PyCFunction
) _wrap_wxTimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
7709 { "wxTimeSpan_GetHours", (PyCFunction
) _wrap_wxTimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
7710 { "wxTimeSpan_GetDays", (PyCFunction
) _wrap_wxTimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7711 { "wxTimeSpan_GetWeeks", (PyCFunction
) _wrap_wxTimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7712 { "wxTimeSpan_IsShorterThan", (PyCFunction
) _wrap_wxTimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
7713 { "wxTimeSpan_IsLongerThan", (PyCFunction
) _wrap_wxTimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
7714 { "wxTimeSpan_IsEqualTo", (PyCFunction
) _wrap_wxTimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7715 { "wxTimeSpan_IsNegative", (PyCFunction
) _wrap_wxTimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
7716 { "wxTimeSpan_IsPositive", (PyCFunction
) _wrap_wxTimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
7717 { "wxTimeSpan_IsNull", (PyCFunction
) _wrap_wxTimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
7718 { "wxTimeSpan___cmp__", (PyCFunction
) _wrap_wxTimeSpan___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7719 { "wxTimeSpan___neg__", (PyCFunction
) _wrap_wxTimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7720 { "wxTimeSpan___rmul__", (PyCFunction
) _wrap_wxTimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7721 { "wxTimeSpan___mul__", (PyCFunction
) _wrap_wxTimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7722 { "wxTimeSpan___sub__", (PyCFunction
) _wrap_wxTimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7723 { "wxTimeSpan___add__", (PyCFunction
) _wrap_wxTimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7724 { "wxTimeSpan_Abs", (PyCFunction
) _wrap_wxTimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
7725 { "wxTimeSpan_Neg", (PyCFunction
) _wrap_wxTimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7726 { "wxTimeSpan_Multiply", (PyCFunction
) _wrap_wxTimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7727 { "wxTimeSpan_Subtract", (PyCFunction
) _wrap_wxTimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7728 { "wxTimeSpan_Add", (PyCFunction
) _wrap_wxTimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7729 { "delete_wxTimeSpan", (PyCFunction
) _wrap_delete_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7730 { "new_wxTimeSpan", (PyCFunction
) _wrap_new_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7731 { "wxTimeSpan_Week", (PyCFunction
) _wrap_wxTimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7732 { "wxTimeSpan_Weeks", (PyCFunction
) _wrap_wxTimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7733 { "wxTimeSpan_Day", (PyCFunction
) _wrap_wxTimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7734 { "wxTimeSpan_Days", (PyCFunction
) _wrap_wxTimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7735 { "wxTimeSpan_Hour", (PyCFunction
) _wrap_wxTimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
7736 { "wxTimeSpan_Hours", (PyCFunction
) _wrap_wxTimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
7737 { "wxTimeSpan_Minute", (PyCFunction
) _wrap_wxTimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
7738 { "wxTimeSpan_Minutes", (PyCFunction
) _wrap_wxTimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
7739 { "wxTimeSpan_Second", (PyCFunction
) _wrap_wxTimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
7740 { "wxTimeSpan_Seconds", (PyCFunction
) _wrap_wxTimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
7741 { "wxDateTime_FormatISOTime", (PyCFunction
) _wrap_wxDateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
7742 { "wxDateTime_FormatISODate", (PyCFunction
) _wrap_wxDateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
7743 { "wxDateTime_FormatTime", (PyCFunction
) _wrap_wxDateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
7744 { "wxDateTime_FormatDate", (PyCFunction
) _wrap_wxDateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
7745 { "wxDateTime_Format", (PyCFunction
) _wrap_wxDateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
7746 { "wxDateTime_ParseTime", (PyCFunction
) _wrap_wxDateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
7747 { "wxDateTime_ParseDate", (PyCFunction
) _wrap_wxDateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
7748 { "wxDateTime_ParseDateTime", (PyCFunction
) _wrap_wxDateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7749 { "wxDateTime_ParseFormat", (PyCFunction
) _wrap_wxDateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
7750 { "wxDateTime_ParseRfc822Date", (PyCFunction
) _wrap_wxDateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
7751 { "wxDateTime___cmp__", (PyCFunction
) _wrap_wxDateTime___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7752 { "wxDateTime___sub__DS", (PyCFunction
) _wrap_wxDateTime___sub__DS
, METH_VARARGS
| METH_KEYWORDS
},
7753 { "wxDateTime___sub__TS", (PyCFunction
) _wrap_wxDateTime___sub__TS
, METH_VARARGS
| METH_KEYWORDS
},
7754 { "wxDateTime___sub__DT", (PyCFunction
) _wrap_wxDateTime___sub__DT
, METH_VARARGS
| METH_KEYWORDS
},
7755 { "wxDateTime___add__DS", (PyCFunction
) _wrap_wxDateTime___add__DS
, METH_VARARGS
| METH_KEYWORDS
},
7756 { "wxDateTime___add__TS", (PyCFunction
) _wrap_wxDateTime___add__TS
, METH_VARARGS
| METH_KEYWORDS
},
7757 { "wxDateTime_Subtract", (PyCFunction
) _wrap_wxDateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7758 { "wxDateTime_SubtractDS", (PyCFunction
) _wrap_wxDateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
7759 { "wxDateTime_SubtractTS", (PyCFunction
) _wrap_wxDateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
7760 { "wxDateTime_AddDS", (PyCFunction
) _wrap_wxDateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
7761 { "wxDateTime_AddTS", (PyCFunction
) _wrap_wxDateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
7762 { "wxDateTime_IsEqualUpTo", (PyCFunction
) _wrap_wxDateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
7763 { "wxDateTime_IsSameTime", (PyCFunction
) _wrap_wxDateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
7764 { "wxDateTime_IsSameDate", (PyCFunction
) _wrap_wxDateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
7765 { "wxDateTime_IsBetween", (PyCFunction
) _wrap_wxDateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
7766 { "wxDateTime_IsStrictlyBetween", (PyCFunction
) _wrap_wxDateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
7767 { "wxDateTime_IsLaterThan", (PyCFunction
) _wrap_wxDateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
7768 { "wxDateTime_IsEarlierThan", (PyCFunction
) _wrap_wxDateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
7769 { "wxDateTime_IsEqualTo", (PyCFunction
) _wrap_wxDateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7770 { "wxDateTime_IsWorkDay", (PyCFunction
) _wrap_wxDateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
7771 { "wxDateTime_GetWeekOfMonth", (PyCFunction
) _wrap_wxDateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
7772 { "wxDateTime_GetWeekOfYear", (PyCFunction
) _wrap_wxDateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7773 { "wxDateTime_GetDayOfYear", (PyCFunction
) _wrap_wxDateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7774 { "wxDateTime_GetMillisecond", (PyCFunction
) _wrap_wxDateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7775 { "wxDateTime_GetSecond", (PyCFunction
) _wrap_wxDateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7776 { "wxDateTime_GetMinute", (PyCFunction
) _wrap_wxDateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7777 { "wxDateTime_GetHour", (PyCFunction
) _wrap_wxDateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
7778 { "wxDateTime_GetDay", (PyCFunction
) _wrap_wxDateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
7779 { "wxDateTime_GetMonth", (PyCFunction
) _wrap_wxDateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7780 { "wxDateTime_GetYear", (PyCFunction
) _wrap_wxDateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
7781 { "wxDateTime_GetTicks", (PyCFunction
) _wrap_wxDateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
7782 { "wxDateTime_IsValid", (PyCFunction
) _wrap_wxDateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
7783 { "wxDateTime_IsDST", (PyCFunction
) _wrap_wxDateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
7784 { "wxDateTime_MakeGMT", (PyCFunction
) _wrap_wxDateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
7785 { "wxDateTime_ToGMT", (PyCFunction
) _wrap_wxDateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
7786 { "wxDateTime_MakeTimezone", (PyCFunction
) _wrap_wxDateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7787 { "wxDateTime_ToTimezone", (PyCFunction
) _wrap_wxDateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7788 { "wxDateTime_GetRataDie", (PyCFunction
) _wrap_wxDateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
7789 { "wxDateTime_GetMJD", (PyCFunction
) _wrap_wxDateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
7790 { "wxDateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7791 { "wxDateTime_GetJDN", (PyCFunction
) _wrap_wxDateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7792 { "wxDateTime_GetJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7793 { "wxDateTime_GetYearDay", (PyCFunction
) _wrap_wxDateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7794 { "wxDateTime_SetToYearDay", (PyCFunction
) _wrap_wxDateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7795 { "wxDateTime_GetLastMonthDay", (PyCFunction
) _wrap_wxDateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7796 { "wxDateTime_SetToLastMonthDay", (PyCFunction
) _wrap_wxDateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7797 { "wxDateTime_GetWeek", (PyCFunction
) _wrap_wxDateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
7798 { "wxDateTime_SetToTheWeek", (PyCFunction
) _wrap_wxDateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
7799 { "wxDateTime_GetLastWeekDay", (PyCFunction
) _wrap_wxDateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7800 { "wxDateTime_SetToLastWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7801 { "wxDateTime_GetWeekDay", (PyCFunction
) _wrap_wxDateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7802 { "wxDateTime_SetToWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7803 { "wxDateTime_GetPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7804 { "wxDateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7805 { "wxDateTime_GetNextWeekDay", (PyCFunction
) _wrap_wxDateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7806 { "wxDateTime_SetToNextWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7807 { "wxDateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7808 { "wxDateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7809 { "wxDateTime_SetMillisecond", (PyCFunction
) _wrap_wxDateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7810 { "wxDateTime_SetSecond", (PyCFunction
) _wrap_wxDateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7811 { "wxDateTime_SetMinute", (PyCFunction
) _wrap_wxDateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7812 { "wxDateTime_SetHour", (PyCFunction
) _wrap_wxDateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
7813 { "wxDateTime_SetDay", (PyCFunction
) _wrap_wxDateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
7814 { "wxDateTime_SetMonth", (PyCFunction
) _wrap_wxDateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7815 { "wxDateTime_SetYear", (PyCFunction
) _wrap_wxDateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
7816 { "wxDateTime_ResetTime", (PyCFunction
) _wrap_wxDateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
7817 { "wxDateTime_Set", (PyCFunction
) _wrap_wxDateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
7818 { "wxDateTime_SetHMS", (PyCFunction
) _wrap_wxDateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
7819 { "wxDateTime_SetJDN", (PyCFunction
) _wrap_wxDateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7820 { "wxDateTime_SetTimeT", (PyCFunction
) _wrap_wxDateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7821 { "wxDateTime_SetToCurrent", (PyCFunction
) _wrap_wxDateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
7822 { "delete_wxDateTime", (PyCFunction
) _wrap_delete_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7823 { "new_wxDateTimeFromDMY", (PyCFunction
) _wrap_new_wxDateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
7824 { "new_wxDateTimeFromHMS", (PyCFunction
) _wrap_new_wxDateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
7825 { "new_wxDateTimeFromJDN", (PyCFunction
) _wrap_new_wxDateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
7826 { "new_wxDateTimeFromTimeT", (PyCFunction
) _wrap_new_wxDateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7827 { "new_wxDateTime", (PyCFunction
) _wrap_new_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7828 { "wxDateTime_Today", (PyCFunction
) _wrap_wxDateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
7829 { "wxDateTime_Now", (PyCFunction
) _wrap_wxDateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
7830 { "wxDateTime_GetEndDST", (PyCFunction
) _wrap_wxDateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
7831 { "wxDateTime_GetBeginDST", (PyCFunction
) _wrap_wxDateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
7832 { "wxDateTime_IsDSTApplicable", (PyCFunction
) _wrap_wxDateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
7833 { "wxDateTime_GetAmPmStrings", (PyCFunction
) _wrap_wxDateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
7834 { "wxDateTime_GetWeekDayName", (PyCFunction
) _wrap_wxDateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
7835 { "wxDateTime_GetMonthName", (PyCFunction
) _wrap_wxDateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
7836 { "wxDateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
7837 { "wxDateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
7838 { "wxDateTime_GetCentury", (PyCFunction
) _wrap_wxDateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
7839 { "wxDateTime_IsLeapYear", (PyCFunction
) _wrap_wxDateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
7840 { "wxDateTime_GetCurrentMonth", (PyCFunction
) _wrap_wxDateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
7841 { "wxDateTime_ConvertYearToBC", (PyCFunction
) _wrap_wxDateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
7842 { "wxDateTime_GetCurrentYear", (PyCFunction
) _wrap_wxDateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
7843 { "wxDateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_wxDateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
7844 { "wxDateTime_GetCountry", (PyCFunction
) _wrap_wxDateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7845 { "wxDateTime_SetCountry", (PyCFunction
) _wrap_wxDateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7846 { "delete_wxFileConfig", (PyCFunction
) _wrap_delete_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7847 { "new_wxFileConfig", (PyCFunction
) _wrap_new_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7848 { "delete_wxConfig", (PyCFunction
) _wrap_delete_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7849 { "new_wxConfig", (PyCFunction
) _wrap_new_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7850 { "wxConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7851 { "wxConfigBase_RenameGroup", (PyCFunction
) _wrap_wxConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
7852 { "wxConfigBase_RenameEntry", (PyCFunction
) _wrap_wxConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
7853 { "wxConfigBase_GetEntryType", (PyCFunction
) _wrap_wxConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
7854 { "wxConfigBase_WriteFloat", (PyCFunction
) _wrap_wxConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
7855 { "wxConfigBase_WriteInt", (PyCFunction
) _wrap_wxConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
7856 { "wxConfigBase_Write", (PyCFunction
) _wrap_wxConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
7857 { "wxConfigBase_GetStyle", (PyCFunction
) _wrap_wxConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7858 { "wxConfigBase_SetStyle", (PyCFunction
) _wrap_wxConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7859 { "wxConfigBase_SetVendorName", (PyCFunction
) _wrap_wxConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7860 { "wxConfigBase_SetAppName", (PyCFunction
) _wrap_wxConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7861 { "wxConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_wxConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7862 { "wxConfigBase_SetPath", (PyCFunction
) _wrap_wxConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
7863 { "wxConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7864 { "wxConfigBase_ReadFloat", (PyCFunction
) _wrap_wxConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
7865 { "wxConfigBase_ReadInt", (PyCFunction
) _wrap_wxConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
7866 { "wxConfigBase_Read", (PyCFunction
) _wrap_wxConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
7867 { "wxConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_wxConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7868 { "wxConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_wxConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7869 { "wxConfigBase_HasGroup", (PyCFunction
) _wrap_wxConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
7870 { "wxConfigBase_HasEntry", (PyCFunction
) _wrap_wxConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
7871 { "wxConfigBase_GetVendorName", (PyCFunction
) _wrap_wxConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7872 { "wxConfigBase_GetPath", (PyCFunction
) _wrap_wxConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
7873 { "wxConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
7874 { "wxConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
7875 { "wxConfigBase_GetNextEntry", (PyCFunction
) _wrap_wxConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
7876 { "wxConfigBase_GetNextGroup", (PyCFunction
) _wrap_wxConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
7877 { "wxConfigBase_GetFirstEntry", (PyCFunction
) _wrap_wxConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
7878 { "wxConfigBase_GetFirstGroup", (PyCFunction
) _wrap_wxConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
7879 { "wxConfigBase_GetAppName", (PyCFunction
) _wrap_wxConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7880 { "wxConfigBase_Flush", (PyCFunction
) _wrap_wxConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
7881 { "wxConfigBase_Exists", (PyCFunction
) _wrap_wxConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
7882 { "wxConfigBase_DeleteGroup", (PyCFunction
) _wrap_wxConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
7883 { "wxConfigBase_DeleteEntry", (PyCFunction
) _wrap_wxConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
7884 { "wxConfigBase_DeleteAll", (PyCFunction
) _wrap_wxConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
7885 { "wxConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_wxConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
7886 { "wxConfigBase_Create", (PyCFunction
) _wrap_wxConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
7887 { "wxConfigBase_Get", (PyCFunction
) _wrap_wxConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
7888 { "wxConfigBase_Set", (PyCFunction
) _wrap_wxConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
7889 { "delete_wxConfigBase", (PyCFunction
) _wrap_delete_wxConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
7890 { "wxGetLocalTimeMillis", (PyCFunction
) _wrap_wxGetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
7891 { "wxGetCurrentTime", (PyCFunction
) _wrap_wxGetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
7892 { "wxGetUTCTime", (PyCFunction
) _wrap_wxGetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
7893 { "wxGetLocalTime", (PyCFunction
) _wrap_wxGetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
7900 * This table is used by the pointer type-checker
7902 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7903 { "_signed_long","_long",0},
7904 { "_wxPrintQuality","_wxCoord",0},
7905 { "_wxPrintQuality","_int",0},
7906 { "_wxPrintQuality","_signed_int",0},
7907 { "_wxPrintQuality","_unsigned_int",0},
7908 { "_wxPrintQuality","_wxWindowID",0},
7909 { "_wxPrintQuality","_uint",0},
7910 { "_wxPrintQuality","_EBool",0},
7911 { "_wxPrintQuality","_size_t",0},
7912 { "_wxPrintQuality","_time_t",0},
7913 { "_byte","_unsigned_char",0},
7914 { "_long","_unsigned_long",0},
7915 { "_long","_signed_long",0},
7916 { "_size_t","_wxCoord",0},
7917 { "_size_t","_wxPrintQuality",0},
7918 { "_size_t","_time_t",0},
7919 { "_size_t","_unsigned_int",0},
7920 { "_size_t","_int",0},
7921 { "_size_t","_wxWindowID",0},
7922 { "_size_t","_uint",0},
7923 { "_uint","_wxCoord",0},
7924 { "_uint","_wxPrintQuality",0},
7925 { "_uint","_time_t",0},
7926 { "_uint","_size_t",0},
7927 { "_uint","_unsigned_int",0},
7928 { "_uint","_int",0},
7929 { "_uint","_wxWindowID",0},
7930 { "_wxChar","_char",0},
7931 { "_char","_wxChar",0},
7932 { "_EBool","_wxCoord",0},
7933 { "_EBool","_wxPrintQuality",0},
7934 { "_EBool","_signed_int",0},
7935 { "_EBool","_int",0},
7936 { "_EBool","_wxWindowID",0},
7937 { "_unsigned_long","_long",0},
7938 { "_signed_int","_wxCoord",0},
7939 { "_signed_int","_wxPrintQuality",0},
7940 { "_signed_int","_EBool",0},
7941 { "_signed_int","_wxWindowID",0},
7942 { "_signed_int","_int",0},
7943 { "_WXTYPE","_wxDateTime_t",0},
7944 { "_WXTYPE","_short",0},
7945 { "_WXTYPE","_signed_short",0},
7946 { "_WXTYPE","_unsigned_short",0},
7947 { "_unsigned_short","_wxDateTime_t",0},
7948 { "_unsigned_short","_WXTYPE",0},
7949 { "_unsigned_short","_short",0},
7950 { "_signed_short","_WXTYPE",0},
7951 { "_signed_short","_short",0},
7952 { "_unsigned_char","_byte",0},
7953 { "_unsigned_int","_wxCoord",0},
7954 { "_unsigned_int","_wxPrintQuality",0},
7955 { "_unsigned_int","_time_t",0},
7956 { "_unsigned_int","_size_t",0},
7957 { "_unsigned_int","_uint",0},
7958 { "_unsigned_int","_wxWindowID",0},
7959 { "_unsigned_int","_int",0},
7960 { "_wxConfigBase","_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7961 { "_wxConfigBase","_wxConfig",SwigwxConfigTowxConfigBase
},
7962 { "_short","_wxDateTime_t",0},
7963 { "_short","_WXTYPE",0},
7964 { "_short","_unsigned_short",0},
7965 { "_short","_signed_short",0},
7966 { "_wxWindowID","_wxCoord",0},
7967 { "_wxWindowID","_wxPrintQuality",0},
7968 { "_wxWindowID","_time_t",0},
7969 { "_wxWindowID","_size_t",0},
7970 { "_wxWindowID","_EBool",0},
7971 { "_wxWindowID","_uint",0},
7972 { "_wxWindowID","_int",0},
7973 { "_wxWindowID","_signed_int",0},
7974 { "_wxWindowID","_unsigned_int",0},
7975 { "_int","_wxCoord",0},
7976 { "_int","_wxPrintQuality",0},
7977 { "_int","_time_t",0},
7978 { "_int","_size_t",0},
7979 { "_int","_EBool",0},
7980 { "_int","_uint",0},
7981 { "_int","_wxWindowID",0},
7982 { "_int","_unsigned_int",0},
7983 { "_int","_signed_int",0},
7984 { "_wxDateTime_t","_unsigned_short",0},
7985 { "_wxDateTime_t","_short",0},
7986 { "_wxDateTime_t","_WXTYPE",0},
7987 { "_time_t","_wxCoord",0},
7988 { "_time_t","_wxPrintQuality",0},
7989 { "_time_t","_unsigned_int",0},
7990 { "_time_t","_int",0},
7991 { "_time_t","_wxWindowID",0},
7992 { "_time_t","_uint",0},
7993 { "_time_t","_size_t",0},
7994 { "_wxCoord","_int",0},
7995 { "_wxCoord","_signed_int",0},
7996 { "_wxCoord","_unsigned_int",0},
7997 { "_wxCoord","_wxWindowID",0},
7998 { "_wxCoord","_uint",0},
7999 { "_wxCoord","_EBool",0},
8000 { "_wxCoord","_size_t",0},
8001 { "_wxCoord","_time_t",0},
8002 { "_wxCoord","_wxPrintQuality",0},
8005 static PyObject
*SWIG_globals
;
8009 SWIGEXPORT(void) initutilsc() {
8011 SWIG_globals
= SWIG_newvarlink();
8012 m
= Py_InitModule("utilsc", utilscMethods
);
8013 d
= PyModule_GetDict(m
);
8014 PyDict_SetItemString(d
,"wxCONFIG_USE_LOCAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_LOCAL_FILE
));
8015 PyDict_SetItemString(d
,"wxCONFIG_USE_GLOBAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_GLOBAL_FILE
));
8016 PyDict_SetItemString(d
,"wxCONFIG_USE_RELATIVE_PATH", PyInt_FromLong((long) wxCONFIG_USE_RELATIVE_PATH
));
8018 wxClassInfo::CleanUpClasses();
8019 wxClassInfo::InitializeClasses();
8020 PyDict_SetItemString(d
,"wxConfigBase_Type_Unknown", PyInt_FromLong((long) wxConfigBase::Type_Unknown
));
8021 PyDict_SetItemString(d
,"wxConfigBase_Type_String", PyInt_FromLong((long) wxConfigBase::Type_String
));
8022 PyDict_SetItemString(d
,"wxConfigBase_Type_Boolean", PyInt_FromLong((long) wxConfigBase::Type_Boolean
));
8023 PyDict_SetItemString(d
,"wxConfigBase_Type_Integer", PyInt_FromLong((long) wxConfigBase::Type_Integer
));
8024 PyDict_SetItemString(d
,"wxConfigBase_Type_Float", PyInt_FromLong((long) wxConfigBase::Type_Float
));
8025 PyDict_SetItemString(d
,"wxDateTime_Local", PyInt_FromLong((long) wxDateTime::Local
));
8026 PyDict_SetItemString(d
,"wxDateTime_GMT_12", PyInt_FromLong((long) wxDateTime::GMT_12
));
8027 PyDict_SetItemString(d
,"wxDateTime_GMT_11", PyInt_FromLong((long) wxDateTime::GMT_11
));
8028 PyDict_SetItemString(d
,"wxDateTime_GMT_10", PyInt_FromLong((long) wxDateTime::GMT_10
));
8029 PyDict_SetItemString(d
,"wxDateTime_GMT_9", PyInt_FromLong((long) wxDateTime::GMT_9
));
8030 PyDict_SetItemString(d
,"wxDateTime_GMT_8", PyInt_FromLong((long) wxDateTime::GMT_8
));
8031 PyDict_SetItemString(d
,"wxDateTime_GMT_7", PyInt_FromLong((long) wxDateTime::GMT_7
));
8032 PyDict_SetItemString(d
,"wxDateTime_GMT_6", PyInt_FromLong((long) wxDateTime::GMT_6
));
8033 PyDict_SetItemString(d
,"wxDateTime_GMT_5", PyInt_FromLong((long) wxDateTime::GMT_5
));
8034 PyDict_SetItemString(d
,"wxDateTime_GMT_4", PyInt_FromLong((long) wxDateTime::GMT_4
));
8035 PyDict_SetItemString(d
,"wxDateTime_GMT_3", PyInt_FromLong((long) wxDateTime::GMT_3
));
8036 PyDict_SetItemString(d
,"wxDateTime_GMT_2", PyInt_FromLong((long) wxDateTime::GMT_2
));
8037 PyDict_SetItemString(d
,"wxDateTime_GMT_1", PyInt_FromLong((long) wxDateTime::GMT_1
));
8038 PyDict_SetItemString(d
,"wxDateTime_GMT0", PyInt_FromLong((long) wxDateTime::GMT0
));
8039 PyDict_SetItemString(d
,"wxDateTime_GMT1", PyInt_FromLong((long) wxDateTime::GMT1
));
8040 PyDict_SetItemString(d
,"wxDateTime_GMT2", PyInt_FromLong((long) wxDateTime::GMT2
));
8041 PyDict_SetItemString(d
,"wxDateTime_GMT3", PyInt_FromLong((long) wxDateTime::GMT3
));
8042 PyDict_SetItemString(d
,"wxDateTime_GMT4", PyInt_FromLong((long) wxDateTime::GMT4
));
8043 PyDict_SetItemString(d
,"wxDateTime_GMT5", PyInt_FromLong((long) wxDateTime::GMT5
));
8044 PyDict_SetItemString(d
,"wxDateTime_GMT6", PyInt_FromLong((long) wxDateTime::GMT6
));
8045 PyDict_SetItemString(d
,"wxDateTime_GMT7", PyInt_FromLong((long) wxDateTime::GMT7
));
8046 PyDict_SetItemString(d
,"wxDateTime_GMT8", PyInt_FromLong((long) wxDateTime::GMT8
));
8047 PyDict_SetItemString(d
,"wxDateTime_GMT9", PyInt_FromLong((long) wxDateTime::GMT9
));
8048 PyDict_SetItemString(d
,"wxDateTime_GMT10", PyInt_FromLong((long) wxDateTime::GMT10
));
8049 PyDict_SetItemString(d
,"wxDateTime_GMT11", PyInt_FromLong((long) wxDateTime::GMT11
));
8050 PyDict_SetItemString(d
,"wxDateTime_GMT12", PyInt_FromLong((long) wxDateTime::GMT12
));
8051 PyDict_SetItemString(d
,"wxDateTime_WET", PyInt_FromLong((long) wxDateTime::WET
));
8052 PyDict_SetItemString(d
,"wxDateTime_WEST", PyInt_FromLong((long) wxDateTime::WEST
));
8053 PyDict_SetItemString(d
,"wxDateTime_CET", PyInt_FromLong((long) wxDateTime::CET
));
8054 PyDict_SetItemString(d
,"wxDateTime_CEST", PyInt_FromLong((long) wxDateTime::CEST
));
8055 PyDict_SetItemString(d
,"wxDateTime_EET", PyInt_FromLong((long) wxDateTime::EET
));
8056 PyDict_SetItemString(d
,"wxDateTime_EEST", PyInt_FromLong((long) wxDateTime::EEST
));
8057 PyDict_SetItemString(d
,"wxDateTime_MSK", PyInt_FromLong((long) wxDateTime::MSK
));
8058 PyDict_SetItemString(d
,"wxDateTime_MSD", PyInt_FromLong((long) wxDateTime::MSD
));
8059 PyDict_SetItemString(d
,"wxDateTime_AST", PyInt_FromLong((long) wxDateTime::AST
));
8060 PyDict_SetItemString(d
,"wxDateTime_ADT", PyInt_FromLong((long) wxDateTime::ADT
));
8061 PyDict_SetItemString(d
,"wxDateTime_EST", PyInt_FromLong((long) wxDateTime::EST
));
8062 PyDict_SetItemString(d
,"wxDateTime_EDT", PyInt_FromLong((long) wxDateTime::EDT
));
8063 PyDict_SetItemString(d
,"wxDateTime_CST", PyInt_FromLong((long) wxDateTime::CST
));
8064 PyDict_SetItemString(d
,"wxDateTime_CDT", PyInt_FromLong((long) wxDateTime::CDT
));
8065 PyDict_SetItemString(d
,"wxDateTime_MST", PyInt_FromLong((long) wxDateTime::MST
));
8066 PyDict_SetItemString(d
,"wxDateTime_MDT", PyInt_FromLong((long) wxDateTime::MDT
));
8067 PyDict_SetItemString(d
,"wxDateTime_PST", PyInt_FromLong((long) wxDateTime::PST
));
8068 PyDict_SetItemString(d
,"wxDateTime_PDT", PyInt_FromLong((long) wxDateTime::PDT
));
8069 PyDict_SetItemString(d
,"wxDateTime_HST", PyInt_FromLong((long) wxDateTime::HST
));
8070 PyDict_SetItemString(d
,"wxDateTime_AKST", PyInt_FromLong((long) wxDateTime::AKST
));
8071 PyDict_SetItemString(d
,"wxDateTime_AKDT", PyInt_FromLong((long) wxDateTime::AKDT
));
8072 PyDict_SetItemString(d
,"wxDateTime_A_WST", PyInt_FromLong((long) wxDateTime::A_WST
));
8073 PyDict_SetItemString(d
,"wxDateTime_A_CST", PyInt_FromLong((long) wxDateTime::A_CST
));
8074 PyDict_SetItemString(d
,"wxDateTime_A_EST", PyInt_FromLong((long) wxDateTime::A_EST
));
8075 PyDict_SetItemString(d
,"wxDateTime_A_ESST", PyInt_FromLong((long) wxDateTime::A_ESST
));
8076 PyDict_SetItemString(d
,"wxDateTime_UTC", PyInt_FromLong((long) wxDateTime::UTC
));
8077 PyDict_SetItemString(d
,"wxDateTime_Gregorian", PyInt_FromLong((long) wxDateTime::Gregorian
));
8078 PyDict_SetItemString(d
,"wxDateTime_Julian", PyInt_FromLong((long) wxDateTime::Julian
));
8079 PyDict_SetItemString(d
,"wxDateTime_Country_Unknown", PyInt_FromLong((long) wxDateTime::Country_Unknown
));
8080 PyDict_SetItemString(d
,"wxDateTime_Country_Default", PyInt_FromLong((long) wxDateTime::Country_Default
));
8081 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_Start", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_Start
));
8082 PyDict_SetItemString(d
,"wxDateTime_Country_EEC", PyInt_FromLong((long) wxDateTime::Country_EEC
));
8083 PyDict_SetItemString(d
,"wxDateTime_France", PyInt_FromLong((long) wxDateTime::France
));
8084 PyDict_SetItemString(d
,"wxDateTime_Germany", PyInt_FromLong((long) wxDateTime::Germany
));
8085 PyDict_SetItemString(d
,"wxDateTime_UK", PyInt_FromLong((long) wxDateTime::UK
));
8086 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_End", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_End
));
8087 PyDict_SetItemString(d
,"wxDateTime_Russia", PyInt_FromLong((long) wxDateTime::Russia
));
8088 PyDict_SetItemString(d
,"wxDateTime_USA", PyInt_FromLong((long) wxDateTime::USA
));
8089 PyDict_SetItemString(d
,"wxDateTime_Jan", PyInt_FromLong((long) wxDateTime::Jan
));
8090 PyDict_SetItemString(d
,"wxDateTime_Feb", PyInt_FromLong((long) wxDateTime::Feb
));
8091 PyDict_SetItemString(d
,"wxDateTime_Mar", PyInt_FromLong((long) wxDateTime::Mar
));
8092 PyDict_SetItemString(d
,"wxDateTime_Apr", PyInt_FromLong((long) wxDateTime::Apr
));
8093 PyDict_SetItemString(d
,"wxDateTime_May", PyInt_FromLong((long) wxDateTime::May
));
8094 PyDict_SetItemString(d
,"wxDateTime_Jun", PyInt_FromLong((long) wxDateTime::Jun
));
8095 PyDict_SetItemString(d
,"wxDateTime_Jul", PyInt_FromLong((long) wxDateTime::Jul
));
8096 PyDict_SetItemString(d
,"wxDateTime_Aug", PyInt_FromLong((long) wxDateTime::Aug
));
8097 PyDict_SetItemString(d
,"wxDateTime_Sep", PyInt_FromLong((long) wxDateTime::Sep
));
8098 PyDict_SetItemString(d
,"wxDateTime_Oct", PyInt_FromLong((long) wxDateTime::Oct
));
8099 PyDict_SetItemString(d
,"wxDateTime_Nov", PyInt_FromLong((long) wxDateTime::Nov
));
8100 PyDict_SetItemString(d
,"wxDateTime_Dec", PyInt_FromLong((long) wxDateTime::Dec
));
8101 PyDict_SetItemString(d
,"wxDateTime_Inv_Month", PyInt_FromLong((long) wxDateTime::Inv_Month
));
8102 PyDict_SetItemString(d
,"wxDateTime_Sun", PyInt_FromLong((long) wxDateTime::Sun
));
8103 PyDict_SetItemString(d
,"wxDateTime_Mon", PyInt_FromLong((long) wxDateTime::Mon
));
8104 PyDict_SetItemString(d
,"wxDateTime_Tue", PyInt_FromLong((long) wxDateTime::Tue
));
8105 PyDict_SetItemString(d
,"wxDateTime_Wed", PyInt_FromLong((long) wxDateTime::Wed
));
8106 PyDict_SetItemString(d
,"wxDateTime_Thu", PyInt_FromLong((long) wxDateTime::Thu
));
8107 PyDict_SetItemString(d
,"wxDateTime_Fri", PyInt_FromLong((long) wxDateTime::Fri
));
8108 PyDict_SetItemString(d
,"wxDateTime_Sat", PyInt_FromLong((long) wxDateTime::Sat
));
8109 PyDict_SetItemString(d
,"wxDateTime_Inv_WeekDay", PyInt_FromLong((long) wxDateTime::Inv_WeekDay
));
8110 PyDict_SetItemString(d
,"wxDateTime_Inv_Year", PyInt_FromLong((long) wxDateTime::Inv_Year
));
8111 PyDict_SetItemString(d
,"wxDateTime_Name_Full", PyInt_FromLong((long) wxDateTime::Name_Full
));
8112 PyDict_SetItemString(d
,"wxDateTime_Name_Abbr", PyInt_FromLong((long) wxDateTime::Name_Abbr
));
8113 PyDict_SetItemString(d
,"wxDateTime_Default_First", PyInt_FromLong((long) wxDateTime::Default_First
));
8114 PyDict_SetItemString(d
,"wxDateTime_Monday_First", PyInt_FromLong((long) wxDateTime::Monday_First
));
8115 PyDict_SetItemString(d
,"wxDateTime_Sunday_First", PyInt_FromLong((long) wxDateTime::Sunday_First
));
8118 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8119 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);