2 * FILE : src/gtk/utils.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initutilsc
56 #define SWIG_name "utilsc"
59 #include <wx/config.h>
60 #include <wx/fileconf.h>
61 #include <wx/datetime.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
67 } else if (target
== Py_None
) {
71 if (!PyList_Check(target
)) {
73 target
= PyList_New(0);
74 PyList_Append(target
, o2
);
77 PyList_Append(target
,o
);
83 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
89 } else if (target
== Py_None
) {
93 if (!PyTuple_Check(target
)) {
95 target
= PyTuple_New(1);
96 PyTuple_SetItem(target
, 0, o2
);
99 PyTuple_SetItem(o3
, 0, o
);
102 target
= PySequence_Concat(o2
, o3
);
109 #if PYTHON_API_VERSION >= 1009
110 static char* wxStringErrorMsg
= "String or Unicode type required";
112 static char* wxStringErrorMsg
= "string type is required for parameter";
115 static wxString
wxPyEmptyStr("");
117 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
118 PyObject
* ret
= PyTuple_New(3);
120 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
121 PyTuple_SET_ITEM(ret
, 1, PyString_FromString(str
));
122 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
127 #define LOCAL *(new wxDateTime::TimeZone(wxDateTime::Local))
131 static PyObject
*_wrap_wxGetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
132 PyObject
* _resultobj
;
134 char *_kwnames
[] = { NULL
};
137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocalTime",_kwnames
))
140 wxPy_BEGIN_ALLOW_THREADS
;
141 _result
= (long )wxGetLocalTime();
143 wxPy_END_ALLOW_THREADS
;
144 } _resultobj
= Py_BuildValue("l",_result
);
148 static PyObject
*_wrap_wxGetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
149 PyObject
* _resultobj
;
151 char *_kwnames
[] = { NULL
};
154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUTCTime",_kwnames
))
157 wxPy_BEGIN_ALLOW_THREADS
;
158 _result
= (long )wxGetUTCTime();
160 wxPy_END_ALLOW_THREADS
;
161 } _resultobj
= Py_BuildValue("l",_result
);
165 static PyObject
*_wrap_wxGetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
166 PyObject
* _resultobj
;
168 char *_kwnames
[] = { NULL
};
171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentTime",_kwnames
))
174 wxPy_BEGIN_ALLOW_THREADS
;
175 _result
= (long )wxGetCurrentTime();
177 wxPy_END_ALLOW_THREADS
;
178 } _resultobj
= Py_BuildValue("l",_result
);
182 static PyObject
*_wrap_wxGetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
183 PyObject
* _resultobj
;
184 wxLongLong
* _result
;
185 char *_kwnames
[] = { NULL
};
188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocalTimeMillis",_kwnames
))
191 wxPy_BEGIN_ALLOW_THREADS
;
192 _result
= new wxLongLong (wxGetLocalTimeMillis());
194 wxPy_END_ALLOW_THREADS
;
196 PyObject
*hi
, *lo
, *shifter
, *shifted
;
197 hi
= PyLong_FromLong(_result
->GetHi());
198 lo
= PyLong_FromLong(_result
->GetLo());
199 shifter
= PyLong_FromLong(32);
200 shifted
= PyNumber_Lshift(hi
, shifter
);
201 _resultobj
= PyNumber_Or(shifted
, lo
);
210 #define delete_wxConfigBase(_swigobj) (delete _swigobj)
211 static PyObject
*_wrap_delete_wxConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
212 PyObject
* _resultobj
;
213 wxConfigBase
* _arg0
;
214 PyObject
* _argo0
= 0;
215 char *_kwnames
[] = { "self", NULL
};
218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxConfigBase",_kwnames
,&_argo0
))
221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxConfigBase. Expected _wxConfigBase_p.");
228 wxPy_BEGIN_ALLOW_THREADS
;
229 delete_wxConfigBase(_arg0
);
231 wxPy_END_ALLOW_THREADS
;
232 } Py_INCREF(Py_None
);
233 _resultobj
= Py_None
;
237 static PyObject
*_wrap_wxConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
238 PyObject
* _resultobj
;
239 wxConfigBase
* _result
;
240 wxConfigBase
* _arg0
;
241 PyObject
* _argo0
= 0;
242 char *_kwnames
[] = { "pConfig", NULL
};
246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_Set",_kwnames
,&_argo0
))
249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Set. Expected _wxConfigBase_p.");
256 wxPy_BEGIN_ALLOW_THREADS
;
257 _result
= (wxConfigBase
*)wxConfigBase::Set(_arg0
);
259 wxPy_END_ALLOW_THREADS
;
261 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
262 _resultobj
= Py_BuildValue("s",_ptemp
);
265 _resultobj
= Py_None
;
270 static PyObject
*_wrap_wxConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
271 PyObject
* _resultobj
;
272 wxConfigBase
* _result
;
273 bool _arg0
= (bool ) TRUE
;
274 int tempbool0
= (int) TRUE
;
275 char *_kwnames
[] = { "createOnDemand", NULL
};
279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxConfigBase_Get",_kwnames
,&tempbool0
))
281 _arg0
= (bool ) tempbool0
;
283 wxPy_BEGIN_ALLOW_THREADS
;
284 _result
= (wxConfigBase
*)wxConfigBase::Get(_arg0
);
286 wxPy_END_ALLOW_THREADS
;
288 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
289 _resultobj
= Py_BuildValue("s",_ptemp
);
292 _resultobj
= Py_None
;
297 static PyObject
*_wrap_wxConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
298 PyObject
* _resultobj
;
299 wxConfigBase
* _result
;
300 char *_kwnames
[] = { NULL
};
304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxConfigBase_Create",_kwnames
))
307 wxPy_BEGIN_ALLOW_THREADS
;
308 _result
= (wxConfigBase
*)wxConfigBase::Create();
310 wxPy_END_ALLOW_THREADS
;
312 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
313 _resultobj
= Py_BuildValue("s",_ptemp
);
316 _resultobj
= Py_None
;
321 static PyObject
*_wrap_wxConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
322 PyObject
* _resultobj
;
323 char *_kwnames
[] = { NULL
};
326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxConfigBase_DontCreateOnDemand",_kwnames
))
329 wxPy_BEGIN_ALLOW_THREADS
;
330 wxConfigBase::DontCreateOnDemand();
332 wxPy_END_ALLOW_THREADS
;
333 } Py_INCREF(Py_None
);
334 _resultobj
= Py_None
;
338 #define wxConfigBase_DeleteAll(_swigobj) (_swigobj->DeleteAll())
339 static PyObject
*_wrap_wxConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
340 PyObject
* _resultobj
;
342 wxConfigBase
* _arg0
;
343 PyObject
* _argo0
= 0;
344 char *_kwnames
[] = { "self", NULL
};
347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_DeleteAll",_kwnames
,&_argo0
))
350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteAll. Expected _wxConfigBase_p.");
357 wxPy_BEGIN_ALLOW_THREADS
;
358 _result
= (bool )wxConfigBase_DeleteAll(_arg0
);
360 wxPy_END_ALLOW_THREADS
;
361 } _resultobj
= Py_BuildValue("i",_result
);
365 #define wxConfigBase_DeleteEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteEntry(_swigarg0,_swigarg1))
366 static PyObject
*_wrap_wxConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
367 PyObject
* _resultobj
;
369 wxConfigBase
* _arg0
;
371 bool _arg2
= (bool ) TRUE
;
372 PyObject
* _argo0
= 0;
373 PyObject
* _obj1
= 0;
374 int tempbool2
= (int) TRUE
;
375 char *_kwnames
[] = { "self","key","bDeleteGroupIfEmpty", NULL
};
378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxConfigBase_DeleteEntry",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteEntry. Expected _wxConfigBase_p.");
388 #if PYTHON_API_VERSION >= 1009
389 char* tmpPtr
; int tmpSize
;
390 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
391 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
394 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
396 _arg1
= new wxString(tmpPtr
, tmpSize
);
398 if (!PyString_Check(_obj1
)) {
399 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
402 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
405 _arg2
= (bool ) tempbool2
;
407 wxPy_BEGIN_ALLOW_THREADS
;
408 _result
= (bool )wxConfigBase_DeleteEntry(_arg0
,*_arg1
,_arg2
);
410 wxPy_END_ALLOW_THREADS
;
411 } _resultobj
= Py_BuildValue("i",_result
);
419 #define wxConfigBase_DeleteGroup(_swigobj,_swigarg0) (_swigobj->DeleteGroup(_swigarg0))
420 static PyObject
*_wrap_wxConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
421 PyObject
* _resultobj
;
423 wxConfigBase
* _arg0
;
425 PyObject
* _argo0
= 0;
426 PyObject
* _obj1
= 0;
427 char *_kwnames
[] = { "self","key", NULL
};
430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_DeleteGroup",_kwnames
,&_argo0
,&_obj1
))
433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteGroup. Expected _wxConfigBase_p.");
440 #if PYTHON_API_VERSION >= 1009
441 char* tmpPtr
; int tmpSize
;
442 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
443 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
446 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
448 _arg1
= new wxString(tmpPtr
, tmpSize
);
450 if (!PyString_Check(_obj1
)) {
451 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
454 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
458 wxPy_BEGIN_ALLOW_THREADS
;
459 _result
= (bool )wxConfigBase_DeleteGroup(_arg0
,*_arg1
);
461 wxPy_END_ALLOW_THREADS
;
462 } _resultobj
= Py_BuildValue("i",_result
);
470 #define wxConfigBase_Exists(_swigobj,_swigarg0) (_swigobj->Exists(_swigarg0))
471 static PyObject
*_wrap_wxConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
472 PyObject
* _resultobj
;
474 wxConfigBase
* _arg0
;
476 PyObject
* _argo0
= 0;
477 PyObject
* _obj1
= 0;
478 char *_kwnames
[] = { "self","strName", NULL
};
481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_Exists",_kwnames
,&_argo0
,&_obj1
))
484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Exists. Expected _wxConfigBase_p.");
491 #if PYTHON_API_VERSION >= 1009
492 char* tmpPtr
; int tmpSize
;
493 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
494 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
497 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
499 _arg1
= new wxString(tmpPtr
, tmpSize
);
501 if (!PyString_Check(_obj1
)) {
502 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
505 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
509 wxPy_BEGIN_ALLOW_THREADS
;
510 _result
= (bool )wxConfigBase_Exists(_arg0
,*_arg1
);
512 wxPy_END_ALLOW_THREADS
;
513 } _resultobj
= Py_BuildValue("i",_result
);
521 #define wxConfigBase_Flush(_swigobj,_swigarg0) (_swigobj->Flush(_swigarg0))
522 static PyObject
*_wrap_wxConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
523 PyObject
* _resultobj
;
525 wxConfigBase
* _arg0
;
526 bool _arg1
= (bool ) FALSE
;
527 PyObject
* _argo0
= 0;
528 int tempbool1
= (int) FALSE
;
529 char *_kwnames
[] = { "self","bCurrentOnly", NULL
};
532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_Flush",_kwnames
,&_argo0
,&tempbool1
))
535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Flush. Expected _wxConfigBase_p.");
541 _arg1
= (bool ) tempbool1
;
543 wxPy_BEGIN_ALLOW_THREADS
;
544 _result
= (bool )wxConfigBase_Flush(_arg0
,_arg1
);
546 wxPy_END_ALLOW_THREADS
;
547 } _resultobj
= Py_BuildValue("i",_result
);
551 #define wxConfigBase_GetAppName(_swigobj) (_swigobj->GetAppName())
552 static PyObject
*_wrap_wxConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
553 PyObject
* _resultobj
;
555 wxConfigBase
* _arg0
;
556 PyObject
* _argo0
= 0;
557 char *_kwnames
[] = { "self", NULL
};
560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetAppName",_kwnames
,&_argo0
))
563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetAppName. Expected _wxConfigBase_p.");
570 wxPy_BEGIN_ALLOW_THREADS
;
571 _result
= new wxString (wxConfigBase_GetAppName(_arg0
));
573 wxPy_END_ALLOW_THREADS
;
575 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
583 static PyObject
* wxConfigBase_GetFirstGroup(wxConfigBase
*self
) {
588 cont
= self
->GetFirstGroup(value
, index
);
589 return __EnumerationHelper(cont
, value
, index
);
591 static PyObject
*_wrap_wxConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
592 PyObject
* _resultobj
;
594 wxConfigBase
* _arg0
;
595 PyObject
* _argo0
= 0;
596 char *_kwnames
[] = { "self", NULL
};
599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetFirstGroup",_kwnames
,&_argo0
))
602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetFirstGroup. Expected _wxConfigBase_p.");
609 wxPy_BEGIN_ALLOW_THREADS
;
610 _result
= (PyObject
*)wxConfigBase_GetFirstGroup(_arg0
);
612 wxPy_END_ALLOW_THREADS
;
614 _resultobj
= _result
;
619 static PyObject
* wxConfigBase_GetFirstEntry(wxConfigBase
*self
) {
624 cont
= self
->GetFirstEntry(value
, index
);
625 return __EnumerationHelper(cont
, value
, index
);
627 static PyObject
*_wrap_wxConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
628 PyObject
* _resultobj
;
630 wxConfigBase
* _arg0
;
631 PyObject
* _argo0
= 0;
632 char *_kwnames
[] = { "self", NULL
};
635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetFirstEntry",_kwnames
,&_argo0
))
638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetFirstEntry. Expected _wxConfigBase_p.");
645 wxPy_BEGIN_ALLOW_THREADS
;
646 _result
= (PyObject
*)wxConfigBase_GetFirstEntry(_arg0
);
648 wxPy_END_ALLOW_THREADS
;
650 _resultobj
= _result
;
655 static PyObject
* wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
) {
659 cont
= self
->GetNextGroup(value
, index
);
660 return __EnumerationHelper(cont
, value
, index
);
662 static PyObject
*_wrap_wxConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
663 PyObject
* _resultobj
;
665 wxConfigBase
* _arg0
;
667 PyObject
* _argo0
= 0;
668 char *_kwnames
[] = { "self","index", NULL
};
671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_GetNextGroup",_kwnames
,&_argo0
,&_arg1
))
674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNextGroup. Expected _wxConfigBase_p.");
681 wxPy_BEGIN_ALLOW_THREADS
;
682 _result
= (PyObject
*)wxConfigBase_GetNextGroup(_arg0
,_arg1
);
684 wxPy_END_ALLOW_THREADS
;
686 _resultobj
= _result
;
691 static PyObject
* wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
) {
695 cont
= self
->GetNextEntry(value
, index
);
696 return __EnumerationHelper(cont
, value
, index
);
698 static PyObject
*_wrap_wxConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
699 PyObject
* _resultobj
;
701 wxConfigBase
* _arg0
;
703 PyObject
* _argo0
= 0;
704 char *_kwnames
[] = { "self","index", NULL
};
707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_GetNextEntry",_kwnames
,&_argo0
,&_arg1
))
710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNextEntry. Expected _wxConfigBase_p.");
717 wxPy_BEGIN_ALLOW_THREADS
;
718 _result
= (PyObject
*)wxConfigBase_GetNextEntry(_arg0
,_arg1
);
720 wxPy_END_ALLOW_THREADS
;
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 } _resultobj
= Py_BuildValue("i",_result
);
757 #define wxConfigBase_GetNumberOfGroups(_swigobj,_swigarg0) (_swigobj->GetNumberOfGroups(_swigarg0))
758 static PyObject
*_wrap_wxConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
759 PyObject
* _resultobj
;
761 wxConfigBase
* _arg0
;
762 bool _arg1
= (bool ) FALSE
;
763 PyObject
* _argo0
= 0;
764 int tempbool1
= (int) FALSE
;
765 char *_kwnames
[] = { "self","bRecursive", NULL
};
768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_GetNumberOfGroups",_kwnames
,&_argo0
,&tempbool1
))
771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNumberOfGroups. Expected _wxConfigBase_p.");
777 _arg1
= (bool ) tempbool1
;
779 wxPy_BEGIN_ALLOW_THREADS
;
780 _result
= (int )wxConfigBase_GetNumberOfGroups(_arg0
,_arg1
);
782 wxPy_END_ALLOW_THREADS
;
783 } _resultobj
= Py_BuildValue("i",_result
);
787 #define wxConfigBase_GetPath(_swigobj) (_swigobj->GetPath())
788 static PyObject
*_wrap_wxConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
789 PyObject
* _resultobj
;
791 wxConfigBase
* _arg0
;
792 PyObject
* _argo0
= 0;
793 char *_kwnames
[] = { "self", NULL
};
796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetPath",_kwnames
,&_argo0
))
799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetPath. Expected _wxConfigBase_p.");
806 wxPy_BEGIN_ALLOW_THREADS
;
807 _result
= new wxString (wxConfigBase_GetPath(_arg0
));
809 wxPy_END_ALLOW_THREADS
;
811 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
819 #define wxConfigBase_GetVendorName(_swigobj) (_swigobj->GetVendorName())
820 static PyObject
*_wrap_wxConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
821 PyObject
* _resultobj
;
823 wxConfigBase
* _arg0
;
824 PyObject
* _argo0
= 0;
825 char *_kwnames
[] = { "self", NULL
};
828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetVendorName",_kwnames
,&_argo0
))
831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetVendorName. Expected _wxConfigBase_p.");
838 wxPy_BEGIN_ALLOW_THREADS
;
839 _result
= new wxString (wxConfigBase_GetVendorName(_arg0
));
841 wxPy_END_ALLOW_THREADS
;
843 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
851 #define wxConfigBase_HasEntry(_swigobj,_swigarg0) (_swigobj->HasEntry(_swigarg0))
852 static PyObject
*_wrap_wxConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
853 PyObject
* _resultobj
;
855 wxConfigBase
* _arg0
;
857 PyObject
* _argo0
= 0;
858 PyObject
* _obj1
= 0;
859 char *_kwnames
[] = { "self","strName", NULL
};
862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_HasEntry",_kwnames
,&_argo0
,&_obj1
))
865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_HasEntry. Expected _wxConfigBase_p.");
872 #if PYTHON_API_VERSION >= 1009
873 char* tmpPtr
; int tmpSize
;
874 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
875 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
878 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
880 _arg1
= new wxString(tmpPtr
, tmpSize
);
882 if (!PyString_Check(_obj1
)) {
883 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
886 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
890 wxPy_BEGIN_ALLOW_THREADS
;
891 _result
= (bool )wxConfigBase_HasEntry(_arg0
,*_arg1
);
893 wxPy_END_ALLOW_THREADS
;
894 } _resultobj
= Py_BuildValue("i",_result
);
902 #define wxConfigBase_HasGroup(_swigobj,_swigarg0) (_swigobj->HasGroup(_swigarg0))
903 static PyObject
*_wrap_wxConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
904 PyObject
* _resultobj
;
906 wxConfigBase
* _arg0
;
908 PyObject
* _argo0
= 0;
909 PyObject
* _obj1
= 0;
910 char *_kwnames
[] = { "self","strName", NULL
};
913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_HasGroup",_kwnames
,&_argo0
,&_obj1
))
916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_HasGroup. Expected _wxConfigBase_p.");
923 #if PYTHON_API_VERSION >= 1009
924 char* tmpPtr
; int tmpSize
;
925 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
926 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
929 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
931 _arg1
= new wxString(tmpPtr
, tmpSize
);
933 if (!PyString_Check(_obj1
)) {
934 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
937 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
941 wxPy_BEGIN_ALLOW_THREADS
;
942 _result
= (bool )wxConfigBase_HasGroup(_arg0
,*_arg1
);
944 wxPy_END_ALLOW_THREADS
;
945 } _resultobj
= Py_BuildValue("i",_result
);
953 #define wxConfigBase_IsExpandingEnvVars(_swigobj) (_swigobj->IsExpandingEnvVars())
954 static PyObject
*_wrap_wxConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
955 PyObject
* _resultobj
;
957 wxConfigBase
* _arg0
;
958 PyObject
* _argo0
= 0;
959 char *_kwnames
[] = { "self", NULL
};
962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_IsExpandingEnvVars",_kwnames
,&_argo0
))
965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_IsExpandingEnvVars. Expected _wxConfigBase_p.");
972 wxPy_BEGIN_ALLOW_THREADS
;
973 _result
= (bool )wxConfigBase_IsExpandingEnvVars(_arg0
);
975 wxPy_END_ALLOW_THREADS
;
976 } _resultobj
= Py_BuildValue("i",_result
);
980 #define wxConfigBase_IsRecordingDefaults(_swigobj) (_swigobj->IsRecordingDefaults())
981 static PyObject
*_wrap_wxConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
982 PyObject
* _resultobj
;
984 wxConfigBase
* _arg0
;
985 PyObject
* _argo0
= 0;
986 char *_kwnames
[] = { "self", NULL
};
989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_IsRecordingDefaults",_kwnames
,&_argo0
))
992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_IsRecordingDefaults. Expected _wxConfigBase_p.");
999 wxPy_BEGIN_ALLOW_THREADS
;
1000 _result
= (bool )wxConfigBase_IsRecordingDefaults(_arg0
);
1002 wxPy_END_ALLOW_THREADS
;
1003 } _resultobj
= Py_BuildValue("i",_result
);
1007 #define wxConfigBase_Read(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
1008 static PyObject
*_wrap_wxConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1009 PyObject
* _resultobj
;
1011 wxConfigBase
* _arg0
;
1013 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
1014 PyObject
* _argo0
= 0;
1015 PyObject
* _obj1
= 0;
1016 PyObject
* _obj2
= 0;
1017 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxConfigBase_Read",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Read. Expected _wxConfigBase_p.");
1030 #if PYTHON_API_VERSION >= 1009
1031 char* tmpPtr
; int tmpSize
;
1032 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1033 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1036 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1038 _arg1
= new wxString(tmpPtr
, tmpSize
);
1040 if (!PyString_Check(_obj1
)) {
1041 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1044 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1049 #if PYTHON_API_VERSION >= 1009
1050 char* tmpPtr
; int tmpSize
;
1051 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1052 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1055 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1057 _arg2
= new wxString(tmpPtr
, tmpSize
);
1059 if (!PyString_Check(_obj2
)) {
1060 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1063 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1067 wxPy_BEGIN_ALLOW_THREADS
;
1068 _result
= new wxString (wxConfigBase_Read(_arg0
,*_arg1
,*_arg2
));
1070 wxPy_END_ALLOW_THREADS
;
1072 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1088 #define wxConfigBase_ReadInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
1089 static PyObject
*_wrap_wxConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1090 PyObject
* _resultobj
;
1092 wxConfigBase
* _arg0
;
1094 long _arg2
= (long ) 0;
1095 PyObject
* _argo0
= 0;
1096 PyObject
* _obj1
= 0;
1097 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|l:wxConfigBase_ReadInt",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadInt. Expected _wxConfigBase_p.");
1110 #if PYTHON_API_VERSION >= 1009
1111 char* tmpPtr
; int tmpSize
;
1112 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1113 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1116 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1118 _arg1
= new wxString(tmpPtr
, tmpSize
);
1120 if (!PyString_Check(_obj1
)) {
1121 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1124 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1128 wxPy_BEGIN_ALLOW_THREADS
;
1129 _result
= (long )wxConfigBase_ReadInt(_arg0
,*_arg1
,_arg2
);
1131 wxPy_END_ALLOW_THREADS
;
1132 } _resultobj
= Py_BuildValue("l",_result
);
1140 #define wxConfigBase_ReadFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
1141 static PyObject
*_wrap_wxConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1142 PyObject
* _resultobj
;
1144 wxConfigBase
* _arg0
;
1146 double _arg2
= (double ) 0.0;
1147 PyObject
* _argo0
= 0;
1148 PyObject
* _obj1
= 0;
1149 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|d:wxConfigBase_ReadFloat",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadFloat. Expected _wxConfigBase_p.");
1162 #if PYTHON_API_VERSION >= 1009
1163 char* tmpPtr
; int tmpSize
;
1164 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1165 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1168 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1170 _arg1
= new wxString(tmpPtr
, tmpSize
);
1172 if (!PyString_Check(_obj1
)) {
1173 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1176 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1180 wxPy_BEGIN_ALLOW_THREADS
;
1181 _result
= (double )wxConfigBase_ReadFloat(_arg0
,*_arg1
,_arg2
);
1183 wxPy_END_ALLOW_THREADS
;
1184 } _resultobj
= Py_BuildValue("d",_result
);
1192 #define wxConfigBase_SetExpandEnvVars(_swigobj,_swigarg0) (_swigobj->SetExpandEnvVars(_swigarg0))
1193 static PyObject
*_wrap_wxConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1194 PyObject
* _resultobj
;
1195 wxConfigBase
* _arg0
;
1196 bool _arg1
= (bool ) TRUE
;
1197 PyObject
* _argo0
= 0;
1198 int tempbool1
= (int) TRUE
;
1199 char *_kwnames
[] = { "self","bDoIt", NULL
};
1202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_SetExpandEnvVars",_kwnames
,&_argo0
,&tempbool1
))
1205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetExpandEnvVars. Expected _wxConfigBase_p.");
1211 _arg1
= (bool ) tempbool1
;
1213 wxPy_BEGIN_ALLOW_THREADS
;
1214 wxConfigBase_SetExpandEnvVars(_arg0
,_arg1
);
1216 wxPy_END_ALLOW_THREADS
;
1217 } Py_INCREF(Py_None
);
1218 _resultobj
= Py_None
;
1222 #define wxConfigBase_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1223 static PyObject
*_wrap_wxConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1224 PyObject
* _resultobj
;
1225 wxConfigBase
* _arg0
;
1227 PyObject
* _argo0
= 0;
1228 PyObject
* _obj1
= 0;
1229 char *_kwnames
[] = { "self","strPath", NULL
};
1232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetPath",_kwnames
,&_argo0
,&_obj1
))
1235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetPath. Expected _wxConfigBase_p.");
1242 #if PYTHON_API_VERSION >= 1009
1243 char* tmpPtr
; int tmpSize
;
1244 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1245 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1248 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1250 _arg1
= new wxString(tmpPtr
, tmpSize
);
1252 if (!PyString_Check(_obj1
)) {
1253 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1256 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1260 wxPy_BEGIN_ALLOW_THREADS
;
1261 wxConfigBase_SetPath(_arg0
,*_arg1
);
1263 wxPy_END_ALLOW_THREADS
;
1264 } Py_INCREF(Py_None
);
1265 _resultobj
= Py_None
;
1273 #define wxConfigBase_SetRecordDefaults(_swigobj,_swigarg0) (_swigobj->SetRecordDefaults(_swigarg0))
1274 static PyObject
*_wrap_wxConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1275 PyObject
* _resultobj
;
1276 wxConfigBase
* _arg0
;
1277 bool _arg1
= (bool ) TRUE
;
1278 PyObject
* _argo0
= 0;
1279 int tempbool1
= (int) TRUE
;
1280 char *_kwnames
[] = { "self","bDoIt", NULL
};
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_SetRecordDefaults",_kwnames
,&_argo0
,&tempbool1
))
1286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetRecordDefaults. Expected _wxConfigBase_p.");
1292 _arg1
= (bool ) tempbool1
;
1294 wxPy_BEGIN_ALLOW_THREADS
;
1295 wxConfigBase_SetRecordDefaults(_arg0
,_arg1
);
1297 wxPy_END_ALLOW_THREADS
;
1298 } Py_INCREF(Py_None
);
1299 _resultobj
= Py_None
;
1303 #define wxConfigBase_SetAppName(_swigobj,_swigarg0) (_swigobj->SetAppName(_swigarg0))
1304 static PyObject
*_wrap_wxConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
* _resultobj
;
1306 wxConfigBase
* _arg0
;
1308 PyObject
* _argo0
= 0;
1309 PyObject
* _obj1
= 0;
1310 char *_kwnames
[] = { "self","appName", NULL
};
1313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetAppName",_kwnames
,&_argo0
,&_obj1
))
1316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetAppName. Expected _wxConfigBase_p.");
1323 #if PYTHON_API_VERSION >= 1009
1324 char* tmpPtr
; int tmpSize
;
1325 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1326 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1329 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1331 _arg1
= new wxString(tmpPtr
, tmpSize
);
1333 if (!PyString_Check(_obj1
)) {
1334 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1337 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1341 wxPy_BEGIN_ALLOW_THREADS
;
1342 wxConfigBase_SetAppName(_arg0
,*_arg1
);
1344 wxPy_END_ALLOW_THREADS
;
1345 } Py_INCREF(Py_None
);
1346 _resultobj
= Py_None
;
1354 #define wxConfigBase_SetVendorName(_swigobj,_swigarg0) (_swigobj->SetVendorName(_swigarg0))
1355 static PyObject
*_wrap_wxConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
* _resultobj
;
1357 wxConfigBase
* _arg0
;
1359 PyObject
* _argo0
= 0;
1360 PyObject
* _obj1
= 0;
1361 char *_kwnames
[] = { "self","vendorName", NULL
};
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetVendorName",_kwnames
,&_argo0
,&_obj1
))
1367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetVendorName. Expected _wxConfigBase_p.");
1374 #if PYTHON_API_VERSION >= 1009
1375 char* tmpPtr
; int tmpSize
;
1376 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1377 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1380 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1382 _arg1
= new wxString(tmpPtr
, tmpSize
);
1384 if (!PyString_Check(_obj1
)) {
1385 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1388 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1392 wxPy_BEGIN_ALLOW_THREADS
;
1393 wxConfigBase_SetVendorName(_arg0
,*_arg1
);
1395 wxPy_END_ALLOW_THREADS
;
1396 } Py_INCREF(Py_None
);
1397 _resultobj
= Py_None
;
1405 #define wxConfigBase_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1406 static PyObject
*_wrap_wxConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
* _resultobj
;
1408 wxConfigBase
* _arg0
;
1410 PyObject
* _argo0
= 0;
1411 char *_kwnames
[] = { "self","style", NULL
};
1414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetStyle. Expected _wxConfigBase_p.");
1424 wxPy_BEGIN_ALLOW_THREADS
;
1425 wxConfigBase_SetStyle(_arg0
,_arg1
);
1427 wxPy_END_ALLOW_THREADS
;
1428 } Py_INCREF(Py_None
);
1429 _resultobj
= Py_None
;
1433 #define wxConfigBase_GetStyle(_swigobj) (_swigobj->GetStyle())
1434 static PyObject
*_wrap_wxConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1435 PyObject
* _resultobj
;
1437 wxConfigBase
* _arg0
;
1438 PyObject
* _argo0
= 0;
1439 char *_kwnames
[] = { "self", NULL
};
1442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetStyle",_kwnames
,&_argo0
))
1445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetStyle. Expected _wxConfigBase_p.");
1452 wxPy_BEGIN_ALLOW_THREADS
;
1453 _result
= (long )wxConfigBase_GetStyle(_arg0
);
1455 wxPy_END_ALLOW_THREADS
;
1456 } _resultobj
= Py_BuildValue("l",_result
);
1460 #define wxConfigBase_Write(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1461 static PyObject
*_wrap_wxConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1462 PyObject
* _resultobj
;
1464 wxConfigBase
* _arg0
;
1467 PyObject
* _argo0
= 0;
1468 PyObject
* _obj1
= 0;
1469 PyObject
* _obj2
= 0;
1470 char *_kwnames
[] = { "self","key","value", NULL
};
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_Write",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Write. Expected _wxConfigBase_p.");
1483 #if PYTHON_API_VERSION >= 1009
1484 char* tmpPtr
; int tmpSize
;
1485 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1486 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1489 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1491 _arg1
= new wxString(tmpPtr
, tmpSize
);
1493 if (!PyString_Check(_obj1
)) {
1494 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1497 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1501 #if PYTHON_API_VERSION >= 1009
1502 char* tmpPtr
; int tmpSize
;
1503 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1504 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1507 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1509 _arg2
= new wxString(tmpPtr
, tmpSize
);
1511 if (!PyString_Check(_obj2
)) {
1512 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1515 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1519 wxPy_BEGIN_ALLOW_THREADS
;
1520 _result
= (bool )wxConfigBase_Write(_arg0
,*_arg1
,*_arg2
);
1522 wxPy_END_ALLOW_THREADS
;
1523 } _resultobj
= Py_BuildValue("i",_result
);
1535 #define wxConfigBase_WriteInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1536 static PyObject
*_wrap_wxConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1537 PyObject
* _resultobj
;
1539 wxConfigBase
* _arg0
;
1542 PyObject
* _argo0
= 0;
1543 PyObject
* _obj1
= 0;
1544 char *_kwnames
[] = { "self","key","value", NULL
};
1547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxConfigBase_WriteInt",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteInt. Expected _wxConfigBase_p.");
1557 #if PYTHON_API_VERSION >= 1009
1558 char* tmpPtr
; int tmpSize
;
1559 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1560 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1563 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1565 _arg1
= new wxString(tmpPtr
, tmpSize
);
1567 if (!PyString_Check(_obj1
)) {
1568 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1571 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1575 wxPy_BEGIN_ALLOW_THREADS
;
1576 _result
= (bool )wxConfigBase_WriteInt(_arg0
,*_arg1
,_arg2
);
1578 wxPy_END_ALLOW_THREADS
;
1579 } _resultobj
= Py_BuildValue("i",_result
);
1587 #define wxConfigBase_WriteFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1588 static PyObject
*_wrap_wxConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1589 PyObject
* _resultobj
;
1591 wxConfigBase
* _arg0
;
1594 PyObject
* _argo0
= 0;
1595 PyObject
* _obj1
= 0;
1596 char *_kwnames
[] = { "self","key","value", NULL
};
1599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOd:wxConfigBase_WriteFloat",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteFloat. Expected _wxConfigBase_p.");
1609 #if PYTHON_API_VERSION >= 1009
1610 char* tmpPtr
; int tmpSize
;
1611 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1612 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1615 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1617 _arg1
= new wxString(tmpPtr
, tmpSize
);
1619 if (!PyString_Check(_obj1
)) {
1620 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1623 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1627 wxPy_BEGIN_ALLOW_THREADS
;
1628 _result
= (bool )wxConfigBase_WriteFloat(_arg0
,*_arg1
,_arg2
);
1630 wxPy_END_ALLOW_THREADS
;
1631 } _resultobj
= Py_BuildValue("i",_result
);
1639 #define wxConfigBase_GetEntryType(_swigobj,_swigarg0) (_swigobj->GetEntryType(_swigarg0))
1640 static PyObject
*_wrap_wxConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
* _resultobj
;
1642 wxConfigBase::EntryType _result
;
1643 wxConfigBase
* _arg0
;
1645 PyObject
* _argo0
= 0;
1646 PyObject
* _obj1
= 0;
1647 char *_kwnames
[] = { "self","name", NULL
};
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_GetEntryType",_kwnames
,&_argo0
,&_obj1
))
1653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetEntryType. Expected _wxConfigBase_p.");
1660 #if PYTHON_API_VERSION >= 1009
1661 char* tmpPtr
; int tmpSize
;
1662 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1663 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1666 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1668 _arg1
= new wxString(tmpPtr
, tmpSize
);
1670 if (!PyString_Check(_obj1
)) {
1671 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1674 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1678 wxPy_BEGIN_ALLOW_THREADS
;
1679 _result
= (wxConfigBase::EntryType
)wxConfigBase_GetEntryType(_arg0
,*_arg1
);
1681 wxPy_END_ALLOW_THREADS
;
1682 } _resultobj
= Py_BuildValue("i",_result
);
1690 #define wxConfigBase_RenameEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameEntry(_swigarg0,_swigarg1))
1691 static PyObject
*_wrap_wxConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1692 PyObject
* _resultobj
;
1694 wxConfigBase
* _arg0
;
1697 PyObject
* _argo0
= 0;
1698 PyObject
* _obj1
= 0;
1699 PyObject
* _obj2
= 0;
1700 char *_kwnames
[] = { "self","oldName","newName", NULL
};
1703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_RenameEntry",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_RenameEntry. Expected _wxConfigBase_p.");
1713 #if PYTHON_API_VERSION >= 1009
1714 char* tmpPtr
; int tmpSize
;
1715 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1716 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1719 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1721 _arg1
= new wxString(tmpPtr
, tmpSize
);
1723 if (!PyString_Check(_obj1
)) {
1724 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1727 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1731 #if PYTHON_API_VERSION >= 1009
1732 char* tmpPtr
; int tmpSize
;
1733 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1734 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1737 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1739 _arg2
= new wxString(tmpPtr
, tmpSize
);
1741 if (!PyString_Check(_obj2
)) {
1742 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1745 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1749 wxPy_BEGIN_ALLOW_THREADS
;
1750 _result
= (bool )wxConfigBase_RenameEntry(_arg0
,*_arg1
,*_arg2
);
1752 wxPy_END_ALLOW_THREADS
;
1753 } _resultobj
= Py_BuildValue("i",_result
);
1765 #define wxConfigBase_RenameGroup(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameGroup(_swigarg0,_swigarg1))
1766 static PyObject
*_wrap_wxConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
* _resultobj
;
1769 wxConfigBase
* _arg0
;
1772 PyObject
* _argo0
= 0;
1773 PyObject
* _obj1
= 0;
1774 PyObject
* _obj2
= 0;
1775 char *_kwnames
[] = { "self","oldName","newName", NULL
};
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_RenameGroup",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_RenameGroup. Expected _wxConfigBase_p.");
1788 #if PYTHON_API_VERSION >= 1009
1789 char* tmpPtr
; int tmpSize
;
1790 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1791 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1794 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1796 _arg1
= new wxString(tmpPtr
, tmpSize
);
1798 if (!PyString_Check(_obj1
)) {
1799 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1802 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1806 #if PYTHON_API_VERSION >= 1009
1807 char* tmpPtr
; int tmpSize
;
1808 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1809 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1812 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1814 _arg2
= new wxString(tmpPtr
, tmpSize
);
1816 if (!PyString_Check(_obj2
)) {
1817 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1820 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1824 wxPy_BEGIN_ALLOW_THREADS
;
1825 _result
= (bool )wxConfigBase_RenameGroup(_arg0
,*_arg1
,*_arg2
);
1827 wxPy_END_ALLOW_THREADS
;
1828 } _resultobj
= Py_BuildValue("i",_result
);
1840 #define wxConfigBase_ExpandEnvVars(_swigobj,_swigarg0) (_swigobj->ExpandEnvVars(_swigarg0))
1841 static PyObject
*_wrap_wxConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1842 PyObject
* _resultobj
;
1844 wxConfigBase
* _arg0
;
1846 PyObject
* _argo0
= 0;
1847 PyObject
* _obj1
= 0;
1848 char *_kwnames
[] = { "self","str", NULL
};
1851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_ExpandEnvVars",_kwnames
,&_argo0
,&_obj1
))
1854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ExpandEnvVars. Expected _wxConfigBase_p.");
1861 #if PYTHON_API_VERSION >= 1009
1862 char* tmpPtr
; int tmpSize
;
1863 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1864 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1867 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1869 _arg1
= new wxString(tmpPtr
, tmpSize
);
1871 if (!PyString_Check(_obj1
)) {
1872 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1875 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1879 wxPy_BEGIN_ALLOW_THREADS
;
1880 _result
= new wxString (wxConfigBase_ExpandEnvVars(_arg0
,*_arg1
));
1882 wxPy_END_ALLOW_THREADS
;
1884 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1896 static void *SwigwxConfigTowxConfigBase(void *ptr
) {
1899 src
= (wxConfig
*) ptr
;
1900 dest
= (wxConfigBase
*) src
;
1901 return (void *) dest
;
1904 #define new_wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1905 static PyObject
*_wrap_new_wxConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
* _resultobj
;
1908 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
1909 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
1910 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
1911 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
1912 long _arg4
= (long ) 0;
1913 PyObject
* _obj0
= 0;
1914 PyObject
* _obj1
= 0;
1915 PyObject
* _obj2
= 0;
1916 PyObject
* _obj3
= 0;
1917 char *_kwnames
[] = { "appName","vendorName","localFilename","globalFilename","style", NULL
};
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOl:new_wxConfig",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
))
1925 #if PYTHON_API_VERSION >= 1009
1926 char* tmpPtr
; int tmpSize
;
1927 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1928 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1931 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1933 _arg0
= new wxString(tmpPtr
, tmpSize
);
1935 if (!PyString_Check(_obj0
)) {
1936 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1939 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1944 #if PYTHON_API_VERSION >= 1009
1945 char* tmpPtr
; int tmpSize
;
1946 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1947 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1950 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1952 _arg1
= new wxString(tmpPtr
, tmpSize
);
1954 if (!PyString_Check(_obj1
)) {
1955 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1958 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1963 #if PYTHON_API_VERSION >= 1009
1964 char* tmpPtr
; int tmpSize
;
1965 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1966 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1969 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1971 _arg2
= new wxString(tmpPtr
, tmpSize
);
1973 if (!PyString_Check(_obj2
)) {
1974 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1977 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1982 #if PYTHON_API_VERSION >= 1009
1983 char* tmpPtr
; int tmpSize
;
1984 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
1985 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1988 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
1990 _arg3
= new wxString(tmpPtr
, tmpSize
);
1992 if (!PyString_Check(_obj3
)) {
1993 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1996 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2000 wxPy_BEGIN_ALLOW_THREADS
;
2001 _result
= (wxConfig
*)new_wxConfig(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
2003 wxPy_END_ALLOW_THREADS
;
2005 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfig_p");
2006 _resultobj
= Py_BuildValue("s",_ptemp
);
2009 _resultobj
= Py_None
;
2030 #define delete_wxConfig(_swigobj) (delete _swigobj)
2031 static PyObject
*_wrap_delete_wxConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
* _resultobj
;
2034 PyObject
* _argo0
= 0;
2035 char *_kwnames
[] = { "self", NULL
};
2038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxConfig",_kwnames
,&_argo0
))
2041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfig_p")) {
2043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxConfig. Expected _wxConfig_p.");
2048 wxPy_BEGIN_ALLOW_THREADS
;
2049 delete_wxConfig(_arg0
);
2051 wxPy_END_ALLOW_THREADS
;
2052 } Py_INCREF(Py_None
);
2053 _resultobj
= Py_None
;
2057 static void *SwigwxFileConfigTowxConfigBase(void *ptr
) {
2060 src
= (wxFileConfig
*) ptr
;
2061 dest
= (wxConfigBase
*) src
;
2062 return (void *) dest
;
2065 #define new_wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2066 static PyObject
*_wrap_new_wxFileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2067 PyObject
* _resultobj
;
2068 wxFileConfig
* _result
;
2069 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
2070 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
2071 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
2072 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
2073 long _arg4
= (long ) 0;
2074 PyObject
* _obj0
= 0;
2075 PyObject
* _obj1
= 0;
2076 PyObject
* _obj2
= 0;
2077 PyObject
* _obj3
= 0;
2078 char *_kwnames
[] = { "appName","vendorName","localFilename","globalFilename","style", NULL
};
2082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOl:new_wxFileConfig",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
))
2086 #if PYTHON_API_VERSION >= 1009
2087 char* tmpPtr
; int tmpSize
;
2088 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2089 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2092 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2094 _arg0
= new wxString(tmpPtr
, tmpSize
);
2096 if (!PyString_Check(_obj0
)) {
2097 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2100 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2105 #if PYTHON_API_VERSION >= 1009
2106 char* tmpPtr
; int tmpSize
;
2107 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2108 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2111 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2113 _arg1
= new wxString(tmpPtr
, tmpSize
);
2115 if (!PyString_Check(_obj1
)) {
2116 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2119 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2124 #if PYTHON_API_VERSION >= 1009
2125 char* tmpPtr
; int tmpSize
;
2126 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2127 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2130 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2132 _arg2
= new wxString(tmpPtr
, tmpSize
);
2134 if (!PyString_Check(_obj2
)) {
2135 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2138 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2143 #if PYTHON_API_VERSION >= 1009
2144 char* tmpPtr
; int tmpSize
;
2145 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2146 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2149 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2151 _arg3
= new wxString(tmpPtr
, tmpSize
);
2153 if (!PyString_Check(_obj3
)) {
2154 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2157 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2161 wxPy_BEGIN_ALLOW_THREADS
;
2162 _result
= (wxFileConfig
*)new_wxFileConfig(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
2164 wxPy_END_ALLOW_THREADS
;
2166 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileConfig_p");
2167 _resultobj
= Py_BuildValue("s",_ptemp
);
2170 _resultobj
= Py_None
;
2191 #define delete_wxFileConfig(_swigobj) (delete _swigobj)
2192 static PyObject
*_wrap_delete_wxFileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
* _resultobj
;
2194 wxFileConfig
* _arg0
;
2195 PyObject
* _argo0
= 0;
2196 char *_kwnames
[] = { "self", NULL
};
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileConfig",_kwnames
,&_argo0
))
2202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileConfig_p")) {
2204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileConfig. Expected _wxFileConfig_p.");
2209 wxPy_BEGIN_ALLOW_THREADS
;
2210 delete_wxFileConfig(_arg0
);
2212 wxPy_END_ALLOW_THREADS
;
2213 } Py_INCREF(Py_None
);
2214 _resultobj
= Py_None
;
2218 static PyObject
*_wrap_wxDateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2219 PyObject
* _resultobj
;
2220 wxDateTime::Country _arg0
;
2221 char *_kwnames
[] = { "country", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateTime_SetCountry",_kwnames
,&_arg0
))
2227 wxPy_BEGIN_ALLOW_THREADS
;
2228 wxDateTime::SetCountry(_arg0
);
2230 wxPy_END_ALLOW_THREADS
;
2231 } Py_INCREF(Py_None
);
2232 _resultobj
= Py_None
;
2236 static PyObject
*_wrap_wxDateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2237 PyObject
* _resultobj
;
2238 wxDateTime::Country _result
;
2239 char *_kwnames
[] = { NULL
};
2242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_GetCountry",_kwnames
))
2245 wxPy_BEGIN_ALLOW_THREADS
;
2246 _result
= (wxDateTime::Country
)wxDateTime::GetCountry();
2248 wxPy_END_ALLOW_THREADS
;
2249 } _resultobj
= Py_BuildValue("i",_result
);
2253 static PyObject
*_wrap_wxDateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
* _resultobj
;
2256 wxDateTime::Country _arg0
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2257 char *_kwnames
[] = { "country", NULL
};
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_IsWestEuropeanCountry",_kwnames
,&_arg0
))
2263 wxPy_BEGIN_ALLOW_THREADS
;
2264 _result
= (bool )wxDateTime::IsWestEuropeanCountry(_arg0
);
2266 wxPy_END_ALLOW_THREADS
;
2267 } _resultobj
= Py_BuildValue("i",_result
);
2271 static PyObject
*_wrap_wxDateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
* _resultobj
;
2274 wxDateTime::Calendar _arg0
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2275 char *_kwnames
[] = { "cal", NULL
};
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCurrentYear",_kwnames
,&_arg0
))
2281 wxPy_BEGIN_ALLOW_THREADS
;
2282 _result
= (int )wxDateTime::GetCurrentYear(_arg0
);
2284 wxPy_END_ALLOW_THREADS
;
2285 } _resultobj
= Py_BuildValue("i",_result
);
2289 static PyObject
*_wrap_wxDateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2290 PyObject
* _resultobj
;
2293 char *_kwnames
[] = { "year", NULL
};
2296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateTime_ConvertYearToBC",_kwnames
,&_arg0
))
2299 wxPy_BEGIN_ALLOW_THREADS
;
2300 _result
= (int )wxDateTime::ConvertYearToBC(_arg0
);
2302 wxPy_END_ALLOW_THREADS
;
2303 } _resultobj
= Py_BuildValue("i",_result
);
2307 static PyObject
*_wrap_wxDateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
* _resultobj
;
2309 wxDateTime::Month _result
;
2310 wxDateTime::Calendar _arg0
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2311 char *_kwnames
[] = { "cal", NULL
};
2314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCurrentMonth",_kwnames
,&_arg0
))
2317 wxPy_BEGIN_ALLOW_THREADS
;
2318 _result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(_arg0
);
2320 wxPy_END_ALLOW_THREADS
;
2321 } _resultobj
= Py_BuildValue("i",_result
);
2325 static PyObject
*_wrap_wxDateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2326 PyObject
* _resultobj
;
2328 int _arg0
= (int ) wxDateTime::Inv_Year
;
2329 wxDateTime::Calendar _arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2330 char *_kwnames
[] = { "year","cal", NULL
};
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_IsLeapYear",_kwnames
,&_arg0
,&_arg1
))
2336 wxPy_BEGIN_ALLOW_THREADS
;
2337 _result
= (bool )wxDateTime::IsLeapYear(_arg0
,_arg1
);
2339 wxPy_END_ALLOW_THREADS
;
2340 } _resultobj
= Py_BuildValue("i",_result
);
2344 static PyObject
*_wrap_wxDateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
* _resultobj
;
2347 int _arg0
= (int ) wxDateTime::Inv_Year
;
2348 char *_kwnames
[] = { "year", NULL
};
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCentury",_kwnames
,&_arg0
))
2354 wxPy_BEGIN_ALLOW_THREADS
;
2355 _result
= (int )wxDateTime::GetCentury(_arg0
);
2357 wxPy_END_ALLOW_THREADS
;
2358 } _resultobj
= Py_BuildValue("i",_result
);
2362 static PyObject
*_wrap_wxDateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
* _resultobj
;
2364 wxDateTime::wxDateTime_t _result
;
2366 wxDateTime::Calendar _arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2367 char *_kwnames
[] = { "year","cal", NULL
};
2370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetNumberOfDaysinYear",_kwnames
,&_arg0
,&_arg1
))
2373 wxPy_BEGIN_ALLOW_THREADS
;
2374 _result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(_arg0
,_arg1
);
2376 wxPy_END_ALLOW_THREADS
;
2377 } _resultobj
= Py_BuildValue("h",_result
);
2381 static PyObject
*_wrap_wxDateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
* _resultobj
;
2383 wxDateTime::wxDateTime_t _result
;
2384 wxDateTime::Month _arg0
;
2385 int _arg1
= (int ) wxDateTime::Inv_Year
;
2386 wxDateTime::Calendar _arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2387 char *_kwnames
[] = { "month","year","cal", NULL
};
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|ii:wxDateTime_GetNumberOfDaysInMonth",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2393 wxPy_BEGIN_ALLOW_THREADS
;
2394 _result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(_arg0
,_arg1
,_arg2
);
2396 wxPy_END_ALLOW_THREADS
;
2397 } _resultobj
= Py_BuildValue("h",_result
);
2401 static PyObject
*_wrap_wxDateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2402 PyObject
* _resultobj
;
2404 wxDateTime::Month _arg0
;
2405 wxDateTime::NameFlags _arg1
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
2406 char *_kwnames
[] = { "month","flags", NULL
};
2409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetMonthName",_kwnames
,&_arg0
,&_arg1
))
2412 wxPy_BEGIN_ALLOW_THREADS
;
2413 _result
= new wxString (wxDateTime::GetMonthName(_arg0
,_arg1
));
2415 wxPy_END_ALLOW_THREADS
;
2417 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2425 static PyObject
*_wrap_wxDateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2426 PyObject
* _resultobj
;
2428 wxDateTime::WeekDay _arg0
;
2429 wxDateTime::NameFlags _arg1
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
2430 char *_kwnames
[] = { "weekday","flags", NULL
};
2433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetWeekDayName",_kwnames
,&_arg0
,&_arg1
))
2436 wxPy_BEGIN_ALLOW_THREADS
;
2437 _result
= new wxString (wxDateTime::GetWeekDayName(_arg0
,_arg1
));
2439 wxPy_END_ALLOW_THREADS
;
2441 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2449 static PyObject
*_wrap_wxDateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
* _resultobj
;
2453 PyObject
* _obj0
= 0;
2454 PyObject
* _obj1
= 0;
2455 char *_kwnames
[] = { "OUTPUT","OUTPUT", NULL
};
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_GetAmPmStrings",_kwnames
,&_obj0
,&_obj1
))
2461 #if PYTHON_API_VERSION >= 1009
2462 char* tmpPtr
; int tmpSize
;
2463 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2464 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2467 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2469 _arg0
= new wxString(tmpPtr
, tmpSize
);
2471 if (!PyString_Check(_obj0
)) {
2472 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2475 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2479 #if PYTHON_API_VERSION >= 1009
2480 char* tmpPtr
; int tmpSize
;
2481 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2482 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2485 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2487 _arg1
= new wxString(tmpPtr
, tmpSize
);
2489 if (!PyString_Check(_obj1
)) {
2490 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2493 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2497 wxPy_BEGIN_ALLOW_THREADS
;
2498 wxDateTime::GetAmPmStrings(_arg0
,_arg1
);
2500 wxPy_END_ALLOW_THREADS
;
2501 } Py_INCREF(Py_None
);
2502 _resultobj
= Py_None
;
2514 static PyObject
*_wrap_wxDateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
* _resultobj
;
2517 int _arg0
= (int ) wxDateTime::Inv_Year
;
2518 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2519 char *_kwnames
[] = { "year","country", NULL
};
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_IsDSTApplicable",_kwnames
,&_arg0
,&_arg1
))
2525 wxPy_BEGIN_ALLOW_THREADS
;
2526 _result
= (bool )wxDateTime::IsDSTApplicable(_arg0
,_arg1
);
2528 wxPy_END_ALLOW_THREADS
;
2529 } _resultobj
= Py_BuildValue("i",_result
);
2533 static PyObject
*_wrap_wxDateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2534 PyObject
* _resultobj
;
2535 wxDateTime
* _result
;
2536 int _arg0
= (int ) wxDateTime::Inv_Year
;
2537 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2538 char *_kwnames
[] = { "year","country", NULL
};
2542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_GetBeginDST",_kwnames
,&_arg0
,&_arg1
))
2545 wxPy_BEGIN_ALLOW_THREADS
;
2546 _result
= new wxDateTime (wxDateTime::GetBeginDST(_arg0
,_arg1
));
2548 wxPy_END_ALLOW_THREADS
;
2549 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2550 _resultobj
= Py_BuildValue("s",_ptemp
);
2554 static PyObject
*_wrap_wxDateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
* _resultobj
;
2556 wxDateTime
* _result
;
2557 int _arg0
= (int ) wxDateTime::Inv_Year
;
2558 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2559 char *_kwnames
[] = { "year","country", NULL
};
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_GetEndDST",_kwnames
,&_arg0
,&_arg1
))
2566 wxPy_BEGIN_ALLOW_THREADS
;
2567 _result
= new wxDateTime (wxDateTime::GetEndDST(_arg0
,_arg1
));
2569 wxPy_END_ALLOW_THREADS
;
2570 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2571 _resultobj
= Py_BuildValue("s",_ptemp
);
2575 static PyObject
*_wrap_wxDateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
* _resultobj
;
2577 wxDateTime
* _result
;
2578 char *_kwnames
[] = { NULL
};
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_Now",_kwnames
))
2585 wxPy_BEGIN_ALLOW_THREADS
;
2586 _result
= new wxDateTime (wxDateTime::Now());
2588 wxPy_END_ALLOW_THREADS
;
2589 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2590 _resultobj
= Py_BuildValue("s",_ptemp
);
2594 static PyObject
*_wrap_wxDateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2595 PyObject
* _resultobj
;
2596 wxDateTime
* _result
;
2597 char *_kwnames
[] = { NULL
};
2601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_Today",_kwnames
))
2604 wxPy_BEGIN_ALLOW_THREADS
;
2605 _result
= new wxDateTime (wxDateTime::Today());
2607 wxPy_END_ALLOW_THREADS
;
2608 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2609 _resultobj
= Py_BuildValue("s",_ptemp
);
2613 #define new_wxDateTime() (new wxDateTime())
2614 static PyObject
*_wrap_new_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
* _resultobj
;
2616 wxDateTime
* _result
;
2617 char *_kwnames
[] = { NULL
};
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDateTime",_kwnames
))
2624 wxPy_BEGIN_ALLOW_THREADS
;
2625 _result
= (wxDateTime
*)new_wxDateTime();
2627 wxPy_END_ALLOW_THREADS
;
2629 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2630 _resultobj
= Py_BuildValue("s",_ptemp
);
2633 _resultobj
= Py_None
;
2638 #define new_wxDateTimeFromTimeT(_swigarg0) (new wxDateTime(_swigarg0))
2639 static PyObject
*_wrap_new_wxDateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
* _resultobj
;
2641 wxDateTime
* _result
;
2643 char *_kwnames
[] = { "timet", NULL
};
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxDateTimeFromTimeT",_kwnames
,&_arg0
))
2650 wxPy_BEGIN_ALLOW_THREADS
;
2651 _result
= (wxDateTime
*)new_wxDateTimeFromTimeT(_arg0
);
2653 wxPy_END_ALLOW_THREADS
;
2655 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2656 _resultobj
= Py_BuildValue("s",_ptemp
);
2659 _resultobj
= Py_None
;
2664 #define new_wxDateTimeFromJDN(_swigarg0) (new wxDateTime(_swigarg0))
2665 static PyObject
*_wrap_new_wxDateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
* _resultobj
;
2667 wxDateTime
* _result
;
2669 char *_kwnames
[] = { "jdn", NULL
};
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"d:new_wxDateTimeFromJDN",_kwnames
,&_arg0
))
2676 wxPy_BEGIN_ALLOW_THREADS
;
2677 _result
= (wxDateTime
*)new_wxDateTimeFromJDN(_arg0
);
2679 wxPy_END_ALLOW_THREADS
;
2681 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2682 _resultobj
= Py_BuildValue("s",_ptemp
);
2685 _resultobj
= Py_None
;
2690 #define new_wxDateTimeFromHMS(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2691 static PyObject
*_wrap_new_wxDateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2692 PyObject
* _resultobj
;
2693 wxDateTime
* _result
;
2694 wxDateTime::wxDateTime_t _arg0
;
2695 wxDateTime::wxDateTime_t _arg1
= (wxDateTime::wxDateTime_t
) 0;
2696 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
2697 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2698 char *_kwnames
[] = { "hour","minute","second","millisec", NULL
};
2702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|hhh:new_wxDateTimeFromHMS",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2705 wxPy_BEGIN_ALLOW_THREADS
;
2706 _result
= (wxDateTime
*)new_wxDateTimeFromHMS(_arg0
,_arg1
,_arg2
,_arg3
);
2708 wxPy_END_ALLOW_THREADS
;
2710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2711 _resultobj
= Py_BuildValue("s",_ptemp
);
2714 _resultobj
= Py_None
;
2719 #define new_wxDateTimeFromDMY(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2720 static PyObject
*_wrap_new_wxDateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
* _resultobj
;
2722 wxDateTime
* _result
;
2723 wxDateTime::wxDateTime_t _arg0
;
2724 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
2725 int _arg2
= (int ) wxDateTime::Inv_Year
;
2726 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2727 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2728 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
2729 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
2730 char *_kwnames
[] = { "day","month","year","hour","minute","second","millisec", NULL
};
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|iihhhh:new_wxDateTimeFromDMY",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2737 wxPy_BEGIN_ALLOW_THREADS
;
2738 _result
= (wxDateTime
*)new_wxDateTimeFromDMY(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2740 wxPy_END_ALLOW_THREADS
;
2742 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2743 _resultobj
= Py_BuildValue("s",_ptemp
);
2746 _resultobj
= Py_None
;
2751 #define delete_wxDateTime(_swigobj) (delete _swigobj)
2752 static PyObject
*_wrap_delete_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
* _resultobj
;
2755 PyObject
* _argo0
= 0;
2756 char *_kwnames
[] = { "self", NULL
};
2759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateTime",_kwnames
,&_argo0
))
2762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateTime. Expected _wxDateTime_p.");
2769 wxPy_BEGIN_ALLOW_THREADS
;
2770 delete_wxDateTime(_arg0
);
2772 wxPy_END_ALLOW_THREADS
;
2773 } Py_INCREF(Py_None
);
2774 _resultobj
= Py_None
;
2778 #define wxDateTime_SetToCurrent(_swigobj) (_swigobj->SetToCurrent())
2779 static PyObject
*_wrap_wxDateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2780 PyObject
* _resultobj
;
2781 wxDateTime
* _result
;
2783 PyObject
* _argo0
= 0;
2784 char *_kwnames
[] = { "self", NULL
};
2788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_SetToCurrent",_kwnames
,&_argo0
))
2791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToCurrent. Expected _wxDateTime_p.");
2798 wxPy_BEGIN_ALLOW_THREADS
;
2799 wxDateTime
& _result_ref
= wxDateTime_SetToCurrent(_arg0
);
2800 _result
= (wxDateTime
*) &_result_ref
;
2802 wxPy_END_ALLOW_THREADS
;
2804 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2805 _resultobj
= Py_BuildValue("s",_ptemp
);
2808 _resultobj
= Py_None
;
2813 #define wxDateTime_SetTimeT(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2814 static PyObject
*_wrap_wxDateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2815 PyObject
* _resultobj
;
2816 wxDateTime
* _result
;
2819 PyObject
* _argo0
= 0;
2820 char *_kwnames
[] = { "self","timet", NULL
};
2824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetTimeT",_kwnames
,&_argo0
,&_arg1
))
2827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetTimeT. Expected _wxDateTime_p.");
2834 wxPy_BEGIN_ALLOW_THREADS
;
2835 wxDateTime
& _result_ref
= wxDateTime_SetTimeT(_arg0
,_arg1
);
2836 _result
= (wxDateTime
*) &_result_ref
;
2838 wxPy_END_ALLOW_THREADS
;
2840 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2841 _resultobj
= Py_BuildValue("s",_ptemp
);
2844 _resultobj
= Py_None
;
2849 #define wxDateTime_SetJDN(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2850 static PyObject
*_wrap_wxDateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2851 PyObject
* _resultobj
;
2852 wxDateTime
* _result
;
2855 PyObject
* _argo0
= 0;
2856 char *_kwnames
[] = { "self","jdn", NULL
};
2860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxDateTime_SetJDN",_kwnames
,&_argo0
,&_arg1
))
2863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetJDN. Expected _wxDateTime_p.");
2870 wxPy_BEGIN_ALLOW_THREADS
;
2871 wxDateTime
& _result_ref
= wxDateTime_SetJDN(_arg0
,_arg1
);
2872 _result
= (wxDateTime
*) &_result_ref
;
2874 wxPy_END_ALLOW_THREADS
;
2876 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2877 _resultobj
= Py_BuildValue("s",_ptemp
);
2880 _resultobj
= Py_None
;
2885 #define wxDateTime_SetHMS(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2886 static PyObject
*_wrap_wxDateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
* _resultobj
;
2888 wxDateTime
* _result
;
2890 wxDateTime::wxDateTime_t _arg1
;
2891 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
2892 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2893 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2894 PyObject
* _argo0
= 0;
2895 char *_kwnames
[] = { "self","hour","minute","second","millisec", NULL
};
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|hhh:wxDateTime_SetHMS",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHMS. Expected _wxDateTime_p.");
2909 wxPy_BEGIN_ALLOW_THREADS
;
2910 wxDateTime
& _result_ref
= wxDateTime_SetHMS(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2911 _result
= (wxDateTime
*) &_result_ref
;
2913 wxPy_END_ALLOW_THREADS
;
2915 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2916 _resultobj
= Py_BuildValue("s",_ptemp
);
2919 _resultobj
= Py_None
;
2924 #define wxDateTime_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2925 static PyObject
*_wrap_wxDateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2926 PyObject
* _resultobj
;
2927 wxDateTime
* _result
;
2929 wxDateTime::wxDateTime_t _arg1
;
2930 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
2931 int _arg3
= (int ) wxDateTime::Inv_Year
;
2932 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2933 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
2934 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
2935 wxDateTime::wxDateTime_t _arg7
= (wxDateTime::wxDateTime_t
) 0;
2936 PyObject
* _argo0
= 0;
2937 char *_kwnames
[] = { "self","day","month","year","hour","minute","second","millisec", NULL
};
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|iihhhh:wxDateTime_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
2944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Set. Expected _wxDateTime_p.");
2951 wxPy_BEGIN_ALLOW_THREADS
;
2952 wxDateTime
& _result_ref
= wxDateTime_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
2953 _result
= (wxDateTime
*) &_result_ref
;
2955 wxPy_END_ALLOW_THREADS
;
2957 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2958 _resultobj
= Py_BuildValue("s",_ptemp
);
2961 _resultobj
= Py_None
;
2966 #define wxDateTime_ResetTime(_swigobj) (_swigobj->ResetTime())
2967 static PyObject
*_wrap_wxDateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
* _resultobj
;
2969 wxDateTime
* _result
;
2971 PyObject
* _argo0
= 0;
2972 char *_kwnames
[] = { "self", NULL
};
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_ResetTime",_kwnames
,&_argo0
))
2979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ResetTime. Expected _wxDateTime_p.");
2986 wxPy_BEGIN_ALLOW_THREADS
;
2987 wxDateTime
& _result_ref
= wxDateTime_ResetTime(_arg0
);
2988 _result
= (wxDateTime
*) &_result_ref
;
2990 wxPy_END_ALLOW_THREADS
;
2992 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2993 _resultobj
= Py_BuildValue("s",_ptemp
);
2996 _resultobj
= Py_None
;
3001 #define wxDateTime_SetYear(_swigobj,_swigarg0) (_swigobj->SetYear(_swigarg0))
3002 static PyObject
*_wrap_wxDateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3003 PyObject
* _resultobj
;
3004 wxDateTime
* _result
;
3007 PyObject
* _argo0
= 0;
3008 char *_kwnames
[] = { "self","year", NULL
};
3012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetYear",_kwnames
,&_argo0
,&_arg1
))
3015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetYear. Expected _wxDateTime_p.");
3022 wxPy_BEGIN_ALLOW_THREADS
;
3023 wxDateTime
& _result_ref
= wxDateTime_SetYear(_arg0
,_arg1
);
3024 _result
= (wxDateTime
*) &_result_ref
;
3026 wxPy_END_ALLOW_THREADS
;
3028 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3029 _resultobj
= Py_BuildValue("s",_ptemp
);
3032 _resultobj
= Py_None
;
3037 #define wxDateTime_SetMonth(_swigobj,_swigarg0) (_swigobj->SetMonth(_swigarg0))
3038 static PyObject
*_wrap_wxDateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
* _resultobj
;
3040 wxDateTime
* _result
;
3042 wxDateTime::Month _arg1
;
3043 PyObject
* _argo0
= 0;
3044 char *_kwnames
[] = { "self","month", NULL
};
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetMonth",_kwnames
,&_argo0
,&_arg1
))
3051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMonth. Expected _wxDateTime_p.");
3058 wxPy_BEGIN_ALLOW_THREADS
;
3059 wxDateTime
& _result_ref
= wxDateTime_SetMonth(_arg0
,_arg1
);
3060 _result
= (wxDateTime
*) &_result_ref
;
3062 wxPy_END_ALLOW_THREADS
;
3064 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3065 _resultobj
= Py_BuildValue("s",_ptemp
);
3068 _resultobj
= Py_None
;
3073 #define wxDateTime_SetDay(_swigobj,_swigarg0) (_swigobj->SetDay(_swigarg0))
3074 static PyObject
*_wrap_wxDateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
* _resultobj
;
3076 wxDateTime
* _result
;
3078 wxDateTime::wxDateTime_t _arg1
;
3079 PyObject
* _argo0
= 0;
3080 char *_kwnames
[] = { "self","day", NULL
};
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetDay",_kwnames
,&_argo0
,&_arg1
))
3087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetDay. Expected _wxDateTime_p.");
3094 wxPy_BEGIN_ALLOW_THREADS
;
3095 wxDateTime
& _result_ref
= wxDateTime_SetDay(_arg0
,_arg1
);
3096 _result
= (wxDateTime
*) &_result_ref
;
3098 wxPy_END_ALLOW_THREADS
;
3100 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3101 _resultobj
= Py_BuildValue("s",_ptemp
);
3104 _resultobj
= Py_None
;
3109 #define wxDateTime_SetHour(_swigobj,_swigarg0) (_swigobj->SetHour(_swigarg0))
3110 static PyObject
*_wrap_wxDateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3111 PyObject
* _resultobj
;
3112 wxDateTime
* _result
;
3114 wxDateTime::wxDateTime_t _arg1
;
3115 PyObject
* _argo0
= 0;
3116 char *_kwnames
[] = { "self","hour", NULL
};
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetHour",_kwnames
,&_argo0
,&_arg1
))
3123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHour. Expected _wxDateTime_p.");
3130 wxPy_BEGIN_ALLOW_THREADS
;
3131 wxDateTime
& _result_ref
= wxDateTime_SetHour(_arg0
,_arg1
);
3132 _result
= (wxDateTime
*) &_result_ref
;
3134 wxPy_END_ALLOW_THREADS
;
3136 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3137 _resultobj
= Py_BuildValue("s",_ptemp
);
3140 _resultobj
= Py_None
;
3145 #define wxDateTime_SetMinute(_swigobj,_swigarg0) (_swigobj->SetMinute(_swigarg0))
3146 static PyObject
*_wrap_wxDateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
* _resultobj
;
3148 wxDateTime
* _result
;
3150 wxDateTime::wxDateTime_t _arg1
;
3151 PyObject
* _argo0
= 0;
3152 char *_kwnames
[] = { "self","minute", NULL
};
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMinute",_kwnames
,&_argo0
,&_arg1
))
3159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMinute. Expected _wxDateTime_p.");
3166 wxPy_BEGIN_ALLOW_THREADS
;
3167 wxDateTime
& _result_ref
= wxDateTime_SetMinute(_arg0
,_arg1
);
3168 _result
= (wxDateTime
*) &_result_ref
;
3170 wxPy_END_ALLOW_THREADS
;
3172 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3173 _resultobj
= Py_BuildValue("s",_ptemp
);
3176 _resultobj
= Py_None
;
3181 #define wxDateTime_SetSecond(_swigobj,_swigarg0) (_swigobj->SetSecond(_swigarg0))
3182 static PyObject
*_wrap_wxDateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
* _resultobj
;
3184 wxDateTime
* _result
;
3186 wxDateTime::wxDateTime_t _arg1
;
3187 PyObject
* _argo0
= 0;
3188 char *_kwnames
[] = { "self","second", NULL
};
3192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetSecond",_kwnames
,&_argo0
,&_arg1
))
3195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetSecond. Expected _wxDateTime_p.");
3202 wxPy_BEGIN_ALLOW_THREADS
;
3203 wxDateTime
& _result_ref
= wxDateTime_SetSecond(_arg0
,_arg1
);
3204 _result
= (wxDateTime
*) &_result_ref
;
3206 wxPy_END_ALLOW_THREADS
;
3208 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3209 _resultobj
= Py_BuildValue("s",_ptemp
);
3212 _resultobj
= Py_None
;
3217 #define wxDateTime_SetMillisecond(_swigobj,_swigarg0) (_swigobj->SetMillisecond(_swigarg0))
3218 static PyObject
*_wrap_wxDateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
* _resultobj
;
3220 wxDateTime
* _result
;
3222 wxDateTime::wxDateTime_t _arg1
;
3223 PyObject
* _argo0
= 0;
3224 char *_kwnames
[] = { "self","millisecond", NULL
};
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMillisecond",_kwnames
,&_argo0
,&_arg1
))
3231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMillisecond. Expected _wxDateTime_p.");
3238 wxPy_BEGIN_ALLOW_THREADS
;
3239 wxDateTime
& _result_ref
= wxDateTime_SetMillisecond(_arg0
,_arg1
);
3240 _result
= (wxDateTime
*) &_result_ref
;
3242 wxPy_END_ALLOW_THREADS
;
3244 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3245 _resultobj
= Py_BuildValue("s",_ptemp
);
3248 _resultobj
= Py_None
;
3253 #define wxDateTime_SetToWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->SetToWeekDayInSameWeek(_swigarg0))
3254 static PyObject
*_wrap_wxDateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
* _resultobj
;
3256 wxDateTime
* _result
;
3258 wxDateTime::WeekDay _arg1
;
3259 PyObject
* _argo0
= 0;
3260 char *_kwnames
[] = { "self","weekday", NULL
};
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
))
3267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDayInSameWeek. Expected _wxDateTime_p.");
3274 wxPy_BEGIN_ALLOW_THREADS
;
3275 wxDateTime
& _result_ref
= wxDateTime_SetToWeekDayInSameWeek(_arg0
,_arg1
);
3276 _result
= (wxDateTime
*) &_result_ref
;
3278 wxPy_END_ALLOW_THREADS
;
3280 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3281 _resultobj
= Py_BuildValue("s",_ptemp
);
3284 _resultobj
= Py_None
;
3289 #define wxDateTime_GetWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->GetWeekDayInSameWeek(_swigarg0))
3290 static PyObject
*_wrap_wxDateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3291 PyObject
* _resultobj
;
3292 wxDateTime
* _result
;
3294 wxDateTime::WeekDay _arg1
;
3295 PyObject
* _argo0
= 0;
3296 char *_kwnames
[] = { "self","weekday", NULL
};
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
))
3303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDayInSameWeek. Expected _wxDateTime_p.");
3310 wxPy_BEGIN_ALLOW_THREADS
;
3311 _result
= new wxDateTime (wxDateTime_GetWeekDayInSameWeek(_arg0
,_arg1
));
3313 wxPy_END_ALLOW_THREADS
;
3314 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3315 _resultobj
= Py_BuildValue("s",_ptemp
);
3319 #define wxDateTime_SetToNextWeekDay(_swigobj,_swigarg0) (_swigobj->SetToNextWeekDay(_swigarg0))
3320 static PyObject
*_wrap_wxDateTime_SetToNextWeekDay(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_SetToNextWeekDay",_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_SetToNextWeekDay. Expected _wxDateTime_p.");
3340 wxPy_BEGIN_ALLOW_THREADS
;
3341 wxDateTime
& _result_ref
= wxDateTime_SetToNextWeekDay(_arg0
,_arg1
);
3342 _result
= (wxDateTime
*) &_result_ref
;
3344 wxPy_END_ALLOW_THREADS
;
3346 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3347 _resultobj
= Py_BuildValue("s",_ptemp
);
3350 _resultobj
= Py_None
;
3355 #define wxDateTime_GetNextWeekDay(_swigobj,_swigarg0) (_swigobj->GetNextWeekDay(_swigarg0))
3356 static PyObject
*_wrap_wxDateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
* _resultobj
;
3358 wxDateTime
* _result
;
3360 wxDateTime::WeekDay _arg1
;
3361 PyObject
* _argo0
= 0;
3362 char *_kwnames
[] = { "self","weekday", NULL
};
3366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
3369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetNextWeekDay. Expected _wxDateTime_p.");
3376 wxPy_BEGIN_ALLOW_THREADS
;
3377 _result
= new wxDateTime (wxDateTime_GetNextWeekDay(_arg0
,_arg1
));
3379 wxPy_END_ALLOW_THREADS
;
3380 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3381 _resultobj
= Py_BuildValue("s",_ptemp
);
3385 #define wxDateTime_SetToPrevWeekDay(_swigobj,_swigarg0) (_swigobj->SetToPrevWeekDay(_swigarg0))
3386 static PyObject
*_wrap_wxDateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3387 PyObject
* _resultobj
;
3388 wxDateTime
* _result
;
3390 wxDateTime::WeekDay _arg1
;
3391 PyObject
* _argo0
= 0;
3392 char *_kwnames
[] = { "self","weekday", NULL
};
3396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToPrevWeekDay. Expected _wxDateTime_p.");
3406 wxPy_BEGIN_ALLOW_THREADS
;
3407 wxDateTime
& _result_ref
= wxDateTime_SetToPrevWeekDay(_arg0
,_arg1
);
3408 _result
= (wxDateTime
*) &_result_ref
;
3410 wxPy_END_ALLOW_THREADS
;
3412 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3413 _resultobj
= Py_BuildValue("s",_ptemp
);
3416 _resultobj
= Py_None
;
3421 #define wxDateTime_GetPrevWeekDay(_swigobj,_swigarg0) (_swigobj->GetPrevWeekDay(_swigarg0))
3422 static PyObject
*_wrap_wxDateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
* _resultobj
;
3424 wxDateTime
* _result
;
3426 wxDateTime::WeekDay _arg1
;
3427 PyObject
* _argo0
= 0;
3428 char *_kwnames
[] = { "self","weekday", NULL
};
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetPrevWeekDay. Expected _wxDateTime_p.");
3442 wxPy_BEGIN_ALLOW_THREADS
;
3443 _result
= new wxDateTime (wxDateTime_GetPrevWeekDay(_arg0
,_arg1
));
3445 wxPy_END_ALLOW_THREADS
;
3446 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3447 _resultobj
= Py_BuildValue("s",_ptemp
);
3451 #define wxDateTime_SetToWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetToWeekDay(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3452 static PyObject
*_wrap_wxDateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
* _resultobj
;
3456 wxDateTime::WeekDay _arg1
;
3457 int _arg2
= (int ) 1;
3458 wxDateTime::Month _arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3459 int _arg4
= (int ) wxDateTime::Inv_Year
;
3460 PyObject
* _argo0
= 0;
3461 char *_kwnames
[] = { "self","weekday","n","month","year", NULL
};
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iii:wxDateTime_SetToWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDay. Expected _wxDateTime_p.");
3474 wxPy_BEGIN_ALLOW_THREADS
;
3475 _result
= (bool )wxDateTime_SetToWeekDay(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3477 wxPy_END_ALLOW_THREADS
;
3478 } _resultobj
= Py_BuildValue("i",_result
);
3482 #define wxDateTime_GetWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetWeekDay(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3483 static PyObject
*_wrap_wxDateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
* _resultobj
;
3485 wxDateTime
* _result
;
3487 wxDateTime::WeekDay _arg1
;
3488 int _arg2
= (int ) 1;
3489 wxDateTime::Month _arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3490 int _arg4
= (int ) wxDateTime::Inv_Year
;
3491 PyObject
* _argo0
= 0;
3492 char *_kwnames
[] = { "self","weekday","n","month","year", NULL
};
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iii:wxDateTime_GetWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDay. Expected _wxDateTime_p.");
3506 wxPy_BEGIN_ALLOW_THREADS
;
3507 _result
= new wxDateTime (wxDateTime_GetWeekDay(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
));
3509 wxPy_END_ALLOW_THREADS
;
3510 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3511 _resultobj
= Py_BuildValue("s",_ptemp
);
3515 #define wxDateTime_SetToLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetToLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3516 static PyObject
*_wrap_wxDateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
* _resultobj
;
3520 wxDateTime::WeekDay _arg1
;
3521 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3522 int _arg3
= (int ) wxDateTime::Inv_Year
;
3523 PyObject
* _argo0
= 0;
3524 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_SetToLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastWeekDay. Expected _wxDateTime_p.");
3537 wxPy_BEGIN_ALLOW_THREADS
;
3538 _result
= (bool )wxDateTime_SetToLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
);
3540 wxPy_END_ALLOW_THREADS
;
3541 } _resultobj
= Py_BuildValue("i",_result
);
3545 #define wxDateTime_GetLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3546 static PyObject
*_wrap_wxDateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
* _resultobj
;
3548 wxDateTime
* _result
;
3550 wxDateTime::WeekDay _arg1
;
3551 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3552 int _arg3
= (int ) wxDateTime::Inv_Year
;
3553 PyObject
* _argo0
= 0;
3554 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_GetLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastWeekDay. Expected _wxDateTime_p.");
3568 wxPy_BEGIN_ALLOW_THREADS
;
3569 _result
= new wxDateTime (wxDateTime_GetLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
));
3571 wxPy_END_ALLOW_THREADS
;
3572 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3573 _resultobj
= Py_BuildValue("s",_ptemp
);
3577 #define wxDateTime_SetToTheWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToTheWeek(_swigarg0,_swigarg1))
3578 static PyObject
*_wrap_wxDateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
* _resultobj
;
3582 wxDateTime::wxDateTime_t _arg1
;
3583 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3584 PyObject
* _argo0
= 0;
3585 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_SetToTheWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToTheWeek. Expected _wxDateTime_p.");
3598 wxPy_BEGIN_ALLOW_THREADS
;
3599 _result
= (bool )wxDateTime_SetToTheWeek(_arg0
,_arg1
,_arg2
);
3601 wxPy_END_ALLOW_THREADS
;
3602 } _resultobj
= Py_BuildValue("i",_result
);
3606 #define wxDateTime_GetWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeek(_swigarg0,_swigarg1))
3607 static PyObject
*_wrap_wxDateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3608 PyObject
* _resultobj
;
3609 wxDateTime
* _result
;
3611 wxDateTime::wxDateTime_t _arg1
;
3612 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3613 PyObject
* _argo0
= 0;
3614 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_GetWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeek. Expected _wxDateTime_p.");
3628 wxPy_BEGIN_ALLOW_THREADS
;
3629 _result
= new wxDateTime (wxDateTime_GetWeek(_arg0
,_arg1
,_arg2
));
3631 wxPy_END_ALLOW_THREADS
;
3632 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3633 _resultobj
= Py_BuildValue("s",_ptemp
);
3637 #define wxDateTime_SetToLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToLastMonthDay(_swigarg0,_swigarg1))
3638 static PyObject
*_wrap_wxDateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
* _resultobj
;
3640 wxDateTime
* _result
;
3642 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3643 int _arg2
= (int ) wxDateTime::Inv_Year
;
3644 PyObject
* _argo0
= 0;
3645 char *_kwnames
[] = { "self","month","year", NULL
};
3649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_SetToLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastMonthDay. Expected _wxDateTime_p.");
3659 wxPy_BEGIN_ALLOW_THREADS
;
3660 wxDateTime
& _result_ref
= wxDateTime_SetToLastMonthDay(_arg0
,_arg1
,_arg2
);
3661 _result
= (wxDateTime
*) &_result_ref
;
3663 wxPy_END_ALLOW_THREADS
;
3665 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3666 _resultobj
= Py_BuildValue("s",_ptemp
);
3669 _resultobj
= Py_None
;
3674 #define wxDateTime_GetLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastMonthDay(_swigarg0,_swigarg1))
3675 static PyObject
*_wrap_wxDateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
* _resultobj
;
3677 wxDateTime
* _result
;
3679 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3680 int _arg2
= (int ) wxDateTime::Inv_Year
;
3681 PyObject
* _argo0
= 0;
3682 char *_kwnames
[] = { "self","month","year", NULL
};
3686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_GetLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastMonthDay. Expected _wxDateTime_p.");
3696 wxPy_BEGIN_ALLOW_THREADS
;
3697 _result
= new wxDateTime (wxDateTime_GetLastMonthDay(_arg0
,_arg1
,_arg2
));
3699 wxPy_END_ALLOW_THREADS
;
3700 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3701 _resultobj
= Py_BuildValue("s",_ptemp
);
3705 #define wxDateTime_SetToYearDay(_swigobj,_swigarg0) (_swigobj->SetToYearDay(_swigarg0))
3706 static PyObject
*_wrap_wxDateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
* _resultobj
;
3708 wxDateTime
* _result
;
3710 wxDateTime::wxDateTime_t _arg1
;
3711 PyObject
* _argo0
= 0;
3712 char *_kwnames
[] = { "self","yday", NULL
};
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetToYearDay",_kwnames
,&_argo0
,&_arg1
))
3719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToYearDay. Expected _wxDateTime_p.");
3726 wxPy_BEGIN_ALLOW_THREADS
;
3727 wxDateTime
& _result_ref
= wxDateTime_SetToYearDay(_arg0
,_arg1
);
3728 _result
= (wxDateTime
*) &_result_ref
;
3730 wxPy_END_ALLOW_THREADS
;
3732 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3733 _resultobj
= Py_BuildValue("s",_ptemp
);
3736 _resultobj
= Py_None
;
3741 #define wxDateTime_GetYearDay(_swigobj,_swigarg0) (_swigobj->GetYearDay(_swigarg0))
3742 static PyObject
*_wrap_wxDateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
* _resultobj
;
3744 wxDateTime
* _result
;
3746 wxDateTime::wxDateTime_t _arg1
;
3747 PyObject
* _argo0
= 0;
3748 char *_kwnames
[] = { "self","yday", NULL
};
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_GetYearDay",_kwnames
,&_argo0
,&_arg1
))
3755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYearDay. Expected _wxDateTime_p.");
3762 wxPy_BEGIN_ALLOW_THREADS
;
3763 _result
= new wxDateTime (wxDateTime_GetYearDay(_arg0
,_arg1
));
3765 wxPy_END_ALLOW_THREADS
;
3766 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3767 _resultobj
= Py_BuildValue("s",_ptemp
);
3771 #define wxDateTime_GetJulianDayNumber(_swigobj) (_swigobj->GetJulianDayNumber())
3772 static PyObject
*_wrap_wxDateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
* _resultobj
;
3776 PyObject
* _argo0
= 0;
3777 char *_kwnames
[] = { "self", NULL
};
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJulianDayNumber",_kwnames
,&_argo0
))
3783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJulianDayNumber. Expected _wxDateTime_p.");
3790 wxPy_BEGIN_ALLOW_THREADS
;
3791 _result
= (double )wxDateTime_GetJulianDayNumber(_arg0
);
3793 wxPy_END_ALLOW_THREADS
;
3794 } _resultobj
= Py_BuildValue("d",_result
);
3798 #define wxDateTime_GetJDN(_swigobj) (_swigobj->GetJDN())
3799 static PyObject
*_wrap_wxDateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
* _resultobj
;
3803 PyObject
* _argo0
= 0;
3804 char *_kwnames
[] = { "self", NULL
};
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJDN",_kwnames
,&_argo0
))
3810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJDN. Expected _wxDateTime_p.");
3817 wxPy_BEGIN_ALLOW_THREADS
;
3818 _result
= (double )wxDateTime_GetJDN(_arg0
);
3820 wxPy_END_ALLOW_THREADS
;
3821 } _resultobj
= Py_BuildValue("d",_result
);
3825 #define wxDateTime_GetModifiedJulianDayNumber(_swigobj) (_swigobj->GetModifiedJulianDayNumber())
3826 static PyObject
*_wrap_wxDateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3827 PyObject
* _resultobj
;
3830 PyObject
* _argo0
= 0;
3831 char *_kwnames
[] = { "self", NULL
};
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetModifiedJulianDayNumber",_kwnames
,&_argo0
))
3837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetModifiedJulianDayNumber. Expected _wxDateTime_p.");
3844 wxPy_BEGIN_ALLOW_THREADS
;
3845 _result
= (double )wxDateTime_GetModifiedJulianDayNumber(_arg0
);
3847 wxPy_END_ALLOW_THREADS
;
3848 } _resultobj
= Py_BuildValue("d",_result
);
3852 #define wxDateTime_GetMJD(_swigobj) (_swigobj->GetMJD())
3853 static PyObject
*_wrap_wxDateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3854 PyObject
* _resultobj
;
3857 PyObject
* _argo0
= 0;
3858 char *_kwnames
[] = { "self", NULL
};
3861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetMJD",_kwnames
,&_argo0
))
3864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMJD. Expected _wxDateTime_p.");
3871 wxPy_BEGIN_ALLOW_THREADS
;
3872 _result
= (double )wxDateTime_GetMJD(_arg0
);
3874 wxPy_END_ALLOW_THREADS
;
3875 } _resultobj
= Py_BuildValue("d",_result
);
3879 #define wxDateTime_GetRataDie(_swigobj) (_swigobj->GetRataDie())
3880 static PyObject
*_wrap_wxDateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3881 PyObject
* _resultobj
;
3884 PyObject
* _argo0
= 0;
3885 char *_kwnames
[] = { "self", NULL
};
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetRataDie",_kwnames
,&_argo0
))
3891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetRataDie. Expected _wxDateTime_p.");
3898 wxPy_BEGIN_ALLOW_THREADS
;
3899 _result
= (double )wxDateTime_GetRataDie(_arg0
);
3901 wxPy_END_ALLOW_THREADS
;
3902 } _resultobj
= Py_BuildValue("d",_result
);
3906 #define wxDateTime_ToTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToTimezone(_swigarg0,_swigarg1))
3907 static PyObject
*_wrap_wxDateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3908 PyObject
* _resultobj
;
3909 wxDateTime
* _result
;
3911 wxDateTime::TimeZone
* _arg1
;
3912 bool _arg2
= (bool ) FALSE
;
3913 PyObject
* _argo0
= 0;
3914 PyObject
* _obj1
= 0;
3915 int tempbool2
= (int) FALSE
;
3916 char *_kwnames
[] = { "self","tz","noDST", NULL
};
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_ToTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToTimezone. Expected _wxDateTime_p.");
3930 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3932 _arg2
= (bool ) tempbool2
;
3934 wxPy_BEGIN_ALLOW_THREADS
;
3935 _result
= new wxDateTime (wxDateTime_ToTimezone(_arg0
,*_arg1
,_arg2
));
3937 wxPy_END_ALLOW_THREADS
;
3938 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3939 _resultobj
= Py_BuildValue("s",_ptemp
);
3941 if (_arg1
) delete _arg1
;
3946 #define wxDateTime_MakeTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeTimezone(_swigarg0,_swigarg1))
3947 static PyObject
*_wrap_wxDateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
* _resultobj
;
3949 wxDateTime
* _result
;
3951 wxDateTime::TimeZone
* _arg1
;
3952 bool _arg2
= (bool ) FALSE
;
3953 PyObject
* _argo0
= 0;
3954 PyObject
* _obj1
= 0;
3955 int tempbool2
= (int) FALSE
;
3956 char *_kwnames
[] = { "self","tz","noDST", NULL
};
3960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_MakeTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeTimezone. Expected _wxDateTime_p.");
3970 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3972 _arg2
= (bool ) tempbool2
;
3974 wxPy_BEGIN_ALLOW_THREADS
;
3975 wxDateTime
& _result_ref
= wxDateTime_MakeTimezone(_arg0
,*_arg1
,_arg2
);
3976 _result
= (wxDateTime
*) &_result_ref
;
3978 wxPy_END_ALLOW_THREADS
;
3980 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3981 _resultobj
= Py_BuildValue("s",_ptemp
);
3984 _resultobj
= Py_None
;
3987 if (_arg1
) delete _arg1
;
3992 #define wxDateTime_ToGMT(_swigobj,_swigarg0) (_swigobj->ToGMT(_swigarg0))
3993 static PyObject
*_wrap_wxDateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
* _resultobj
;
3995 wxDateTime
* _result
;
3997 bool _arg1
= (bool ) FALSE
;
3998 PyObject
* _argo0
= 0;
3999 int tempbool1
= (int) FALSE
;
4000 char *_kwnames
[] = { "self","noDST", NULL
};
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_ToGMT",_kwnames
,&_argo0
,&tempbool1
))
4007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToGMT. Expected _wxDateTime_p.");
4013 _arg1
= (bool ) tempbool1
;
4015 wxPy_BEGIN_ALLOW_THREADS
;
4016 _result
= new wxDateTime (wxDateTime_ToGMT(_arg0
,_arg1
));
4018 wxPy_END_ALLOW_THREADS
;
4019 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4020 _resultobj
= Py_BuildValue("s",_ptemp
);
4024 #define wxDateTime_MakeGMT(_swigobj,_swigarg0) (_swigobj->MakeGMT(_swigarg0))
4025 static PyObject
*_wrap_wxDateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
* _resultobj
;
4027 wxDateTime
* _result
;
4029 bool _arg1
= (bool ) FALSE
;
4030 PyObject
* _argo0
= 0;
4031 int tempbool1
= (int) FALSE
;
4032 char *_kwnames
[] = { "self","noDST", NULL
};
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_MakeGMT",_kwnames
,&_argo0
,&tempbool1
))
4039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeGMT. Expected _wxDateTime_p.");
4045 _arg1
= (bool ) tempbool1
;
4047 wxPy_BEGIN_ALLOW_THREADS
;
4048 wxDateTime
& _result_ref
= wxDateTime_MakeGMT(_arg0
,_arg1
);
4049 _result
= (wxDateTime
*) &_result_ref
;
4051 wxPy_END_ALLOW_THREADS
;
4053 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4054 _resultobj
= Py_BuildValue("s",_ptemp
);
4057 _resultobj
= Py_None
;
4062 #define wxDateTime_IsDST(_swigobj,_swigarg0) (_swigobj->IsDST(_swigarg0))
4063 static PyObject
*_wrap_wxDateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4064 PyObject
* _resultobj
;
4067 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
4068 PyObject
* _argo0
= 0;
4069 char *_kwnames
[] = { "self","country", NULL
};
4072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsDST",_kwnames
,&_argo0
,&_arg1
))
4075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsDST. Expected _wxDateTime_p.");
4082 wxPy_BEGIN_ALLOW_THREADS
;
4083 _result
= (int )wxDateTime_IsDST(_arg0
,_arg1
);
4085 wxPy_END_ALLOW_THREADS
;
4086 } _resultobj
= Py_BuildValue("i",_result
);
4090 #define wxDateTime_IsValid(_swigobj) (_swigobj->IsValid())
4091 static PyObject
*_wrap_wxDateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
* _resultobj
;
4095 PyObject
* _argo0
= 0;
4096 char *_kwnames
[] = { "self", NULL
};
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_IsValid",_kwnames
,&_argo0
))
4102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsValid. Expected _wxDateTime_p.");
4109 wxPy_BEGIN_ALLOW_THREADS
;
4110 _result
= (bool )wxDateTime_IsValid(_arg0
);
4112 wxPy_END_ALLOW_THREADS
;
4113 } _resultobj
= Py_BuildValue("i",_result
);
4117 #define wxDateTime_GetTicks(_swigobj) (_swigobj->GetTicks())
4118 static PyObject
*_wrap_wxDateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
* _resultobj
;
4122 PyObject
* _argo0
= 0;
4123 char *_kwnames
[] = { "self", NULL
};
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetTicks",_kwnames
,&_argo0
))
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_GetTicks. Expected _wxDateTime_p.");
4136 wxPy_BEGIN_ALLOW_THREADS
;
4137 _result
= (time_t )wxDateTime_GetTicks(_arg0
);
4139 wxPy_END_ALLOW_THREADS
;
4140 } _resultobj
= Py_BuildValue("i",_result
);
4144 #define wxDateTime_GetYear(_swigobj,_swigarg0) (_swigobj->GetYear(_swigarg0))
4145 static PyObject
*_wrap_wxDateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4146 PyObject
* _resultobj
;
4149 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4150 PyObject
* _argo0
= 0;
4151 PyObject
* _obj1
= 0;
4152 char *_kwnames
[] = { "self","tz", NULL
};
4155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetYear",_kwnames
,&_argo0
,&_obj1
))
4158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYear. Expected _wxDateTime_p.");
4166 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4169 wxPy_BEGIN_ALLOW_THREADS
;
4170 _result
= (int )wxDateTime_GetYear(_arg0
,*_arg1
);
4172 wxPy_END_ALLOW_THREADS
;
4173 } _resultobj
= Py_BuildValue("i",_result
);
4175 if (_arg1
) delete _arg1
;
4180 #define wxDateTime_GetMonth(_swigobj,_swigarg0) (_swigobj->GetMonth(_swigarg0))
4181 static PyObject
*_wrap_wxDateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
* _resultobj
;
4183 wxDateTime::Month _result
;
4185 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4186 PyObject
* _argo0
= 0;
4187 PyObject
* _obj1
= 0;
4188 char *_kwnames
[] = { "self","tz", NULL
};
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMonth",_kwnames
,&_argo0
,&_obj1
))
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_GetMonth. Expected _wxDateTime_p.");
4202 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4205 wxPy_BEGIN_ALLOW_THREADS
;
4206 _result
= (wxDateTime::Month
)wxDateTime_GetMonth(_arg0
,*_arg1
);
4208 wxPy_END_ALLOW_THREADS
;
4209 } _resultobj
= Py_BuildValue("i",_result
);
4211 if (_arg1
) delete _arg1
;
4216 #define wxDateTime_GetDay(_swigobj,_swigarg0) (_swigobj->GetDay(_swigarg0))
4217 static PyObject
*_wrap_wxDateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
* _resultobj
;
4219 wxDateTime::wxDateTime_t _result
;
4221 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4222 PyObject
* _argo0
= 0;
4223 PyObject
* _obj1
= 0;
4224 char *_kwnames
[] = { "self","tz", NULL
};
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDay",_kwnames
,&_argo0
,&_obj1
))
4230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDay. Expected _wxDateTime_p.");
4238 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4241 wxPy_BEGIN_ALLOW_THREADS
;
4242 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDay(_arg0
,*_arg1
);
4244 wxPy_END_ALLOW_THREADS
;
4245 } _resultobj
= Py_BuildValue("h",_result
);
4247 if (_arg1
) delete _arg1
;
4252 #define wxDateTime_GetHour(_swigobj,_swigarg0) (_swigobj->GetHour(_swigarg0))
4253 static PyObject
*_wrap_wxDateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
* _resultobj
;
4255 wxDateTime::wxDateTime_t _result
;
4257 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4258 PyObject
* _argo0
= 0;
4259 PyObject
* _obj1
= 0;
4260 char *_kwnames
[] = { "self","tz", NULL
};
4263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetHour",_kwnames
,&_argo0
,&_obj1
))
4266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetHour. Expected _wxDateTime_p.");
4274 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4277 wxPy_BEGIN_ALLOW_THREADS
;
4278 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetHour(_arg0
,*_arg1
);
4280 wxPy_END_ALLOW_THREADS
;
4281 } _resultobj
= Py_BuildValue("h",_result
);
4283 if (_arg1
) delete _arg1
;
4288 #define wxDateTime_GetMinute(_swigobj,_swigarg0) (_swigobj->GetMinute(_swigarg0))
4289 static PyObject
*_wrap_wxDateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
* _resultobj
;
4291 wxDateTime::wxDateTime_t _result
;
4293 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4294 PyObject
* _argo0
= 0;
4295 PyObject
* _obj1
= 0;
4296 char *_kwnames
[] = { "self","tz", NULL
};
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMinute",_kwnames
,&_argo0
,&_obj1
))
4302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMinute. Expected _wxDateTime_p.");
4310 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4313 wxPy_BEGIN_ALLOW_THREADS
;
4314 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMinute(_arg0
,*_arg1
);
4316 wxPy_END_ALLOW_THREADS
;
4317 } _resultobj
= Py_BuildValue("h",_result
);
4319 if (_arg1
) delete _arg1
;
4324 #define wxDateTime_GetSecond(_swigobj,_swigarg0) (_swigobj->GetSecond(_swigarg0))
4325 static PyObject
*_wrap_wxDateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
* _resultobj
;
4327 wxDateTime::wxDateTime_t _result
;
4329 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4330 PyObject
* _argo0
= 0;
4331 PyObject
* _obj1
= 0;
4332 char *_kwnames
[] = { "self","tz", NULL
};
4335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetSecond",_kwnames
,&_argo0
,&_obj1
))
4338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetSecond. Expected _wxDateTime_p.");
4346 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4349 wxPy_BEGIN_ALLOW_THREADS
;
4350 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetSecond(_arg0
,*_arg1
);
4352 wxPy_END_ALLOW_THREADS
;
4353 } _resultobj
= Py_BuildValue("h",_result
);
4355 if (_arg1
) delete _arg1
;
4360 #define wxDateTime_GetMillisecond(_swigobj,_swigarg0) (_swigobj->GetMillisecond(_swigarg0))
4361 static PyObject
*_wrap_wxDateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
* _resultobj
;
4363 wxDateTime::wxDateTime_t _result
;
4365 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4366 PyObject
* _argo0
= 0;
4367 PyObject
* _obj1
= 0;
4368 char *_kwnames
[] = { "self","tz", NULL
};
4371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMillisecond",_kwnames
,&_argo0
,&_obj1
))
4374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMillisecond. Expected _wxDateTime_p.");
4382 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4385 wxPy_BEGIN_ALLOW_THREADS
;
4386 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMillisecond(_arg0
,*_arg1
);
4388 wxPy_END_ALLOW_THREADS
;
4389 } _resultobj
= Py_BuildValue("h",_result
);
4391 if (_arg1
) delete _arg1
;
4396 #define wxDateTime_GetDayOfYear(_swigobj,_swigarg0) (_swigobj->GetDayOfYear(_swigarg0))
4397 static PyObject
*_wrap_wxDateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
* _resultobj
;
4399 wxDateTime::wxDateTime_t _result
;
4401 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4402 PyObject
* _argo0
= 0;
4403 PyObject
* _obj1
= 0;
4404 char *_kwnames
[] = { "self","tz", NULL
};
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDayOfYear",_kwnames
,&_argo0
,&_obj1
))
4410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDayOfYear. Expected _wxDateTime_p.");
4418 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4421 wxPy_BEGIN_ALLOW_THREADS
;
4422 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDayOfYear(_arg0
,*_arg1
);
4424 wxPy_END_ALLOW_THREADS
;
4425 } _resultobj
= Py_BuildValue("h",_result
);
4427 if (_arg1
) delete _arg1
;
4432 #define wxDateTime_GetWeekOfYear(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfYear(_swigarg0,_swigarg1))
4433 static PyObject
*_wrap_wxDateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
* _resultobj
;
4435 wxDateTime::wxDateTime_t _result
;
4437 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4438 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4439 PyObject
* _argo0
= 0;
4440 PyObject
* _obj2
= 0;
4441 char *_kwnames
[] = { "self","flags","tz", NULL
};
4444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfYear",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfYear. Expected _wxDateTime_p.");
4455 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4458 wxPy_BEGIN_ALLOW_THREADS
;
4459 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfYear(_arg0
,_arg1
,*_arg2
);
4461 wxPy_END_ALLOW_THREADS
;
4462 } _resultobj
= Py_BuildValue("h",_result
);
4464 if (_arg2
) delete _arg2
;
4469 #define wxDateTime_GetWeekOfMonth(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfMonth(_swigarg0,_swigarg1))
4470 static PyObject
*_wrap_wxDateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4471 PyObject
* _resultobj
;
4472 wxDateTime::wxDateTime_t _result
;
4474 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4475 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4476 PyObject
* _argo0
= 0;
4477 PyObject
* _obj2
= 0;
4478 char *_kwnames
[] = { "self","flags","tz", NULL
};
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfMonth",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfMonth. Expected _wxDateTime_p.");
4492 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4495 wxPy_BEGIN_ALLOW_THREADS
;
4496 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfMonth(_arg0
,_arg1
,*_arg2
);
4498 wxPy_END_ALLOW_THREADS
;
4499 } _resultobj
= Py_BuildValue("h",_result
);
4501 if (_arg2
) delete _arg2
;
4506 #define wxDateTime_IsWorkDay(_swigobj,_swigarg0) (_swigobj->IsWorkDay(_swigarg0))
4507 static PyObject
*_wrap_wxDateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
* _resultobj
;
4511 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
4512 PyObject
* _argo0
= 0;
4513 char *_kwnames
[] = { "self","country", NULL
};
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsWorkDay",_kwnames
,&_argo0
,&_arg1
))
4519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsWorkDay. Expected _wxDateTime_p.");
4526 wxPy_BEGIN_ALLOW_THREADS
;
4527 _result
= (bool )wxDateTime_IsWorkDay(_arg0
,_arg1
);
4529 wxPy_END_ALLOW_THREADS
;
4530 } _resultobj
= Py_BuildValue("i",_result
);
4534 #define wxDateTime_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
4535 static PyObject
*_wrap_wxDateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4536 PyObject
* _resultobj
;
4540 PyObject
* _argo0
= 0;
4541 PyObject
* _argo1
= 0;
4542 char *_kwnames
[] = { "self","datetime", NULL
};
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
4548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4555 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4556 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4562 wxPy_BEGIN_ALLOW_THREADS
;
4563 _result
= (bool )wxDateTime_IsEqualTo(_arg0
,*_arg1
);
4565 wxPy_END_ALLOW_THREADS
;
4566 } _resultobj
= Py_BuildValue("i",_result
);
4570 #define wxDateTime_IsEarlierThan(_swigobj,_swigarg0) (_swigobj->IsEarlierThan(_swigarg0))
4571 static PyObject
*_wrap_wxDateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
* _resultobj
;
4576 PyObject
* _argo0
= 0;
4577 PyObject
* _argo1
= 0;
4578 char *_kwnames
[] = { "self","datetime", NULL
};
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEarlierThan",_kwnames
,&_argo0
,&_argo1
))
4584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4591 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4592 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4598 wxPy_BEGIN_ALLOW_THREADS
;
4599 _result
= (bool )wxDateTime_IsEarlierThan(_arg0
,*_arg1
);
4601 wxPy_END_ALLOW_THREADS
;
4602 } _resultobj
= Py_BuildValue("i",_result
);
4606 #define wxDateTime_IsLaterThan(_swigobj,_swigarg0) (_swigobj->IsLaterThan(_swigarg0))
4607 static PyObject
*_wrap_wxDateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
* _resultobj
;
4612 PyObject
* _argo0
= 0;
4613 PyObject
* _argo1
= 0;
4614 char *_kwnames
[] = { "self","datetime", NULL
};
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsLaterThan",_kwnames
,&_argo0
,&_argo1
))
4620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4627 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4628 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4634 wxPy_BEGIN_ALLOW_THREADS
;
4635 _result
= (bool )wxDateTime_IsLaterThan(_arg0
,*_arg1
);
4637 wxPy_END_ALLOW_THREADS
;
4638 } _resultobj
= Py_BuildValue("i",_result
);
4642 #define wxDateTime_IsStrictlyBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsStrictlyBetween(_swigarg0,_swigarg1))
4643 static PyObject
*_wrap_wxDateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4644 PyObject
* _resultobj
;
4649 PyObject
* _argo0
= 0;
4650 PyObject
* _argo1
= 0;
4651 PyObject
* _argo2
= 0;
4652 char *_kwnames
[] = { "self","t1","t2", NULL
};
4655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsStrictlyBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4665 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4666 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4672 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4673 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4679 wxPy_BEGIN_ALLOW_THREADS
;
4680 _result
= (bool )wxDateTime_IsStrictlyBetween(_arg0
,*_arg1
,*_arg2
);
4682 wxPy_END_ALLOW_THREADS
;
4683 } _resultobj
= Py_BuildValue("i",_result
);
4687 #define wxDateTime_IsBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsBetween(_swigarg0,_swigarg1))
4688 static PyObject
*_wrap_wxDateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
* _resultobj
;
4694 PyObject
* _argo0
= 0;
4695 PyObject
* _argo1
= 0;
4696 PyObject
* _argo2
= 0;
4697 char *_kwnames
[] = { "self","t1","t2", NULL
};
4700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4710 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4711 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4717 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4718 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4724 wxPy_BEGIN_ALLOW_THREADS
;
4725 _result
= (bool )wxDateTime_IsBetween(_arg0
,*_arg1
,*_arg2
);
4727 wxPy_END_ALLOW_THREADS
;
4728 } _resultobj
= Py_BuildValue("i",_result
);
4732 #define wxDateTime_IsSameDate(_swigobj,_swigarg0) (_swigobj->IsSameDate(_swigarg0))
4733 static PyObject
*_wrap_wxDateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4734 PyObject
* _resultobj
;
4738 PyObject
* _argo0
= 0;
4739 PyObject
* _argo1
= 0;
4740 char *_kwnames
[] = { "self","dt", NULL
};
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameDate",_kwnames
,&_argo0
,&_argo1
))
4746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4753 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4754 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4760 wxPy_BEGIN_ALLOW_THREADS
;
4761 _result
= (bool )wxDateTime_IsSameDate(_arg0
,*_arg1
);
4763 wxPy_END_ALLOW_THREADS
;
4764 } _resultobj
= Py_BuildValue("i",_result
);
4768 #define wxDateTime_IsSameTime(_swigobj,_swigarg0) (_swigobj->IsSameTime(_swigarg0))
4769 static PyObject
*_wrap_wxDateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
* _resultobj
;
4774 PyObject
* _argo0
= 0;
4775 PyObject
* _argo1
= 0;
4776 char *_kwnames
[] = { "self","dt", NULL
};
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameTime",_kwnames
,&_argo0
,&_argo1
))
4782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
4789 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4790 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
4796 wxPy_BEGIN_ALLOW_THREADS
;
4797 _result
= (bool )wxDateTime_IsSameTime(_arg0
,*_arg1
);
4799 wxPy_END_ALLOW_THREADS
;
4800 } _resultobj
= Py_BuildValue("i",_result
);
4804 #define wxDateTime_IsEqualUpTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEqualUpTo(_swigarg0,_swigarg1))
4805 static PyObject
*_wrap_wxDateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4806 PyObject
* _resultobj
;
4811 PyObject
* _argo0
= 0;
4812 PyObject
* _argo1
= 0;
4813 PyObject
* _argo2
= 0;
4814 char *_kwnames
[] = { "self","dt","ts", NULL
};
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsEqualUpTo",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4827 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4828 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4834 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4835 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTimeSpan_p")) {
4836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsEqualUpTo. Expected _wxTimeSpan_p.");
4841 wxPy_BEGIN_ALLOW_THREADS
;
4842 _result
= (bool )wxDateTime_IsEqualUpTo(_arg0
,*_arg1
,*_arg2
);
4844 wxPy_END_ALLOW_THREADS
;
4845 } _resultobj
= Py_BuildValue("i",_result
);
4849 #define wxDateTime_AddTS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4850 static PyObject
*_wrap_wxDateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4851 PyObject
* _resultobj
;
4852 wxDateTime
* _result
;
4855 PyObject
* _argo0
= 0;
4856 PyObject
* _argo1
= 0;
4857 char *_kwnames
[] = { "self","diff", NULL
};
4861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddTS",_kwnames
,&_argo0
,&_argo1
))
4864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddTS. Expected _wxDateTime_p.");
4871 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4872 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddTS. Expected _wxTimeSpan_p.");
4878 wxPy_BEGIN_ALLOW_THREADS
;
4879 wxDateTime
& _result_ref
= wxDateTime_AddTS(_arg0
,*_arg1
);
4880 _result
= (wxDateTime
*) &_result_ref
;
4882 wxPy_END_ALLOW_THREADS
;
4884 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4885 _resultobj
= Py_BuildValue("s",_ptemp
);
4888 _resultobj
= Py_None
;
4893 #define wxDateTime_AddDS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4894 static PyObject
*_wrap_wxDateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
* _resultobj
;
4896 wxDateTime
* _result
;
4899 PyObject
* _argo0
= 0;
4900 PyObject
* _argo1
= 0;
4901 char *_kwnames
[] = { "self","diff", NULL
};
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddDS",_kwnames
,&_argo0
,&_argo1
))
4908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddDS. Expected _wxDateTime_p.");
4915 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4916 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddDS. Expected _wxDateSpan_p.");
4922 wxPy_BEGIN_ALLOW_THREADS
;
4923 wxDateTime
& _result_ref
= wxDateTime_AddDS(_arg0
,*_arg1
);
4924 _result
= (wxDateTime
*) &_result_ref
;
4926 wxPy_END_ALLOW_THREADS
;
4928 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4929 _resultobj
= Py_BuildValue("s",_ptemp
);
4932 _resultobj
= Py_None
;
4937 #define wxDateTime_SubtractTS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4938 static PyObject
*_wrap_wxDateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
* _resultobj
;
4940 wxDateTime
* _result
;
4943 PyObject
* _argo0
= 0;
4944 PyObject
* _argo1
= 0;
4945 char *_kwnames
[] = { "self","diff", NULL
};
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractTS",_kwnames
,&_argo0
,&_argo1
))
4952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractTS. Expected _wxDateTime_p.");
4959 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4960 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractTS. Expected _wxTimeSpan_p.");
4966 wxPy_BEGIN_ALLOW_THREADS
;
4967 wxDateTime
& _result_ref
= wxDateTime_SubtractTS(_arg0
,*_arg1
);
4968 _result
= (wxDateTime
*) &_result_ref
;
4970 wxPy_END_ALLOW_THREADS
;
4972 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4973 _resultobj
= Py_BuildValue("s",_ptemp
);
4976 _resultobj
= Py_None
;
4981 #define wxDateTime_SubtractDS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4982 static PyObject
*_wrap_wxDateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
* _resultobj
;
4984 wxDateTime
* _result
;
4987 PyObject
* _argo0
= 0;
4988 PyObject
* _argo1
= 0;
4989 char *_kwnames
[] = { "self","diff", NULL
};
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractDS",_kwnames
,&_argo0
,&_argo1
))
4996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractDS. Expected _wxDateTime_p.");
5003 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5004 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractDS. Expected _wxDateSpan_p.");
5010 wxPy_BEGIN_ALLOW_THREADS
;
5011 wxDateTime
& _result_ref
= wxDateTime_SubtractDS(_arg0
,*_arg1
);
5012 _result
= (wxDateTime
*) &_result_ref
;
5014 wxPy_END_ALLOW_THREADS
;
5016 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
5017 _resultobj
= Py_BuildValue("s",_ptemp
);
5020 _resultobj
= Py_None
;
5025 #define wxDateTime_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5026 static PyObject
*_wrap_wxDateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5027 PyObject
* _resultobj
;
5028 wxTimeSpan
* _result
;
5031 PyObject
* _argo0
= 0;
5032 PyObject
* _argo1
= 0;
5033 char *_kwnames
[] = { "self","dt", NULL
};
5037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_Subtract",_kwnames
,&_argo0
,&_argo1
))
5040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Subtract. Expected _wxDateTime_p.");
5047 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5048 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_Subtract. Expected _wxDateTime_p.");
5054 wxPy_BEGIN_ALLOW_THREADS
;
5055 _result
= new wxTimeSpan (wxDateTime_Subtract(_arg0
,*_arg1
));
5057 wxPy_END_ALLOW_THREADS
;
5058 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5059 _resultobj
= Py_BuildValue("s",_ptemp
);
5063 static wxDateTime
wxDateTime___add__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
5064 static PyObject
*_wrap_wxDateTime___add__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
* _resultobj
;
5066 wxDateTime
* _result
;
5069 PyObject
* _argo0
= 0;
5070 PyObject
* _argo1
= 0;
5071 char *_kwnames
[] = { "self","other", NULL
};
5075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__TS",_kwnames
,&_argo0
,&_argo1
))
5078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__TS. Expected _wxDateTime_p.");
5085 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5086 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__TS. Expected _wxTimeSpan_p.");
5092 wxPy_BEGIN_ALLOW_THREADS
;
5093 _result
= new wxDateTime (wxDateTime___add__TS(_arg0
,*_arg1
));
5095 wxPy_END_ALLOW_THREADS
;
5096 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5097 _resultobj
= Py_BuildValue("s",_ptemp
);
5101 static wxDateTime
wxDateTime___add__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
5102 static PyObject
*_wrap_wxDateTime___add__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5103 PyObject
* _resultobj
;
5104 wxDateTime
* _result
;
5107 PyObject
* _argo0
= 0;
5108 PyObject
* _argo1
= 0;
5109 char *_kwnames
[] = { "self","other", NULL
};
5113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__DS",_kwnames
,&_argo0
,&_argo1
))
5116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__DS. Expected _wxDateTime_p.");
5123 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5124 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__DS. Expected _wxDateSpan_p.");
5130 wxPy_BEGIN_ALLOW_THREADS
;
5131 _result
= new wxDateTime (wxDateTime___add__DS(_arg0
,*_arg1
));
5133 wxPy_END_ALLOW_THREADS
;
5134 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5135 _resultobj
= Py_BuildValue("s",_ptemp
);
5139 static wxTimeSpan
wxDateTime___sub__DT(wxDateTime
*self
,const wxDateTime
& other
) { return *self
- other
; }
5140 static PyObject
*_wrap_wxDateTime___sub__DT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5141 PyObject
* _resultobj
;
5142 wxTimeSpan
* _result
;
5145 PyObject
* _argo0
= 0;
5146 PyObject
* _argo1
= 0;
5147 char *_kwnames
[] = { "self","other", NULL
};
5151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DT",_kwnames
,&_argo0
,&_argo1
))
5154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
5161 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5162 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
5168 wxPy_BEGIN_ALLOW_THREADS
;
5169 _result
= new wxTimeSpan (wxDateTime___sub__DT(_arg0
,*_arg1
));
5171 wxPy_END_ALLOW_THREADS
;
5172 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5173 _resultobj
= Py_BuildValue("s",_ptemp
);
5177 static wxDateTime
wxDateTime___sub__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
5178 static PyObject
*_wrap_wxDateTime___sub__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5179 PyObject
* _resultobj
;
5180 wxDateTime
* _result
;
5183 PyObject
* _argo0
= 0;
5184 PyObject
* _argo1
= 0;
5185 char *_kwnames
[] = { "self","other", NULL
};
5189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__TS",_kwnames
,&_argo0
,&_argo1
))
5192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__TS. Expected _wxDateTime_p.");
5199 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5200 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__TS. Expected _wxTimeSpan_p.");
5206 wxPy_BEGIN_ALLOW_THREADS
;
5207 _result
= new wxDateTime (wxDateTime___sub__TS(_arg0
,*_arg1
));
5209 wxPy_END_ALLOW_THREADS
;
5210 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5211 _resultobj
= Py_BuildValue("s",_ptemp
);
5215 static wxDateTime
wxDateTime___sub__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
- other
; }
5216 static PyObject
*_wrap_wxDateTime___sub__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
* _resultobj
;
5218 wxDateTime
* _result
;
5221 PyObject
* _argo0
= 0;
5222 PyObject
* _argo1
= 0;
5223 char *_kwnames
[] = { "self","other", NULL
};
5227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DS",_kwnames
,&_argo0
,&_argo1
))
5230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DS. Expected _wxDateTime_p.");
5237 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5238 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DS. Expected _wxDateSpan_p.");
5244 wxPy_BEGIN_ALLOW_THREADS
;
5245 _result
= new wxDateTime (wxDateTime___sub__DS(_arg0
,*_arg1
));
5247 wxPy_END_ALLOW_THREADS
;
5248 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5249 _resultobj
= Py_BuildValue("s",_ptemp
);
5253 static int wxDateTime___cmp__(wxDateTime
*self
,const wxDateTime
& other
) {
5254 if (*self
< other
) return -1;
5255 if (*self
== other
) return 0;
5258 static PyObject
*_wrap_wxDateTime___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
* _resultobj
;
5263 PyObject
* _argo0
= 0;
5264 PyObject
* _argo1
= 0;
5265 char *_kwnames
[] = { "self","other", NULL
};
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___cmp__",_kwnames
,&_argo0
,&_argo1
))
5271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5278 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5279 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5285 wxPy_BEGIN_ALLOW_THREADS
;
5286 _result
= (int )wxDateTime___cmp__(_arg0
,*_arg1
);
5288 wxPy_END_ALLOW_THREADS
;
5289 } _resultobj
= Py_BuildValue("i",_result
);
5293 #define wxDateTime_ParseRfc822Date(_swigobj,_swigarg0) (_swigobj->ParseRfc822Date(_swigarg0))
5294 static PyObject
*_wrap_wxDateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
* _resultobj
;
5299 PyObject
* _argo0
= 0;
5300 char *_kwnames
[] = { "self","date", NULL
};
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseRfc822Date",_kwnames
,&_argo0
,&_arg1
))
5306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseRfc822Date. Expected _wxDateTime_p.");
5313 wxPy_BEGIN_ALLOW_THREADS
;
5314 _result
= (char *)wxDateTime_ParseRfc822Date(_arg0
,_arg1
);
5316 wxPy_END_ALLOW_THREADS
;
5317 } _resultobj
= Py_BuildValue("s", _result
);
5321 #define wxDateTime_ParseFormat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ParseFormat(_swigarg0,_swigarg1,_swigarg2))
5322 static PyObject
*_wrap_wxDateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5323 PyObject
* _resultobj
;
5327 char * _arg2
= (char *) "%c";
5328 wxDateTime
* _arg3
= (wxDateTime
*) &wxDefaultDateTime
;
5329 PyObject
* _argo0
= 0;
5330 PyObject
* _argo3
= 0;
5331 char *_kwnames
[] = { "self","date","format","dateDef", NULL
};
5334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|sO:wxDateTime_ParseFormat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
5337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5344 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5345 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime_p")) {
5346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5351 wxPy_BEGIN_ALLOW_THREADS
;
5352 _result
= (char *)wxDateTime_ParseFormat(_arg0
,_arg1
,_arg2
,*_arg3
);
5354 wxPy_END_ALLOW_THREADS
;
5355 } _resultobj
= Py_BuildValue("s", _result
);
5359 #define wxDateTime_ParseDateTime(_swigobj,_swigarg0) (_swigobj->ParseDateTime(_swigarg0))
5360 static PyObject
*_wrap_wxDateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
* _resultobj
;
5365 PyObject
* _argo0
= 0;
5366 char *_kwnames
[] = { "self","datetime", NULL
};
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseDateTime",_kwnames
,&_argo0
,&_arg1
))
5372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDateTime. Expected _wxDateTime_p.");
5379 wxPy_BEGIN_ALLOW_THREADS
;
5380 _result
= (char *)wxDateTime_ParseDateTime(_arg0
,_arg1
);
5382 wxPy_END_ALLOW_THREADS
;
5383 } _resultobj
= Py_BuildValue("s", _result
);
5387 #define wxDateTime_ParseDate(_swigobj,_swigarg0) (_swigobj->ParseDate(_swigarg0))
5388 static PyObject
*_wrap_wxDateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5389 PyObject
* _resultobj
;
5393 PyObject
* _argo0
= 0;
5394 char *_kwnames
[] = { "self","date", NULL
};
5397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseDate",_kwnames
,&_argo0
,&_arg1
))
5400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDate. Expected _wxDateTime_p.");
5407 wxPy_BEGIN_ALLOW_THREADS
;
5408 _result
= (char *)wxDateTime_ParseDate(_arg0
,_arg1
);
5410 wxPy_END_ALLOW_THREADS
;
5411 } _resultobj
= Py_BuildValue("s", _result
);
5415 #define wxDateTime_ParseTime(_swigobj,_swigarg0) (_swigobj->ParseTime(_swigarg0))
5416 static PyObject
*_wrap_wxDateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
* _resultobj
;
5421 PyObject
* _argo0
= 0;
5422 char *_kwnames
[] = { "self","time", NULL
};
5425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseTime",_kwnames
,&_argo0
,&_arg1
))
5428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseTime. Expected _wxDateTime_p.");
5435 wxPy_BEGIN_ALLOW_THREADS
;
5436 _result
= (char *)wxDateTime_ParseTime(_arg0
,_arg1
);
5438 wxPy_END_ALLOW_THREADS
;
5439 } _resultobj
= Py_BuildValue("s", _result
);
5443 #define wxDateTime_Format(_swigobj,_swigarg0,_swigarg1) (_swigobj->Format(_swigarg0,_swigarg1))
5444 static PyObject
*_wrap_wxDateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
* _resultobj
;
5448 char * _arg1
= (char *) "%c";
5449 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
5450 PyObject
* _argo0
= 0;
5451 PyObject
* _obj2
= 0;
5452 char *_kwnames
[] = { "self","format","tz", NULL
};
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sO:wxDateTime_Format",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Format. Expected _wxDateTime_p.");
5466 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
5469 wxPy_BEGIN_ALLOW_THREADS
;
5470 _result
= new wxString (wxDateTime_Format(_arg0
,_arg1
,*_arg2
));
5472 wxPy_END_ALLOW_THREADS
;
5474 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5477 if (_arg2
) delete _arg2
;
5485 #define wxDateTime_FormatDate(_swigobj) (_swigobj->FormatDate())
5486 static PyObject
*_wrap_wxDateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5487 PyObject
* _resultobj
;
5490 PyObject
* _argo0
= 0;
5491 char *_kwnames
[] = { "self", NULL
};
5494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatDate",_kwnames
,&_argo0
))
5497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatDate. Expected _wxDateTime_p.");
5504 wxPy_BEGIN_ALLOW_THREADS
;
5505 _result
= new wxString (wxDateTime_FormatDate(_arg0
));
5507 wxPy_END_ALLOW_THREADS
;
5509 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5517 #define wxDateTime_FormatTime(_swigobj) (_swigobj->FormatTime())
5518 static PyObject
*_wrap_wxDateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
* _resultobj
;
5522 PyObject
* _argo0
= 0;
5523 char *_kwnames
[] = { "self", NULL
};
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatTime",_kwnames
,&_argo0
))
5529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatTime. Expected _wxDateTime_p.");
5536 wxPy_BEGIN_ALLOW_THREADS
;
5537 _result
= new wxString (wxDateTime_FormatTime(_arg0
));
5539 wxPy_END_ALLOW_THREADS
;
5541 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5549 #define wxDateTime_FormatISODate(_swigobj) (_swigobj->FormatISODate())
5550 static PyObject
*_wrap_wxDateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
* _resultobj
;
5554 PyObject
* _argo0
= 0;
5555 char *_kwnames
[] = { "self", NULL
};
5558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISODate",_kwnames
,&_argo0
))
5561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISODate. Expected _wxDateTime_p.");
5568 wxPy_BEGIN_ALLOW_THREADS
;
5569 _result
= new wxString (wxDateTime_FormatISODate(_arg0
));
5571 wxPy_END_ALLOW_THREADS
;
5573 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5581 #define wxDateTime_FormatISOTime(_swigobj) (_swigobj->FormatISOTime())
5582 static PyObject
*_wrap_wxDateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
* _resultobj
;
5586 PyObject
* _argo0
= 0;
5587 char *_kwnames
[] = { "self", NULL
};
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISOTime",_kwnames
,&_argo0
))
5593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISOTime. Expected _wxDateTime_p.");
5600 wxPy_BEGIN_ALLOW_THREADS
;
5601 _result
= new wxString (wxDateTime_FormatISOTime(_arg0
));
5603 wxPy_END_ALLOW_THREADS
;
5605 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5613 static PyObject
*_wrap_wxTimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5614 PyObject
* _resultobj
;
5615 wxTimeSpan
* _result
;
5617 char *_kwnames
[] = { "sec", NULL
};
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Seconds",_kwnames
,&_arg0
))
5624 wxPy_BEGIN_ALLOW_THREADS
;
5625 _result
= new wxTimeSpan (wxTimeSpan::Seconds(_arg0
));
5627 wxPy_END_ALLOW_THREADS
;
5628 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5629 _resultobj
= Py_BuildValue("s",_ptemp
);
5633 static PyObject
*_wrap_wxTimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5634 PyObject
* _resultobj
;
5635 wxTimeSpan
* _result
;
5636 char *_kwnames
[] = { NULL
};
5640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Second",_kwnames
))
5643 wxPy_BEGIN_ALLOW_THREADS
;
5644 _result
= new wxTimeSpan (wxTimeSpan::Second());
5646 wxPy_END_ALLOW_THREADS
;
5647 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5648 _resultobj
= Py_BuildValue("s",_ptemp
);
5652 static PyObject
*_wrap_wxTimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
* _resultobj
;
5654 wxTimeSpan
* _result
;
5656 char *_kwnames
[] = { "min", NULL
};
5660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Minutes",_kwnames
,&_arg0
))
5663 wxPy_BEGIN_ALLOW_THREADS
;
5664 _result
= new wxTimeSpan (wxTimeSpan::Minutes(_arg0
));
5666 wxPy_END_ALLOW_THREADS
;
5667 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5668 _resultobj
= Py_BuildValue("s",_ptemp
);
5672 static PyObject
*_wrap_wxTimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
* _resultobj
;
5674 wxTimeSpan
* _result
;
5675 char *_kwnames
[] = { NULL
};
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Minute",_kwnames
))
5682 wxPy_BEGIN_ALLOW_THREADS
;
5683 _result
= new wxTimeSpan (wxTimeSpan::Minute());
5685 wxPy_END_ALLOW_THREADS
;
5686 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5687 _resultobj
= Py_BuildValue("s",_ptemp
);
5691 static PyObject
*_wrap_wxTimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5692 PyObject
* _resultobj
;
5693 wxTimeSpan
* _result
;
5695 char *_kwnames
[] = { "hours", NULL
};
5699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Hours",_kwnames
,&_arg0
))
5702 wxPy_BEGIN_ALLOW_THREADS
;
5703 _result
= new wxTimeSpan (wxTimeSpan::Hours(_arg0
));
5705 wxPy_END_ALLOW_THREADS
;
5706 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5707 _resultobj
= Py_BuildValue("s",_ptemp
);
5711 static PyObject
*_wrap_wxTimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
* _resultobj
;
5713 wxTimeSpan
* _result
;
5714 char *_kwnames
[] = { NULL
};
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Hour",_kwnames
))
5721 wxPy_BEGIN_ALLOW_THREADS
;
5722 _result
= new wxTimeSpan (wxTimeSpan::Hour());
5724 wxPy_END_ALLOW_THREADS
;
5725 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5726 _resultobj
= Py_BuildValue("s",_ptemp
);
5730 static PyObject
*_wrap_wxTimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5731 PyObject
* _resultobj
;
5732 wxTimeSpan
* _result
;
5734 char *_kwnames
[] = { "days", NULL
};
5738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Days",_kwnames
,&_arg0
))
5741 wxPy_BEGIN_ALLOW_THREADS
;
5742 _result
= new wxTimeSpan (wxTimeSpan::Days(_arg0
));
5744 wxPy_END_ALLOW_THREADS
;
5745 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5746 _resultobj
= Py_BuildValue("s",_ptemp
);
5750 static PyObject
*_wrap_wxTimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
* _resultobj
;
5752 wxTimeSpan
* _result
;
5753 char *_kwnames
[] = { NULL
};
5757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Day",_kwnames
))
5760 wxPy_BEGIN_ALLOW_THREADS
;
5761 _result
= new wxTimeSpan (wxTimeSpan::Day());
5763 wxPy_END_ALLOW_THREADS
;
5764 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5765 _resultobj
= Py_BuildValue("s",_ptemp
);
5769 static PyObject
*_wrap_wxTimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
* _resultobj
;
5771 wxTimeSpan
* _result
;
5773 char *_kwnames
[] = { "days", NULL
};
5777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Weeks",_kwnames
,&_arg0
))
5780 wxPy_BEGIN_ALLOW_THREADS
;
5781 _result
= new wxTimeSpan (wxTimeSpan::Weeks(_arg0
));
5783 wxPy_END_ALLOW_THREADS
;
5784 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5785 _resultobj
= Py_BuildValue("s",_ptemp
);
5789 static PyObject
*_wrap_wxTimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
* _resultobj
;
5791 wxTimeSpan
* _result
;
5792 char *_kwnames
[] = { NULL
};
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Week",_kwnames
))
5799 wxPy_BEGIN_ALLOW_THREADS
;
5800 _result
= new wxTimeSpan (wxTimeSpan::Week());
5802 wxPy_END_ALLOW_THREADS
;
5803 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5804 _resultobj
= Py_BuildValue("s",_ptemp
);
5808 #define new_wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5809 static PyObject
*_wrap_new_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
* _resultobj
;
5811 wxTimeSpan
* _result
;
5812 long _arg0
= (long ) 0;
5813 long _arg1
= (long ) 0;
5814 long _arg2
= (long ) 0;
5815 long _arg3
= (long ) 0;
5816 char *_kwnames
[] = { "hours","minutes","seconds","milliseconds", NULL
};
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxTimeSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
5823 wxPy_BEGIN_ALLOW_THREADS
;
5824 _result
= (wxTimeSpan
*)new_wxTimeSpan(_arg0
,_arg1
,_arg2
,_arg3
);
5826 wxPy_END_ALLOW_THREADS
;
5828 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5829 _resultobj
= Py_BuildValue("s",_ptemp
);
5832 _resultobj
= Py_None
;
5837 #define delete_wxTimeSpan(_swigobj) (delete _swigobj)
5838 static PyObject
*_wrap_delete_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
* _resultobj
;
5841 PyObject
* _argo0
= 0;
5842 char *_kwnames
[] = { "self", NULL
};
5845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTimeSpan",_kwnames
,&_argo0
))
5848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTimeSpan. Expected _wxTimeSpan_p.");
5855 wxPy_BEGIN_ALLOW_THREADS
;
5856 delete_wxTimeSpan(_arg0
);
5858 wxPy_END_ALLOW_THREADS
;
5859 } Py_INCREF(Py_None
);
5860 _resultobj
= Py_None
;
5864 #define wxTimeSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
5865 static PyObject
*_wrap_wxTimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
* _resultobj
;
5867 wxTimeSpan
* _result
;
5870 PyObject
* _argo0
= 0;
5871 PyObject
* _argo1
= 0;
5872 char *_kwnames
[] = { "self","diff", NULL
};
5876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Add",_kwnames
,&_argo0
,&_argo1
))
5879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
5886 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5887 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
5893 wxPy_BEGIN_ALLOW_THREADS
;
5894 wxTimeSpan
& _result_ref
= wxTimeSpan_Add(_arg0
,*_arg1
);
5895 _result
= (wxTimeSpan
*) &_result_ref
;
5897 wxPy_END_ALLOW_THREADS
;
5899 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5900 _resultobj
= Py_BuildValue("s",_ptemp
);
5903 _resultobj
= Py_None
;
5908 #define wxTimeSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5909 static PyObject
*_wrap_wxTimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
* _resultobj
;
5911 wxTimeSpan
* _result
;
5914 PyObject
* _argo0
= 0;
5915 PyObject
* _argo1
= 0;
5916 char *_kwnames
[] = { "self","diff", NULL
};
5920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
5923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
5930 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5931 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
5937 wxPy_BEGIN_ALLOW_THREADS
;
5938 wxTimeSpan
& _result_ref
= wxTimeSpan_Subtract(_arg0
,*_arg1
);
5939 _result
= (wxTimeSpan
*) &_result_ref
;
5941 wxPy_END_ALLOW_THREADS
;
5943 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5944 _resultobj
= Py_BuildValue("s",_ptemp
);
5947 _resultobj
= Py_None
;
5952 #define wxTimeSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
5953 static PyObject
*_wrap_wxTimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
* _resultobj
;
5955 wxTimeSpan
* _result
;
5958 PyObject
* _argo0
= 0;
5959 char *_kwnames
[] = { "self","n", NULL
};
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
5966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Multiply. Expected _wxTimeSpan_p.");
5973 wxPy_BEGIN_ALLOW_THREADS
;
5974 wxTimeSpan
& _result_ref
= wxTimeSpan_Multiply(_arg0
,_arg1
);
5975 _result
= (wxTimeSpan
*) &_result_ref
;
5977 wxPy_END_ALLOW_THREADS
;
5979 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5980 _resultobj
= Py_BuildValue("s",_ptemp
);
5983 _resultobj
= Py_None
;
5988 #define wxTimeSpan_Neg(_swigobj) (_swigobj->Neg())
5989 static PyObject
*_wrap_wxTimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
* _resultobj
;
5991 wxTimeSpan
* _result
;
5993 PyObject
* _argo0
= 0;
5994 char *_kwnames
[] = { "self", NULL
};
5998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Neg",_kwnames
,&_argo0
))
6001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Neg. Expected _wxTimeSpan_p.");
6008 wxPy_BEGIN_ALLOW_THREADS
;
6009 wxTimeSpan
& _result_ref
= wxTimeSpan_Neg(_arg0
);
6010 _result
= (wxTimeSpan
*) &_result_ref
;
6012 wxPy_END_ALLOW_THREADS
;
6014 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6015 _resultobj
= Py_BuildValue("s",_ptemp
);
6018 _resultobj
= Py_None
;
6023 #define wxTimeSpan_Abs(_swigobj) (_swigobj->Abs())
6024 static PyObject
*_wrap_wxTimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
* _resultobj
;
6026 wxTimeSpan
* _result
;
6028 PyObject
* _argo0
= 0;
6029 char *_kwnames
[] = { "self", NULL
};
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Abs",_kwnames
,&_argo0
))
6036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Abs. Expected _wxTimeSpan_p.");
6043 wxPy_BEGIN_ALLOW_THREADS
;
6044 _result
= new wxTimeSpan (wxTimeSpan_Abs(_arg0
));
6046 wxPy_END_ALLOW_THREADS
;
6047 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6048 _resultobj
= Py_BuildValue("s",_ptemp
);
6052 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
6053 static PyObject
*_wrap_wxTimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6054 PyObject
* _resultobj
;
6055 wxTimeSpan
* _result
;
6058 PyObject
* _argo0
= 0;
6059 PyObject
* _argo1
= 0;
6060 char *_kwnames
[] = { "self","other", NULL
};
6064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___add__",_kwnames
,&_argo0
,&_argo1
))
6067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6074 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6075 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6081 wxPy_BEGIN_ALLOW_THREADS
;
6082 _result
= new wxTimeSpan (wxTimeSpan___add__(_arg0
,*_arg1
));
6084 wxPy_END_ALLOW_THREADS
;
6085 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6086 _resultobj
= Py_BuildValue("s",_ptemp
);
6090 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
6091 static PyObject
*_wrap_wxTimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
* _resultobj
;
6093 wxTimeSpan
* _result
;
6096 PyObject
* _argo0
= 0;
6097 PyObject
* _argo1
= 0;
6098 char *_kwnames
[] = { "self","other", NULL
};
6102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
6105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6112 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6113 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6119 wxPy_BEGIN_ALLOW_THREADS
;
6120 _result
= new wxTimeSpan (wxTimeSpan___sub__(_arg0
,*_arg1
));
6122 wxPy_END_ALLOW_THREADS
;
6123 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6124 _resultobj
= Py_BuildValue("s",_ptemp
);
6128 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
) { return *self
* n
; }
6129 static PyObject
*_wrap_wxTimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
* _resultobj
;
6131 wxTimeSpan
* _result
;
6134 PyObject
* _argo0
= 0;
6135 char *_kwnames
[] = { "self","n", NULL
};
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
6142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___mul__. Expected _wxTimeSpan_p.");
6149 wxPy_BEGIN_ALLOW_THREADS
;
6150 _result
= new wxTimeSpan (wxTimeSpan___mul__(_arg0
,_arg1
));
6152 wxPy_END_ALLOW_THREADS
;
6153 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6154 _resultobj
= Py_BuildValue("s",_ptemp
);
6158 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
) { return n
* *self
; }
6159 static PyObject
*_wrap_wxTimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
* _resultobj
;
6161 wxTimeSpan
* _result
;
6164 PyObject
* _argo0
= 0;
6165 char *_kwnames
[] = { "self","n", NULL
};
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
6172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___rmul__. Expected _wxTimeSpan_p.");
6179 wxPy_BEGIN_ALLOW_THREADS
;
6180 _result
= new wxTimeSpan (wxTimeSpan___rmul__(_arg0
,_arg1
));
6182 wxPy_END_ALLOW_THREADS
;
6183 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6184 _resultobj
= Py_BuildValue("s",_ptemp
);
6188 static wxTimeSpan
wxTimeSpan___neg__(wxTimeSpan
*self
) { return self
->Negate(); }
6189 static PyObject
*_wrap_wxTimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
* _resultobj
;
6191 wxTimeSpan
* _result
;
6193 PyObject
* _argo0
= 0;
6194 char *_kwnames
[] = { "self", NULL
};
6198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan___neg__",_kwnames
,&_argo0
))
6201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___neg__. Expected _wxTimeSpan_p.");
6208 wxPy_BEGIN_ALLOW_THREADS
;
6209 _result
= new wxTimeSpan (wxTimeSpan___neg__(_arg0
));
6211 wxPy_END_ALLOW_THREADS
;
6212 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6213 _resultobj
= Py_BuildValue("s",_ptemp
);
6217 static int wxTimeSpan___cmp__(wxTimeSpan
*self
,const wxTimeSpan
& other
) {
6218 if (*self
< other
) return -1;
6219 if (*self
== other
) return 0;
6222 static PyObject
*_wrap_wxTimeSpan___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
* _resultobj
;
6227 PyObject
* _argo0
= 0;
6228 PyObject
* _argo1
= 0;
6229 char *_kwnames
[] = { "self","other", NULL
};
6232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___cmp__",_kwnames
,&_argo0
,&_argo1
))
6235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6242 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6243 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6249 wxPy_BEGIN_ALLOW_THREADS
;
6250 _result
= (int )wxTimeSpan___cmp__(_arg0
,*_arg1
);
6252 wxPy_END_ALLOW_THREADS
;
6253 } _resultobj
= Py_BuildValue("i",_result
);
6257 #define wxTimeSpan_IsNull(_swigobj) (_swigobj->IsNull())
6258 static PyObject
*_wrap_wxTimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6259 PyObject
* _resultobj
;
6262 PyObject
* _argo0
= 0;
6263 char *_kwnames
[] = { "self", NULL
};
6266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNull",_kwnames
,&_argo0
))
6269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNull. Expected _wxTimeSpan_p.");
6276 wxPy_BEGIN_ALLOW_THREADS
;
6277 _result
= (bool )wxTimeSpan_IsNull(_arg0
);
6279 wxPy_END_ALLOW_THREADS
;
6280 } _resultobj
= Py_BuildValue("i",_result
);
6284 #define wxTimeSpan_IsPositive(_swigobj) (_swigobj->IsPositive())
6285 static PyObject
*_wrap_wxTimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6286 PyObject
* _resultobj
;
6289 PyObject
* _argo0
= 0;
6290 char *_kwnames
[] = { "self", NULL
};
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsPositive",_kwnames
,&_argo0
))
6296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsPositive. Expected _wxTimeSpan_p.");
6303 wxPy_BEGIN_ALLOW_THREADS
;
6304 _result
= (bool )wxTimeSpan_IsPositive(_arg0
);
6306 wxPy_END_ALLOW_THREADS
;
6307 } _resultobj
= Py_BuildValue("i",_result
);
6311 #define wxTimeSpan_IsNegative(_swigobj) (_swigobj->IsNegative())
6312 static PyObject
*_wrap_wxTimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
* _resultobj
;
6316 PyObject
* _argo0
= 0;
6317 char *_kwnames
[] = { "self", NULL
};
6320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNegative",_kwnames
,&_argo0
))
6323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNegative. Expected _wxTimeSpan_p.");
6330 wxPy_BEGIN_ALLOW_THREADS
;
6331 _result
= (bool )wxTimeSpan_IsNegative(_arg0
);
6333 wxPy_END_ALLOW_THREADS
;
6334 } _resultobj
= Py_BuildValue("i",_result
);
6338 #define wxTimeSpan_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
6339 static PyObject
*_wrap_wxTimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
* _resultobj
;
6344 PyObject
* _argo0
= 0;
6345 PyObject
* _argo1
= 0;
6346 char *_kwnames
[] = { "self","ts", NULL
};
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
6352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6359 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6360 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6366 wxPy_BEGIN_ALLOW_THREADS
;
6367 _result
= (bool )wxTimeSpan_IsEqualTo(_arg0
,*_arg1
);
6369 wxPy_END_ALLOW_THREADS
;
6370 } _resultobj
= Py_BuildValue("i",_result
);
6374 #define wxTimeSpan_IsLongerThan(_swigobj,_swigarg0) (_swigobj->IsLongerThan(_swigarg0))
6375 static PyObject
*_wrap_wxTimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
* _resultobj
;
6380 PyObject
* _argo0
= 0;
6381 PyObject
* _argo1
= 0;
6382 char *_kwnames
[] = { "self","ts", NULL
};
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsLongerThan",_kwnames
,&_argo0
,&_argo1
))
6388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6395 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6396 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6402 wxPy_BEGIN_ALLOW_THREADS
;
6403 _result
= (bool )wxTimeSpan_IsLongerThan(_arg0
,*_arg1
);
6405 wxPy_END_ALLOW_THREADS
;
6406 } _resultobj
= Py_BuildValue("i",_result
);
6410 #define wxTimeSpan_IsShorterThan(_swigobj,_swigarg0) (_swigobj->IsShorterThan(_swigarg0))
6411 static PyObject
*_wrap_wxTimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6412 PyObject
* _resultobj
;
6416 PyObject
* _argo0
= 0;
6417 PyObject
* _argo1
= 0;
6418 char *_kwnames
[] = { "self","t", NULL
};
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsShorterThan",_kwnames
,&_argo0
,&_argo1
))
6424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6431 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6432 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6438 wxPy_BEGIN_ALLOW_THREADS
;
6439 _result
= (bool )wxTimeSpan_IsShorterThan(_arg0
,*_arg1
);
6441 wxPy_END_ALLOW_THREADS
;
6442 } _resultobj
= Py_BuildValue("i",_result
);
6446 #define wxTimeSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
6447 static PyObject
*_wrap_wxTimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6448 PyObject
* _resultobj
;
6451 PyObject
* _argo0
= 0;
6452 char *_kwnames
[] = { "self", NULL
};
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetWeeks",_kwnames
,&_argo0
))
6458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetWeeks. Expected _wxTimeSpan_p.");
6465 wxPy_BEGIN_ALLOW_THREADS
;
6466 _result
= (int )wxTimeSpan_GetWeeks(_arg0
);
6468 wxPy_END_ALLOW_THREADS
;
6469 } _resultobj
= Py_BuildValue("i",_result
);
6473 #define wxTimeSpan_GetDays(_swigobj) (_swigobj->GetDays())
6474 static PyObject
*_wrap_wxTimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6475 PyObject
* _resultobj
;
6478 PyObject
* _argo0
= 0;
6479 char *_kwnames
[] = { "self", NULL
};
6482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetDays",_kwnames
,&_argo0
))
6485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetDays. Expected _wxTimeSpan_p.");
6492 wxPy_BEGIN_ALLOW_THREADS
;
6493 _result
= (int )wxTimeSpan_GetDays(_arg0
);
6495 wxPy_END_ALLOW_THREADS
;
6496 } _resultobj
= Py_BuildValue("i",_result
);
6500 #define wxTimeSpan_GetHours(_swigobj) (_swigobj->GetHours())
6501 static PyObject
*_wrap_wxTimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
* _resultobj
;
6505 PyObject
* _argo0
= 0;
6506 char *_kwnames
[] = { "self", NULL
};
6509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetHours",_kwnames
,&_argo0
))
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_GetHours. Expected _wxTimeSpan_p.");
6519 wxPy_BEGIN_ALLOW_THREADS
;
6520 _result
= (int )wxTimeSpan_GetHours(_arg0
);
6522 wxPy_END_ALLOW_THREADS
;
6523 } _resultobj
= Py_BuildValue("i",_result
);
6527 #define wxTimeSpan_GetMinutes(_swigobj) (_swigobj->GetMinutes())
6528 static PyObject
*_wrap_wxTimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
* _resultobj
;
6532 PyObject
* _argo0
= 0;
6533 char *_kwnames
[] = { "self", NULL
};
6536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMinutes",_kwnames
,&_argo0
))
6539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMinutes. Expected _wxTimeSpan_p.");
6546 wxPy_BEGIN_ALLOW_THREADS
;
6547 _result
= (int )wxTimeSpan_GetMinutes(_arg0
);
6549 wxPy_END_ALLOW_THREADS
;
6550 } _resultobj
= Py_BuildValue("i",_result
);
6554 #define wxTimeSpan_GetSeconds(_swigobj) (_swigobj->GetSeconds())
6555 static PyObject
*_wrap_wxTimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
* _resultobj
;
6557 wxLongLong
* _result
;
6559 PyObject
* _argo0
= 0;
6560 char *_kwnames
[] = { "self", NULL
};
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetSeconds",_kwnames
,&_argo0
))
6566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetSeconds. Expected _wxTimeSpan_p.");
6573 wxPy_BEGIN_ALLOW_THREADS
;
6574 _result
= new wxLongLong (wxTimeSpan_GetSeconds(_arg0
));
6576 wxPy_END_ALLOW_THREADS
;
6578 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6579 hi
= PyLong_FromLong(_result
->GetHi());
6580 lo
= PyLong_FromLong(_result
->GetLo());
6581 shifter
= PyLong_FromLong(32);
6582 shifted
= PyNumber_Lshift(hi
, shifter
);
6583 _resultobj
= PyNumber_Or(shifted
, lo
);
6592 #define wxTimeSpan_GetMilliseconds(_swigobj) (_swigobj->GetMilliseconds())
6593 static PyObject
*_wrap_wxTimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
* _resultobj
;
6595 wxLongLong
* _result
;
6597 PyObject
* _argo0
= 0;
6598 char *_kwnames
[] = { "self", NULL
};
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMilliseconds",_kwnames
,&_argo0
))
6604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMilliseconds. Expected _wxTimeSpan_p.");
6611 wxPy_BEGIN_ALLOW_THREADS
;
6612 _result
= new wxLongLong (wxTimeSpan_GetMilliseconds(_arg0
));
6614 wxPy_END_ALLOW_THREADS
;
6616 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6617 hi
= PyLong_FromLong(_result
->GetHi());
6618 lo
= PyLong_FromLong(_result
->GetLo());
6619 shifter
= PyLong_FromLong(32);
6620 shifted
= PyNumber_Lshift(hi
, shifter
);
6621 _resultobj
= PyNumber_Or(shifted
, lo
);
6630 #define wxTimeSpan_Format(_swigobj,_swigarg0) (_swigobj->Format(_swigarg0))
6631 static PyObject
*_wrap_wxTimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6632 PyObject
* _resultobj
;
6635 char * _arg1
= (char *) "%c";
6636 PyObject
* _argo0
= 0;
6637 char *_kwnames
[] = { "self","format", NULL
};
6640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxTimeSpan_Format",_kwnames
,&_argo0
,&_arg1
))
6643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Format. Expected _wxTimeSpan_p.");
6650 wxPy_BEGIN_ALLOW_THREADS
;
6651 _result
= new wxString (wxTimeSpan_Format(_arg0
,_arg1
));
6653 wxPy_END_ALLOW_THREADS
;
6655 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6663 #define new_wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6664 static PyObject
*_wrap_new_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6665 PyObject
* _resultobj
;
6666 wxDateSpan
* _result
;
6667 int _arg0
= (int ) 0;
6668 int _arg1
= (int ) 0;
6669 int _arg2
= (int ) 0;
6670 int _arg3
= (int ) 0;
6671 char *_kwnames
[] = { "years","months","weeks","days", NULL
};
6675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxDateSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
6678 wxPy_BEGIN_ALLOW_THREADS
;
6679 _result
= (wxDateSpan
*)new_wxDateSpan(_arg0
,_arg1
,_arg2
,_arg3
);
6681 wxPy_END_ALLOW_THREADS
;
6683 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6684 _resultobj
= Py_BuildValue("s",_ptemp
);
6687 _resultobj
= Py_None
;
6692 #define delete_wxDateSpan(_swigobj) (delete _swigobj)
6693 static PyObject
*_wrap_delete_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
* _resultobj
;
6696 PyObject
* _argo0
= 0;
6697 char *_kwnames
[] = { "self", NULL
};
6700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateSpan",_kwnames
,&_argo0
))
6703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateSpan. Expected _wxDateSpan_p.");
6710 wxPy_BEGIN_ALLOW_THREADS
;
6711 delete_wxDateSpan(_arg0
);
6713 wxPy_END_ALLOW_THREADS
;
6714 } Py_INCREF(Py_None
);
6715 _resultobj
= Py_None
;
6719 static PyObject
*_wrap_wxDateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6720 PyObject
* _resultobj
;
6721 wxDateSpan
* _result
;
6723 char *_kwnames
[] = { "days", NULL
};
6727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Days",_kwnames
,&_arg0
))
6730 wxPy_BEGIN_ALLOW_THREADS
;
6731 _result
= new wxDateSpan (wxDateSpan::Days(_arg0
));
6733 wxPy_END_ALLOW_THREADS
;
6734 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6735 _resultobj
= Py_BuildValue("s",_ptemp
);
6739 static PyObject
*_wrap_wxDateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6740 PyObject
* _resultobj
;
6741 wxDateSpan
* _result
;
6742 char *_kwnames
[] = { NULL
};
6746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Day",_kwnames
))
6749 wxPy_BEGIN_ALLOW_THREADS
;
6750 _result
= new wxDateSpan (wxDateSpan::Day());
6752 wxPy_END_ALLOW_THREADS
;
6753 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6754 _resultobj
= Py_BuildValue("s",_ptemp
);
6758 static PyObject
*_wrap_wxDateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
* _resultobj
;
6760 wxDateSpan
* _result
;
6762 char *_kwnames
[] = { "weeks", NULL
};
6766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Weeks",_kwnames
,&_arg0
))
6769 wxPy_BEGIN_ALLOW_THREADS
;
6770 _result
= new wxDateSpan (wxDateSpan::Weeks(_arg0
));
6772 wxPy_END_ALLOW_THREADS
;
6773 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6774 _resultobj
= Py_BuildValue("s",_ptemp
);
6778 static PyObject
*_wrap_wxDateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
* _resultobj
;
6780 wxDateSpan
* _result
;
6781 char *_kwnames
[] = { NULL
};
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Week",_kwnames
))
6788 wxPy_BEGIN_ALLOW_THREADS
;
6789 _result
= new wxDateSpan (wxDateSpan::Week());
6791 wxPy_END_ALLOW_THREADS
;
6792 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6793 _resultobj
= Py_BuildValue("s",_ptemp
);
6797 static PyObject
*_wrap_wxDateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
* _resultobj
;
6799 wxDateSpan
* _result
;
6801 char *_kwnames
[] = { "mon", NULL
};
6805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Months",_kwnames
,&_arg0
))
6808 wxPy_BEGIN_ALLOW_THREADS
;
6809 _result
= new wxDateSpan (wxDateSpan::Months(_arg0
));
6811 wxPy_END_ALLOW_THREADS
;
6812 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6813 _resultobj
= Py_BuildValue("s",_ptemp
);
6817 static PyObject
*_wrap_wxDateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
* _resultobj
;
6819 wxDateSpan
* _result
;
6820 char *_kwnames
[] = { NULL
};
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Month",_kwnames
))
6827 wxPy_BEGIN_ALLOW_THREADS
;
6828 _result
= new wxDateSpan (wxDateSpan::Month());
6830 wxPy_END_ALLOW_THREADS
;
6831 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6832 _resultobj
= Py_BuildValue("s",_ptemp
);
6836 static PyObject
*_wrap_wxDateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6837 PyObject
* _resultobj
;
6838 wxDateSpan
* _result
;
6840 char *_kwnames
[] = { "years", NULL
};
6844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Years",_kwnames
,&_arg0
))
6847 wxPy_BEGIN_ALLOW_THREADS
;
6848 _result
= new wxDateSpan (wxDateSpan::Years(_arg0
));
6850 wxPy_END_ALLOW_THREADS
;
6851 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6852 _resultobj
= Py_BuildValue("s",_ptemp
);
6856 static PyObject
*_wrap_wxDateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6857 PyObject
* _resultobj
;
6858 wxDateSpan
* _result
;
6859 char *_kwnames
[] = { NULL
};
6863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Year",_kwnames
))
6866 wxPy_BEGIN_ALLOW_THREADS
;
6867 _result
= new wxDateSpan (wxDateSpan::Year());
6869 wxPy_END_ALLOW_THREADS
;
6870 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6871 _resultobj
= Py_BuildValue("s",_ptemp
);
6875 #define wxDateSpan_SetYears(_swigobj,_swigarg0) (_swigobj->SetYears(_swigarg0))
6876 static PyObject
*_wrap_wxDateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6877 PyObject
* _resultobj
;
6878 wxDateSpan
* _result
;
6881 PyObject
* _argo0
= 0;
6882 char *_kwnames
[] = { "self","n", NULL
};
6886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetYears",_kwnames
,&_argo0
,&_arg1
))
6889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetYears. Expected _wxDateSpan_p.");
6896 wxPy_BEGIN_ALLOW_THREADS
;
6897 wxDateSpan
& _result_ref
= wxDateSpan_SetYears(_arg0
,_arg1
);
6898 _result
= (wxDateSpan
*) &_result_ref
;
6900 wxPy_END_ALLOW_THREADS
;
6902 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6903 _resultobj
= Py_BuildValue("s",_ptemp
);
6906 _resultobj
= Py_None
;
6911 #define wxDateSpan_SetMonths(_swigobj,_swigarg0) (_swigobj->SetMonths(_swigarg0))
6912 static PyObject
*_wrap_wxDateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6913 PyObject
* _resultobj
;
6914 wxDateSpan
* _result
;
6917 PyObject
* _argo0
= 0;
6918 char *_kwnames
[] = { "self","n", NULL
};
6922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetMonths",_kwnames
,&_argo0
,&_arg1
))
6925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetMonths. Expected _wxDateSpan_p.");
6932 wxPy_BEGIN_ALLOW_THREADS
;
6933 wxDateSpan
& _result_ref
= wxDateSpan_SetMonths(_arg0
,_arg1
);
6934 _result
= (wxDateSpan
*) &_result_ref
;
6936 wxPy_END_ALLOW_THREADS
;
6938 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6939 _resultobj
= Py_BuildValue("s",_ptemp
);
6942 _resultobj
= Py_None
;
6947 #define wxDateSpan_SetWeeks(_swigobj,_swigarg0) (_swigobj->SetWeeks(_swigarg0))
6948 static PyObject
*_wrap_wxDateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
* _resultobj
;
6950 wxDateSpan
* _result
;
6953 PyObject
* _argo0
= 0;
6954 char *_kwnames
[] = { "self","n", NULL
};
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetWeeks",_kwnames
,&_argo0
,&_arg1
))
6961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetWeeks. Expected _wxDateSpan_p.");
6968 wxPy_BEGIN_ALLOW_THREADS
;
6969 wxDateSpan
& _result_ref
= wxDateSpan_SetWeeks(_arg0
,_arg1
);
6970 _result
= (wxDateSpan
*) &_result_ref
;
6972 wxPy_END_ALLOW_THREADS
;
6974 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6975 _resultobj
= Py_BuildValue("s",_ptemp
);
6978 _resultobj
= Py_None
;
6983 #define wxDateSpan_SetDays(_swigobj,_swigarg0) (_swigobj->SetDays(_swigarg0))
6984 static PyObject
*_wrap_wxDateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6985 PyObject
* _resultobj
;
6986 wxDateSpan
* _result
;
6989 PyObject
* _argo0
= 0;
6990 char *_kwnames
[] = { "self","n", NULL
};
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetDays",_kwnames
,&_argo0
,&_arg1
))
6997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetDays. Expected _wxDateSpan_p.");
7004 wxPy_BEGIN_ALLOW_THREADS
;
7005 wxDateSpan
& _result_ref
= wxDateSpan_SetDays(_arg0
,_arg1
);
7006 _result
= (wxDateSpan
*) &_result_ref
;
7008 wxPy_END_ALLOW_THREADS
;
7010 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7011 _resultobj
= Py_BuildValue("s",_ptemp
);
7014 _resultobj
= Py_None
;
7019 #define wxDateSpan_GetYears(_swigobj) (_swigobj->GetYears())
7020 static PyObject
*_wrap_wxDateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
* _resultobj
;
7024 PyObject
* _argo0
= 0;
7025 char *_kwnames
[] = { "self", NULL
};
7028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetYears",_kwnames
,&_argo0
))
7031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetYears. Expected _wxDateSpan_p.");
7038 wxPy_BEGIN_ALLOW_THREADS
;
7039 _result
= (int )wxDateSpan_GetYears(_arg0
);
7041 wxPy_END_ALLOW_THREADS
;
7042 } _resultobj
= Py_BuildValue("i",_result
);
7046 #define wxDateSpan_GetMonths(_swigobj) (_swigobj->GetMonths())
7047 static PyObject
*_wrap_wxDateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
* _resultobj
;
7051 PyObject
* _argo0
= 0;
7052 char *_kwnames
[] = { "self", NULL
};
7055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetMonths",_kwnames
,&_argo0
))
7058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetMonths. Expected _wxDateSpan_p.");
7065 wxPy_BEGIN_ALLOW_THREADS
;
7066 _result
= (int )wxDateSpan_GetMonths(_arg0
);
7068 wxPy_END_ALLOW_THREADS
;
7069 } _resultobj
= Py_BuildValue("i",_result
);
7073 #define wxDateSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
7074 static PyObject
*_wrap_wxDateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
* _resultobj
;
7078 PyObject
* _argo0
= 0;
7079 char *_kwnames
[] = { "self", NULL
};
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetWeeks",_kwnames
,&_argo0
))
7085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetWeeks. Expected _wxDateSpan_p.");
7092 wxPy_BEGIN_ALLOW_THREADS
;
7093 _result
= (int )wxDateSpan_GetWeeks(_arg0
);
7095 wxPy_END_ALLOW_THREADS
;
7096 } _resultobj
= Py_BuildValue("i",_result
);
7100 #define wxDateSpan_GetDays(_swigobj) (_swigobj->GetDays())
7101 static PyObject
*_wrap_wxDateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
* _resultobj
;
7105 PyObject
* _argo0
= 0;
7106 char *_kwnames
[] = { "self", NULL
};
7109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetDays",_kwnames
,&_argo0
))
7112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetDays. Expected _wxDateSpan_p.");
7119 wxPy_BEGIN_ALLOW_THREADS
;
7120 _result
= (int )wxDateSpan_GetDays(_arg0
);
7122 wxPy_END_ALLOW_THREADS
;
7123 } _resultobj
= Py_BuildValue("i",_result
);
7127 #define wxDateSpan_GetTotalDays(_swigobj) (_swigobj->GetTotalDays())
7128 static PyObject
*_wrap_wxDateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
* _resultobj
;
7132 PyObject
* _argo0
= 0;
7133 char *_kwnames
[] = { "self", NULL
};
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetTotalDays",_kwnames
,&_argo0
))
7139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetTotalDays. Expected _wxDateSpan_p.");
7146 wxPy_BEGIN_ALLOW_THREADS
;
7147 _result
= (int )wxDateSpan_GetTotalDays(_arg0
);
7149 wxPy_END_ALLOW_THREADS
;
7150 } _resultobj
= Py_BuildValue("i",_result
);
7154 #define wxDateSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
7155 static PyObject
*_wrap_wxDateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
* _resultobj
;
7157 wxDateSpan
* _result
;
7160 PyObject
* _argo0
= 0;
7161 PyObject
* _argo1
= 0;
7162 char *_kwnames
[] = { "self","other", NULL
};
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Add",_kwnames
,&_argo0
,&_argo1
))
7169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7176 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7177 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7183 wxPy_BEGIN_ALLOW_THREADS
;
7184 wxDateSpan
& _result_ref
= wxDateSpan_Add(_arg0
,*_arg1
);
7185 _result
= (wxDateSpan
*) &_result_ref
;
7187 wxPy_END_ALLOW_THREADS
;
7189 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7190 _resultobj
= Py_BuildValue("s",_ptemp
);
7193 _resultobj
= Py_None
;
7198 #define wxDateSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
7199 static PyObject
*_wrap_wxDateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
* _resultobj
;
7201 wxDateSpan
* _result
;
7204 PyObject
* _argo0
= 0;
7205 PyObject
* _argo1
= 0;
7206 char *_kwnames
[] = { "self","other", NULL
};
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
7213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7220 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7221 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7227 wxPy_BEGIN_ALLOW_THREADS
;
7228 wxDateSpan
& _result_ref
= wxDateSpan_Subtract(_arg0
,*_arg1
);
7229 _result
= (wxDateSpan
*) &_result_ref
;
7231 wxPy_END_ALLOW_THREADS
;
7233 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7234 _resultobj
= Py_BuildValue("s",_ptemp
);
7237 _resultobj
= Py_None
;
7242 #define wxDateSpan_Neg(_swigobj) (_swigobj->Neg())
7243 static PyObject
*_wrap_wxDateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
* _resultobj
;
7245 wxDateSpan
* _result
;
7247 PyObject
* _argo0
= 0;
7248 char *_kwnames
[] = { "self", NULL
};
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_Neg",_kwnames
,&_argo0
))
7255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Neg. Expected _wxDateSpan_p.");
7262 wxPy_BEGIN_ALLOW_THREADS
;
7263 wxDateSpan
& _result_ref
= wxDateSpan_Neg(_arg0
);
7264 _result
= (wxDateSpan
*) &_result_ref
;
7266 wxPy_END_ALLOW_THREADS
;
7268 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7269 _resultobj
= Py_BuildValue("s",_ptemp
);
7272 _resultobj
= Py_None
;
7277 #define wxDateSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
7278 static PyObject
*_wrap_wxDateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7279 PyObject
* _resultobj
;
7280 wxDateSpan
* _result
;
7283 PyObject
* _argo0
= 0;
7284 char *_kwnames
[] = { "self","factor", NULL
};
7288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
7291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Multiply. Expected _wxDateSpan_p.");
7298 wxPy_BEGIN_ALLOW_THREADS
;
7299 wxDateSpan
& _result_ref
= wxDateSpan_Multiply(_arg0
,_arg1
);
7300 _result
= (wxDateSpan
*) &_result_ref
;
7302 wxPy_END_ALLOW_THREADS
;
7304 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7305 _resultobj
= Py_BuildValue("s",_ptemp
);
7308 _resultobj
= Py_None
;
7313 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
7314 static PyObject
*_wrap_wxDateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7315 PyObject
* _resultobj
;
7316 wxDateSpan
* _result
;
7319 PyObject
* _argo0
= 0;
7320 PyObject
* _argo1
= 0;
7321 char *_kwnames
[] = { "self","other", NULL
};
7325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___add__",_kwnames
,&_argo0
,&_argo1
))
7328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7335 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7336 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7342 wxPy_BEGIN_ALLOW_THREADS
;
7343 _result
= new wxDateSpan (wxDateSpan___add__(_arg0
,*_arg1
));
7345 wxPy_END_ALLOW_THREADS
;
7346 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7347 _resultobj
= Py_BuildValue("s",_ptemp
);
7351 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
- other
; }
7352 static PyObject
*_wrap_wxDateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7353 PyObject
* _resultobj
;
7354 wxDateSpan
* _result
;
7357 PyObject
* _argo0
= 0;
7358 PyObject
* _argo1
= 0;
7359 char *_kwnames
[] = { "self","other", NULL
};
7363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
7366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7373 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7374 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7380 wxPy_BEGIN_ALLOW_THREADS
;
7381 _result
= new wxDateSpan (wxDateSpan___sub__(_arg0
,*_arg1
));
7383 wxPy_END_ALLOW_THREADS
;
7384 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7385 _resultobj
= Py_BuildValue("s",_ptemp
);
7389 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
) { return *self
* n
; }
7390 static PyObject
*_wrap_wxDateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7391 PyObject
* _resultobj
;
7392 wxDateSpan
* _result
;
7395 PyObject
* _argo0
= 0;
7396 char *_kwnames
[] = { "self","n", NULL
};
7400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
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___mul__. Expected _wxDateSpan_p.");
7410 wxPy_BEGIN_ALLOW_THREADS
;
7411 _result
= new wxDateSpan (wxDateSpan___mul__(_arg0
,_arg1
));
7413 wxPy_END_ALLOW_THREADS
;
7414 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7415 _resultobj
= Py_BuildValue("s",_ptemp
);
7419 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
) { return n
* *self
; }
7420 static PyObject
*_wrap_wxDateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7421 PyObject
* _resultobj
;
7422 wxDateSpan
* _result
;
7425 PyObject
* _argo0
= 0;
7426 char *_kwnames
[] = { "self","n", NULL
};
7430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
7433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___rmul__. Expected _wxDateSpan_p.");
7440 wxPy_BEGIN_ALLOW_THREADS
;
7441 _result
= new wxDateSpan (wxDateSpan___rmul__(_arg0
,_arg1
));
7443 wxPy_END_ALLOW_THREADS
;
7444 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7445 _resultobj
= Py_BuildValue("s",_ptemp
);
7449 static wxDateSpan
wxDateSpan___neg__(wxDateSpan
*self
) { return self
->Negate(); }
7450 static PyObject
*_wrap_wxDateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7451 PyObject
* _resultobj
;
7452 wxDateSpan
* _result
;
7454 PyObject
* _argo0
= 0;
7455 char *_kwnames
[] = { "self", NULL
};
7459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan___neg__",_kwnames
,&_argo0
))
7462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___neg__. Expected _wxDateSpan_p.");
7469 wxPy_BEGIN_ALLOW_THREADS
;
7470 _result
= new wxDateSpan (wxDateSpan___neg__(_arg0
));
7472 wxPy_END_ALLOW_THREADS
;
7473 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7474 _resultobj
= Py_BuildValue("s",_ptemp
);
7478 static PyMethodDef utilscMethods
[] = {
7479 { "wxDateSpan___neg__", (PyCFunction
) _wrap_wxDateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7480 { "wxDateSpan___rmul__", (PyCFunction
) _wrap_wxDateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7481 { "wxDateSpan___mul__", (PyCFunction
) _wrap_wxDateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7482 { "wxDateSpan___sub__", (PyCFunction
) _wrap_wxDateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7483 { "wxDateSpan___add__", (PyCFunction
) _wrap_wxDateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7484 { "wxDateSpan_Multiply", (PyCFunction
) _wrap_wxDateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7485 { "wxDateSpan_Neg", (PyCFunction
) _wrap_wxDateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7486 { "wxDateSpan_Subtract", (PyCFunction
) _wrap_wxDateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7487 { "wxDateSpan_Add", (PyCFunction
) _wrap_wxDateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7488 { "wxDateSpan_GetTotalDays", (PyCFunction
) _wrap_wxDateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
7489 { "wxDateSpan_GetDays", (PyCFunction
) _wrap_wxDateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7490 { "wxDateSpan_GetWeeks", (PyCFunction
) _wrap_wxDateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7491 { "wxDateSpan_GetMonths", (PyCFunction
) _wrap_wxDateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7492 { "wxDateSpan_GetYears", (PyCFunction
) _wrap_wxDateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
7493 { "wxDateSpan_SetDays", (PyCFunction
) _wrap_wxDateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
7494 { "wxDateSpan_SetWeeks", (PyCFunction
) _wrap_wxDateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7495 { "wxDateSpan_SetMonths", (PyCFunction
) _wrap_wxDateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7496 { "wxDateSpan_SetYears", (PyCFunction
) _wrap_wxDateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
7497 { "wxDateSpan_Year", (PyCFunction
) _wrap_wxDateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
7498 { "wxDateSpan_Years", (PyCFunction
) _wrap_wxDateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
7499 { "wxDateSpan_Month", (PyCFunction
) _wrap_wxDateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
7500 { "wxDateSpan_Months", (PyCFunction
) _wrap_wxDateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
7501 { "wxDateSpan_Week", (PyCFunction
) _wrap_wxDateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7502 { "wxDateSpan_Weeks", (PyCFunction
) _wrap_wxDateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7503 { "wxDateSpan_Day", (PyCFunction
) _wrap_wxDateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7504 { "wxDateSpan_Days", (PyCFunction
) _wrap_wxDateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7505 { "delete_wxDateSpan", (PyCFunction
) _wrap_delete_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7506 { "new_wxDateSpan", (PyCFunction
) _wrap_new_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7507 { "wxTimeSpan_Format", (PyCFunction
) _wrap_wxTimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
7508 { "wxTimeSpan_GetMilliseconds", (PyCFunction
) _wrap_wxTimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
7509 { "wxTimeSpan_GetSeconds", (PyCFunction
) _wrap_wxTimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
7510 { "wxTimeSpan_GetMinutes", (PyCFunction
) _wrap_wxTimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
7511 { "wxTimeSpan_GetHours", (PyCFunction
) _wrap_wxTimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
7512 { "wxTimeSpan_GetDays", (PyCFunction
) _wrap_wxTimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7513 { "wxTimeSpan_GetWeeks", (PyCFunction
) _wrap_wxTimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7514 { "wxTimeSpan_IsShorterThan", (PyCFunction
) _wrap_wxTimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
7515 { "wxTimeSpan_IsLongerThan", (PyCFunction
) _wrap_wxTimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
7516 { "wxTimeSpan_IsEqualTo", (PyCFunction
) _wrap_wxTimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7517 { "wxTimeSpan_IsNegative", (PyCFunction
) _wrap_wxTimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
7518 { "wxTimeSpan_IsPositive", (PyCFunction
) _wrap_wxTimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
7519 { "wxTimeSpan_IsNull", (PyCFunction
) _wrap_wxTimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
7520 { "wxTimeSpan___cmp__", (PyCFunction
) _wrap_wxTimeSpan___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7521 { "wxTimeSpan___neg__", (PyCFunction
) _wrap_wxTimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7522 { "wxTimeSpan___rmul__", (PyCFunction
) _wrap_wxTimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7523 { "wxTimeSpan___mul__", (PyCFunction
) _wrap_wxTimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7524 { "wxTimeSpan___sub__", (PyCFunction
) _wrap_wxTimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7525 { "wxTimeSpan___add__", (PyCFunction
) _wrap_wxTimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7526 { "wxTimeSpan_Abs", (PyCFunction
) _wrap_wxTimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
7527 { "wxTimeSpan_Neg", (PyCFunction
) _wrap_wxTimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7528 { "wxTimeSpan_Multiply", (PyCFunction
) _wrap_wxTimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7529 { "wxTimeSpan_Subtract", (PyCFunction
) _wrap_wxTimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7530 { "wxTimeSpan_Add", (PyCFunction
) _wrap_wxTimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7531 { "delete_wxTimeSpan", (PyCFunction
) _wrap_delete_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7532 { "new_wxTimeSpan", (PyCFunction
) _wrap_new_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7533 { "wxTimeSpan_Week", (PyCFunction
) _wrap_wxTimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7534 { "wxTimeSpan_Weeks", (PyCFunction
) _wrap_wxTimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7535 { "wxTimeSpan_Day", (PyCFunction
) _wrap_wxTimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7536 { "wxTimeSpan_Days", (PyCFunction
) _wrap_wxTimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7537 { "wxTimeSpan_Hour", (PyCFunction
) _wrap_wxTimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
7538 { "wxTimeSpan_Hours", (PyCFunction
) _wrap_wxTimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
7539 { "wxTimeSpan_Minute", (PyCFunction
) _wrap_wxTimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
7540 { "wxTimeSpan_Minutes", (PyCFunction
) _wrap_wxTimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
7541 { "wxTimeSpan_Second", (PyCFunction
) _wrap_wxTimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
7542 { "wxTimeSpan_Seconds", (PyCFunction
) _wrap_wxTimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
7543 { "wxDateTime_FormatISOTime", (PyCFunction
) _wrap_wxDateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
7544 { "wxDateTime_FormatISODate", (PyCFunction
) _wrap_wxDateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
7545 { "wxDateTime_FormatTime", (PyCFunction
) _wrap_wxDateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
7546 { "wxDateTime_FormatDate", (PyCFunction
) _wrap_wxDateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
7547 { "wxDateTime_Format", (PyCFunction
) _wrap_wxDateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
7548 { "wxDateTime_ParseTime", (PyCFunction
) _wrap_wxDateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
7549 { "wxDateTime_ParseDate", (PyCFunction
) _wrap_wxDateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
7550 { "wxDateTime_ParseDateTime", (PyCFunction
) _wrap_wxDateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7551 { "wxDateTime_ParseFormat", (PyCFunction
) _wrap_wxDateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
7552 { "wxDateTime_ParseRfc822Date", (PyCFunction
) _wrap_wxDateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
7553 { "wxDateTime___cmp__", (PyCFunction
) _wrap_wxDateTime___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7554 { "wxDateTime___sub__DS", (PyCFunction
) _wrap_wxDateTime___sub__DS
, METH_VARARGS
| METH_KEYWORDS
},
7555 { "wxDateTime___sub__TS", (PyCFunction
) _wrap_wxDateTime___sub__TS
, METH_VARARGS
| METH_KEYWORDS
},
7556 { "wxDateTime___sub__DT", (PyCFunction
) _wrap_wxDateTime___sub__DT
, METH_VARARGS
| METH_KEYWORDS
},
7557 { "wxDateTime___add__DS", (PyCFunction
) _wrap_wxDateTime___add__DS
, METH_VARARGS
| METH_KEYWORDS
},
7558 { "wxDateTime___add__TS", (PyCFunction
) _wrap_wxDateTime___add__TS
, METH_VARARGS
| METH_KEYWORDS
},
7559 { "wxDateTime_Subtract", (PyCFunction
) _wrap_wxDateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7560 { "wxDateTime_SubtractDS", (PyCFunction
) _wrap_wxDateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
7561 { "wxDateTime_SubtractTS", (PyCFunction
) _wrap_wxDateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
7562 { "wxDateTime_AddDS", (PyCFunction
) _wrap_wxDateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
7563 { "wxDateTime_AddTS", (PyCFunction
) _wrap_wxDateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
7564 { "wxDateTime_IsEqualUpTo", (PyCFunction
) _wrap_wxDateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
7565 { "wxDateTime_IsSameTime", (PyCFunction
) _wrap_wxDateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
7566 { "wxDateTime_IsSameDate", (PyCFunction
) _wrap_wxDateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
7567 { "wxDateTime_IsBetween", (PyCFunction
) _wrap_wxDateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
7568 { "wxDateTime_IsStrictlyBetween", (PyCFunction
) _wrap_wxDateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
7569 { "wxDateTime_IsLaterThan", (PyCFunction
) _wrap_wxDateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
7570 { "wxDateTime_IsEarlierThan", (PyCFunction
) _wrap_wxDateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
7571 { "wxDateTime_IsEqualTo", (PyCFunction
) _wrap_wxDateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7572 { "wxDateTime_IsWorkDay", (PyCFunction
) _wrap_wxDateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
7573 { "wxDateTime_GetWeekOfMonth", (PyCFunction
) _wrap_wxDateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
7574 { "wxDateTime_GetWeekOfYear", (PyCFunction
) _wrap_wxDateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7575 { "wxDateTime_GetDayOfYear", (PyCFunction
) _wrap_wxDateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7576 { "wxDateTime_GetMillisecond", (PyCFunction
) _wrap_wxDateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7577 { "wxDateTime_GetSecond", (PyCFunction
) _wrap_wxDateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7578 { "wxDateTime_GetMinute", (PyCFunction
) _wrap_wxDateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7579 { "wxDateTime_GetHour", (PyCFunction
) _wrap_wxDateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
7580 { "wxDateTime_GetDay", (PyCFunction
) _wrap_wxDateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
7581 { "wxDateTime_GetMonth", (PyCFunction
) _wrap_wxDateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7582 { "wxDateTime_GetYear", (PyCFunction
) _wrap_wxDateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
7583 { "wxDateTime_GetTicks", (PyCFunction
) _wrap_wxDateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
7584 { "wxDateTime_IsValid", (PyCFunction
) _wrap_wxDateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
7585 { "wxDateTime_IsDST", (PyCFunction
) _wrap_wxDateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
7586 { "wxDateTime_MakeGMT", (PyCFunction
) _wrap_wxDateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
7587 { "wxDateTime_ToGMT", (PyCFunction
) _wrap_wxDateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
7588 { "wxDateTime_MakeTimezone", (PyCFunction
) _wrap_wxDateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7589 { "wxDateTime_ToTimezone", (PyCFunction
) _wrap_wxDateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7590 { "wxDateTime_GetRataDie", (PyCFunction
) _wrap_wxDateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
7591 { "wxDateTime_GetMJD", (PyCFunction
) _wrap_wxDateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
7592 { "wxDateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7593 { "wxDateTime_GetJDN", (PyCFunction
) _wrap_wxDateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7594 { "wxDateTime_GetJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7595 { "wxDateTime_GetYearDay", (PyCFunction
) _wrap_wxDateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7596 { "wxDateTime_SetToYearDay", (PyCFunction
) _wrap_wxDateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7597 { "wxDateTime_GetLastMonthDay", (PyCFunction
) _wrap_wxDateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7598 { "wxDateTime_SetToLastMonthDay", (PyCFunction
) _wrap_wxDateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7599 { "wxDateTime_GetWeek", (PyCFunction
) _wrap_wxDateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
7600 { "wxDateTime_SetToTheWeek", (PyCFunction
) _wrap_wxDateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
7601 { "wxDateTime_GetLastWeekDay", (PyCFunction
) _wrap_wxDateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7602 { "wxDateTime_SetToLastWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7603 { "wxDateTime_GetWeekDay", (PyCFunction
) _wrap_wxDateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7604 { "wxDateTime_SetToWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7605 { "wxDateTime_GetPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7606 { "wxDateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7607 { "wxDateTime_GetNextWeekDay", (PyCFunction
) _wrap_wxDateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7608 { "wxDateTime_SetToNextWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7609 { "wxDateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7610 { "wxDateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7611 { "wxDateTime_SetMillisecond", (PyCFunction
) _wrap_wxDateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7612 { "wxDateTime_SetSecond", (PyCFunction
) _wrap_wxDateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7613 { "wxDateTime_SetMinute", (PyCFunction
) _wrap_wxDateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7614 { "wxDateTime_SetHour", (PyCFunction
) _wrap_wxDateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
7615 { "wxDateTime_SetDay", (PyCFunction
) _wrap_wxDateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
7616 { "wxDateTime_SetMonth", (PyCFunction
) _wrap_wxDateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7617 { "wxDateTime_SetYear", (PyCFunction
) _wrap_wxDateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
7618 { "wxDateTime_ResetTime", (PyCFunction
) _wrap_wxDateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
7619 { "wxDateTime_Set", (PyCFunction
) _wrap_wxDateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
7620 { "wxDateTime_SetHMS", (PyCFunction
) _wrap_wxDateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
7621 { "wxDateTime_SetJDN", (PyCFunction
) _wrap_wxDateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7622 { "wxDateTime_SetTimeT", (PyCFunction
) _wrap_wxDateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7623 { "wxDateTime_SetToCurrent", (PyCFunction
) _wrap_wxDateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
7624 { "delete_wxDateTime", (PyCFunction
) _wrap_delete_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7625 { "new_wxDateTimeFromDMY", (PyCFunction
) _wrap_new_wxDateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
7626 { "new_wxDateTimeFromHMS", (PyCFunction
) _wrap_new_wxDateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
7627 { "new_wxDateTimeFromJDN", (PyCFunction
) _wrap_new_wxDateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
7628 { "new_wxDateTimeFromTimeT", (PyCFunction
) _wrap_new_wxDateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7629 { "new_wxDateTime", (PyCFunction
) _wrap_new_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7630 { "wxDateTime_Today", (PyCFunction
) _wrap_wxDateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
7631 { "wxDateTime_Now", (PyCFunction
) _wrap_wxDateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
7632 { "wxDateTime_GetEndDST", (PyCFunction
) _wrap_wxDateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
7633 { "wxDateTime_GetBeginDST", (PyCFunction
) _wrap_wxDateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
7634 { "wxDateTime_IsDSTApplicable", (PyCFunction
) _wrap_wxDateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
7635 { "wxDateTime_GetAmPmStrings", (PyCFunction
) _wrap_wxDateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
7636 { "wxDateTime_GetWeekDayName", (PyCFunction
) _wrap_wxDateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
7637 { "wxDateTime_GetMonthName", (PyCFunction
) _wrap_wxDateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
7638 { "wxDateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
7639 { "wxDateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
7640 { "wxDateTime_GetCentury", (PyCFunction
) _wrap_wxDateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
7641 { "wxDateTime_IsLeapYear", (PyCFunction
) _wrap_wxDateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
7642 { "wxDateTime_GetCurrentMonth", (PyCFunction
) _wrap_wxDateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
7643 { "wxDateTime_ConvertYearToBC", (PyCFunction
) _wrap_wxDateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
7644 { "wxDateTime_GetCurrentYear", (PyCFunction
) _wrap_wxDateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
7645 { "wxDateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_wxDateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
7646 { "wxDateTime_GetCountry", (PyCFunction
) _wrap_wxDateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7647 { "wxDateTime_SetCountry", (PyCFunction
) _wrap_wxDateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7648 { "delete_wxFileConfig", (PyCFunction
) _wrap_delete_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7649 { "new_wxFileConfig", (PyCFunction
) _wrap_new_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7650 { "delete_wxConfig", (PyCFunction
) _wrap_delete_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7651 { "new_wxConfig", (PyCFunction
) _wrap_new_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7652 { "wxConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7653 { "wxConfigBase_RenameGroup", (PyCFunction
) _wrap_wxConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
7654 { "wxConfigBase_RenameEntry", (PyCFunction
) _wrap_wxConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
7655 { "wxConfigBase_GetEntryType", (PyCFunction
) _wrap_wxConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
7656 { "wxConfigBase_WriteFloat", (PyCFunction
) _wrap_wxConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
7657 { "wxConfigBase_WriteInt", (PyCFunction
) _wrap_wxConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
7658 { "wxConfigBase_Write", (PyCFunction
) _wrap_wxConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
7659 { "wxConfigBase_GetStyle", (PyCFunction
) _wrap_wxConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7660 { "wxConfigBase_SetStyle", (PyCFunction
) _wrap_wxConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7661 { "wxConfigBase_SetVendorName", (PyCFunction
) _wrap_wxConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7662 { "wxConfigBase_SetAppName", (PyCFunction
) _wrap_wxConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7663 { "wxConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_wxConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7664 { "wxConfigBase_SetPath", (PyCFunction
) _wrap_wxConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
7665 { "wxConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7666 { "wxConfigBase_ReadFloat", (PyCFunction
) _wrap_wxConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
7667 { "wxConfigBase_ReadInt", (PyCFunction
) _wrap_wxConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
7668 { "wxConfigBase_Read", (PyCFunction
) _wrap_wxConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
7669 { "wxConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_wxConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7670 { "wxConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_wxConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7671 { "wxConfigBase_HasGroup", (PyCFunction
) _wrap_wxConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
7672 { "wxConfigBase_HasEntry", (PyCFunction
) _wrap_wxConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
7673 { "wxConfigBase_GetVendorName", (PyCFunction
) _wrap_wxConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7674 { "wxConfigBase_GetPath", (PyCFunction
) _wrap_wxConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
7675 { "wxConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
7676 { "wxConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
7677 { "wxConfigBase_GetNextEntry", (PyCFunction
) _wrap_wxConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
7678 { "wxConfigBase_GetNextGroup", (PyCFunction
) _wrap_wxConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
7679 { "wxConfigBase_GetFirstEntry", (PyCFunction
) _wrap_wxConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
7680 { "wxConfigBase_GetFirstGroup", (PyCFunction
) _wrap_wxConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
7681 { "wxConfigBase_GetAppName", (PyCFunction
) _wrap_wxConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7682 { "wxConfigBase_Flush", (PyCFunction
) _wrap_wxConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
7683 { "wxConfigBase_Exists", (PyCFunction
) _wrap_wxConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
7684 { "wxConfigBase_DeleteGroup", (PyCFunction
) _wrap_wxConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
7685 { "wxConfigBase_DeleteEntry", (PyCFunction
) _wrap_wxConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
7686 { "wxConfigBase_DeleteAll", (PyCFunction
) _wrap_wxConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
7687 { "wxConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_wxConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
7688 { "wxConfigBase_Create", (PyCFunction
) _wrap_wxConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
7689 { "wxConfigBase_Get", (PyCFunction
) _wrap_wxConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
7690 { "wxConfigBase_Set", (PyCFunction
) _wrap_wxConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
7691 { "delete_wxConfigBase", (PyCFunction
) _wrap_delete_wxConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
7692 { "wxGetLocalTimeMillis", (PyCFunction
) _wrap_wxGetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
7693 { "wxGetCurrentTime", (PyCFunction
) _wrap_wxGetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
7694 { "wxGetUTCTime", (PyCFunction
) _wrap_wxGetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
7695 { "wxGetLocalTime", (PyCFunction
) _wrap_wxGetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
7702 * This table is used by the pointer type-checker
7704 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7705 { "_signed_long","_long",0},
7706 { "_class_wxDateTime","_wxDateTime",0},
7707 { "_wxPrintQuality","_wxCoord",0},
7708 { "_wxPrintQuality","_int",0},
7709 { "_wxPrintQuality","_signed_int",0},
7710 { "_wxPrintQuality","_unsigned_int",0},
7711 { "_wxPrintQuality","_wxWindowID",0},
7712 { "_wxPrintQuality","_uint",0},
7713 { "_wxPrintQuality","_EBool",0},
7714 { "_wxPrintQuality","_size_t",0},
7715 { "_wxPrintQuality","_time_t",0},
7716 { "_byte","_unsigned_char",0},
7717 { "_long","_unsigned_long",0},
7718 { "_long","_signed_long",0},
7719 { "_size_t","_wxCoord",0},
7720 { "_size_t","_wxPrintQuality",0},
7721 { "_size_t","_time_t",0},
7722 { "_size_t","_unsigned_int",0},
7723 { "_size_t","_int",0},
7724 { "_size_t","_wxWindowID",0},
7725 { "_size_t","_uint",0},
7726 { "_wxFileConfig","_class_wxFileConfig",0},
7727 { "_uint","_wxCoord",0},
7728 { "_uint","_wxPrintQuality",0},
7729 { "_uint","_time_t",0},
7730 { "_uint","_size_t",0},
7731 { "_uint","_unsigned_int",0},
7732 { "_uint","_int",0},
7733 { "_uint","_wxWindowID",0},
7734 { "_wxChar","_char",0},
7735 { "_char","_wxChar",0},
7736 { "_wxConfig","_class_wxConfig",0},
7737 { "_class_wxFileConfig","_wxFileConfig",0},
7738 { "_EBool","_wxCoord",0},
7739 { "_EBool","_wxPrintQuality",0},
7740 { "_EBool","_signed_int",0},
7741 { "_EBool","_int",0},
7742 { "_EBool","_wxWindowID",0},
7743 { "_unsigned_long","_long",0},
7744 { "_wxTimeSpan","_class_wxTimeSpan",0},
7745 { "_signed_int","_wxCoord",0},
7746 { "_signed_int","_wxPrintQuality",0},
7747 { "_signed_int","_EBool",0},
7748 { "_signed_int","_wxWindowID",0},
7749 { "_signed_int","_int",0},
7750 { "_WXTYPE","_wxDateTime_t",0},
7751 { "_WXTYPE","_short",0},
7752 { "_WXTYPE","_signed_short",0},
7753 { "_WXTYPE","_unsigned_short",0},
7754 { "_unsigned_short","_wxDateTime_t",0},
7755 { "_unsigned_short","_WXTYPE",0},
7756 { "_unsigned_short","_short",0},
7757 { "_wxDateSpan","_class_wxDateSpan",0},
7758 { "_signed_short","_WXTYPE",0},
7759 { "_signed_short","_short",0},
7760 { "_unsigned_char","_byte",0},
7761 { "_unsigned_int","_wxCoord",0},
7762 { "_unsigned_int","_wxPrintQuality",0},
7763 { "_unsigned_int","_time_t",0},
7764 { "_unsigned_int","_size_t",0},
7765 { "_unsigned_int","_uint",0},
7766 { "_unsigned_int","_wxWindowID",0},
7767 { "_unsigned_int","_int",0},
7768 { "_wxConfigBase","_class_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7769 { "_wxConfigBase","_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7770 { "_wxConfigBase","_class_wxConfig",SwigwxConfigTowxConfigBase
},
7771 { "_wxConfigBase","_wxConfig",SwigwxConfigTowxConfigBase
},
7772 { "_wxConfigBase","_class_wxConfigBase",0},
7773 { "_short","_wxDateTime_t",0},
7774 { "_short","_WXTYPE",0},
7775 { "_short","_unsigned_short",0},
7776 { "_short","_signed_short",0},
7777 { "_wxWindowID","_wxCoord",0},
7778 { "_wxWindowID","_wxPrintQuality",0},
7779 { "_wxWindowID","_time_t",0},
7780 { "_wxWindowID","_size_t",0},
7781 { "_wxWindowID","_EBool",0},
7782 { "_wxWindowID","_uint",0},
7783 { "_wxWindowID","_int",0},
7784 { "_wxWindowID","_signed_int",0},
7785 { "_wxWindowID","_unsigned_int",0},
7786 { "_int","_wxCoord",0},
7787 { "_int","_wxPrintQuality",0},
7788 { "_int","_time_t",0},
7789 { "_int","_size_t",0},
7790 { "_int","_EBool",0},
7791 { "_int","_uint",0},
7792 { "_int","_wxWindowID",0},
7793 { "_int","_unsigned_int",0},
7794 { "_int","_signed_int",0},
7795 { "_wxDateTime_t","_unsigned_short",0},
7796 { "_wxDateTime_t","_short",0},
7797 { "_wxDateTime_t","_WXTYPE",0},
7798 { "_wxDateTime","_class_wxDateTime",0},
7799 { "_time_t","_wxCoord",0},
7800 { "_time_t","_wxPrintQuality",0},
7801 { "_time_t","_unsigned_int",0},
7802 { "_time_t","_int",0},
7803 { "_time_t","_wxWindowID",0},
7804 { "_time_t","_uint",0},
7805 { "_time_t","_size_t",0},
7806 { "_class_wxTimeSpan","_wxTimeSpan",0},
7807 { "_class_wxConfigBase","_class_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7808 { "_class_wxConfigBase","_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7809 { "_class_wxConfigBase","_class_wxConfig",SwigwxConfigTowxConfigBase
},
7810 { "_class_wxConfigBase","_wxConfig",SwigwxConfigTowxConfigBase
},
7811 { "_class_wxConfigBase","_wxConfigBase",0},
7812 { "_wxCoord","_int",0},
7813 { "_wxCoord","_signed_int",0},
7814 { "_wxCoord","_unsigned_int",0},
7815 { "_wxCoord","_wxWindowID",0},
7816 { "_wxCoord","_uint",0},
7817 { "_wxCoord","_EBool",0},
7818 { "_wxCoord","_size_t",0},
7819 { "_wxCoord","_time_t",0},
7820 { "_wxCoord","_wxPrintQuality",0},
7821 { "_class_wxDateSpan","_wxDateSpan",0},
7822 { "_class_wxConfig","_wxConfig",0},
7825 static PyObject
*SWIG_globals
;
7829 SWIGEXPORT(void) initutilsc() {
7831 SWIG_globals
= SWIG_newvarlink();
7832 m
= Py_InitModule("utilsc", utilscMethods
);
7833 d
= PyModule_GetDict(m
);
7834 PyDict_SetItemString(d
,"wxCONFIG_USE_LOCAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_LOCAL_FILE
));
7835 PyDict_SetItemString(d
,"wxCONFIG_USE_GLOBAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_GLOBAL_FILE
));
7836 PyDict_SetItemString(d
,"wxCONFIG_USE_RELATIVE_PATH", PyInt_FromLong((long) wxCONFIG_USE_RELATIVE_PATH
));
7838 wxClassInfo::CleanUpClasses();
7839 wxClassInfo::InitializeClasses();
7840 PyDict_SetItemString(d
,"wxConfigBase_Type_Unknown", PyInt_FromLong((long) wxConfigBase::Type_Unknown
));
7841 PyDict_SetItemString(d
,"wxConfigBase_Type_String", PyInt_FromLong((long) wxConfigBase::Type_String
));
7842 PyDict_SetItemString(d
,"wxConfigBase_Type_Boolean", PyInt_FromLong((long) wxConfigBase::Type_Boolean
));
7843 PyDict_SetItemString(d
,"wxConfigBase_Type_Integer", PyInt_FromLong((long) wxConfigBase::Type_Integer
));
7844 PyDict_SetItemString(d
,"wxConfigBase_Type_Float", PyInt_FromLong((long) wxConfigBase::Type_Float
));
7845 PyDict_SetItemString(d
,"wxDateTime_Local", PyInt_FromLong((long) wxDateTime::Local
));
7846 PyDict_SetItemString(d
,"wxDateTime_GMT_12", PyInt_FromLong((long) wxDateTime::GMT_12
));
7847 PyDict_SetItemString(d
,"wxDateTime_GMT_11", PyInt_FromLong((long) wxDateTime::GMT_11
));
7848 PyDict_SetItemString(d
,"wxDateTime_GMT_10", PyInt_FromLong((long) wxDateTime::GMT_10
));
7849 PyDict_SetItemString(d
,"wxDateTime_GMT_9", PyInt_FromLong((long) wxDateTime::GMT_9
));
7850 PyDict_SetItemString(d
,"wxDateTime_GMT_8", PyInt_FromLong((long) wxDateTime::GMT_8
));
7851 PyDict_SetItemString(d
,"wxDateTime_GMT_7", PyInt_FromLong((long) wxDateTime::GMT_7
));
7852 PyDict_SetItemString(d
,"wxDateTime_GMT_6", PyInt_FromLong((long) wxDateTime::GMT_6
));
7853 PyDict_SetItemString(d
,"wxDateTime_GMT_5", PyInt_FromLong((long) wxDateTime::GMT_5
));
7854 PyDict_SetItemString(d
,"wxDateTime_GMT_4", PyInt_FromLong((long) wxDateTime::GMT_4
));
7855 PyDict_SetItemString(d
,"wxDateTime_GMT_3", PyInt_FromLong((long) wxDateTime::GMT_3
));
7856 PyDict_SetItemString(d
,"wxDateTime_GMT_2", PyInt_FromLong((long) wxDateTime::GMT_2
));
7857 PyDict_SetItemString(d
,"wxDateTime_GMT_1", PyInt_FromLong((long) wxDateTime::GMT_1
));
7858 PyDict_SetItemString(d
,"wxDateTime_GMT0", PyInt_FromLong((long) wxDateTime::GMT0
));
7859 PyDict_SetItemString(d
,"wxDateTime_GMT1", PyInt_FromLong((long) wxDateTime::GMT1
));
7860 PyDict_SetItemString(d
,"wxDateTime_GMT2", PyInt_FromLong((long) wxDateTime::GMT2
));
7861 PyDict_SetItemString(d
,"wxDateTime_GMT3", PyInt_FromLong((long) wxDateTime::GMT3
));
7862 PyDict_SetItemString(d
,"wxDateTime_GMT4", PyInt_FromLong((long) wxDateTime::GMT4
));
7863 PyDict_SetItemString(d
,"wxDateTime_GMT5", PyInt_FromLong((long) wxDateTime::GMT5
));
7864 PyDict_SetItemString(d
,"wxDateTime_GMT6", PyInt_FromLong((long) wxDateTime::GMT6
));
7865 PyDict_SetItemString(d
,"wxDateTime_GMT7", PyInt_FromLong((long) wxDateTime::GMT7
));
7866 PyDict_SetItemString(d
,"wxDateTime_GMT8", PyInt_FromLong((long) wxDateTime::GMT8
));
7867 PyDict_SetItemString(d
,"wxDateTime_GMT9", PyInt_FromLong((long) wxDateTime::GMT9
));
7868 PyDict_SetItemString(d
,"wxDateTime_GMT10", PyInt_FromLong((long) wxDateTime::GMT10
));
7869 PyDict_SetItemString(d
,"wxDateTime_GMT11", PyInt_FromLong((long) wxDateTime::GMT11
));
7870 PyDict_SetItemString(d
,"wxDateTime_GMT12", PyInt_FromLong((long) wxDateTime::GMT12
));
7871 PyDict_SetItemString(d
,"wxDateTime_WET", PyInt_FromLong((long) wxDateTime::WET
));
7872 PyDict_SetItemString(d
,"wxDateTime_WEST", PyInt_FromLong((long) wxDateTime::WEST
));
7873 PyDict_SetItemString(d
,"wxDateTime_CET", PyInt_FromLong((long) wxDateTime::CET
));
7874 PyDict_SetItemString(d
,"wxDateTime_CEST", PyInt_FromLong((long) wxDateTime::CEST
));
7875 PyDict_SetItemString(d
,"wxDateTime_EET", PyInt_FromLong((long) wxDateTime::EET
));
7876 PyDict_SetItemString(d
,"wxDateTime_EEST", PyInt_FromLong((long) wxDateTime::EEST
));
7877 PyDict_SetItemString(d
,"wxDateTime_MSK", PyInt_FromLong((long) wxDateTime::MSK
));
7878 PyDict_SetItemString(d
,"wxDateTime_MSD", PyInt_FromLong((long) wxDateTime::MSD
));
7879 PyDict_SetItemString(d
,"wxDateTime_AST", PyInt_FromLong((long) wxDateTime::AST
));
7880 PyDict_SetItemString(d
,"wxDateTime_ADT", PyInt_FromLong((long) wxDateTime::ADT
));
7881 PyDict_SetItemString(d
,"wxDateTime_EST", PyInt_FromLong((long) wxDateTime::EST
));
7882 PyDict_SetItemString(d
,"wxDateTime_EDT", PyInt_FromLong((long) wxDateTime::EDT
));
7883 PyDict_SetItemString(d
,"wxDateTime_CST", PyInt_FromLong((long) wxDateTime::CST
));
7884 PyDict_SetItemString(d
,"wxDateTime_CDT", PyInt_FromLong((long) wxDateTime::CDT
));
7885 PyDict_SetItemString(d
,"wxDateTime_MST", PyInt_FromLong((long) wxDateTime::MST
));
7886 PyDict_SetItemString(d
,"wxDateTime_MDT", PyInt_FromLong((long) wxDateTime::MDT
));
7887 PyDict_SetItemString(d
,"wxDateTime_PST", PyInt_FromLong((long) wxDateTime::PST
));
7888 PyDict_SetItemString(d
,"wxDateTime_PDT", PyInt_FromLong((long) wxDateTime::PDT
));
7889 PyDict_SetItemString(d
,"wxDateTime_HST", PyInt_FromLong((long) wxDateTime::HST
));
7890 PyDict_SetItemString(d
,"wxDateTime_AKST", PyInt_FromLong((long) wxDateTime::AKST
));
7891 PyDict_SetItemString(d
,"wxDateTime_AKDT", PyInt_FromLong((long) wxDateTime::AKDT
));
7892 PyDict_SetItemString(d
,"wxDateTime_A_WST", PyInt_FromLong((long) wxDateTime::A_WST
));
7893 PyDict_SetItemString(d
,"wxDateTime_A_CST", PyInt_FromLong((long) wxDateTime::A_CST
));
7894 PyDict_SetItemString(d
,"wxDateTime_A_EST", PyInt_FromLong((long) wxDateTime::A_EST
));
7895 PyDict_SetItemString(d
,"wxDateTime_A_ESST", PyInt_FromLong((long) wxDateTime::A_ESST
));
7896 PyDict_SetItemString(d
,"wxDateTime_UTC", PyInt_FromLong((long) wxDateTime::UTC
));
7897 PyDict_SetItemString(d
,"wxDateTime_Gregorian", PyInt_FromLong((long) wxDateTime::Gregorian
));
7898 PyDict_SetItemString(d
,"wxDateTime_Julian", PyInt_FromLong((long) wxDateTime::Julian
));
7899 PyDict_SetItemString(d
,"wxDateTime_Country_Unknown", PyInt_FromLong((long) wxDateTime::Country_Unknown
));
7900 PyDict_SetItemString(d
,"wxDateTime_Country_Default", PyInt_FromLong((long) wxDateTime::Country_Default
));
7901 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_Start", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_Start
));
7902 PyDict_SetItemString(d
,"wxDateTime_Country_EEC", PyInt_FromLong((long) wxDateTime::Country_EEC
));
7903 PyDict_SetItemString(d
,"wxDateTime_France", PyInt_FromLong((long) wxDateTime::France
));
7904 PyDict_SetItemString(d
,"wxDateTime_Germany", PyInt_FromLong((long) wxDateTime::Germany
));
7905 PyDict_SetItemString(d
,"wxDateTime_UK", PyInt_FromLong((long) wxDateTime::UK
));
7906 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_End", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_End
));
7907 PyDict_SetItemString(d
,"wxDateTime_Russia", PyInt_FromLong((long) wxDateTime::Russia
));
7908 PyDict_SetItemString(d
,"wxDateTime_USA", PyInt_FromLong((long) wxDateTime::USA
));
7909 PyDict_SetItemString(d
,"wxDateTime_Jan", PyInt_FromLong((long) wxDateTime::Jan
));
7910 PyDict_SetItemString(d
,"wxDateTime_Feb", PyInt_FromLong((long) wxDateTime::Feb
));
7911 PyDict_SetItemString(d
,"wxDateTime_Mar", PyInt_FromLong((long) wxDateTime::Mar
));
7912 PyDict_SetItemString(d
,"wxDateTime_Apr", PyInt_FromLong((long) wxDateTime::Apr
));
7913 PyDict_SetItemString(d
,"wxDateTime_May", PyInt_FromLong((long) wxDateTime::May
));
7914 PyDict_SetItemString(d
,"wxDateTime_Jun", PyInt_FromLong((long) wxDateTime::Jun
));
7915 PyDict_SetItemString(d
,"wxDateTime_Jul", PyInt_FromLong((long) wxDateTime::Jul
));
7916 PyDict_SetItemString(d
,"wxDateTime_Aug", PyInt_FromLong((long) wxDateTime::Aug
));
7917 PyDict_SetItemString(d
,"wxDateTime_Sep", PyInt_FromLong((long) wxDateTime::Sep
));
7918 PyDict_SetItemString(d
,"wxDateTime_Oct", PyInt_FromLong((long) wxDateTime::Oct
));
7919 PyDict_SetItemString(d
,"wxDateTime_Nov", PyInt_FromLong((long) wxDateTime::Nov
));
7920 PyDict_SetItemString(d
,"wxDateTime_Dec", PyInt_FromLong((long) wxDateTime::Dec
));
7921 PyDict_SetItemString(d
,"wxDateTime_Inv_Month", PyInt_FromLong((long) wxDateTime::Inv_Month
));
7922 PyDict_SetItemString(d
,"wxDateTime_Sun", PyInt_FromLong((long) wxDateTime::Sun
));
7923 PyDict_SetItemString(d
,"wxDateTime_Mon", PyInt_FromLong((long) wxDateTime::Mon
));
7924 PyDict_SetItemString(d
,"wxDateTime_Tue", PyInt_FromLong((long) wxDateTime::Tue
));
7925 PyDict_SetItemString(d
,"wxDateTime_Wed", PyInt_FromLong((long) wxDateTime::Wed
));
7926 PyDict_SetItemString(d
,"wxDateTime_Thu", PyInt_FromLong((long) wxDateTime::Thu
));
7927 PyDict_SetItemString(d
,"wxDateTime_Fri", PyInt_FromLong((long) wxDateTime::Fri
));
7928 PyDict_SetItemString(d
,"wxDateTime_Sat", PyInt_FromLong((long) wxDateTime::Sat
));
7929 PyDict_SetItemString(d
,"wxDateTime_Inv_WeekDay", PyInt_FromLong((long) wxDateTime::Inv_WeekDay
));
7930 PyDict_SetItemString(d
,"wxDateTime_Inv_Year", PyInt_FromLong((long) wxDateTime::Inv_Year
));
7931 PyDict_SetItemString(d
,"wxDateTime_Name_Full", PyInt_FromLong((long) wxDateTime::Name_Full
));
7932 PyDict_SetItemString(d
,"wxDateTime_Name_Abbr", PyInt_FromLong((long) wxDateTime::Name_Abbr
));
7933 PyDict_SetItemString(d
,"wxDateTime_Default_First", PyInt_FromLong((long) wxDateTime::Default_First
));
7934 PyDict_SetItemString(d
,"wxDateTime_Monday_First", PyInt_FromLong((long) wxDateTime::Monday_First
));
7935 PyDict_SetItemString(d
,"wxDateTime_Sunday_First", PyInt_FromLong((long) wxDateTime::Sunday_First
));
7938 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7939 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);