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
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initutilsc
54 #define SWIG_name "utilsc"
57 #include <wx/config.h>
58 #include <wx/fileconf.h>
59 #include <wx/datetime.h>
61 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
107 static char* wxStringErrorMsg
= "string type is required for parameter";
109 static wxString
wxPyEmptyStr("");
111 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
112 PyObject
* ret
= PyTuple_New(3);
114 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
115 PyTuple_SET_ITEM(ret
, 1, PyString_FromString(str
));
116 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
121 #define LOCAL *(new wxDateTime::TimeZone(wxDateTime::Local))
125 static PyObject
*_wrap_wxGetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
126 PyObject
* _resultobj
;
128 char *_kwnames
[] = { NULL
};
131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocalTime",_kwnames
))
134 wxPy_BEGIN_ALLOW_THREADS
;
135 _result
= (long )wxGetLocalTime();
137 wxPy_END_ALLOW_THREADS
;
138 } _resultobj
= Py_BuildValue("l",_result
);
142 static PyObject
*_wrap_wxGetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
143 PyObject
* _resultobj
;
145 char *_kwnames
[] = { NULL
};
148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUTCTime",_kwnames
))
151 wxPy_BEGIN_ALLOW_THREADS
;
152 _result
= (long )wxGetUTCTime();
154 wxPy_END_ALLOW_THREADS
;
155 } _resultobj
= Py_BuildValue("l",_result
);
159 static PyObject
*_wrap_wxGetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
160 PyObject
* _resultobj
;
162 char *_kwnames
[] = { NULL
};
165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentTime",_kwnames
))
168 wxPy_BEGIN_ALLOW_THREADS
;
169 _result
= (long )wxGetCurrentTime();
171 wxPy_END_ALLOW_THREADS
;
172 } _resultobj
= Py_BuildValue("l",_result
);
176 static PyObject
*_wrap_wxGetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
177 PyObject
* _resultobj
;
178 wxLongLong
* _result
;
179 char *_kwnames
[] = { NULL
};
182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocalTimeMillis",_kwnames
))
185 wxPy_BEGIN_ALLOW_THREADS
;
186 _result
= new wxLongLong (wxGetLocalTimeMillis());
188 wxPy_END_ALLOW_THREADS
;
190 PyObject
*hi
, *lo
, *shifter
, *shifted
;
191 hi
= PyLong_FromLong(_result
->GetHi());
192 lo
= PyLong_FromLong(_result
->GetLo());
193 shifter
= PyLong_FromLong(32);
194 shifted
= PyNumber_Lshift(hi
, shifter
);
195 _resultobj
= PyNumber_Or(shifted
, lo
);
204 #define delete_wxConfigBase(_swigobj) (delete _swigobj)
205 static PyObject
*_wrap_delete_wxConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
206 PyObject
* _resultobj
;
207 wxConfigBase
* _arg0
;
208 PyObject
* _argo0
= 0;
209 char *_kwnames
[] = { "self", NULL
};
212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxConfigBase",_kwnames
,&_argo0
))
215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxConfigBase. Expected _wxConfigBase_p.");
222 wxPy_BEGIN_ALLOW_THREADS
;
223 delete_wxConfigBase(_arg0
);
225 wxPy_END_ALLOW_THREADS
;
226 } Py_INCREF(Py_None
);
227 _resultobj
= Py_None
;
231 static PyObject
*_wrap_wxConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
232 PyObject
* _resultobj
;
233 wxConfigBase
* _result
;
234 wxConfigBase
* _arg0
;
235 PyObject
* _argo0
= 0;
236 char *_kwnames
[] = { "pConfig", NULL
};
240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_Set",_kwnames
,&_argo0
))
243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Set. Expected _wxConfigBase_p.");
250 wxPy_BEGIN_ALLOW_THREADS
;
251 _result
= (wxConfigBase
*)wxConfigBase::Set(_arg0
);
253 wxPy_END_ALLOW_THREADS
;
255 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
256 _resultobj
= Py_BuildValue("s",_ptemp
);
259 _resultobj
= Py_None
;
264 static PyObject
*_wrap_wxConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
265 PyObject
* _resultobj
;
266 wxConfigBase
* _result
;
267 bool _arg0
= (bool ) TRUE
;
268 int tempbool0
= (int) TRUE
;
269 char *_kwnames
[] = { "createOnDemand", NULL
};
273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxConfigBase_Get",_kwnames
,&tempbool0
))
275 _arg0
= (bool ) tempbool0
;
277 wxPy_BEGIN_ALLOW_THREADS
;
278 _result
= (wxConfigBase
*)wxConfigBase::Get(_arg0
);
280 wxPy_END_ALLOW_THREADS
;
282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
283 _resultobj
= Py_BuildValue("s",_ptemp
);
286 _resultobj
= Py_None
;
291 static PyObject
*_wrap_wxConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
292 PyObject
* _resultobj
;
293 wxConfigBase
* _result
;
294 char *_kwnames
[] = { NULL
};
298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxConfigBase_Create",_kwnames
))
301 wxPy_BEGIN_ALLOW_THREADS
;
302 _result
= (wxConfigBase
*)wxConfigBase::Create();
304 wxPy_END_ALLOW_THREADS
;
306 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
307 _resultobj
= Py_BuildValue("s",_ptemp
);
310 _resultobj
= Py_None
;
315 static PyObject
*_wrap_wxConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
316 PyObject
* _resultobj
;
317 char *_kwnames
[] = { NULL
};
320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxConfigBase_DontCreateOnDemand",_kwnames
))
323 wxPy_BEGIN_ALLOW_THREADS
;
324 wxConfigBase::DontCreateOnDemand();
326 wxPy_END_ALLOW_THREADS
;
327 } Py_INCREF(Py_None
);
328 _resultobj
= Py_None
;
332 #define wxConfigBase_DeleteAll(_swigobj) (_swigobj->DeleteAll())
333 static PyObject
*_wrap_wxConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
334 PyObject
* _resultobj
;
336 wxConfigBase
* _arg0
;
337 PyObject
* _argo0
= 0;
338 char *_kwnames
[] = { "self", NULL
};
341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_DeleteAll",_kwnames
,&_argo0
))
344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteAll. Expected _wxConfigBase_p.");
351 wxPy_BEGIN_ALLOW_THREADS
;
352 _result
= (bool )wxConfigBase_DeleteAll(_arg0
);
354 wxPy_END_ALLOW_THREADS
;
355 } _resultobj
= Py_BuildValue("i",_result
);
359 #define wxConfigBase_DeleteEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteEntry(_swigarg0,_swigarg1))
360 static PyObject
*_wrap_wxConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
361 PyObject
* _resultobj
;
363 wxConfigBase
* _arg0
;
365 bool _arg2
= (bool ) TRUE
;
366 PyObject
* _argo0
= 0;
367 PyObject
* _obj1
= 0;
368 int tempbool2
= (int) TRUE
;
369 char *_kwnames
[] = { "self","key","bDeleteGroupIfEmpty", NULL
};
372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxConfigBase_DeleteEntry",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteEntry. Expected _wxConfigBase_p.");
382 #if PYTHON_API_VERSION >= 1009
383 char* tmpPtr
; int tmpSize
;
384 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
385 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
388 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
390 _arg1
= new wxString(tmpPtr
, tmpSize
);
392 if (!PyString_Check(_obj1
)) {
393 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
396 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
399 _arg2
= (bool ) tempbool2
;
401 wxPy_BEGIN_ALLOW_THREADS
;
402 _result
= (bool )wxConfigBase_DeleteEntry(_arg0
,*_arg1
,_arg2
);
404 wxPy_END_ALLOW_THREADS
;
405 } _resultobj
= Py_BuildValue("i",_result
);
413 #define wxConfigBase_DeleteGroup(_swigobj,_swigarg0) (_swigobj->DeleteGroup(_swigarg0))
414 static PyObject
*_wrap_wxConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
415 PyObject
* _resultobj
;
417 wxConfigBase
* _arg0
;
419 PyObject
* _argo0
= 0;
420 PyObject
* _obj1
= 0;
421 char *_kwnames
[] = { "self","key", NULL
};
424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_DeleteGroup",_kwnames
,&_argo0
,&_obj1
))
427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteGroup. Expected _wxConfigBase_p.");
434 #if PYTHON_API_VERSION >= 1009
435 char* tmpPtr
; int tmpSize
;
436 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
437 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
440 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
442 _arg1
= new wxString(tmpPtr
, tmpSize
);
444 if (!PyString_Check(_obj1
)) {
445 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
448 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
452 wxPy_BEGIN_ALLOW_THREADS
;
453 _result
= (bool )wxConfigBase_DeleteGroup(_arg0
,*_arg1
);
455 wxPy_END_ALLOW_THREADS
;
456 } _resultobj
= Py_BuildValue("i",_result
);
464 #define wxConfigBase_Exists(_swigobj,_swigarg0) (_swigobj->Exists(_swigarg0))
465 static PyObject
*_wrap_wxConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
466 PyObject
* _resultobj
;
468 wxConfigBase
* _arg0
;
470 PyObject
* _argo0
= 0;
471 PyObject
* _obj1
= 0;
472 char *_kwnames
[] = { "self","strName", NULL
};
475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_Exists",_kwnames
,&_argo0
,&_obj1
))
478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Exists. Expected _wxConfigBase_p.");
485 #if PYTHON_API_VERSION >= 1009
486 char* tmpPtr
; int tmpSize
;
487 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
488 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
491 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
493 _arg1
= new wxString(tmpPtr
, tmpSize
);
495 if (!PyString_Check(_obj1
)) {
496 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
499 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
503 wxPy_BEGIN_ALLOW_THREADS
;
504 _result
= (bool )wxConfigBase_Exists(_arg0
,*_arg1
);
506 wxPy_END_ALLOW_THREADS
;
507 } _resultobj
= Py_BuildValue("i",_result
);
515 #define wxConfigBase_Flush(_swigobj,_swigarg0) (_swigobj->Flush(_swigarg0))
516 static PyObject
*_wrap_wxConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
517 PyObject
* _resultobj
;
519 wxConfigBase
* _arg0
;
520 bool _arg1
= (bool ) FALSE
;
521 PyObject
* _argo0
= 0;
522 int tempbool1
= (int) FALSE
;
523 char *_kwnames
[] = { "self","bCurrentOnly", NULL
};
526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_Flush",_kwnames
,&_argo0
,&tempbool1
))
529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Flush. Expected _wxConfigBase_p.");
535 _arg1
= (bool ) tempbool1
;
537 wxPy_BEGIN_ALLOW_THREADS
;
538 _result
= (bool )wxConfigBase_Flush(_arg0
,_arg1
);
540 wxPy_END_ALLOW_THREADS
;
541 } _resultobj
= Py_BuildValue("i",_result
);
545 #define wxConfigBase_GetAppName(_swigobj) (_swigobj->GetAppName())
546 static PyObject
*_wrap_wxConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
547 PyObject
* _resultobj
;
549 wxConfigBase
* _arg0
;
550 PyObject
* _argo0
= 0;
551 char *_kwnames
[] = { "self", NULL
};
554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetAppName",_kwnames
,&_argo0
))
557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetAppName. Expected _wxConfigBase_p.");
564 wxPy_BEGIN_ALLOW_THREADS
;
565 _result
= new wxString (wxConfigBase_GetAppName(_arg0
));
567 wxPy_END_ALLOW_THREADS
;
569 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
577 static PyObject
* wxConfigBase_GetFirstGroup(wxConfigBase
*self
) {
582 cont
= self
->GetFirstGroup(value
, index
);
583 return __EnumerationHelper(cont
, value
, index
);
585 static PyObject
*_wrap_wxConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
586 PyObject
* _resultobj
;
588 wxConfigBase
* _arg0
;
589 PyObject
* _argo0
= 0;
590 char *_kwnames
[] = { "self", NULL
};
593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetFirstGroup",_kwnames
,&_argo0
))
596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetFirstGroup. Expected _wxConfigBase_p.");
603 wxPy_BEGIN_ALLOW_THREADS
;
604 _result
= (PyObject
*)wxConfigBase_GetFirstGroup(_arg0
);
606 wxPy_END_ALLOW_THREADS
;
608 _resultobj
= _result
;
613 static PyObject
* wxConfigBase_GetFirstEntry(wxConfigBase
*self
) {
618 cont
= self
->GetFirstEntry(value
, index
);
619 return __EnumerationHelper(cont
, value
, index
);
621 static PyObject
*_wrap_wxConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
622 PyObject
* _resultobj
;
624 wxConfigBase
* _arg0
;
625 PyObject
* _argo0
= 0;
626 char *_kwnames
[] = { "self", NULL
};
629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetFirstEntry",_kwnames
,&_argo0
))
632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetFirstEntry. Expected _wxConfigBase_p.");
639 wxPy_BEGIN_ALLOW_THREADS
;
640 _result
= (PyObject
*)wxConfigBase_GetFirstEntry(_arg0
);
642 wxPy_END_ALLOW_THREADS
;
644 _resultobj
= _result
;
649 static PyObject
* wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
) {
653 cont
= self
->GetNextGroup(value
, index
);
654 return __EnumerationHelper(cont
, value
, index
);
656 static PyObject
*_wrap_wxConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
657 PyObject
* _resultobj
;
659 wxConfigBase
* _arg0
;
661 PyObject
* _argo0
= 0;
662 char *_kwnames
[] = { "self","index", NULL
};
665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_GetNextGroup",_kwnames
,&_argo0
,&_arg1
))
668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNextGroup. Expected _wxConfigBase_p.");
675 wxPy_BEGIN_ALLOW_THREADS
;
676 _result
= (PyObject
*)wxConfigBase_GetNextGroup(_arg0
,_arg1
);
678 wxPy_END_ALLOW_THREADS
;
680 _resultobj
= _result
;
685 static PyObject
* wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
) {
689 cont
= self
->GetNextEntry(value
, index
);
690 return __EnumerationHelper(cont
, value
, index
);
692 static PyObject
*_wrap_wxConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
693 PyObject
* _resultobj
;
695 wxConfigBase
* _arg0
;
697 PyObject
* _argo0
= 0;
698 char *_kwnames
[] = { "self","index", NULL
};
701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_GetNextEntry",_kwnames
,&_argo0
,&_arg1
))
704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNextEntry. Expected _wxConfigBase_p.");
711 wxPy_BEGIN_ALLOW_THREADS
;
712 _result
= (PyObject
*)wxConfigBase_GetNextEntry(_arg0
,_arg1
);
714 wxPy_END_ALLOW_THREADS
;
716 _resultobj
= _result
;
721 #define wxConfigBase_GetNumberOfEntries(_swigobj,_swigarg0) (_swigobj->GetNumberOfEntries(_swigarg0))
722 static PyObject
*_wrap_wxConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
723 PyObject
* _resultobj
;
725 wxConfigBase
* _arg0
;
726 bool _arg1
= (bool ) FALSE
;
727 PyObject
* _argo0
= 0;
728 int tempbool1
= (int) FALSE
;
729 char *_kwnames
[] = { "self","bRecursive", NULL
};
732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_GetNumberOfEntries",_kwnames
,&_argo0
,&tempbool1
))
735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNumberOfEntries. Expected _wxConfigBase_p.");
741 _arg1
= (bool ) tempbool1
;
743 wxPy_BEGIN_ALLOW_THREADS
;
744 _result
= (int )wxConfigBase_GetNumberOfEntries(_arg0
,_arg1
);
746 wxPy_END_ALLOW_THREADS
;
747 } _resultobj
= Py_BuildValue("i",_result
);
751 #define wxConfigBase_GetNumberOfGroups(_swigobj,_swigarg0) (_swigobj->GetNumberOfGroups(_swigarg0))
752 static PyObject
*_wrap_wxConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
753 PyObject
* _resultobj
;
755 wxConfigBase
* _arg0
;
756 bool _arg1
= (bool ) FALSE
;
757 PyObject
* _argo0
= 0;
758 int tempbool1
= (int) FALSE
;
759 char *_kwnames
[] = { "self","bRecursive", NULL
};
762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_GetNumberOfGroups",_kwnames
,&_argo0
,&tempbool1
))
765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNumberOfGroups. Expected _wxConfigBase_p.");
771 _arg1
= (bool ) tempbool1
;
773 wxPy_BEGIN_ALLOW_THREADS
;
774 _result
= (int )wxConfigBase_GetNumberOfGroups(_arg0
,_arg1
);
776 wxPy_END_ALLOW_THREADS
;
777 } _resultobj
= Py_BuildValue("i",_result
);
781 #define wxConfigBase_GetPath(_swigobj) (_swigobj->GetPath())
782 static PyObject
*_wrap_wxConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
783 PyObject
* _resultobj
;
785 wxConfigBase
* _arg0
;
786 PyObject
* _argo0
= 0;
787 char *_kwnames
[] = { "self", NULL
};
790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetPath",_kwnames
,&_argo0
))
793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetPath. Expected _wxConfigBase_p.");
800 wxPy_BEGIN_ALLOW_THREADS
;
801 _result
= new wxString (wxConfigBase_GetPath(_arg0
));
803 wxPy_END_ALLOW_THREADS
;
805 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
813 #define wxConfigBase_GetVendorName(_swigobj) (_swigobj->GetVendorName())
814 static PyObject
*_wrap_wxConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
815 PyObject
* _resultobj
;
817 wxConfigBase
* _arg0
;
818 PyObject
* _argo0
= 0;
819 char *_kwnames
[] = { "self", NULL
};
822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetVendorName",_kwnames
,&_argo0
))
825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetVendorName. Expected _wxConfigBase_p.");
832 wxPy_BEGIN_ALLOW_THREADS
;
833 _result
= new wxString (wxConfigBase_GetVendorName(_arg0
));
835 wxPy_END_ALLOW_THREADS
;
837 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
845 #define wxConfigBase_HasEntry(_swigobj,_swigarg0) (_swigobj->HasEntry(_swigarg0))
846 static PyObject
*_wrap_wxConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
847 PyObject
* _resultobj
;
849 wxConfigBase
* _arg0
;
851 PyObject
* _argo0
= 0;
852 PyObject
* _obj1
= 0;
853 char *_kwnames
[] = { "self","strName", NULL
};
856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_HasEntry",_kwnames
,&_argo0
,&_obj1
))
859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_HasEntry. Expected _wxConfigBase_p.");
866 #if PYTHON_API_VERSION >= 1009
867 char* tmpPtr
; int tmpSize
;
868 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
869 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
872 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
874 _arg1
= new wxString(tmpPtr
, tmpSize
);
876 if (!PyString_Check(_obj1
)) {
877 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
880 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
884 wxPy_BEGIN_ALLOW_THREADS
;
885 _result
= (bool )wxConfigBase_HasEntry(_arg0
,*_arg1
);
887 wxPy_END_ALLOW_THREADS
;
888 } _resultobj
= Py_BuildValue("i",_result
);
896 #define wxConfigBase_HasGroup(_swigobj,_swigarg0) (_swigobj->HasGroup(_swigarg0))
897 static PyObject
*_wrap_wxConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
898 PyObject
* _resultobj
;
900 wxConfigBase
* _arg0
;
902 PyObject
* _argo0
= 0;
903 PyObject
* _obj1
= 0;
904 char *_kwnames
[] = { "self","strName", NULL
};
907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_HasGroup",_kwnames
,&_argo0
,&_obj1
))
910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_HasGroup. Expected _wxConfigBase_p.");
917 #if PYTHON_API_VERSION >= 1009
918 char* tmpPtr
; int tmpSize
;
919 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
920 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
923 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
925 _arg1
= new wxString(tmpPtr
, tmpSize
);
927 if (!PyString_Check(_obj1
)) {
928 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
931 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
935 wxPy_BEGIN_ALLOW_THREADS
;
936 _result
= (bool )wxConfigBase_HasGroup(_arg0
,*_arg1
);
938 wxPy_END_ALLOW_THREADS
;
939 } _resultobj
= Py_BuildValue("i",_result
);
947 #define wxConfigBase_IsExpandingEnvVars(_swigobj) (_swigobj->IsExpandingEnvVars())
948 static PyObject
*_wrap_wxConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
949 PyObject
* _resultobj
;
951 wxConfigBase
* _arg0
;
952 PyObject
* _argo0
= 0;
953 char *_kwnames
[] = { "self", NULL
};
956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_IsExpandingEnvVars",_kwnames
,&_argo0
))
959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_IsExpandingEnvVars. Expected _wxConfigBase_p.");
966 wxPy_BEGIN_ALLOW_THREADS
;
967 _result
= (bool )wxConfigBase_IsExpandingEnvVars(_arg0
);
969 wxPy_END_ALLOW_THREADS
;
970 } _resultobj
= Py_BuildValue("i",_result
);
974 #define wxConfigBase_IsRecordingDefaults(_swigobj) (_swigobj->IsRecordingDefaults())
975 static PyObject
*_wrap_wxConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
976 PyObject
* _resultobj
;
978 wxConfigBase
* _arg0
;
979 PyObject
* _argo0
= 0;
980 char *_kwnames
[] = { "self", NULL
};
983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_IsRecordingDefaults",_kwnames
,&_argo0
))
986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_IsRecordingDefaults. Expected _wxConfigBase_p.");
993 wxPy_BEGIN_ALLOW_THREADS
;
994 _result
= (bool )wxConfigBase_IsRecordingDefaults(_arg0
);
996 wxPy_END_ALLOW_THREADS
;
997 } _resultobj
= Py_BuildValue("i",_result
);
1001 #define wxConfigBase_Read(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
1002 static PyObject
*_wrap_wxConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1003 PyObject
* _resultobj
;
1005 wxConfigBase
* _arg0
;
1007 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
1008 PyObject
* _argo0
= 0;
1009 PyObject
* _obj1
= 0;
1010 PyObject
* _obj2
= 0;
1011 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxConfigBase_Read",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Read. Expected _wxConfigBase_p.");
1024 #if PYTHON_API_VERSION >= 1009
1025 char* tmpPtr
; int tmpSize
;
1026 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1027 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1030 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1032 _arg1
= new wxString(tmpPtr
, tmpSize
);
1034 if (!PyString_Check(_obj1
)) {
1035 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1038 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1043 #if PYTHON_API_VERSION >= 1009
1044 char* tmpPtr
; int tmpSize
;
1045 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1046 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1049 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1051 _arg2
= new wxString(tmpPtr
, tmpSize
);
1053 if (!PyString_Check(_obj2
)) {
1054 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1057 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1061 wxPy_BEGIN_ALLOW_THREADS
;
1062 _result
= new wxString (wxConfigBase_Read(_arg0
,*_arg1
,*_arg2
));
1064 wxPy_END_ALLOW_THREADS
;
1066 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1082 #define wxConfigBase_ReadInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
1083 static PyObject
*_wrap_wxConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1084 PyObject
* _resultobj
;
1086 wxConfigBase
* _arg0
;
1088 long _arg2
= (long ) 0;
1089 PyObject
* _argo0
= 0;
1090 PyObject
* _obj1
= 0;
1091 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|l:wxConfigBase_ReadInt",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadInt. Expected _wxConfigBase_p.");
1104 #if PYTHON_API_VERSION >= 1009
1105 char* tmpPtr
; int tmpSize
;
1106 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1107 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1110 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1112 _arg1
= new wxString(tmpPtr
, tmpSize
);
1114 if (!PyString_Check(_obj1
)) {
1115 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1118 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1122 wxPy_BEGIN_ALLOW_THREADS
;
1123 _result
= (long )wxConfigBase_ReadInt(_arg0
,*_arg1
,_arg2
);
1125 wxPy_END_ALLOW_THREADS
;
1126 } _resultobj
= Py_BuildValue("l",_result
);
1134 #define wxConfigBase_ReadFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
1135 static PyObject
*_wrap_wxConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1136 PyObject
* _resultobj
;
1138 wxConfigBase
* _arg0
;
1140 double _arg2
= (double ) 0.0;
1141 PyObject
* _argo0
= 0;
1142 PyObject
* _obj1
= 0;
1143 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|d:wxConfigBase_ReadFloat",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadFloat. Expected _wxConfigBase_p.");
1156 #if PYTHON_API_VERSION >= 1009
1157 char* tmpPtr
; int tmpSize
;
1158 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1159 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1162 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1164 _arg1
= new wxString(tmpPtr
, tmpSize
);
1166 if (!PyString_Check(_obj1
)) {
1167 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1170 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1174 wxPy_BEGIN_ALLOW_THREADS
;
1175 _result
= (double )wxConfigBase_ReadFloat(_arg0
,*_arg1
,_arg2
);
1177 wxPy_END_ALLOW_THREADS
;
1178 } _resultobj
= Py_BuildValue("d",_result
);
1186 #define wxConfigBase_SetExpandEnvVars(_swigobj,_swigarg0) (_swigobj->SetExpandEnvVars(_swigarg0))
1187 static PyObject
*_wrap_wxConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1188 PyObject
* _resultobj
;
1189 wxConfigBase
* _arg0
;
1190 bool _arg1
= (bool ) TRUE
;
1191 PyObject
* _argo0
= 0;
1192 int tempbool1
= (int) TRUE
;
1193 char *_kwnames
[] = { "self","bDoIt", NULL
};
1196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_SetExpandEnvVars",_kwnames
,&_argo0
,&tempbool1
))
1199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetExpandEnvVars. Expected _wxConfigBase_p.");
1205 _arg1
= (bool ) tempbool1
;
1207 wxPy_BEGIN_ALLOW_THREADS
;
1208 wxConfigBase_SetExpandEnvVars(_arg0
,_arg1
);
1210 wxPy_END_ALLOW_THREADS
;
1211 } Py_INCREF(Py_None
);
1212 _resultobj
= Py_None
;
1216 #define wxConfigBase_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1217 static PyObject
*_wrap_wxConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
* _resultobj
;
1219 wxConfigBase
* _arg0
;
1221 PyObject
* _argo0
= 0;
1222 PyObject
* _obj1
= 0;
1223 char *_kwnames
[] = { "self","strPath", NULL
};
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetPath",_kwnames
,&_argo0
,&_obj1
))
1229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetPath. Expected _wxConfigBase_p.");
1236 #if PYTHON_API_VERSION >= 1009
1237 char* tmpPtr
; int tmpSize
;
1238 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1239 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1242 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1244 _arg1
= new wxString(tmpPtr
, tmpSize
);
1246 if (!PyString_Check(_obj1
)) {
1247 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1250 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1254 wxPy_BEGIN_ALLOW_THREADS
;
1255 wxConfigBase_SetPath(_arg0
,*_arg1
);
1257 wxPy_END_ALLOW_THREADS
;
1258 } Py_INCREF(Py_None
);
1259 _resultobj
= Py_None
;
1267 #define wxConfigBase_SetRecordDefaults(_swigobj,_swigarg0) (_swigobj->SetRecordDefaults(_swigarg0))
1268 static PyObject
*_wrap_wxConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1269 PyObject
* _resultobj
;
1270 wxConfigBase
* _arg0
;
1271 bool _arg1
= (bool ) TRUE
;
1272 PyObject
* _argo0
= 0;
1273 int tempbool1
= (int) TRUE
;
1274 char *_kwnames
[] = { "self","bDoIt", NULL
};
1277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_SetRecordDefaults",_kwnames
,&_argo0
,&tempbool1
))
1280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetRecordDefaults. Expected _wxConfigBase_p.");
1286 _arg1
= (bool ) tempbool1
;
1288 wxPy_BEGIN_ALLOW_THREADS
;
1289 wxConfigBase_SetRecordDefaults(_arg0
,_arg1
);
1291 wxPy_END_ALLOW_THREADS
;
1292 } Py_INCREF(Py_None
);
1293 _resultobj
= Py_None
;
1297 #define wxConfigBase_SetAppName(_swigobj,_swigarg0) (_swigobj->SetAppName(_swigarg0))
1298 static PyObject
*_wrap_wxConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1299 PyObject
* _resultobj
;
1300 wxConfigBase
* _arg0
;
1302 PyObject
* _argo0
= 0;
1303 PyObject
* _obj1
= 0;
1304 char *_kwnames
[] = { "self","appName", NULL
};
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetAppName",_kwnames
,&_argo0
,&_obj1
))
1310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetAppName. Expected _wxConfigBase_p.");
1317 #if PYTHON_API_VERSION >= 1009
1318 char* tmpPtr
; int tmpSize
;
1319 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1320 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1323 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1325 _arg1
= new wxString(tmpPtr
, tmpSize
);
1327 if (!PyString_Check(_obj1
)) {
1328 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1331 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1335 wxPy_BEGIN_ALLOW_THREADS
;
1336 wxConfigBase_SetAppName(_arg0
,*_arg1
);
1338 wxPy_END_ALLOW_THREADS
;
1339 } Py_INCREF(Py_None
);
1340 _resultobj
= Py_None
;
1348 #define wxConfigBase_SetVendorName(_swigobj,_swigarg0) (_swigobj->SetVendorName(_swigarg0))
1349 static PyObject
*_wrap_wxConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
* _resultobj
;
1351 wxConfigBase
* _arg0
;
1353 PyObject
* _argo0
= 0;
1354 PyObject
* _obj1
= 0;
1355 char *_kwnames
[] = { "self","vendorName", NULL
};
1358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetVendorName",_kwnames
,&_argo0
,&_obj1
))
1361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetVendorName. Expected _wxConfigBase_p.");
1368 #if PYTHON_API_VERSION >= 1009
1369 char* tmpPtr
; int tmpSize
;
1370 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1371 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1374 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1376 _arg1
= new wxString(tmpPtr
, tmpSize
);
1378 if (!PyString_Check(_obj1
)) {
1379 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1382 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1386 wxPy_BEGIN_ALLOW_THREADS
;
1387 wxConfigBase_SetVendorName(_arg0
,*_arg1
);
1389 wxPy_END_ALLOW_THREADS
;
1390 } Py_INCREF(Py_None
);
1391 _resultobj
= Py_None
;
1399 #define wxConfigBase_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1400 static PyObject
*_wrap_wxConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1401 PyObject
* _resultobj
;
1402 wxConfigBase
* _arg0
;
1404 PyObject
* _argo0
= 0;
1405 char *_kwnames
[] = { "self","style", NULL
};
1408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetStyle. Expected _wxConfigBase_p.");
1418 wxPy_BEGIN_ALLOW_THREADS
;
1419 wxConfigBase_SetStyle(_arg0
,_arg1
);
1421 wxPy_END_ALLOW_THREADS
;
1422 } Py_INCREF(Py_None
);
1423 _resultobj
= Py_None
;
1427 #define wxConfigBase_GetStyle(_swigobj) (_swigobj->GetStyle())
1428 static PyObject
*_wrap_wxConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
* _resultobj
;
1431 wxConfigBase
* _arg0
;
1432 PyObject
* _argo0
= 0;
1433 char *_kwnames
[] = { "self", NULL
};
1436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetStyle",_kwnames
,&_argo0
))
1439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetStyle. Expected _wxConfigBase_p.");
1446 wxPy_BEGIN_ALLOW_THREADS
;
1447 _result
= (long )wxConfigBase_GetStyle(_arg0
);
1449 wxPy_END_ALLOW_THREADS
;
1450 } _resultobj
= Py_BuildValue("l",_result
);
1454 #define wxConfigBase_Write(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1455 static PyObject
*_wrap_wxConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1456 PyObject
* _resultobj
;
1458 wxConfigBase
* _arg0
;
1461 PyObject
* _argo0
= 0;
1462 PyObject
* _obj1
= 0;
1463 PyObject
* _obj2
= 0;
1464 char *_kwnames
[] = { "self","key","value", NULL
};
1467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_Write",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Write. Expected _wxConfigBase_p.");
1477 #if PYTHON_API_VERSION >= 1009
1478 char* tmpPtr
; int tmpSize
;
1479 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1480 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1483 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1485 _arg1
= new wxString(tmpPtr
, tmpSize
);
1487 if (!PyString_Check(_obj1
)) {
1488 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1491 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1495 #if PYTHON_API_VERSION >= 1009
1496 char* tmpPtr
; int tmpSize
;
1497 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1498 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1501 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1503 _arg2
= new wxString(tmpPtr
, tmpSize
);
1505 if (!PyString_Check(_obj2
)) {
1506 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1509 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1513 wxPy_BEGIN_ALLOW_THREADS
;
1514 _result
= (bool )wxConfigBase_Write(_arg0
,*_arg1
,*_arg2
);
1516 wxPy_END_ALLOW_THREADS
;
1517 } _resultobj
= Py_BuildValue("i",_result
);
1529 #define wxConfigBase_WriteInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1530 static PyObject
*_wrap_wxConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1531 PyObject
* _resultobj
;
1533 wxConfigBase
* _arg0
;
1536 PyObject
* _argo0
= 0;
1537 PyObject
* _obj1
= 0;
1538 char *_kwnames
[] = { "self","key","value", NULL
};
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxConfigBase_WriteInt",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteInt. Expected _wxConfigBase_p.");
1551 #if PYTHON_API_VERSION >= 1009
1552 char* tmpPtr
; int tmpSize
;
1553 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1554 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1557 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1559 _arg1
= new wxString(tmpPtr
, tmpSize
);
1561 if (!PyString_Check(_obj1
)) {
1562 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1565 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1569 wxPy_BEGIN_ALLOW_THREADS
;
1570 _result
= (bool )wxConfigBase_WriteInt(_arg0
,*_arg1
,_arg2
);
1572 wxPy_END_ALLOW_THREADS
;
1573 } _resultobj
= Py_BuildValue("i",_result
);
1581 #define wxConfigBase_WriteFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1582 static PyObject
*_wrap_wxConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1583 PyObject
* _resultobj
;
1585 wxConfigBase
* _arg0
;
1588 PyObject
* _argo0
= 0;
1589 PyObject
* _obj1
= 0;
1590 char *_kwnames
[] = { "self","key","value", NULL
};
1593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOd:wxConfigBase_WriteFloat",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteFloat. Expected _wxConfigBase_p.");
1603 #if PYTHON_API_VERSION >= 1009
1604 char* tmpPtr
; int tmpSize
;
1605 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1606 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1609 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1611 _arg1
= new wxString(tmpPtr
, tmpSize
);
1613 if (!PyString_Check(_obj1
)) {
1614 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1617 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1621 wxPy_BEGIN_ALLOW_THREADS
;
1622 _result
= (bool )wxConfigBase_WriteFloat(_arg0
,*_arg1
,_arg2
);
1624 wxPy_END_ALLOW_THREADS
;
1625 } _resultobj
= Py_BuildValue("i",_result
);
1633 #define wxConfigBase_GetEntryType(_swigobj,_swigarg0) (_swigobj->GetEntryType(_swigarg0))
1634 static PyObject
*_wrap_wxConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
* _resultobj
;
1636 wxConfigBase::EntryType _result
;
1637 wxConfigBase
* _arg0
;
1639 PyObject
* _argo0
= 0;
1640 PyObject
* _obj1
= 0;
1641 char *_kwnames
[] = { "self","name", NULL
};
1644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_GetEntryType",_kwnames
,&_argo0
,&_obj1
))
1647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetEntryType. Expected _wxConfigBase_p.");
1654 #if PYTHON_API_VERSION >= 1009
1655 char* tmpPtr
; int tmpSize
;
1656 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1657 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1660 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1662 _arg1
= new wxString(tmpPtr
, tmpSize
);
1664 if (!PyString_Check(_obj1
)) {
1665 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1668 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1672 wxPy_BEGIN_ALLOW_THREADS
;
1673 _result
= (wxConfigBase::EntryType
)wxConfigBase_GetEntryType(_arg0
,*_arg1
);
1675 wxPy_END_ALLOW_THREADS
;
1676 } _resultobj
= Py_BuildValue("i",_result
);
1684 #define wxConfigBase_RenameEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameEntry(_swigarg0,_swigarg1))
1685 static PyObject
*_wrap_wxConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1686 PyObject
* _resultobj
;
1688 wxConfigBase
* _arg0
;
1691 PyObject
* _argo0
= 0;
1692 PyObject
* _obj1
= 0;
1693 PyObject
* _obj2
= 0;
1694 char *_kwnames
[] = { "self","oldName","newName", NULL
};
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_RenameEntry",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_RenameEntry. Expected _wxConfigBase_p.");
1707 #if PYTHON_API_VERSION >= 1009
1708 char* tmpPtr
; int tmpSize
;
1709 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1710 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1713 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1715 _arg1
= new wxString(tmpPtr
, tmpSize
);
1717 if (!PyString_Check(_obj1
)) {
1718 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1721 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1725 #if PYTHON_API_VERSION >= 1009
1726 char* tmpPtr
; int tmpSize
;
1727 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1728 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1731 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1733 _arg2
= new wxString(tmpPtr
, tmpSize
);
1735 if (!PyString_Check(_obj2
)) {
1736 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1739 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1743 wxPy_BEGIN_ALLOW_THREADS
;
1744 _result
= (bool )wxConfigBase_RenameEntry(_arg0
,*_arg1
,*_arg2
);
1746 wxPy_END_ALLOW_THREADS
;
1747 } _resultobj
= Py_BuildValue("i",_result
);
1759 #define wxConfigBase_RenameGroup(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameGroup(_swigarg0,_swigarg1))
1760 static PyObject
*_wrap_wxConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
* _resultobj
;
1763 wxConfigBase
* _arg0
;
1766 PyObject
* _argo0
= 0;
1767 PyObject
* _obj1
= 0;
1768 PyObject
* _obj2
= 0;
1769 char *_kwnames
[] = { "self","oldName","newName", NULL
};
1772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_RenameGroup",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_RenameGroup. Expected _wxConfigBase_p.");
1782 #if PYTHON_API_VERSION >= 1009
1783 char* tmpPtr
; int tmpSize
;
1784 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1785 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1788 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1790 _arg1
= new wxString(tmpPtr
, tmpSize
);
1792 if (!PyString_Check(_obj1
)) {
1793 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1796 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1800 #if PYTHON_API_VERSION >= 1009
1801 char* tmpPtr
; int tmpSize
;
1802 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1803 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1806 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1808 _arg2
= new wxString(tmpPtr
, tmpSize
);
1810 if (!PyString_Check(_obj2
)) {
1811 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1814 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1818 wxPy_BEGIN_ALLOW_THREADS
;
1819 _result
= (bool )wxConfigBase_RenameGroup(_arg0
,*_arg1
,*_arg2
);
1821 wxPy_END_ALLOW_THREADS
;
1822 } _resultobj
= Py_BuildValue("i",_result
);
1834 #define wxConfigBase_ExpandEnvVars(_swigobj,_swigarg0) (_swigobj->ExpandEnvVars(_swigarg0))
1835 static PyObject
*_wrap_wxConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
* _resultobj
;
1838 wxConfigBase
* _arg0
;
1840 PyObject
* _argo0
= 0;
1841 PyObject
* _obj1
= 0;
1842 char *_kwnames
[] = { "self","str", NULL
};
1845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_ExpandEnvVars",_kwnames
,&_argo0
,&_obj1
))
1848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ExpandEnvVars. Expected _wxConfigBase_p.");
1855 #if PYTHON_API_VERSION >= 1009
1856 char* tmpPtr
; int tmpSize
;
1857 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1858 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1861 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1863 _arg1
= new wxString(tmpPtr
, tmpSize
);
1865 if (!PyString_Check(_obj1
)) {
1866 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1869 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1873 wxPy_BEGIN_ALLOW_THREADS
;
1874 _result
= new wxString (wxConfigBase_ExpandEnvVars(_arg0
,*_arg1
));
1876 wxPy_END_ALLOW_THREADS
;
1878 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1890 static void *SwigwxConfigTowxConfigBase(void *ptr
) {
1893 src
= (wxConfig
*) ptr
;
1894 dest
= (wxConfigBase
*) src
;
1895 return (void *) dest
;
1898 #define new_wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1899 static PyObject
*_wrap_new_wxConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
* _resultobj
;
1902 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
1903 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
1904 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
1905 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
1906 long _arg4
= (long ) 0;
1907 PyObject
* _obj0
= 0;
1908 PyObject
* _obj1
= 0;
1909 PyObject
* _obj2
= 0;
1910 PyObject
* _obj3
= 0;
1911 char *_kwnames
[] = { "appName","vendorName","localFilename","globalFilename","style", NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOl:new_wxConfig",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
))
1919 #if PYTHON_API_VERSION >= 1009
1920 char* tmpPtr
; int tmpSize
;
1921 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1922 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1925 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1927 _arg0
= new wxString(tmpPtr
, tmpSize
);
1929 if (!PyString_Check(_obj0
)) {
1930 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1933 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1938 #if PYTHON_API_VERSION >= 1009
1939 char* tmpPtr
; int tmpSize
;
1940 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1941 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1944 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1946 _arg1
= new wxString(tmpPtr
, tmpSize
);
1948 if (!PyString_Check(_obj1
)) {
1949 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1952 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1957 #if PYTHON_API_VERSION >= 1009
1958 char* tmpPtr
; int tmpSize
;
1959 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1960 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1963 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1965 _arg2
= new wxString(tmpPtr
, tmpSize
);
1967 if (!PyString_Check(_obj2
)) {
1968 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1971 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1976 #if PYTHON_API_VERSION >= 1009
1977 char* tmpPtr
; int tmpSize
;
1978 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
1979 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1982 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
1984 _arg3
= new wxString(tmpPtr
, tmpSize
);
1986 if (!PyString_Check(_obj3
)) {
1987 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1990 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
1994 wxPy_BEGIN_ALLOW_THREADS
;
1995 _result
= (wxConfig
*)new_wxConfig(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
1997 wxPy_END_ALLOW_THREADS
;
1999 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfig_p");
2000 _resultobj
= Py_BuildValue("s",_ptemp
);
2003 _resultobj
= Py_None
;
2024 #define delete_wxConfig(_swigobj) (delete _swigobj)
2025 static PyObject
*_wrap_delete_wxConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
* _resultobj
;
2028 PyObject
* _argo0
= 0;
2029 char *_kwnames
[] = { "self", NULL
};
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxConfig",_kwnames
,&_argo0
))
2035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfig_p")) {
2037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxConfig. Expected _wxConfig_p.");
2042 wxPy_BEGIN_ALLOW_THREADS
;
2043 delete_wxConfig(_arg0
);
2045 wxPy_END_ALLOW_THREADS
;
2046 } Py_INCREF(Py_None
);
2047 _resultobj
= Py_None
;
2051 static void *SwigwxFileConfigTowxConfigBase(void *ptr
) {
2054 src
= (wxFileConfig
*) ptr
;
2055 dest
= (wxConfigBase
*) src
;
2056 return (void *) dest
;
2059 #define new_wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2060 static PyObject
*_wrap_new_wxFileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
* _resultobj
;
2062 wxFileConfig
* _result
;
2063 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
2064 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
2065 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
2066 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
2067 long _arg4
= (long ) 0;
2068 PyObject
* _obj0
= 0;
2069 PyObject
* _obj1
= 0;
2070 PyObject
* _obj2
= 0;
2071 PyObject
* _obj3
= 0;
2072 char *_kwnames
[] = { "appName","vendorName","localFilename","globalFilename","style", NULL
};
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOl:new_wxFileConfig",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
))
2080 #if PYTHON_API_VERSION >= 1009
2081 char* tmpPtr
; int tmpSize
;
2082 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2083 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2086 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2088 _arg0
= new wxString(tmpPtr
, tmpSize
);
2090 if (!PyString_Check(_obj0
)) {
2091 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2094 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2099 #if PYTHON_API_VERSION >= 1009
2100 char* tmpPtr
; int tmpSize
;
2101 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2102 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2105 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2107 _arg1
= new wxString(tmpPtr
, tmpSize
);
2109 if (!PyString_Check(_obj1
)) {
2110 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2113 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2118 #if PYTHON_API_VERSION >= 1009
2119 char* tmpPtr
; int tmpSize
;
2120 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2121 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2124 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2126 _arg2
= new wxString(tmpPtr
, tmpSize
);
2128 if (!PyString_Check(_obj2
)) {
2129 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2132 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2137 #if PYTHON_API_VERSION >= 1009
2138 char* tmpPtr
; int tmpSize
;
2139 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2140 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2143 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2145 _arg3
= new wxString(tmpPtr
, tmpSize
);
2147 if (!PyString_Check(_obj3
)) {
2148 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2151 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2155 wxPy_BEGIN_ALLOW_THREADS
;
2156 _result
= (wxFileConfig
*)new_wxFileConfig(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
2158 wxPy_END_ALLOW_THREADS
;
2160 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileConfig_p");
2161 _resultobj
= Py_BuildValue("s",_ptemp
);
2164 _resultobj
= Py_None
;
2185 #define delete_wxFileConfig(_swigobj) (delete _swigobj)
2186 static PyObject
*_wrap_delete_wxFileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2187 PyObject
* _resultobj
;
2188 wxFileConfig
* _arg0
;
2189 PyObject
* _argo0
= 0;
2190 char *_kwnames
[] = { "self", NULL
};
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileConfig",_kwnames
,&_argo0
))
2196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileConfig_p")) {
2198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileConfig. Expected _wxFileConfig_p.");
2203 wxPy_BEGIN_ALLOW_THREADS
;
2204 delete_wxFileConfig(_arg0
);
2206 wxPy_END_ALLOW_THREADS
;
2207 } Py_INCREF(Py_None
);
2208 _resultobj
= Py_None
;
2212 static PyObject
*_wrap_wxDateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
* _resultobj
;
2214 wxDateTime::Country _arg0
;
2215 char *_kwnames
[] = { "country", NULL
};
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateTime_SetCountry",_kwnames
,&_arg0
))
2221 wxPy_BEGIN_ALLOW_THREADS
;
2222 wxDateTime::SetCountry(_arg0
);
2224 wxPy_END_ALLOW_THREADS
;
2225 } Py_INCREF(Py_None
);
2226 _resultobj
= Py_None
;
2230 static PyObject
*_wrap_wxDateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2231 PyObject
* _resultobj
;
2232 wxDateTime::Country _result
;
2233 char *_kwnames
[] = { NULL
};
2236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_GetCountry",_kwnames
))
2239 wxPy_BEGIN_ALLOW_THREADS
;
2240 _result
= (wxDateTime::Country
)wxDateTime::GetCountry();
2242 wxPy_END_ALLOW_THREADS
;
2243 } _resultobj
= Py_BuildValue("i",_result
);
2247 static PyObject
*_wrap_wxDateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
* _resultobj
;
2250 wxDateTime::Country _arg0
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2251 char *_kwnames
[] = { "country", NULL
};
2254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_IsWestEuropeanCountry",_kwnames
,&_arg0
))
2257 wxPy_BEGIN_ALLOW_THREADS
;
2258 _result
= (bool )wxDateTime::IsWestEuropeanCountry(_arg0
);
2260 wxPy_END_ALLOW_THREADS
;
2261 } _resultobj
= Py_BuildValue("i",_result
);
2265 static PyObject
*_wrap_wxDateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2266 PyObject
* _resultobj
;
2268 wxDateTime::Calendar _arg0
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2269 char *_kwnames
[] = { "cal", NULL
};
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCurrentYear",_kwnames
,&_arg0
))
2275 wxPy_BEGIN_ALLOW_THREADS
;
2276 _result
= (int )wxDateTime::GetCurrentYear(_arg0
);
2278 wxPy_END_ALLOW_THREADS
;
2279 } _resultobj
= Py_BuildValue("i",_result
);
2283 static PyObject
*_wrap_wxDateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2284 PyObject
* _resultobj
;
2287 char *_kwnames
[] = { "year", NULL
};
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateTime_ConvertYearToBC",_kwnames
,&_arg0
))
2293 wxPy_BEGIN_ALLOW_THREADS
;
2294 _result
= (int )wxDateTime::ConvertYearToBC(_arg0
);
2296 wxPy_END_ALLOW_THREADS
;
2297 } _resultobj
= Py_BuildValue("i",_result
);
2301 static PyObject
*_wrap_wxDateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
* _resultobj
;
2303 wxDateTime::Month _result
;
2304 wxDateTime::Calendar _arg0
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2305 char *_kwnames
[] = { "cal", NULL
};
2308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCurrentMonth",_kwnames
,&_arg0
))
2311 wxPy_BEGIN_ALLOW_THREADS
;
2312 _result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(_arg0
);
2314 wxPy_END_ALLOW_THREADS
;
2315 } _resultobj
= Py_BuildValue("i",_result
);
2319 static PyObject
*_wrap_wxDateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2320 PyObject
* _resultobj
;
2322 int _arg0
= (int ) wxDateTime::Inv_Year
;
2323 wxDateTime::Calendar _arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2324 char *_kwnames
[] = { "year","cal", NULL
};
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_IsLeapYear",_kwnames
,&_arg0
,&_arg1
))
2330 wxPy_BEGIN_ALLOW_THREADS
;
2331 _result
= (bool )wxDateTime::IsLeapYear(_arg0
,_arg1
);
2333 wxPy_END_ALLOW_THREADS
;
2334 } _resultobj
= Py_BuildValue("i",_result
);
2338 static PyObject
*_wrap_wxDateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
* _resultobj
;
2341 int _arg0
= (int ) wxDateTime::Inv_Year
;
2342 char *_kwnames
[] = { "year", NULL
};
2345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCentury",_kwnames
,&_arg0
))
2348 wxPy_BEGIN_ALLOW_THREADS
;
2349 _result
= (int )wxDateTime::GetCentury(_arg0
);
2351 wxPy_END_ALLOW_THREADS
;
2352 } _resultobj
= Py_BuildValue("i",_result
);
2356 static PyObject
*_wrap_wxDateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2357 PyObject
* _resultobj
;
2358 wxDateTime::wxDateTime_t _result
;
2360 wxDateTime::Calendar _arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2361 char *_kwnames
[] = { "year","cal", NULL
};
2364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetNumberOfDaysinYear",_kwnames
,&_arg0
,&_arg1
))
2367 wxPy_BEGIN_ALLOW_THREADS
;
2368 _result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(_arg0
,_arg1
);
2370 wxPy_END_ALLOW_THREADS
;
2371 } _resultobj
= Py_BuildValue("h",_result
);
2375 static PyObject
*_wrap_wxDateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2376 PyObject
* _resultobj
;
2377 wxDateTime::wxDateTime_t _result
;
2378 wxDateTime::Month _arg0
;
2379 int _arg1
= (int ) wxDateTime::Inv_Year
;
2380 wxDateTime::Calendar _arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2381 char *_kwnames
[] = { "month","year","cal", NULL
};
2384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|ii:wxDateTime_GetNumberOfDaysInMonth",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2387 wxPy_BEGIN_ALLOW_THREADS
;
2388 _result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(_arg0
,_arg1
,_arg2
);
2390 wxPy_END_ALLOW_THREADS
;
2391 } _resultobj
= Py_BuildValue("h",_result
);
2395 static PyObject
*_wrap_wxDateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
* _resultobj
;
2398 wxDateTime::Month _arg0
;
2399 wxDateTime::NameFlags _arg1
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
2400 char *_kwnames
[] = { "month","flags", NULL
};
2403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetMonthName",_kwnames
,&_arg0
,&_arg1
))
2406 wxPy_BEGIN_ALLOW_THREADS
;
2407 _result
= new wxString (wxDateTime::GetMonthName(_arg0
,_arg1
));
2409 wxPy_END_ALLOW_THREADS
;
2411 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2419 static PyObject
*_wrap_wxDateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2420 PyObject
* _resultobj
;
2422 wxDateTime::WeekDay _arg0
;
2423 wxDateTime::NameFlags _arg1
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
2424 char *_kwnames
[] = { "weekday","flags", NULL
};
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetWeekDayName",_kwnames
,&_arg0
,&_arg1
))
2430 wxPy_BEGIN_ALLOW_THREADS
;
2431 _result
= new wxString (wxDateTime::GetWeekDayName(_arg0
,_arg1
));
2433 wxPy_END_ALLOW_THREADS
;
2435 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2443 static PyObject
*_wrap_wxDateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2444 PyObject
* _resultobj
;
2447 PyObject
* _obj0
= 0;
2448 PyObject
* _obj1
= 0;
2449 char *_kwnames
[] = { "OUTPUT","OUTPUT", NULL
};
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_GetAmPmStrings",_kwnames
,&_obj0
,&_obj1
))
2455 #if PYTHON_API_VERSION >= 1009
2456 char* tmpPtr
; int tmpSize
;
2457 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2458 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2461 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2463 _arg0
= new wxString(tmpPtr
, tmpSize
);
2465 if (!PyString_Check(_obj0
)) {
2466 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2469 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2473 #if PYTHON_API_VERSION >= 1009
2474 char* tmpPtr
; int tmpSize
;
2475 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2476 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2479 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2481 _arg1
= new wxString(tmpPtr
, tmpSize
);
2483 if (!PyString_Check(_obj1
)) {
2484 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2487 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2491 wxPy_BEGIN_ALLOW_THREADS
;
2492 wxDateTime::GetAmPmStrings(_arg0
,_arg1
);
2494 wxPy_END_ALLOW_THREADS
;
2495 } Py_INCREF(Py_None
);
2496 _resultobj
= Py_None
;
2508 static PyObject
*_wrap_wxDateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2509 PyObject
* _resultobj
;
2511 int _arg0
= (int ) wxDateTime::Inv_Year
;
2512 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2513 char *_kwnames
[] = { "year","country", NULL
};
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_IsDSTApplicable",_kwnames
,&_arg0
,&_arg1
))
2519 wxPy_BEGIN_ALLOW_THREADS
;
2520 _result
= (bool )wxDateTime::IsDSTApplicable(_arg0
,_arg1
);
2522 wxPy_END_ALLOW_THREADS
;
2523 } _resultobj
= Py_BuildValue("i",_result
);
2527 static PyObject
*_wrap_wxDateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
* _resultobj
;
2529 wxDateTime
* _result
;
2530 int _arg0
= (int ) wxDateTime::Inv_Year
;
2531 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2532 char *_kwnames
[] = { "year","country", NULL
};
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_GetBeginDST",_kwnames
,&_arg0
,&_arg1
))
2539 wxPy_BEGIN_ALLOW_THREADS
;
2540 _result
= new wxDateTime (wxDateTime::GetBeginDST(_arg0
,_arg1
));
2542 wxPy_END_ALLOW_THREADS
;
2543 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2544 _resultobj
= Py_BuildValue("s",_ptemp
);
2548 static PyObject
*_wrap_wxDateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
* _resultobj
;
2550 wxDateTime
* _result
;
2551 int _arg0
= (int ) wxDateTime::Inv_Year
;
2552 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2553 char *_kwnames
[] = { "year","country", NULL
};
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_GetEndDST",_kwnames
,&_arg0
,&_arg1
))
2560 wxPy_BEGIN_ALLOW_THREADS
;
2561 _result
= new wxDateTime (wxDateTime::GetEndDST(_arg0
,_arg1
));
2563 wxPy_END_ALLOW_THREADS
;
2564 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2565 _resultobj
= Py_BuildValue("s",_ptemp
);
2569 static PyObject
*_wrap_wxDateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2570 PyObject
* _resultobj
;
2571 wxDateTime
* _result
;
2572 char *_kwnames
[] = { NULL
};
2576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_Now",_kwnames
))
2579 wxPy_BEGIN_ALLOW_THREADS
;
2580 _result
= new wxDateTime (wxDateTime::Now());
2582 wxPy_END_ALLOW_THREADS
;
2583 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2584 _resultobj
= Py_BuildValue("s",_ptemp
);
2588 static PyObject
*_wrap_wxDateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2589 PyObject
* _resultobj
;
2590 wxDateTime
* _result
;
2591 char *_kwnames
[] = { NULL
};
2595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_Today",_kwnames
))
2598 wxPy_BEGIN_ALLOW_THREADS
;
2599 _result
= new wxDateTime (wxDateTime::Today());
2601 wxPy_END_ALLOW_THREADS
;
2602 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2603 _resultobj
= Py_BuildValue("s",_ptemp
);
2607 #define new_wxDateTime() (new wxDateTime())
2608 static PyObject
*_wrap_new_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
* _resultobj
;
2610 wxDateTime
* _result
;
2611 char *_kwnames
[] = { NULL
};
2615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDateTime",_kwnames
))
2618 wxPy_BEGIN_ALLOW_THREADS
;
2619 _result
= (wxDateTime
*)new_wxDateTime();
2621 wxPy_END_ALLOW_THREADS
;
2623 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2624 _resultobj
= Py_BuildValue("s",_ptemp
);
2627 _resultobj
= Py_None
;
2632 #define new_wxDateTimeFromTimeT(_swigarg0) (new wxDateTime(_swigarg0))
2633 static PyObject
*_wrap_new_wxDateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2634 PyObject
* _resultobj
;
2635 wxDateTime
* _result
;
2637 char *_kwnames
[] = { "timet", NULL
};
2641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxDateTimeFromTimeT",_kwnames
,&_arg0
))
2644 wxPy_BEGIN_ALLOW_THREADS
;
2645 _result
= (wxDateTime
*)new_wxDateTimeFromTimeT(_arg0
);
2647 wxPy_END_ALLOW_THREADS
;
2649 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2650 _resultobj
= Py_BuildValue("s",_ptemp
);
2653 _resultobj
= Py_None
;
2658 #define new_wxDateTimeFromJDN(_swigarg0) (new wxDateTime(_swigarg0))
2659 static PyObject
*_wrap_new_wxDateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
* _resultobj
;
2661 wxDateTime
* _result
;
2663 char *_kwnames
[] = { "jdn", NULL
};
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"d:new_wxDateTimeFromJDN",_kwnames
,&_arg0
))
2670 wxPy_BEGIN_ALLOW_THREADS
;
2671 _result
= (wxDateTime
*)new_wxDateTimeFromJDN(_arg0
);
2673 wxPy_END_ALLOW_THREADS
;
2675 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2676 _resultobj
= Py_BuildValue("s",_ptemp
);
2679 _resultobj
= Py_None
;
2684 #define new_wxDateTimeFromHMS(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2685 static PyObject
*_wrap_new_wxDateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2686 PyObject
* _resultobj
;
2687 wxDateTime
* _result
;
2688 wxDateTime::wxDateTime_t _arg0
;
2689 wxDateTime::wxDateTime_t _arg1
= (wxDateTime::wxDateTime_t
) 0;
2690 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
2691 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2692 char *_kwnames
[] = { "hour","minute","second","millisec", NULL
};
2696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|hhh:new_wxDateTimeFromHMS",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2699 wxPy_BEGIN_ALLOW_THREADS
;
2700 _result
= (wxDateTime
*)new_wxDateTimeFromHMS(_arg0
,_arg1
,_arg2
,_arg3
);
2702 wxPy_END_ALLOW_THREADS
;
2704 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2705 _resultobj
= Py_BuildValue("s",_ptemp
);
2708 _resultobj
= Py_None
;
2713 #define new_wxDateTimeFromDMY(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2714 static PyObject
*_wrap_new_wxDateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2715 PyObject
* _resultobj
;
2716 wxDateTime
* _result
;
2717 wxDateTime::wxDateTime_t _arg0
;
2718 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
2719 int _arg2
= (int ) wxDateTime::Inv_Year
;
2720 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2721 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2722 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
2723 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
2724 char *_kwnames
[] = { "day","month","year","hour","minute","second","millisec", NULL
};
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|iihhhh:new_wxDateTimeFromDMY",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2731 wxPy_BEGIN_ALLOW_THREADS
;
2732 _result
= (wxDateTime
*)new_wxDateTimeFromDMY(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2734 wxPy_END_ALLOW_THREADS
;
2736 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2737 _resultobj
= Py_BuildValue("s",_ptemp
);
2740 _resultobj
= Py_None
;
2745 #define delete_wxDateTime(_swigobj) (delete _swigobj)
2746 static PyObject
*_wrap_delete_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2747 PyObject
* _resultobj
;
2749 PyObject
* _argo0
= 0;
2750 char *_kwnames
[] = { "self", NULL
};
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateTime",_kwnames
,&_argo0
))
2756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateTime. Expected _wxDateTime_p.");
2763 wxPy_BEGIN_ALLOW_THREADS
;
2764 delete_wxDateTime(_arg0
);
2766 wxPy_END_ALLOW_THREADS
;
2767 } Py_INCREF(Py_None
);
2768 _resultobj
= Py_None
;
2772 #define wxDateTime_SetToCurrent(_swigobj) (_swigobj->SetToCurrent())
2773 static PyObject
*_wrap_wxDateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
* _resultobj
;
2775 wxDateTime
* _result
;
2777 PyObject
* _argo0
= 0;
2778 char *_kwnames
[] = { "self", NULL
};
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_SetToCurrent",_kwnames
,&_argo0
))
2785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToCurrent. Expected _wxDateTime_p.");
2792 wxPy_BEGIN_ALLOW_THREADS
;
2793 wxDateTime
& _result_ref
= wxDateTime_SetToCurrent(_arg0
);
2794 _result
= (wxDateTime
*) &_result_ref
;
2796 wxPy_END_ALLOW_THREADS
;
2798 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2799 _resultobj
= Py_BuildValue("s",_ptemp
);
2802 _resultobj
= Py_None
;
2807 #define wxDateTime_SetTimeT(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2808 static PyObject
*_wrap_wxDateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
* _resultobj
;
2810 wxDateTime
* _result
;
2813 PyObject
* _argo0
= 0;
2814 char *_kwnames
[] = { "self","timet", NULL
};
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetTimeT",_kwnames
,&_argo0
,&_arg1
))
2821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetTimeT. Expected _wxDateTime_p.");
2828 wxPy_BEGIN_ALLOW_THREADS
;
2829 wxDateTime
& _result_ref
= wxDateTime_SetTimeT(_arg0
,_arg1
);
2830 _result
= (wxDateTime
*) &_result_ref
;
2832 wxPy_END_ALLOW_THREADS
;
2834 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2835 _resultobj
= Py_BuildValue("s",_ptemp
);
2838 _resultobj
= Py_None
;
2843 #define wxDateTime_SetJDN(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2844 static PyObject
*_wrap_wxDateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2845 PyObject
* _resultobj
;
2846 wxDateTime
* _result
;
2849 PyObject
* _argo0
= 0;
2850 char *_kwnames
[] = { "self","jdn", NULL
};
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxDateTime_SetJDN",_kwnames
,&_argo0
,&_arg1
))
2857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetJDN. Expected _wxDateTime_p.");
2864 wxPy_BEGIN_ALLOW_THREADS
;
2865 wxDateTime
& _result_ref
= wxDateTime_SetJDN(_arg0
,_arg1
);
2866 _result
= (wxDateTime
*) &_result_ref
;
2868 wxPy_END_ALLOW_THREADS
;
2870 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2871 _resultobj
= Py_BuildValue("s",_ptemp
);
2874 _resultobj
= Py_None
;
2879 #define wxDateTime_SetHMS(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2880 static PyObject
*_wrap_wxDateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2881 PyObject
* _resultobj
;
2882 wxDateTime
* _result
;
2884 wxDateTime::wxDateTime_t _arg1
;
2885 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
2886 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2887 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2888 PyObject
* _argo0
= 0;
2889 char *_kwnames
[] = { "self","hour","minute","second","millisec", NULL
};
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|hhh:wxDateTime_SetHMS",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHMS. Expected _wxDateTime_p.");
2903 wxPy_BEGIN_ALLOW_THREADS
;
2904 wxDateTime
& _result_ref
= wxDateTime_SetHMS(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2905 _result
= (wxDateTime
*) &_result_ref
;
2907 wxPy_END_ALLOW_THREADS
;
2909 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2910 _resultobj
= Py_BuildValue("s",_ptemp
);
2913 _resultobj
= Py_None
;
2918 #define wxDateTime_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2919 static PyObject
*_wrap_wxDateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
* _resultobj
;
2921 wxDateTime
* _result
;
2923 wxDateTime::wxDateTime_t _arg1
;
2924 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
2925 int _arg3
= (int ) wxDateTime::Inv_Year
;
2926 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2927 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
2928 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
2929 wxDateTime::wxDateTime_t _arg7
= (wxDateTime::wxDateTime_t
) 0;
2930 PyObject
* _argo0
= 0;
2931 char *_kwnames
[] = { "self","day","month","year","hour","minute","second","millisec", NULL
};
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|iihhhh:wxDateTime_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
2938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Set. Expected _wxDateTime_p.");
2945 wxPy_BEGIN_ALLOW_THREADS
;
2946 wxDateTime
& _result_ref
= wxDateTime_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
2947 _result
= (wxDateTime
*) &_result_ref
;
2949 wxPy_END_ALLOW_THREADS
;
2951 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2952 _resultobj
= Py_BuildValue("s",_ptemp
);
2955 _resultobj
= Py_None
;
2960 #define wxDateTime_ResetTime(_swigobj) (_swigobj->ResetTime())
2961 static PyObject
*_wrap_wxDateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
* _resultobj
;
2963 wxDateTime
* _result
;
2965 PyObject
* _argo0
= 0;
2966 char *_kwnames
[] = { "self", NULL
};
2970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_ResetTime",_kwnames
,&_argo0
))
2973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ResetTime. Expected _wxDateTime_p.");
2980 wxPy_BEGIN_ALLOW_THREADS
;
2981 wxDateTime
& _result_ref
= wxDateTime_ResetTime(_arg0
);
2982 _result
= (wxDateTime
*) &_result_ref
;
2984 wxPy_END_ALLOW_THREADS
;
2986 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2987 _resultobj
= Py_BuildValue("s",_ptemp
);
2990 _resultobj
= Py_None
;
2995 #define wxDateTime_SetYear(_swigobj,_swigarg0) (_swigobj->SetYear(_swigarg0))
2996 static PyObject
*_wrap_wxDateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
* _resultobj
;
2998 wxDateTime
* _result
;
3001 PyObject
* _argo0
= 0;
3002 char *_kwnames
[] = { "self","year", NULL
};
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetYear",_kwnames
,&_argo0
,&_arg1
))
3009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetYear. Expected _wxDateTime_p.");
3016 wxPy_BEGIN_ALLOW_THREADS
;
3017 wxDateTime
& _result_ref
= wxDateTime_SetYear(_arg0
,_arg1
);
3018 _result
= (wxDateTime
*) &_result_ref
;
3020 wxPy_END_ALLOW_THREADS
;
3022 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3023 _resultobj
= Py_BuildValue("s",_ptemp
);
3026 _resultobj
= Py_None
;
3031 #define wxDateTime_SetMonth(_swigobj,_swigarg0) (_swigobj->SetMonth(_swigarg0))
3032 static PyObject
*_wrap_wxDateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3033 PyObject
* _resultobj
;
3034 wxDateTime
* _result
;
3036 wxDateTime::Month _arg1
;
3037 PyObject
* _argo0
= 0;
3038 char *_kwnames
[] = { "self","month", NULL
};
3042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetMonth",_kwnames
,&_argo0
,&_arg1
))
3045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMonth. Expected _wxDateTime_p.");
3052 wxPy_BEGIN_ALLOW_THREADS
;
3053 wxDateTime
& _result_ref
= wxDateTime_SetMonth(_arg0
,_arg1
);
3054 _result
= (wxDateTime
*) &_result_ref
;
3056 wxPy_END_ALLOW_THREADS
;
3058 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3059 _resultobj
= Py_BuildValue("s",_ptemp
);
3062 _resultobj
= Py_None
;
3067 #define wxDateTime_SetDay(_swigobj,_swigarg0) (_swigobj->SetDay(_swigarg0))
3068 static PyObject
*_wrap_wxDateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
* _resultobj
;
3070 wxDateTime
* _result
;
3072 wxDateTime::wxDateTime_t _arg1
;
3073 PyObject
* _argo0
= 0;
3074 char *_kwnames
[] = { "self","day", NULL
};
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetDay",_kwnames
,&_argo0
,&_arg1
))
3081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetDay. Expected _wxDateTime_p.");
3088 wxPy_BEGIN_ALLOW_THREADS
;
3089 wxDateTime
& _result_ref
= wxDateTime_SetDay(_arg0
,_arg1
);
3090 _result
= (wxDateTime
*) &_result_ref
;
3092 wxPy_END_ALLOW_THREADS
;
3094 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3095 _resultobj
= Py_BuildValue("s",_ptemp
);
3098 _resultobj
= Py_None
;
3103 #define wxDateTime_SetHour(_swigobj,_swigarg0) (_swigobj->SetHour(_swigarg0))
3104 static PyObject
*_wrap_wxDateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
* _resultobj
;
3106 wxDateTime
* _result
;
3108 wxDateTime::wxDateTime_t _arg1
;
3109 PyObject
* _argo0
= 0;
3110 char *_kwnames
[] = { "self","hour", NULL
};
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetHour",_kwnames
,&_argo0
,&_arg1
))
3117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHour. Expected _wxDateTime_p.");
3124 wxPy_BEGIN_ALLOW_THREADS
;
3125 wxDateTime
& _result_ref
= wxDateTime_SetHour(_arg0
,_arg1
);
3126 _result
= (wxDateTime
*) &_result_ref
;
3128 wxPy_END_ALLOW_THREADS
;
3130 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3131 _resultobj
= Py_BuildValue("s",_ptemp
);
3134 _resultobj
= Py_None
;
3139 #define wxDateTime_SetMinute(_swigobj,_swigarg0) (_swigobj->SetMinute(_swigarg0))
3140 static PyObject
*_wrap_wxDateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
* _resultobj
;
3142 wxDateTime
* _result
;
3144 wxDateTime::wxDateTime_t _arg1
;
3145 PyObject
* _argo0
= 0;
3146 char *_kwnames
[] = { "self","minute", NULL
};
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMinute",_kwnames
,&_argo0
,&_arg1
))
3153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMinute. Expected _wxDateTime_p.");
3160 wxPy_BEGIN_ALLOW_THREADS
;
3161 wxDateTime
& _result_ref
= wxDateTime_SetMinute(_arg0
,_arg1
);
3162 _result
= (wxDateTime
*) &_result_ref
;
3164 wxPy_END_ALLOW_THREADS
;
3166 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3167 _resultobj
= Py_BuildValue("s",_ptemp
);
3170 _resultobj
= Py_None
;
3175 #define wxDateTime_SetSecond(_swigobj,_swigarg0) (_swigobj->SetSecond(_swigarg0))
3176 static PyObject
*_wrap_wxDateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3177 PyObject
* _resultobj
;
3178 wxDateTime
* _result
;
3180 wxDateTime::wxDateTime_t _arg1
;
3181 PyObject
* _argo0
= 0;
3182 char *_kwnames
[] = { "self","second", NULL
};
3186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetSecond",_kwnames
,&_argo0
,&_arg1
))
3189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetSecond. Expected _wxDateTime_p.");
3196 wxPy_BEGIN_ALLOW_THREADS
;
3197 wxDateTime
& _result_ref
= wxDateTime_SetSecond(_arg0
,_arg1
);
3198 _result
= (wxDateTime
*) &_result_ref
;
3200 wxPy_END_ALLOW_THREADS
;
3202 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3203 _resultobj
= Py_BuildValue("s",_ptemp
);
3206 _resultobj
= Py_None
;
3211 #define wxDateTime_SetMillisecond(_swigobj,_swigarg0) (_swigobj->SetMillisecond(_swigarg0))
3212 static PyObject
*_wrap_wxDateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3213 PyObject
* _resultobj
;
3214 wxDateTime
* _result
;
3216 wxDateTime::wxDateTime_t _arg1
;
3217 PyObject
* _argo0
= 0;
3218 char *_kwnames
[] = { "self","millisecond", NULL
};
3222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMillisecond",_kwnames
,&_argo0
,&_arg1
))
3225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMillisecond. Expected _wxDateTime_p.");
3232 wxPy_BEGIN_ALLOW_THREADS
;
3233 wxDateTime
& _result_ref
= wxDateTime_SetMillisecond(_arg0
,_arg1
);
3234 _result
= (wxDateTime
*) &_result_ref
;
3236 wxPy_END_ALLOW_THREADS
;
3238 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3239 _resultobj
= Py_BuildValue("s",_ptemp
);
3242 _resultobj
= Py_None
;
3247 #define wxDateTime_SetToWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->SetToWeekDayInSameWeek(_swigarg0))
3248 static PyObject
*_wrap_wxDateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
* _resultobj
;
3250 wxDateTime
* _result
;
3252 wxDateTime::WeekDay _arg1
;
3253 PyObject
* _argo0
= 0;
3254 char *_kwnames
[] = { "self","weekday", NULL
};
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
))
3261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDayInSameWeek. Expected _wxDateTime_p.");
3268 wxPy_BEGIN_ALLOW_THREADS
;
3269 wxDateTime
& _result_ref
= wxDateTime_SetToWeekDayInSameWeek(_arg0
,_arg1
);
3270 _result
= (wxDateTime
*) &_result_ref
;
3272 wxPy_END_ALLOW_THREADS
;
3274 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3275 _resultobj
= Py_BuildValue("s",_ptemp
);
3278 _resultobj
= Py_None
;
3283 #define wxDateTime_GetWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->GetWeekDayInSameWeek(_swigarg0))
3284 static PyObject
*_wrap_wxDateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
* _resultobj
;
3286 wxDateTime
* _result
;
3288 wxDateTime::WeekDay _arg1
;
3289 PyObject
* _argo0
= 0;
3290 char *_kwnames
[] = { "self","weekday", NULL
};
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
))
3297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDayInSameWeek. Expected _wxDateTime_p.");
3304 wxPy_BEGIN_ALLOW_THREADS
;
3305 _result
= new wxDateTime (wxDateTime_GetWeekDayInSameWeek(_arg0
,_arg1
));
3307 wxPy_END_ALLOW_THREADS
;
3308 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3309 _resultobj
= Py_BuildValue("s",_ptemp
);
3313 #define wxDateTime_SetToNextWeekDay(_swigobj,_swigarg0) (_swigobj->SetToNextWeekDay(_swigarg0))
3314 static PyObject
*_wrap_wxDateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3315 PyObject
* _resultobj
;
3316 wxDateTime
* _result
;
3318 wxDateTime::WeekDay _arg1
;
3319 PyObject
* _argo0
= 0;
3320 char *_kwnames
[] = { "self","weekday", NULL
};
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
3327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToNextWeekDay. Expected _wxDateTime_p.");
3334 wxPy_BEGIN_ALLOW_THREADS
;
3335 wxDateTime
& _result_ref
= wxDateTime_SetToNextWeekDay(_arg0
,_arg1
);
3336 _result
= (wxDateTime
*) &_result_ref
;
3338 wxPy_END_ALLOW_THREADS
;
3340 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3341 _resultobj
= Py_BuildValue("s",_ptemp
);
3344 _resultobj
= Py_None
;
3349 #define wxDateTime_GetNextWeekDay(_swigobj,_swigarg0) (_swigobj->GetNextWeekDay(_swigarg0))
3350 static PyObject
*_wrap_wxDateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
* _resultobj
;
3352 wxDateTime
* _result
;
3354 wxDateTime::WeekDay _arg1
;
3355 PyObject
* _argo0
= 0;
3356 char *_kwnames
[] = { "self","weekday", NULL
};
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
3363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetNextWeekDay. Expected _wxDateTime_p.");
3370 wxPy_BEGIN_ALLOW_THREADS
;
3371 _result
= new wxDateTime (wxDateTime_GetNextWeekDay(_arg0
,_arg1
));
3373 wxPy_END_ALLOW_THREADS
;
3374 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3375 _resultobj
= Py_BuildValue("s",_ptemp
);
3379 #define wxDateTime_SetToPrevWeekDay(_swigobj,_swigarg0) (_swigobj->SetToPrevWeekDay(_swigarg0))
3380 static PyObject
*_wrap_wxDateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
* _resultobj
;
3382 wxDateTime
* _result
;
3384 wxDateTime::WeekDay _arg1
;
3385 PyObject
* _argo0
= 0;
3386 char *_kwnames
[] = { "self","weekday", NULL
};
3390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToPrevWeekDay. Expected _wxDateTime_p.");
3400 wxPy_BEGIN_ALLOW_THREADS
;
3401 wxDateTime
& _result_ref
= wxDateTime_SetToPrevWeekDay(_arg0
,_arg1
);
3402 _result
= (wxDateTime
*) &_result_ref
;
3404 wxPy_END_ALLOW_THREADS
;
3406 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3407 _resultobj
= Py_BuildValue("s",_ptemp
);
3410 _resultobj
= Py_None
;
3415 #define wxDateTime_GetPrevWeekDay(_swigobj,_swigarg0) (_swigobj->GetPrevWeekDay(_swigarg0))
3416 static PyObject
*_wrap_wxDateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
* _resultobj
;
3418 wxDateTime
* _result
;
3420 wxDateTime::WeekDay _arg1
;
3421 PyObject
* _argo0
= 0;
3422 char *_kwnames
[] = { "self","weekday", NULL
};
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetPrevWeekDay. Expected _wxDateTime_p.");
3436 wxPy_BEGIN_ALLOW_THREADS
;
3437 _result
= new wxDateTime (wxDateTime_GetPrevWeekDay(_arg0
,_arg1
));
3439 wxPy_END_ALLOW_THREADS
;
3440 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3441 _resultobj
= Py_BuildValue("s",_ptemp
);
3445 #define wxDateTime_SetToWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetToWeekDay(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3446 static PyObject
*_wrap_wxDateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
* _resultobj
;
3450 wxDateTime::WeekDay _arg1
;
3451 int _arg2
= (int ) 1;
3452 wxDateTime::Month _arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3453 int _arg4
= (int ) wxDateTime::Inv_Year
;
3454 PyObject
* _argo0
= 0;
3455 char *_kwnames
[] = { "self","weekday","n","month","year", NULL
};
3458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iii:wxDateTime_SetToWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDay. Expected _wxDateTime_p.");
3468 wxPy_BEGIN_ALLOW_THREADS
;
3469 _result
= (bool )wxDateTime_SetToWeekDay(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3471 wxPy_END_ALLOW_THREADS
;
3472 } _resultobj
= Py_BuildValue("i",_result
);
3476 #define wxDateTime_GetWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetWeekDay(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3477 static PyObject
*_wrap_wxDateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
* _resultobj
;
3479 wxDateTime
* _result
;
3481 wxDateTime::WeekDay _arg1
;
3482 int _arg2
= (int ) 1;
3483 wxDateTime::Month _arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3484 int _arg4
= (int ) wxDateTime::Inv_Year
;
3485 PyObject
* _argo0
= 0;
3486 char *_kwnames
[] = { "self","weekday","n","month","year", NULL
};
3490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iii:wxDateTime_GetWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDay. Expected _wxDateTime_p.");
3500 wxPy_BEGIN_ALLOW_THREADS
;
3501 _result
= new wxDateTime (wxDateTime_GetWeekDay(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
));
3503 wxPy_END_ALLOW_THREADS
;
3504 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3505 _resultobj
= Py_BuildValue("s",_ptemp
);
3509 #define wxDateTime_SetToLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetToLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3510 static PyObject
*_wrap_wxDateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
* _resultobj
;
3514 wxDateTime::WeekDay _arg1
;
3515 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3516 int _arg3
= (int ) wxDateTime::Inv_Year
;
3517 PyObject
* _argo0
= 0;
3518 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_SetToLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastWeekDay. Expected _wxDateTime_p.");
3531 wxPy_BEGIN_ALLOW_THREADS
;
3532 _result
= (bool )wxDateTime_SetToLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
);
3534 wxPy_END_ALLOW_THREADS
;
3535 } _resultobj
= Py_BuildValue("i",_result
);
3539 #define wxDateTime_GetLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3540 static PyObject
*_wrap_wxDateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
* _resultobj
;
3542 wxDateTime
* _result
;
3544 wxDateTime::WeekDay _arg1
;
3545 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3546 int _arg3
= (int ) wxDateTime::Inv_Year
;
3547 PyObject
* _argo0
= 0;
3548 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_GetLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastWeekDay. Expected _wxDateTime_p.");
3562 wxPy_BEGIN_ALLOW_THREADS
;
3563 _result
= new wxDateTime (wxDateTime_GetLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
));
3565 wxPy_END_ALLOW_THREADS
;
3566 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3567 _resultobj
= Py_BuildValue("s",_ptemp
);
3571 #define wxDateTime_SetToTheWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToTheWeek(_swigarg0,_swigarg1))
3572 static PyObject
*_wrap_wxDateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
* _resultobj
;
3576 wxDateTime::wxDateTime_t _arg1
;
3577 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3578 PyObject
* _argo0
= 0;
3579 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_SetToTheWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToTheWeek. Expected _wxDateTime_p.");
3592 wxPy_BEGIN_ALLOW_THREADS
;
3593 _result
= (bool )wxDateTime_SetToTheWeek(_arg0
,_arg1
,_arg2
);
3595 wxPy_END_ALLOW_THREADS
;
3596 } _resultobj
= Py_BuildValue("i",_result
);
3600 #define wxDateTime_GetWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeek(_swigarg0,_swigarg1))
3601 static PyObject
*_wrap_wxDateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3602 PyObject
* _resultobj
;
3603 wxDateTime
* _result
;
3605 wxDateTime::wxDateTime_t _arg1
;
3606 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3607 PyObject
* _argo0
= 0;
3608 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_GetWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeek. Expected _wxDateTime_p.");
3622 wxPy_BEGIN_ALLOW_THREADS
;
3623 _result
= new wxDateTime (wxDateTime_GetWeek(_arg0
,_arg1
,_arg2
));
3625 wxPy_END_ALLOW_THREADS
;
3626 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3627 _resultobj
= Py_BuildValue("s",_ptemp
);
3631 #define wxDateTime_SetToLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToLastMonthDay(_swigarg0,_swigarg1))
3632 static PyObject
*_wrap_wxDateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
* _resultobj
;
3634 wxDateTime
* _result
;
3636 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3637 int _arg2
= (int ) wxDateTime::Inv_Year
;
3638 PyObject
* _argo0
= 0;
3639 char *_kwnames
[] = { "self","month","year", NULL
};
3643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_SetToLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastMonthDay. Expected _wxDateTime_p.");
3653 wxPy_BEGIN_ALLOW_THREADS
;
3654 wxDateTime
& _result_ref
= wxDateTime_SetToLastMonthDay(_arg0
,_arg1
,_arg2
);
3655 _result
= (wxDateTime
*) &_result_ref
;
3657 wxPy_END_ALLOW_THREADS
;
3659 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3660 _resultobj
= Py_BuildValue("s",_ptemp
);
3663 _resultobj
= Py_None
;
3668 #define wxDateTime_GetLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastMonthDay(_swigarg0,_swigarg1))
3669 static PyObject
*_wrap_wxDateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3670 PyObject
* _resultobj
;
3671 wxDateTime
* _result
;
3673 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3674 int _arg2
= (int ) wxDateTime::Inv_Year
;
3675 PyObject
* _argo0
= 0;
3676 char *_kwnames
[] = { "self","month","year", NULL
};
3680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_GetLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastMonthDay. Expected _wxDateTime_p.");
3690 wxPy_BEGIN_ALLOW_THREADS
;
3691 _result
= new wxDateTime (wxDateTime_GetLastMonthDay(_arg0
,_arg1
,_arg2
));
3693 wxPy_END_ALLOW_THREADS
;
3694 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3695 _resultobj
= Py_BuildValue("s",_ptemp
);
3699 #define wxDateTime_SetToYearDay(_swigobj,_swigarg0) (_swigobj->SetToYearDay(_swigarg0))
3700 static PyObject
*_wrap_wxDateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3701 PyObject
* _resultobj
;
3702 wxDateTime
* _result
;
3704 wxDateTime::wxDateTime_t _arg1
;
3705 PyObject
* _argo0
= 0;
3706 char *_kwnames
[] = { "self","yday", NULL
};
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetToYearDay",_kwnames
,&_argo0
,&_arg1
))
3713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToYearDay. Expected _wxDateTime_p.");
3720 wxPy_BEGIN_ALLOW_THREADS
;
3721 wxDateTime
& _result_ref
= wxDateTime_SetToYearDay(_arg0
,_arg1
);
3722 _result
= (wxDateTime
*) &_result_ref
;
3724 wxPy_END_ALLOW_THREADS
;
3726 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3727 _resultobj
= Py_BuildValue("s",_ptemp
);
3730 _resultobj
= Py_None
;
3735 #define wxDateTime_GetYearDay(_swigobj,_swigarg0) (_swigobj->GetYearDay(_swigarg0))
3736 static PyObject
*_wrap_wxDateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
* _resultobj
;
3738 wxDateTime
* _result
;
3740 wxDateTime::wxDateTime_t _arg1
;
3741 PyObject
* _argo0
= 0;
3742 char *_kwnames
[] = { "self","yday", NULL
};
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_GetYearDay",_kwnames
,&_argo0
,&_arg1
))
3749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYearDay. Expected _wxDateTime_p.");
3756 wxPy_BEGIN_ALLOW_THREADS
;
3757 _result
= new wxDateTime (wxDateTime_GetYearDay(_arg0
,_arg1
));
3759 wxPy_END_ALLOW_THREADS
;
3760 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3761 _resultobj
= Py_BuildValue("s",_ptemp
);
3765 #define wxDateTime_GetJulianDayNumber(_swigobj) (_swigobj->GetJulianDayNumber())
3766 static PyObject
*_wrap_wxDateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
* _resultobj
;
3770 PyObject
* _argo0
= 0;
3771 char *_kwnames
[] = { "self", NULL
};
3774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJulianDayNumber",_kwnames
,&_argo0
))
3777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJulianDayNumber. Expected _wxDateTime_p.");
3784 wxPy_BEGIN_ALLOW_THREADS
;
3785 _result
= (double )wxDateTime_GetJulianDayNumber(_arg0
);
3787 wxPy_END_ALLOW_THREADS
;
3788 } _resultobj
= Py_BuildValue("d",_result
);
3792 #define wxDateTime_GetJDN(_swigobj) (_swigobj->GetJDN())
3793 static PyObject
*_wrap_wxDateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
* _resultobj
;
3797 PyObject
* _argo0
= 0;
3798 char *_kwnames
[] = { "self", NULL
};
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJDN",_kwnames
,&_argo0
))
3804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJDN. Expected _wxDateTime_p.");
3811 wxPy_BEGIN_ALLOW_THREADS
;
3812 _result
= (double )wxDateTime_GetJDN(_arg0
);
3814 wxPy_END_ALLOW_THREADS
;
3815 } _resultobj
= Py_BuildValue("d",_result
);
3819 #define wxDateTime_GetModifiedJulianDayNumber(_swigobj) (_swigobj->GetModifiedJulianDayNumber())
3820 static PyObject
*_wrap_wxDateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
* _resultobj
;
3824 PyObject
* _argo0
= 0;
3825 char *_kwnames
[] = { "self", NULL
};
3828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetModifiedJulianDayNumber",_kwnames
,&_argo0
))
3831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetModifiedJulianDayNumber. Expected _wxDateTime_p.");
3838 wxPy_BEGIN_ALLOW_THREADS
;
3839 _result
= (double )wxDateTime_GetModifiedJulianDayNumber(_arg0
);
3841 wxPy_END_ALLOW_THREADS
;
3842 } _resultobj
= Py_BuildValue("d",_result
);
3846 #define wxDateTime_GetMJD(_swigobj) (_swigobj->GetMJD())
3847 static PyObject
*_wrap_wxDateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3848 PyObject
* _resultobj
;
3851 PyObject
* _argo0
= 0;
3852 char *_kwnames
[] = { "self", NULL
};
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetMJD",_kwnames
,&_argo0
))
3858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMJD. Expected _wxDateTime_p.");
3865 wxPy_BEGIN_ALLOW_THREADS
;
3866 _result
= (double )wxDateTime_GetMJD(_arg0
);
3868 wxPy_END_ALLOW_THREADS
;
3869 } _resultobj
= Py_BuildValue("d",_result
);
3873 #define wxDateTime_GetRataDie(_swigobj) (_swigobj->GetRataDie())
3874 static PyObject
*_wrap_wxDateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3875 PyObject
* _resultobj
;
3878 PyObject
* _argo0
= 0;
3879 char *_kwnames
[] = { "self", NULL
};
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetRataDie",_kwnames
,&_argo0
))
3885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetRataDie. Expected _wxDateTime_p.");
3892 wxPy_BEGIN_ALLOW_THREADS
;
3893 _result
= (double )wxDateTime_GetRataDie(_arg0
);
3895 wxPy_END_ALLOW_THREADS
;
3896 } _resultobj
= Py_BuildValue("d",_result
);
3900 #define wxDateTime_ToTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToTimezone(_swigarg0,_swigarg1))
3901 static PyObject
*_wrap_wxDateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
* _resultobj
;
3903 wxDateTime
* _result
;
3905 wxDateTime::TimeZone
* _arg1
;
3906 bool _arg2
= (bool ) FALSE
;
3907 PyObject
* _argo0
= 0;
3908 PyObject
* _obj1
= 0;
3909 int tempbool2
= (int) FALSE
;
3910 char *_kwnames
[] = { "self","tz","noDST", NULL
};
3914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_ToTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToTimezone. Expected _wxDateTime_p.");
3924 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3926 _arg2
= (bool ) tempbool2
;
3928 wxPy_BEGIN_ALLOW_THREADS
;
3929 _result
= new wxDateTime (wxDateTime_ToTimezone(_arg0
,*_arg1
,_arg2
));
3931 wxPy_END_ALLOW_THREADS
;
3932 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3933 _resultobj
= Py_BuildValue("s",_ptemp
);
3935 if (_arg1
) delete _arg1
;
3940 #define wxDateTime_MakeTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeTimezone(_swigarg0,_swigarg1))
3941 static PyObject
*_wrap_wxDateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
* _resultobj
;
3943 wxDateTime
* _result
;
3945 wxDateTime::TimeZone
* _arg1
;
3946 bool _arg2
= (bool ) FALSE
;
3947 PyObject
* _argo0
= 0;
3948 PyObject
* _obj1
= 0;
3949 int tempbool2
= (int) FALSE
;
3950 char *_kwnames
[] = { "self","tz","noDST", NULL
};
3954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_MakeTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeTimezone. Expected _wxDateTime_p.");
3964 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3966 _arg2
= (bool ) tempbool2
;
3968 wxPy_BEGIN_ALLOW_THREADS
;
3969 wxDateTime
& _result_ref
= wxDateTime_MakeTimezone(_arg0
,*_arg1
,_arg2
);
3970 _result
= (wxDateTime
*) &_result_ref
;
3972 wxPy_END_ALLOW_THREADS
;
3974 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3975 _resultobj
= Py_BuildValue("s",_ptemp
);
3978 _resultobj
= Py_None
;
3981 if (_arg1
) delete _arg1
;
3986 #define wxDateTime_ToGMT(_swigobj,_swigarg0) (_swigobj->ToGMT(_swigarg0))
3987 static PyObject
*_wrap_wxDateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
* _resultobj
;
3989 wxDateTime
* _result
;
3991 bool _arg1
= (bool ) FALSE
;
3992 PyObject
* _argo0
= 0;
3993 int tempbool1
= (int) FALSE
;
3994 char *_kwnames
[] = { "self","noDST", NULL
};
3998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_ToGMT",_kwnames
,&_argo0
,&tempbool1
))
4001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToGMT. Expected _wxDateTime_p.");
4007 _arg1
= (bool ) tempbool1
;
4009 wxPy_BEGIN_ALLOW_THREADS
;
4010 _result
= new wxDateTime (wxDateTime_ToGMT(_arg0
,_arg1
));
4012 wxPy_END_ALLOW_THREADS
;
4013 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4014 _resultobj
= Py_BuildValue("s",_ptemp
);
4018 #define wxDateTime_MakeGMT(_swigobj,_swigarg0) (_swigobj->MakeGMT(_swigarg0))
4019 static PyObject
*_wrap_wxDateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
* _resultobj
;
4021 wxDateTime
* _result
;
4023 bool _arg1
= (bool ) FALSE
;
4024 PyObject
* _argo0
= 0;
4025 int tempbool1
= (int) FALSE
;
4026 char *_kwnames
[] = { "self","noDST", NULL
};
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_MakeGMT",_kwnames
,&_argo0
,&tempbool1
))
4033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeGMT. Expected _wxDateTime_p.");
4039 _arg1
= (bool ) tempbool1
;
4041 wxPy_BEGIN_ALLOW_THREADS
;
4042 wxDateTime
& _result_ref
= wxDateTime_MakeGMT(_arg0
,_arg1
);
4043 _result
= (wxDateTime
*) &_result_ref
;
4045 wxPy_END_ALLOW_THREADS
;
4047 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4048 _resultobj
= Py_BuildValue("s",_ptemp
);
4051 _resultobj
= Py_None
;
4056 #define wxDateTime_IsDST(_swigobj,_swigarg0) (_swigobj->IsDST(_swigarg0))
4057 static PyObject
*_wrap_wxDateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
* _resultobj
;
4061 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
4062 PyObject
* _argo0
= 0;
4063 char *_kwnames
[] = { "self","country", NULL
};
4066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsDST",_kwnames
,&_argo0
,&_arg1
))
4069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsDST. Expected _wxDateTime_p.");
4076 wxPy_BEGIN_ALLOW_THREADS
;
4077 _result
= (int )wxDateTime_IsDST(_arg0
,_arg1
);
4079 wxPy_END_ALLOW_THREADS
;
4080 } _resultobj
= Py_BuildValue("i",_result
);
4084 #define wxDateTime_IsValid(_swigobj) (_swigobj->IsValid())
4085 static PyObject
*_wrap_wxDateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4086 PyObject
* _resultobj
;
4089 PyObject
* _argo0
= 0;
4090 char *_kwnames
[] = { "self", NULL
};
4093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_IsValid",_kwnames
,&_argo0
))
4096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsValid. Expected _wxDateTime_p.");
4103 wxPy_BEGIN_ALLOW_THREADS
;
4104 _result
= (bool )wxDateTime_IsValid(_arg0
);
4106 wxPy_END_ALLOW_THREADS
;
4107 } _resultobj
= Py_BuildValue("i",_result
);
4111 #define wxDateTime_GetTicks(_swigobj) (_swigobj->GetTicks())
4112 static PyObject
*_wrap_wxDateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
* _resultobj
;
4116 PyObject
* _argo0
= 0;
4117 char *_kwnames
[] = { "self", NULL
};
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetTicks",_kwnames
,&_argo0
))
4123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetTicks. Expected _wxDateTime_p.");
4130 wxPy_BEGIN_ALLOW_THREADS
;
4131 _result
= (time_t )wxDateTime_GetTicks(_arg0
);
4133 wxPy_END_ALLOW_THREADS
;
4134 } _resultobj
= Py_BuildValue("i",_result
);
4138 #define wxDateTime_GetYear(_swigobj,_swigarg0) (_swigobj->GetYear(_swigarg0))
4139 static PyObject
*_wrap_wxDateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
* _resultobj
;
4143 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4144 PyObject
* _argo0
= 0;
4145 PyObject
* _obj1
= 0;
4146 char *_kwnames
[] = { "self","tz", NULL
};
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetYear",_kwnames
,&_argo0
,&_obj1
))
4152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYear. Expected _wxDateTime_p.");
4160 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4163 wxPy_BEGIN_ALLOW_THREADS
;
4164 _result
= (int )wxDateTime_GetYear(_arg0
,*_arg1
);
4166 wxPy_END_ALLOW_THREADS
;
4167 } _resultobj
= Py_BuildValue("i",_result
);
4169 if (_arg1
) delete _arg1
;
4174 #define wxDateTime_GetMonth(_swigobj,_swigarg0) (_swigobj->GetMonth(_swigarg0))
4175 static PyObject
*_wrap_wxDateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4176 PyObject
* _resultobj
;
4177 wxDateTime::Month _result
;
4179 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4180 PyObject
* _argo0
= 0;
4181 PyObject
* _obj1
= 0;
4182 char *_kwnames
[] = { "self","tz", NULL
};
4185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMonth",_kwnames
,&_argo0
,&_obj1
))
4188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMonth. Expected _wxDateTime_p.");
4196 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4199 wxPy_BEGIN_ALLOW_THREADS
;
4200 _result
= (wxDateTime::Month
)wxDateTime_GetMonth(_arg0
,*_arg1
);
4202 wxPy_END_ALLOW_THREADS
;
4203 } _resultobj
= Py_BuildValue("i",_result
);
4205 if (_arg1
) delete _arg1
;
4210 #define wxDateTime_GetDay(_swigobj,_swigarg0) (_swigobj->GetDay(_swigarg0))
4211 static PyObject
*_wrap_wxDateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
* _resultobj
;
4213 wxDateTime::wxDateTime_t _result
;
4215 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4216 PyObject
* _argo0
= 0;
4217 PyObject
* _obj1
= 0;
4218 char *_kwnames
[] = { "self","tz", NULL
};
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDay",_kwnames
,&_argo0
,&_obj1
))
4224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDay. Expected _wxDateTime_p.");
4232 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4235 wxPy_BEGIN_ALLOW_THREADS
;
4236 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDay(_arg0
,*_arg1
);
4238 wxPy_END_ALLOW_THREADS
;
4239 } _resultobj
= Py_BuildValue("h",_result
);
4241 if (_arg1
) delete _arg1
;
4246 #define wxDateTime_GetHour(_swigobj,_swigarg0) (_swigobj->GetHour(_swigarg0))
4247 static PyObject
*_wrap_wxDateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
* _resultobj
;
4249 wxDateTime::wxDateTime_t _result
;
4251 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4252 PyObject
* _argo0
= 0;
4253 PyObject
* _obj1
= 0;
4254 char *_kwnames
[] = { "self","tz", NULL
};
4257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetHour",_kwnames
,&_argo0
,&_obj1
))
4260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetHour. Expected _wxDateTime_p.");
4268 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4271 wxPy_BEGIN_ALLOW_THREADS
;
4272 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetHour(_arg0
,*_arg1
);
4274 wxPy_END_ALLOW_THREADS
;
4275 } _resultobj
= Py_BuildValue("h",_result
);
4277 if (_arg1
) delete _arg1
;
4282 #define wxDateTime_GetMinute(_swigobj,_swigarg0) (_swigobj->GetMinute(_swigarg0))
4283 static PyObject
*_wrap_wxDateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
* _resultobj
;
4285 wxDateTime::wxDateTime_t _result
;
4287 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4288 PyObject
* _argo0
= 0;
4289 PyObject
* _obj1
= 0;
4290 char *_kwnames
[] = { "self","tz", NULL
};
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMinute",_kwnames
,&_argo0
,&_obj1
))
4296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMinute. Expected _wxDateTime_p.");
4304 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4307 wxPy_BEGIN_ALLOW_THREADS
;
4308 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMinute(_arg0
,*_arg1
);
4310 wxPy_END_ALLOW_THREADS
;
4311 } _resultobj
= Py_BuildValue("h",_result
);
4313 if (_arg1
) delete _arg1
;
4318 #define wxDateTime_GetSecond(_swigobj,_swigarg0) (_swigobj->GetSecond(_swigarg0))
4319 static PyObject
*_wrap_wxDateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
* _resultobj
;
4321 wxDateTime::wxDateTime_t _result
;
4323 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4324 PyObject
* _argo0
= 0;
4325 PyObject
* _obj1
= 0;
4326 char *_kwnames
[] = { "self","tz", NULL
};
4329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetSecond",_kwnames
,&_argo0
,&_obj1
))
4332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetSecond. Expected _wxDateTime_p.");
4340 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4343 wxPy_BEGIN_ALLOW_THREADS
;
4344 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetSecond(_arg0
,*_arg1
);
4346 wxPy_END_ALLOW_THREADS
;
4347 } _resultobj
= Py_BuildValue("h",_result
);
4349 if (_arg1
) delete _arg1
;
4354 #define wxDateTime_GetMillisecond(_swigobj,_swigarg0) (_swigobj->GetMillisecond(_swigarg0))
4355 static PyObject
*_wrap_wxDateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
* _resultobj
;
4357 wxDateTime::wxDateTime_t _result
;
4359 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4360 PyObject
* _argo0
= 0;
4361 PyObject
* _obj1
= 0;
4362 char *_kwnames
[] = { "self","tz", NULL
};
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMillisecond",_kwnames
,&_argo0
,&_obj1
))
4368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMillisecond. Expected _wxDateTime_p.");
4376 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4379 wxPy_BEGIN_ALLOW_THREADS
;
4380 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMillisecond(_arg0
,*_arg1
);
4382 wxPy_END_ALLOW_THREADS
;
4383 } _resultobj
= Py_BuildValue("h",_result
);
4385 if (_arg1
) delete _arg1
;
4390 #define wxDateTime_GetDayOfYear(_swigobj,_swigarg0) (_swigobj->GetDayOfYear(_swigarg0))
4391 static PyObject
*_wrap_wxDateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
* _resultobj
;
4393 wxDateTime::wxDateTime_t _result
;
4395 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4396 PyObject
* _argo0
= 0;
4397 PyObject
* _obj1
= 0;
4398 char *_kwnames
[] = { "self","tz", NULL
};
4401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDayOfYear",_kwnames
,&_argo0
,&_obj1
))
4404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDayOfYear. Expected _wxDateTime_p.");
4412 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4415 wxPy_BEGIN_ALLOW_THREADS
;
4416 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDayOfYear(_arg0
,*_arg1
);
4418 wxPy_END_ALLOW_THREADS
;
4419 } _resultobj
= Py_BuildValue("h",_result
);
4421 if (_arg1
) delete _arg1
;
4426 #define wxDateTime_GetWeekOfYear(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfYear(_swigarg0,_swigarg1))
4427 static PyObject
*_wrap_wxDateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
* _resultobj
;
4429 wxDateTime::wxDateTime_t _result
;
4431 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4432 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4433 PyObject
* _argo0
= 0;
4434 PyObject
* _obj2
= 0;
4435 char *_kwnames
[] = { "self","flags","tz", NULL
};
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfYear",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfYear. Expected _wxDateTime_p.");
4449 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4452 wxPy_BEGIN_ALLOW_THREADS
;
4453 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfYear(_arg0
,_arg1
,*_arg2
);
4455 wxPy_END_ALLOW_THREADS
;
4456 } _resultobj
= Py_BuildValue("h",_result
);
4458 if (_arg2
) delete _arg2
;
4463 #define wxDateTime_GetWeekOfMonth(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfMonth(_swigarg0,_swigarg1))
4464 static PyObject
*_wrap_wxDateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
* _resultobj
;
4466 wxDateTime::wxDateTime_t _result
;
4468 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4469 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4470 PyObject
* _argo0
= 0;
4471 PyObject
* _obj2
= 0;
4472 char *_kwnames
[] = { "self","flags","tz", NULL
};
4475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfMonth",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfMonth. Expected _wxDateTime_p.");
4486 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4489 wxPy_BEGIN_ALLOW_THREADS
;
4490 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfMonth(_arg0
,_arg1
,*_arg2
);
4492 wxPy_END_ALLOW_THREADS
;
4493 } _resultobj
= Py_BuildValue("h",_result
);
4495 if (_arg2
) delete _arg2
;
4500 #define wxDateTime_IsWorkDay(_swigobj,_swigarg0) (_swigobj->IsWorkDay(_swigarg0))
4501 static PyObject
*_wrap_wxDateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
* _resultobj
;
4505 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
4506 PyObject
* _argo0
= 0;
4507 char *_kwnames
[] = { "self","country", NULL
};
4510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsWorkDay",_kwnames
,&_argo0
,&_arg1
))
4513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsWorkDay. Expected _wxDateTime_p.");
4520 wxPy_BEGIN_ALLOW_THREADS
;
4521 _result
= (bool )wxDateTime_IsWorkDay(_arg0
,_arg1
);
4523 wxPy_END_ALLOW_THREADS
;
4524 } _resultobj
= Py_BuildValue("i",_result
);
4528 #define wxDateTime_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
4529 static PyObject
*_wrap_wxDateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
* _resultobj
;
4534 PyObject
* _argo0
= 0;
4535 PyObject
* _argo1
= 0;
4536 char *_kwnames
[] = { "self","datetime", NULL
};
4539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
4542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4549 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4550 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4556 wxPy_BEGIN_ALLOW_THREADS
;
4557 _result
= (bool )wxDateTime_IsEqualTo(_arg0
,*_arg1
);
4559 wxPy_END_ALLOW_THREADS
;
4560 } _resultobj
= Py_BuildValue("i",_result
);
4564 #define wxDateTime_IsEarlierThan(_swigobj,_swigarg0) (_swigobj->IsEarlierThan(_swigarg0))
4565 static PyObject
*_wrap_wxDateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
* _resultobj
;
4570 PyObject
* _argo0
= 0;
4571 PyObject
* _argo1
= 0;
4572 char *_kwnames
[] = { "self","datetime", NULL
};
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEarlierThan",_kwnames
,&_argo0
,&_argo1
))
4578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4585 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4586 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4592 wxPy_BEGIN_ALLOW_THREADS
;
4593 _result
= (bool )wxDateTime_IsEarlierThan(_arg0
,*_arg1
);
4595 wxPy_END_ALLOW_THREADS
;
4596 } _resultobj
= Py_BuildValue("i",_result
);
4600 #define wxDateTime_IsLaterThan(_swigobj,_swigarg0) (_swigobj->IsLaterThan(_swigarg0))
4601 static PyObject
*_wrap_wxDateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
* _resultobj
;
4606 PyObject
* _argo0
= 0;
4607 PyObject
* _argo1
= 0;
4608 char *_kwnames
[] = { "self","datetime", NULL
};
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsLaterThan",_kwnames
,&_argo0
,&_argo1
))
4614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4621 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4622 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4628 wxPy_BEGIN_ALLOW_THREADS
;
4629 _result
= (bool )wxDateTime_IsLaterThan(_arg0
,*_arg1
);
4631 wxPy_END_ALLOW_THREADS
;
4632 } _resultobj
= Py_BuildValue("i",_result
);
4636 #define wxDateTime_IsStrictlyBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsStrictlyBetween(_swigarg0,_swigarg1))
4637 static PyObject
*_wrap_wxDateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
* _resultobj
;
4643 PyObject
* _argo0
= 0;
4644 PyObject
* _argo1
= 0;
4645 PyObject
* _argo2
= 0;
4646 char *_kwnames
[] = { "self","t1","t2", NULL
};
4649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsStrictlyBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4659 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4660 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4666 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4667 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4673 wxPy_BEGIN_ALLOW_THREADS
;
4674 _result
= (bool )wxDateTime_IsStrictlyBetween(_arg0
,*_arg1
,*_arg2
);
4676 wxPy_END_ALLOW_THREADS
;
4677 } _resultobj
= Py_BuildValue("i",_result
);
4681 #define wxDateTime_IsBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsBetween(_swigarg0,_swigarg1))
4682 static PyObject
*_wrap_wxDateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4683 PyObject
* _resultobj
;
4688 PyObject
* _argo0
= 0;
4689 PyObject
* _argo1
= 0;
4690 PyObject
* _argo2
= 0;
4691 char *_kwnames
[] = { "self","t1","t2", NULL
};
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4704 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4705 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4711 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4712 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4718 wxPy_BEGIN_ALLOW_THREADS
;
4719 _result
= (bool )wxDateTime_IsBetween(_arg0
,*_arg1
,*_arg2
);
4721 wxPy_END_ALLOW_THREADS
;
4722 } _resultobj
= Py_BuildValue("i",_result
);
4726 #define wxDateTime_IsSameDate(_swigobj,_swigarg0) (_swigobj->IsSameDate(_swigarg0))
4727 static PyObject
*_wrap_wxDateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
* _resultobj
;
4732 PyObject
* _argo0
= 0;
4733 PyObject
* _argo1
= 0;
4734 char *_kwnames
[] = { "self","dt", NULL
};
4737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameDate",_kwnames
,&_argo0
,&_argo1
))
4740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4747 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4748 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4754 wxPy_BEGIN_ALLOW_THREADS
;
4755 _result
= (bool )wxDateTime_IsSameDate(_arg0
,*_arg1
);
4757 wxPy_END_ALLOW_THREADS
;
4758 } _resultobj
= Py_BuildValue("i",_result
);
4762 #define wxDateTime_IsSameTime(_swigobj,_swigarg0) (_swigobj->IsSameTime(_swigarg0))
4763 static PyObject
*_wrap_wxDateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
* _resultobj
;
4768 PyObject
* _argo0
= 0;
4769 PyObject
* _argo1
= 0;
4770 char *_kwnames
[] = { "self","dt", NULL
};
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameTime",_kwnames
,&_argo0
,&_argo1
))
4776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
4783 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4784 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
4790 wxPy_BEGIN_ALLOW_THREADS
;
4791 _result
= (bool )wxDateTime_IsSameTime(_arg0
,*_arg1
);
4793 wxPy_END_ALLOW_THREADS
;
4794 } _resultobj
= Py_BuildValue("i",_result
);
4798 #define wxDateTime_IsEqualUpTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEqualUpTo(_swigarg0,_swigarg1))
4799 static PyObject
*_wrap_wxDateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
* _resultobj
;
4805 PyObject
* _argo0
= 0;
4806 PyObject
* _argo1
= 0;
4807 PyObject
* _argo2
= 0;
4808 char *_kwnames
[] = { "self","dt","ts", NULL
};
4811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsEqualUpTo",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4821 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4822 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4828 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4829 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTimeSpan_p")) {
4830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsEqualUpTo. Expected _wxTimeSpan_p.");
4835 wxPy_BEGIN_ALLOW_THREADS
;
4836 _result
= (bool )wxDateTime_IsEqualUpTo(_arg0
,*_arg1
,*_arg2
);
4838 wxPy_END_ALLOW_THREADS
;
4839 } _resultobj
= Py_BuildValue("i",_result
);
4843 #define wxDateTime_AddTS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4844 static PyObject
*_wrap_wxDateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
* _resultobj
;
4846 wxDateTime
* _result
;
4849 PyObject
* _argo0
= 0;
4850 PyObject
* _argo1
= 0;
4851 char *_kwnames
[] = { "self","diff", NULL
};
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddTS",_kwnames
,&_argo0
,&_argo1
))
4858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddTS. Expected _wxDateTime_p.");
4865 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4866 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddTS. Expected _wxTimeSpan_p.");
4872 wxPy_BEGIN_ALLOW_THREADS
;
4873 wxDateTime
& _result_ref
= wxDateTime_AddTS(_arg0
,*_arg1
);
4874 _result
= (wxDateTime
*) &_result_ref
;
4876 wxPy_END_ALLOW_THREADS
;
4878 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4879 _resultobj
= Py_BuildValue("s",_ptemp
);
4882 _resultobj
= Py_None
;
4887 #define wxDateTime_AddDS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4888 static PyObject
*_wrap_wxDateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4889 PyObject
* _resultobj
;
4890 wxDateTime
* _result
;
4893 PyObject
* _argo0
= 0;
4894 PyObject
* _argo1
= 0;
4895 char *_kwnames
[] = { "self","diff", NULL
};
4899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddDS",_kwnames
,&_argo0
,&_argo1
))
4902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddDS. Expected _wxDateTime_p.");
4909 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4910 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddDS. Expected _wxDateSpan_p.");
4916 wxPy_BEGIN_ALLOW_THREADS
;
4917 wxDateTime
& _result_ref
= wxDateTime_AddDS(_arg0
,*_arg1
);
4918 _result
= (wxDateTime
*) &_result_ref
;
4920 wxPy_END_ALLOW_THREADS
;
4922 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4923 _resultobj
= Py_BuildValue("s",_ptemp
);
4926 _resultobj
= Py_None
;
4931 #define wxDateTime_SubtractTS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4932 static PyObject
*_wrap_wxDateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4933 PyObject
* _resultobj
;
4934 wxDateTime
* _result
;
4937 PyObject
* _argo0
= 0;
4938 PyObject
* _argo1
= 0;
4939 char *_kwnames
[] = { "self","diff", NULL
};
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractTS",_kwnames
,&_argo0
,&_argo1
))
4946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractTS. Expected _wxDateTime_p.");
4953 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4954 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractTS. Expected _wxTimeSpan_p.");
4960 wxPy_BEGIN_ALLOW_THREADS
;
4961 wxDateTime
& _result_ref
= wxDateTime_SubtractTS(_arg0
,*_arg1
);
4962 _result
= (wxDateTime
*) &_result_ref
;
4964 wxPy_END_ALLOW_THREADS
;
4966 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4967 _resultobj
= Py_BuildValue("s",_ptemp
);
4970 _resultobj
= Py_None
;
4975 #define wxDateTime_SubtractDS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4976 static PyObject
*_wrap_wxDateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4977 PyObject
* _resultobj
;
4978 wxDateTime
* _result
;
4981 PyObject
* _argo0
= 0;
4982 PyObject
* _argo1
= 0;
4983 char *_kwnames
[] = { "self","diff", NULL
};
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractDS",_kwnames
,&_argo0
,&_argo1
))
4990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractDS. Expected _wxDateTime_p.");
4997 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4998 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractDS. Expected _wxDateSpan_p.");
5004 wxPy_BEGIN_ALLOW_THREADS
;
5005 wxDateTime
& _result_ref
= wxDateTime_SubtractDS(_arg0
,*_arg1
);
5006 _result
= (wxDateTime
*) &_result_ref
;
5008 wxPy_END_ALLOW_THREADS
;
5010 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
5011 _resultobj
= Py_BuildValue("s",_ptemp
);
5014 _resultobj
= Py_None
;
5019 #define wxDateTime_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5020 static PyObject
*_wrap_wxDateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
* _resultobj
;
5022 wxTimeSpan
* _result
;
5025 PyObject
* _argo0
= 0;
5026 PyObject
* _argo1
= 0;
5027 char *_kwnames
[] = { "self","dt", NULL
};
5031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_Subtract",_kwnames
,&_argo0
,&_argo1
))
5034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Subtract. Expected _wxDateTime_p.");
5041 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5042 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_Subtract. Expected _wxDateTime_p.");
5048 wxPy_BEGIN_ALLOW_THREADS
;
5049 _result
= new wxTimeSpan (wxDateTime_Subtract(_arg0
,*_arg1
));
5051 wxPy_END_ALLOW_THREADS
;
5052 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5053 _resultobj
= Py_BuildValue("s",_ptemp
);
5057 static wxDateTime
wxDateTime___add__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
5058 static PyObject
*_wrap_wxDateTime___add__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
* _resultobj
;
5060 wxDateTime
* _result
;
5063 PyObject
* _argo0
= 0;
5064 PyObject
* _argo1
= 0;
5065 char *_kwnames
[] = { "self","other", NULL
};
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__TS",_kwnames
,&_argo0
,&_argo1
))
5072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__TS. Expected _wxDateTime_p.");
5079 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5080 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__TS. Expected _wxTimeSpan_p.");
5086 wxPy_BEGIN_ALLOW_THREADS
;
5087 _result
= new wxDateTime (wxDateTime___add__TS(_arg0
,*_arg1
));
5089 wxPy_END_ALLOW_THREADS
;
5090 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5091 _resultobj
= Py_BuildValue("s",_ptemp
);
5095 static wxDateTime
wxDateTime___add__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
5096 static PyObject
*_wrap_wxDateTime___add__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
* _resultobj
;
5098 wxDateTime
* _result
;
5101 PyObject
* _argo0
= 0;
5102 PyObject
* _argo1
= 0;
5103 char *_kwnames
[] = { "self","other", NULL
};
5107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__DS",_kwnames
,&_argo0
,&_argo1
))
5110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__DS. Expected _wxDateTime_p.");
5117 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5118 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__DS. Expected _wxDateSpan_p.");
5124 wxPy_BEGIN_ALLOW_THREADS
;
5125 _result
= new wxDateTime (wxDateTime___add__DS(_arg0
,*_arg1
));
5127 wxPy_END_ALLOW_THREADS
;
5128 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5129 _resultobj
= Py_BuildValue("s",_ptemp
);
5133 static wxTimeSpan
wxDateTime___sub__DT(wxDateTime
*self
,const wxDateTime
& other
) { return *self
- other
; }
5134 static PyObject
*_wrap_wxDateTime___sub__DT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5135 PyObject
* _resultobj
;
5136 wxTimeSpan
* _result
;
5139 PyObject
* _argo0
= 0;
5140 PyObject
* _argo1
= 0;
5141 char *_kwnames
[] = { "self","other", NULL
};
5145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DT",_kwnames
,&_argo0
,&_argo1
))
5148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
5155 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5156 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
5162 wxPy_BEGIN_ALLOW_THREADS
;
5163 _result
= new wxTimeSpan (wxDateTime___sub__DT(_arg0
,*_arg1
));
5165 wxPy_END_ALLOW_THREADS
;
5166 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5167 _resultobj
= Py_BuildValue("s",_ptemp
);
5171 static wxDateTime
wxDateTime___sub__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
5172 static PyObject
*_wrap_wxDateTime___sub__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
* _resultobj
;
5174 wxDateTime
* _result
;
5177 PyObject
* _argo0
= 0;
5178 PyObject
* _argo1
= 0;
5179 char *_kwnames
[] = { "self","other", NULL
};
5183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__TS",_kwnames
,&_argo0
,&_argo1
))
5186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__TS. Expected _wxDateTime_p.");
5193 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5194 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__TS. Expected _wxTimeSpan_p.");
5200 wxPy_BEGIN_ALLOW_THREADS
;
5201 _result
= new wxDateTime (wxDateTime___sub__TS(_arg0
,*_arg1
));
5203 wxPy_END_ALLOW_THREADS
;
5204 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5205 _resultobj
= Py_BuildValue("s",_ptemp
);
5209 static wxDateTime
wxDateTime___sub__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
- other
; }
5210 static PyObject
*_wrap_wxDateTime___sub__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
* _resultobj
;
5212 wxDateTime
* _result
;
5215 PyObject
* _argo0
= 0;
5216 PyObject
* _argo1
= 0;
5217 char *_kwnames
[] = { "self","other", NULL
};
5221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DS",_kwnames
,&_argo0
,&_argo1
))
5224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DS. Expected _wxDateTime_p.");
5231 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5232 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DS. Expected _wxDateSpan_p.");
5238 wxPy_BEGIN_ALLOW_THREADS
;
5239 _result
= new wxDateTime (wxDateTime___sub__DS(_arg0
,*_arg1
));
5241 wxPy_END_ALLOW_THREADS
;
5242 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5243 _resultobj
= Py_BuildValue("s",_ptemp
);
5247 static int wxDateTime___cmp__(wxDateTime
*self
,const wxDateTime
& other
) {
5248 if (*self
< other
) return -1;
5249 if (*self
== other
) return 0;
5252 static PyObject
*_wrap_wxDateTime___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
* _resultobj
;
5257 PyObject
* _argo0
= 0;
5258 PyObject
* _argo1
= 0;
5259 char *_kwnames
[] = { "self","other", NULL
};
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___cmp__",_kwnames
,&_argo0
,&_argo1
))
5265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5272 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5273 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5279 wxPy_BEGIN_ALLOW_THREADS
;
5280 _result
= (int )wxDateTime___cmp__(_arg0
,*_arg1
);
5282 wxPy_END_ALLOW_THREADS
;
5283 } _resultobj
= Py_BuildValue("i",_result
);
5287 #define wxDateTime_ParseRfc822Date(_swigobj,_swigarg0) (_swigobj->ParseRfc822Date(_swigarg0))
5288 static PyObject
*_wrap_wxDateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
* _resultobj
;
5293 PyObject
* _argo0
= 0;
5294 char *_kwnames
[] = { "self","date", NULL
};
5297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseRfc822Date",_kwnames
,&_argo0
,&_arg1
))
5300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseRfc822Date. Expected _wxDateTime_p.");
5307 wxPy_BEGIN_ALLOW_THREADS
;
5308 _result
= (char *)wxDateTime_ParseRfc822Date(_arg0
,_arg1
);
5310 wxPy_END_ALLOW_THREADS
;
5311 } _resultobj
= Py_BuildValue("s", _result
);
5315 #define wxDateTime_ParseFormat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ParseFormat(_swigarg0,_swigarg1,_swigarg2))
5316 static PyObject
*_wrap_wxDateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
* _resultobj
;
5321 char * _arg2
= (char *) "%c";
5322 wxDateTime
* _arg3
= (wxDateTime
*) &wxDefaultDateTime
;
5323 PyObject
* _argo0
= 0;
5324 PyObject
* _argo3
= 0;
5325 char *_kwnames
[] = { "self","date","format","dateDef", NULL
};
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|sO:wxDateTime_ParseFormat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
5331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5338 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5339 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime_p")) {
5340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5345 wxPy_BEGIN_ALLOW_THREADS
;
5346 _result
= (char *)wxDateTime_ParseFormat(_arg0
,_arg1
,_arg2
,*_arg3
);
5348 wxPy_END_ALLOW_THREADS
;
5349 } _resultobj
= Py_BuildValue("s", _result
);
5353 #define wxDateTime_ParseDateTime(_swigobj,_swigarg0) (_swigobj->ParseDateTime(_swigarg0))
5354 static PyObject
*_wrap_wxDateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5355 PyObject
* _resultobj
;
5359 PyObject
* _argo0
= 0;
5360 char *_kwnames
[] = { "self","datetime", NULL
};
5363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseDateTime",_kwnames
,&_argo0
,&_arg1
))
5366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDateTime. Expected _wxDateTime_p.");
5373 wxPy_BEGIN_ALLOW_THREADS
;
5374 _result
= (char *)wxDateTime_ParseDateTime(_arg0
,_arg1
);
5376 wxPy_END_ALLOW_THREADS
;
5377 } _resultobj
= Py_BuildValue("s", _result
);
5381 #define wxDateTime_ParseDate(_swigobj,_swigarg0) (_swigobj->ParseDate(_swigarg0))
5382 static PyObject
*_wrap_wxDateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
* _resultobj
;
5387 PyObject
* _argo0
= 0;
5388 char *_kwnames
[] = { "self","date", NULL
};
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseDate",_kwnames
,&_argo0
,&_arg1
))
5394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDate. Expected _wxDateTime_p.");
5401 wxPy_BEGIN_ALLOW_THREADS
;
5402 _result
= (char *)wxDateTime_ParseDate(_arg0
,_arg1
);
5404 wxPy_END_ALLOW_THREADS
;
5405 } _resultobj
= Py_BuildValue("s", _result
);
5409 #define wxDateTime_ParseTime(_swigobj,_swigarg0) (_swigobj->ParseTime(_swigarg0))
5410 static PyObject
*_wrap_wxDateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
* _resultobj
;
5415 PyObject
* _argo0
= 0;
5416 char *_kwnames
[] = { "self","time", NULL
};
5419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseTime",_kwnames
,&_argo0
,&_arg1
))
5422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseTime. Expected _wxDateTime_p.");
5429 wxPy_BEGIN_ALLOW_THREADS
;
5430 _result
= (char *)wxDateTime_ParseTime(_arg0
,_arg1
);
5432 wxPy_END_ALLOW_THREADS
;
5433 } _resultobj
= Py_BuildValue("s", _result
);
5437 #define wxDateTime_Format(_swigobj,_swigarg0,_swigarg1) (_swigobj->Format(_swigarg0,_swigarg1))
5438 static PyObject
*_wrap_wxDateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5439 PyObject
* _resultobj
;
5442 char * _arg1
= (char *) "%c";
5443 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
5444 PyObject
* _argo0
= 0;
5445 PyObject
* _obj2
= 0;
5446 char *_kwnames
[] = { "self","format","tz", NULL
};
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sO:wxDateTime_Format",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Format. Expected _wxDateTime_p.");
5460 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
5463 wxPy_BEGIN_ALLOW_THREADS
;
5464 _result
= new wxString (wxDateTime_Format(_arg0
,_arg1
,*_arg2
));
5466 wxPy_END_ALLOW_THREADS
;
5468 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5471 if (_arg2
) delete _arg2
;
5479 #define wxDateTime_FormatDate(_swigobj) (_swigobj->FormatDate())
5480 static PyObject
*_wrap_wxDateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
* _resultobj
;
5484 PyObject
* _argo0
= 0;
5485 char *_kwnames
[] = { "self", NULL
};
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatDate",_kwnames
,&_argo0
))
5491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatDate. Expected _wxDateTime_p.");
5498 wxPy_BEGIN_ALLOW_THREADS
;
5499 _result
= new wxString (wxDateTime_FormatDate(_arg0
));
5501 wxPy_END_ALLOW_THREADS
;
5503 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5511 #define wxDateTime_FormatTime(_swigobj) (_swigobj->FormatTime())
5512 static PyObject
*_wrap_wxDateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
* _resultobj
;
5516 PyObject
* _argo0
= 0;
5517 char *_kwnames
[] = { "self", NULL
};
5520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatTime",_kwnames
,&_argo0
))
5523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatTime. Expected _wxDateTime_p.");
5530 wxPy_BEGIN_ALLOW_THREADS
;
5531 _result
= new wxString (wxDateTime_FormatTime(_arg0
));
5533 wxPy_END_ALLOW_THREADS
;
5535 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5543 #define wxDateTime_FormatISODate(_swigobj) (_swigobj->FormatISODate())
5544 static PyObject
*_wrap_wxDateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
* _resultobj
;
5548 PyObject
* _argo0
= 0;
5549 char *_kwnames
[] = { "self", NULL
};
5552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISODate",_kwnames
,&_argo0
))
5555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISODate. Expected _wxDateTime_p.");
5562 wxPy_BEGIN_ALLOW_THREADS
;
5563 _result
= new wxString (wxDateTime_FormatISODate(_arg0
));
5565 wxPy_END_ALLOW_THREADS
;
5567 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5575 #define wxDateTime_FormatISOTime(_swigobj) (_swigobj->FormatISOTime())
5576 static PyObject
*_wrap_wxDateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
* _resultobj
;
5580 PyObject
* _argo0
= 0;
5581 char *_kwnames
[] = { "self", NULL
};
5584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISOTime",_kwnames
,&_argo0
))
5587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISOTime. Expected _wxDateTime_p.");
5594 wxPy_BEGIN_ALLOW_THREADS
;
5595 _result
= new wxString (wxDateTime_FormatISOTime(_arg0
));
5597 wxPy_END_ALLOW_THREADS
;
5599 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5607 static PyObject
*_wrap_wxTimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
* _resultobj
;
5609 wxTimeSpan
* _result
;
5611 char *_kwnames
[] = { "sec", NULL
};
5615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Seconds",_kwnames
,&_arg0
))
5618 wxPy_BEGIN_ALLOW_THREADS
;
5619 _result
= new wxTimeSpan (wxTimeSpan::Seconds(_arg0
));
5621 wxPy_END_ALLOW_THREADS
;
5622 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5623 _resultobj
= Py_BuildValue("s",_ptemp
);
5627 static PyObject
*_wrap_wxTimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
* _resultobj
;
5629 wxTimeSpan
* _result
;
5630 char *_kwnames
[] = { NULL
};
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Second",_kwnames
))
5637 wxPy_BEGIN_ALLOW_THREADS
;
5638 _result
= new wxTimeSpan (wxTimeSpan::Second());
5640 wxPy_END_ALLOW_THREADS
;
5641 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5642 _resultobj
= Py_BuildValue("s",_ptemp
);
5646 static PyObject
*_wrap_wxTimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5647 PyObject
* _resultobj
;
5648 wxTimeSpan
* _result
;
5650 char *_kwnames
[] = { "min", NULL
};
5654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Minutes",_kwnames
,&_arg0
))
5657 wxPy_BEGIN_ALLOW_THREADS
;
5658 _result
= new wxTimeSpan (wxTimeSpan::Minutes(_arg0
));
5660 wxPy_END_ALLOW_THREADS
;
5661 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5662 _resultobj
= Py_BuildValue("s",_ptemp
);
5666 static PyObject
*_wrap_wxTimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
* _resultobj
;
5668 wxTimeSpan
* _result
;
5669 char *_kwnames
[] = { NULL
};
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Minute",_kwnames
))
5676 wxPy_BEGIN_ALLOW_THREADS
;
5677 _result
= new wxTimeSpan (wxTimeSpan::Minute());
5679 wxPy_END_ALLOW_THREADS
;
5680 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5681 _resultobj
= Py_BuildValue("s",_ptemp
);
5685 static PyObject
*_wrap_wxTimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
* _resultobj
;
5687 wxTimeSpan
* _result
;
5689 char *_kwnames
[] = { "hours", NULL
};
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Hours",_kwnames
,&_arg0
))
5696 wxPy_BEGIN_ALLOW_THREADS
;
5697 _result
= new wxTimeSpan (wxTimeSpan::Hours(_arg0
));
5699 wxPy_END_ALLOW_THREADS
;
5700 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5701 _resultobj
= Py_BuildValue("s",_ptemp
);
5705 static PyObject
*_wrap_wxTimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5706 PyObject
* _resultobj
;
5707 wxTimeSpan
* _result
;
5708 char *_kwnames
[] = { NULL
};
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Hour",_kwnames
))
5715 wxPy_BEGIN_ALLOW_THREADS
;
5716 _result
= new wxTimeSpan (wxTimeSpan::Hour());
5718 wxPy_END_ALLOW_THREADS
;
5719 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5720 _resultobj
= Py_BuildValue("s",_ptemp
);
5724 static PyObject
*_wrap_wxTimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
* _resultobj
;
5726 wxTimeSpan
* _result
;
5728 char *_kwnames
[] = { "days", NULL
};
5732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Days",_kwnames
,&_arg0
))
5735 wxPy_BEGIN_ALLOW_THREADS
;
5736 _result
= new wxTimeSpan (wxTimeSpan::Days(_arg0
));
5738 wxPy_END_ALLOW_THREADS
;
5739 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5740 _resultobj
= Py_BuildValue("s",_ptemp
);
5744 static PyObject
*_wrap_wxTimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5745 PyObject
* _resultobj
;
5746 wxTimeSpan
* _result
;
5747 char *_kwnames
[] = { NULL
};
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Day",_kwnames
))
5754 wxPy_BEGIN_ALLOW_THREADS
;
5755 _result
= new wxTimeSpan (wxTimeSpan::Day());
5757 wxPy_END_ALLOW_THREADS
;
5758 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5759 _resultobj
= Py_BuildValue("s",_ptemp
);
5763 static PyObject
*_wrap_wxTimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
* _resultobj
;
5765 wxTimeSpan
* _result
;
5767 char *_kwnames
[] = { "days", NULL
};
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Weeks",_kwnames
,&_arg0
))
5774 wxPy_BEGIN_ALLOW_THREADS
;
5775 _result
= new wxTimeSpan (wxTimeSpan::Weeks(_arg0
));
5777 wxPy_END_ALLOW_THREADS
;
5778 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5779 _resultobj
= Py_BuildValue("s",_ptemp
);
5783 static PyObject
*_wrap_wxTimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
* _resultobj
;
5785 wxTimeSpan
* _result
;
5786 char *_kwnames
[] = { NULL
};
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Week",_kwnames
))
5793 wxPy_BEGIN_ALLOW_THREADS
;
5794 _result
= new wxTimeSpan (wxTimeSpan::Week());
5796 wxPy_END_ALLOW_THREADS
;
5797 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5798 _resultobj
= Py_BuildValue("s",_ptemp
);
5802 #define new_wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5803 static PyObject
*_wrap_new_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
* _resultobj
;
5805 wxTimeSpan
* _result
;
5806 long _arg0
= (long ) 0;
5807 long _arg1
= (long ) 0;
5808 long _arg2
= (long ) 0;
5809 long _arg3
= (long ) 0;
5810 char *_kwnames
[] = { "hours","minutes","seconds","milliseconds", NULL
};
5814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxTimeSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
5817 wxPy_BEGIN_ALLOW_THREADS
;
5818 _result
= (wxTimeSpan
*)new_wxTimeSpan(_arg0
,_arg1
,_arg2
,_arg3
);
5820 wxPy_END_ALLOW_THREADS
;
5822 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5823 _resultobj
= Py_BuildValue("s",_ptemp
);
5826 _resultobj
= Py_None
;
5831 #define delete_wxTimeSpan(_swigobj) (delete _swigobj)
5832 static PyObject
*_wrap_delete_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
* _resultobj
;
5835 PyObject
* _argo0
= 0;
5836 char *_kwnames
[] = { "self", NULL
};
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTimeSpan",_kwnames
,&_argo0
))
5842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTimeSpan. Expected _wxTimeSpan_p.");
5849 wxPy_BEGIN_ALLOW_THREADS
;
5850 delete_wxTimeSpan(_arg0
);
5852 wxPy_END_ALLOW_THREADS
;
5853 } Py_INCREF(Py_None
);
5854 _resultobj
= Py_None
;
5858 #define wxTimeSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
5859 static PyObject
*_wrap_wxTimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
* _resultobj
;
5861 wxTimeSpan
* _result
;
5864 PyObject
* _argo0
= 0;
5865 PyObject
* _argo1
= 0;
5866 char *_kwnames
[] = { "self","diff", NULL
};
5870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Add",_kwnames
,&_argo0
,&_argo1
))
5873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
5880 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5881 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
5887 wxPy_BEGIN_ALLOW_THREADS
;
5888 wxTimeSpan
& _result_ref
= wxTimeSpan_Add(_arg0
,*_arg1
);
5889 _result
= (wxTimeSpan
*) &_result_ref
;
5891 wxPy_END_ALLOW_THREADS
;
5893 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5894 _resultobj
= Py_BuildValue("s",_ptemp
);
5897 _resultobj
= Py_None
;
5902 #define wxTimeSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5903 static PyObject
*_wrap_wxTimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
* _resultobj
;
5905 wxTimeSpan
* _result
;
5908 PyObject
* _argo0
= 0;
5909 PyObject
* _argo1
= 0;
5910 char *_kwnames
[] = { "self","diff", NULL
};
5914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
5917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
5924 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5925 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
5931 wxPy_BEGIN_ALLOW_THREADS
;
5932 wxTimeSpan
& _result_ref
= wxTimeSpan_Subtract(_arg0
,*_arg1
);
5933 _result
= (wxTimeSpan
*) &_result_ref
;
5935 wxPy_END_ALLOW_THREADS
;
5937 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5938 _resultobj
= Py_BuildValue("s",_ptemp
);
5941 _resultobj
= Py_None
;
5946 #define wxTimeSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
5947 static PyObject
*_wrap_wxTimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
* _resultobj
;
5949 wxTimeSpan
* _result
;
5952 PyObject
* _argo0
= 0;
5953 char *_kwnames
[] = { "self","n", NULL
};
5957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
5960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Multiply. Expected _wxTimeSpan_p.");
5967 wxPy_BEGIN_ALLOW_THREADS
;
5968 wxTimeSpan
& _result_ref
= wxTimeSpan_Multiply(_arg0
,_arg1
);
5969 _result
= (wxTimeSpan
*) &_result_ref
;
5971 wxPy_END_ALLOW_THREADS
;
5973 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5974 _resultobj
= Py_BuildValue("s",_ptemp
);
5977 _resultobj
= Py_None
;
5982 #define wxTimeSpan_Neg(_swigobj) (_swigobj->Neg())
5983 static PyObject
*_wrap_wxTimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
* _resultobj
;
5985 wxTimeSpan
* _result
;
5987 PyObject
* _argo0
= 0;
5988 char *_kwnames
[] = { "self", NULL
};
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Neg",_kwnames
,&_argo0
))
5995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Neg. Expected _wxTimeSpan_p.");
6002 wxPy_BEGIN_ALLOW_THREADS
;
6003 wxTimeSpan
& _result_ref
= wxTimeSpan_Neg(_arg0
);
6004 _result
= (wxTimeSpan
*) &_result_ref
;
6006 wxPy_END_ALLOW_THREADS
;
6008 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6009 _resultobj
= Py_BuildValue("s",_ptemp
);
6012 _resultobj
= Py_None
;
6017 #define wxTimeSpan_Abs(_swigobj) (_swigobj->Abs())
6018 static PyObject
*_wrap_wxTimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
* _resultobj
;
6020 wxTimeSpan
* _result
;
6022 PyObject
* _argo0
= 0;
6023 char *_kwnames
[] = { "self", NULL
};
6027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Abs",_kwnames
,&_argo0
))
6030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Abs. Expected _wxTimeSpan_p.");
6037 wxPy_BEGIN_ALLOW_THREADS
;
6038 _result
= new wxTimeSpan (wxTimeSpan_Abs(_arg0
));
6040 wxPy_END_ALLOW_THREADS
;
6041 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6042 _resultobj
= Py_BuildValue("s",_ptemp
);
6046 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
6047 static PyObject
*_wrap_wxTimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
* _resultobj
;
6049 wxTimeSpan
* _result
;
6052 PyObject
* _argo0
= 0;
6053 PyObject
* _argo1
= 0;
6054 char *_kwnames
[] = { "self","other", NULL
};
6058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___add__",_kwnames
,&_argo0
,&_argo1
))
6061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6068 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6069 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6075 wxPy_BEGIN_ALLOW_THREADS
;
6076 _result
= new wxTimeSpan (wxTimeSpan___add__(_arg0
,*_arg1
));
6078 wxPy_END_ALLOW_THREADS
;
6079 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6080 _resultobj
= Py_BuildValue("s",_ptemp
);
6084 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
6085 static PyObject
*_wrap_wxTimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
* _resultobj
;
6087 wxTimeSpan
* _result
;
6090 PyObject
* _argo0
= 0;
6091 PyObject
* _argo1
= 0;
6092 char *_kwnames
[] = { "self","other", NULL
};
6096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
6099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6106 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6107 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6113 wxPy_BEGIN_ALLOW_THREADS
;
6114 _result
= new wxTimeSpan (wxTimeSpan___sub__(_arg0
,*_arg1
));
6116 wxPy_END_ALLOW_THREADS
;
6117 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6118 _resultobj
= Py_BuildValue("s",_ptemp
);
6122 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
) { return *self
* n
; }
6123 static PyObject
*_wrap_wxTimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
* _resultobj
;
6125 wxTimeSpan
* _result
;
6128 PyObject
* _argo0
= 0;
6129 char *_kwnames
[] = { "self","n", NULL
};
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
6136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___mul__. Expected _wxTimeSpan_p.");
6143 wxPy_BEGIN_ALLOW_THREADS
;
6144 _result
= new wxTimeSpan (wxTimeSpan___mul__(_arg0
,_arg1
));
6146 wxPy_END_ALLOW_THREADS
;
6147 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6148 _resultobj
= Py_BuildValue("s",_ptemp
);
6152 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
) { return n
* *self
; }
6153 static PyObject
*_wrap_wxTimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6154 PyObject
* _resultobj
;
6155 wxTimeSpan
* _result
;
6158 PyObject
* _argo0
= 0;
6159 char *_kwnames
[] = { "self","n", NULL
};
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
6166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___rmul__. Expected _wxTimeSpan_p.");
6173 wxPy_BEGIN_ALLOW_THREADS
;
6174 _result
= new wxTimeSpan (wxTimeSpan___rmul__(_arg0
,_arg1
));
6176 wxPy_END_ALLOW_THREADS
;
6177 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6178 _resultobj
= Py_BuildValue("s",_ptemp
);
6182 static wxTimeSpan
wxTimeSpan___neg__(wxTimeSpan
*self
) { return self
->Negate(); }
6183 static PyObject
*_wrap_wxTimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
* _resultobj
;
6185 wxTimeSpan
* _result
;
6187 PyObject
* _argo0
= 0;
6188 char *_kwnames
[] = { "self", NULL
};
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan___neg__",_kwnames
,&_argo0
))
6195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___neg__. Expected _wxTimeSpan_p.");
6202 wxPy_BEGIN_ALLOW_THREADS
;
6203 _result
= new wxTimeSpan (wxTimeSpan___neg__(_arg0
));
6205 wxPy_END_ALLOW_THREADS
;
6206 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6207 _resultobj
= Py_BuildValue("s",_ptemp
);
6211 static int wxTimeSpan___cmp__(wxTimeSpan
*self
,const wxTimeSpan
& other
) {
6212 if (*self
< other
) return -1;
6213 if (*self
== other
) return 0;
6216 static PyObject
*_wrap_wxTimeSpan___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
* _resultobj
;
6221 PyObject
* _argo0
= 0;
6222 PyObject
* _argo1
= 0;
6223 char *_kwnames
[] = { "self","other", NULL
};
6226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___cmp__",_kwnames
,&_argo0
,&_argo1
))
6229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6236 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6237 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6243 wxPy_BEGIN_ALLOW_THREADS
;
6244 _result
= (int )wxTimeSpan___cmp__(_arg0
,*_arg1
);
6246 wxPy_END_ALLOW_THREADS
;
6247 } _resultobj
= Py_BuildValue("i",_result
);
6251 #define wxTimeSpan_IsNull(_swigobj) (_swigobj->IsNull())
6252 static PyObject
*_wrap_wxTimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
* _resultobj
;
6256 PyObject
* _argo0
= 0;
6257 char *_kwnames
[] = { "self", NULL
};
6260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNull",_kwnames
,&_argo0
))
6263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNull. Expected _wxTimeSpan_p.");
6270 wxPy_BEGIN_ALLOW_THREADS
;
6271 _result
= (bool )wxTimeSpan_IsNull(_arg0
);
6273 wxPy_END_ALLOW_THREADS
;
6274 } _resultobj
= Py_BuildValue("i",_result
);
6278 #define wxTimeSpan_IsPositive(_swigobj) (_swigobj->IsPositive())
6279 static PyObject
*_wrap_wxTimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
* _resultobj
;
6283 PyObject
* _argo0
= 0;
6284 char *_kwnames
[] = { "self", NULL
};
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsPositive",_kwnames
,&_argo0
))
6290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsPositive. Expected _wxTimeSpan_p.");
6297 wxPy_BEGIN_ALLOW_THREADS
;
6298 _result
= (bool )wxTimeSpan_IsPositive(_arg0
);
6300 wxPy_END_ALLOW_THREADS
;
6301 } _resultobj
= Py_BuildValue("i",_result
);
6305 #define wxTimeSpan_IsNegative(_swigobj) (_swigobj->IsNegative())
6306 static PyObject
*_wrap_wxTimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6307 PyObject
* _resultobj
;
6310 PyObject
* _argo0
= 0;
6311 char *_kwnames
[] = { "self", NULL
};
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNegative",_kwnames
,&_argo0
))
6317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNegative. Expected _wxTimeSpan_p.");
6324 wxPy_BEGIN_ALLOW_THREADS
;
6325 _result
= (bool )wxTimeSpan_IsNegative(_arg0
);
6327 wxPy_END_ALLOW_THREADS
;
6328 } _resultobj
= Py_BuildValue("i",_result
);
6332 #define wxTimeSpan_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
6333 static PyObject
*_wrap_wxTimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
* _resultobj
;
6338 PyObject
* _argo0
= 0;
6339 PyObject
* _argo1
= 0;
6340 char *_kwnames
[] = { "self","ts", NULL
};
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
6346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6353 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6354 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6360 wxPy_BEGIN_ALLOW_THREADS
;
6361 _result
= (bool )wxTimeSpan_IsEqualTo(_arg0
,*_arg1
);
6363 wxPy_END_ALLOW_THREADS
;
6364 } _resultobj
= Py_BuildValue("i",_result
);
6368 #define wxTimeSpan_IsLongerThan(_swigobj,_swigarg0) (_swigobj->IsLongerThan(_swigarg0))
6369 static PyObject
*_wrap_wxTimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
* _resultobj
;
6374 PyObject
* _argo0
= 0;
6375 PyObject
* _argo1
= 0;
6376 char *_kwnames
[] = { "self","ts", NULL
};
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsLongerThan",_kwnames
,&_argo0
,&_argo1
))
6382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6389 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6390 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6396 wxPy_BEGIN_ALLOW_THREADS
;
6397 _result
= (bool )wxTimeSpan_IsLongerThan(_arg0
,*_arg1
);
6399 wxPy_END_ALLOW_THREADS
;
6400 } _resultobj
= Py_BuildValue("i",_result
);
6404 #define wxTimeSpan_IsShorterThan(_swigobj,_swigarg0) (_swigobj->IsShorterThan(_swigarg0))
6405 static PyObject
*_wrap_wxTimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
* _resultobj
;
6410 PyObject
* _argo0
= 0;
6411 PyObject
* _argo1
= 0;
6412 char *_kwnames
[] = { "self","t", NULL
};
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsShorterThan",_kwnames
,&_argo0
,&_argo1
))
6418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6425 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6426 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6432 wxPy_BEGIN_ALLOW_THREADS
;
6433 _result
= (bool )wxTimeSpan_IsShorterThan(_arg0
,*_arg1
);
6435 wxPy_END_ALLOW_THREADS
;
6436 } _resultobj
= Py_BuildValue("i",_result
);
6440 #define wxTimeSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
6441 static PyObject
*_wrap_wxTimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6442 PyObject
* _resultobj
;
6445 PyObject
* _argo0
= 0;
6446 char *_kwnames
[] = { "self", NULL
};
6449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetWeeks",_kwnames
,&_argo0
))
6452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetWeeks. Expected _wxTimeSpan_p.");
6459 wxPy_BEGIN_ALLOW_THREADS
;
6460 _result
= (int )wxTimeSpan_GetWeeks(_arg0
);
6462 wxPy_END_ALLOW_THREADS
;
6463 } _resultobj
= Py_BuildValue("i",_result
);
6467 #define wxTimeSpan_GetDays(_swigobj) (_swigobj->GetDays())
6468 static PyObject
*_wrap_wxTimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
* _resultobj
;
6472 PyObject
* _argo0
= 0;
6473 char *_kwnames
[] = { "self", NULL
};
6476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetDays",_kwnames
,&_argo0
))
6479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetDays. Expected _wxTimeSpan_p.");
6486 wxPy_BEGIN_ALLOW_THREADS
;
6487 _result
= (int )wxTimeSpan_GetDays(_arg0
);
6489 wxPy_END_ALLOW_THREADS
;
6490 } _resultobj
= Py_BuildValue("i",_result
);
6494 #define wxTimeSpan_GetHours(_swigobj) (_swigobj->GetHours())
6495 static PyObject
*_wrap_wxTimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6496 PyObject
* _resultobj
;
6499 PyObject
* _argo0
= 0;
6500 char *_kwnames
[] = { "self", NULL
};
6503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetHours",_kwnames
,&_argo0
))
6506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetHours. Expected _wxTimeSpan_p.");
6513 wxPy_BEGIN_ALLOW_THREADS
;
6514 _result
= (int )wxTimeSpan_GetHours(_arg0
);
6516 wxPy_END_ALLOW_THREADS
;
6517 } _resultobj
= Py_BuildValue("i",_result
);
6521 #define wxTimeSpan_GetMinutes(_swigobj) (_swigobj->GetMinutes())
6522 static PyObject
*_wrap_wxTimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6523 PyObject
* _resultobj
;
6526 PyObject
* _argo0
= 0;
6527 char *_kwnames
[] = { "self", NULL
};
6530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMinutes",_kwnames
,&_argo0
))
6533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMinutes. Expected _wxTimeSpan_p.");
6540 wxPy_BEGIN_ALLOW_THREADS
;
6541 _result
= (int )wxTimeSpan_GetMinutes(_arg0
);
6543 wxPy_END_ALLOW_THREADS
;
6544 } _resultobj
= Py_BuildValue("i",_result
);
6548 #define wxTimeSpan_GetSeconds(_swigobj) (_swigobj->GetSeconds())
6549 static PyObject
*_wrap_wxTimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6550 PyObject
* _resultobj
;
6551 wxLongLong
* _result
;
6553 PyObject
* _argo0
= 0;
6554 char *_kwnames
[] = { "self", NULL
};
6557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetSeconds",_kwnames
,&_argo0
))
6560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetSeconds. Expected _wxTimeSpan_p.");
6567 wxPy_BEGIN_ALLOW_THREADS
;
6568 _result
= new wxLongLong (wxTimeSpan_GetSeconds(_arg0
));
6570 wxPy_END_ALLOW_THREADS
;
6572 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6573 hi
= PyLong_FromLong(_result
->GetHi());
6574 lo
= PyLong_FromLong(_result
->GetLo());
6575 shifter
= PyLong_FromLong(32);
6576 shifted
= PyNumber_Lshift(hi
, shifter
);
6577 _resultobj
= PyNumber_Or(shifted
, lo
);
6586 #define wxTimeSpan_GetMilliseconds(_swigobj) (_swigobj->GetMilliseconds())
6587 static PyObject
*_wrap_wxTimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6588 PyObject
* _resultobj
;
6589 wxLongLong
* _result
;
6591 PyObject
* _argo0
= 0;
6592 char *_kwnames
[] = { "self", NULL
};
6595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMilliseconds",_kwnames
,&_argo0
))
6598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMilliseconds. Expected _wxTimeSpan_p.");
6605 wxPy_BEGIN_ALLOW_THREADS
;
6606 _result
= new wxLongLong (wxTimeSpan_GetMilliseconds(_arg0
));
6608 wxPy_END_ALLOW_THREADS
;
6610 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6611 hi
= PyLong_FromLong(_result
->GetHi());
6612 lo
= PyLong_FromLong(_result
->GetLo());
6613 shifter
= PyLong_FromLong(32);
6614 shifted
= PyNumber_Lshift(hi
, shifter
);
6615 _resultobj
= PyNumber_Or(shifted
, lo
);
6624 #define wxTimeSpan_Format(_swigobj,_swigarg0) (_swigobj->Format(_swigarg0))
6625 static PyObject
*_wrap_wxTimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
* _resultobj
;
6629 char * _arg1
= (char *) "%c";
6630 PyObject
* _argo0
= 0;
6631 char *_kwnames
[] = { "self","format", NULL
};
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxTimeSpan_Format",_kwnames
,&_argo0
,&_arg1
))
6637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Format. Expected _wxTimeSpan_p.");
6644 wxPy_BEGIN_ALLOW_THREADS
;
6645 _result
= new wxString (wxTimeSpan_Format(_arg0
,_arg1
));
6647 wxPy_END_ALLOW_THREADS
;
6649 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6657 #define new_wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6658 static PyObject
*_wrap_new_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6659 PyObject
* _resultobj
;
6660 wxDateSpan
* _result
;
6661 int _arg0
= (int ) 0;
6662 int _arg1
= (int ) 0;
6663 int _arg2
= (int ) 0;
6664 int _arg3
= (int ) 0;
6665 char *_kwnames
[] = { "years","months","weeks","days", NULL
};
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxDateSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
6672 wxPy_BEGIN_ALLOW_THREADS
;
6673 _result
= (wxDateSpan
*)new_wxDateSpan(_arg0
,_arg1
,_arg2
,_arg3
);
6675 wxPy_END_ALLOW_THREADS
;
6677 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6678 _resultobj
= Py_BuildValue("s",_ptemp
);
6681 _resultobj
= Py_None
;
6686 #define delete_wxDateSpan(_swigobj) (delete _swigobj)
6687 static PyObject
*_wrap_delete_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
* _resultobj
;
6690 PyObject
* _argo0
= 0;
6691 char *_kwnames
[] = { "self", NULL
};
6694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateSpan",_kwnames
,&_argo0
))
6697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateSpan. Expected _wxDateSpan_p.");
6704 wxPy_BEGIN_ALLOW_THREADS
;
6705 delete_wxDateSpan(_arg0
);
6707 wxPy_END_ALLOW_THREADS
;
6708 } Py_INCREF(Py_None
);
6709 _resultobj
= Py_None
;
6713 static PyObject
*_wrap_wxDateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
* _resultobj
;
6715 wxDateSpan
* _result
;
6717 char *_kwnames
[] = { "days", NULL
};
6721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Days",_kwnames
,&_arg0
))
6724 wxPy_BEGIN_ALLOW_THREADS
;
6725 _result
= new wxDateSpan (wxDateSpan::Days(_arg0
));
6727 wxPy_END_ALLOW_THREADS
;
6728 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6729 _resultobj
= Py_BuildValue("s",_ptemp
);
6733 static PyObject
*_wrap_wxDateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
* _resultobj
;
6735 wxDateSpan
* _result
;
6736 char *_kwnames
[] = { NULL
};
6740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Day",_kwnames
))
6743 wxPy_BEGIN_ALLOW_THREADS
;
6744 _result
= new wxDateSpan (wxDateSpan::Day());
6746 wxPy_END_ALLOW_THREADS
;
6747 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6748 _resultobj
= Py_BuildValue("s",_ptemp
);
6752 static PyObject
*_wrap_wxDateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
* _resultobj
;
6754 wxDateSpan
* _result
;
6756 char *_kwnames
[] = { "weeks", NULL
};
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Weeks",_kwnames
,&_arg0
))
6763 wxPy_BEGIN_ALLOW_THREADS
;
6764 _result
= new wxDateSpan (wxDateSpan::Weeks(_arg0
));
6766 wxPy_END_ALLOW_THREADS
;
6767 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6768 _resultobj
= Py_BuildValue("s",_ptemp
);
6772 static PyObject
*_wrap_wxDateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
* _resultobj
;
6774 wxDateSpan
* _result
;
6775 char *_kwnames
[] = { NULL
};
6779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Week",_kwnames
))
6782 wxPy_BEGIN_ALLOW_THREADS
;
6783 _result
= new wxDateSpan (wxDateSpan::Week());
6785 wxPy_END_ALLOW_THREADS
;
6786 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6787 _resultobj
= Py_BuildValue("s",_ptemp
);
6791 static PyObject
*_wrap_wxDateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6792 PyObject
* _resultobj
;
6793 wxDateSpan
* _result
;
6795 char *_kwnames
[] = { "mon", NULL
};
6799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Months",_kwnames
,&_arg0
))
6802 wxPy_BEGIN_ALLOW_THREADS
;
6803 _result
= new wxDateSpan (wxDateSpan::Months(_arg0
));
6805 wxPy_END_ALLOW_THREADS
;
6806 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6807 _resultobj
= Py_BuildValue("s",_ptemp
);
6811 static PyObject
*_wrap_wxDateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6812 PyObject
* _resultobj
;
6813 wxDateSpan
* _result
;
6814 char *_kwnames
[] = { NULL
};
6818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Month",_kwnames
))
6821 wxPy_BEGIN_ALLOW_THREADS
;
6822 _result
= new wxDateSpan (wxDateSpan::Month());
6824 wxPy_END_ALLOW_THREADS
;
6825 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6826 _resultobj
= Py_BuildValue("s",_ptemp
);
6830 static PyObject
*_wrap_wxDateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
* _resultobj
;
6832 wxDateSpan
* _result
;
6834 char *_kwnames
[] = { "years", NULL
};
6838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Years",_kwnames
,&_arg0
))
6841 wxPy_BEGIN_ALLOW_THREADS
;
6842 _result
= new wxDateSpan (wxDateSpan::Years(_arg0
));
6844 wxPy_END_ALLOW_THREADS
;
6845 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6846 _resultobj
= Py_BuildValue("s",_ptemp
);
6850 static PyObject
*_wrap_wxDateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6851 PyObject
* _resultobj
;
6852 wxDateSpan
* _result
;
6853 char *_kwnames
[] = { NULL
};
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Year",_kwnames
))
6860 wxPy_BEGIN_ALLOW_THREADS
;
6861 _result
= new wxDateSpan (wxDateSpan::Year());
6863 wxPy_END_ALLOW_THREADS
;
6864 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6865 _resultobj
= Py_BuildValue("s",_ptemp
);
6869 #define wxDateSpan_SetYears(_swigobj,_swigarg0) (_swigobj->SetYears(_swigarg0))
6870 static PyObject
*_wrap_wxDateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6871 PyObject
* _resultobj
;
6872 wxDateSpan
* _result
;
6875 PyObject
* _argo0
= 0;
6876 char *_kwnames
[] = { "self","n", NULL
};
6880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetYears",_kwnames
,&_argo0
,&_arg1
))
6883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetYears. Expected _wxDateSpan_p.");
6890 wxPy_BEGIN_ALLOW_THREADS
;
6891 wxDateSpan
& _result_ref
= wxDateSpan_SetYears(_arg0
,_arg1
);
6892 _result
= (wxDateSpan
*) &_result_ref
;
6894 wxPy_END_ALLOW_THREADS
;
6896 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6897 _resultobj
= Py_BuildValue("s",_ptemp
);
6900 _resultobj
= Py_None
;
6905 #define wxDateSpan_SetMonths(_swigobj,_swigarg0) (_swigobj->SetMonths(_swigarg0))
6906 static PyObject
*_wrap_wxDateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
* _resultobj
;
6908 wxDateSpan
* _result
;
6911 PyObject
* _argo0
= 0;
6912 char *_kwnames
[] = { "self","n", NULL
};
6916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetMonths",_kwnames
,&_argo0
,&_arg1
))
6919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetMonths. Expected _wxDateSpan_p.");
6926 wxPy_BEGIN_ALLOW_THREADS
;
6927 wxDateSpan
& _result_ref
= wxDateSpan_SetMonths(_arg0
,_arg1
);
6928 _result
= (wxDateSpan
*) &_result_ref
;
6930 wxPy_END_ALLOW_THREADS
;
6932 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6933 _resultobj
= Py_BuildValue("s",_ptemp
);
6936 _resultobj
= Py_None
;
6941 #define wxDateSpan_SetWeeks(_swigobj,_swigarg0) (_swigobj->SetWeeks(_swigarg0))
6942 static PyObject
*_wrap_wxDateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
* _resultobj
;
6944 wxDateSpan
* _result
;
6947 PyObject
* _argo0
= 0;
6948 char *_kwnames
[] = { "self","n", NULL
};
6952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetWeeks",_kwnames
,&_argo0
,&_arg1
))
6955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetWeeks. Expected _wxDateSpan_p.");
6962 wxPy_BEGIN_ALLOW_THREADS
;
6963 wxDateSpan
& _result_ref
= wxDateSpan_SetWeeks(_arg0
,_arg1
);
6964 _result
= (wxDateSpan
*) &_result_ref
;
6966 wxPy_END_ALLOW_THREADS
;
6968 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6969 _resultobj
= Py_BuildValue("s",_ptemp
);
6972 _resultobj
= Py_None
;
6977 #define wxDateSpan_SetDays(_swigobj,_swigarg0) (_swigobj->SetDays(_swigarg0))
6978 static PyObject
*_wrap_wxDateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
* _resultobj
;
6980 wxDateSpan
* _result
;
6983 PyObject
* _argo0
= 0;
6984 char *_kwnames
[] = { "self","n", NULL
};
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetDays",_kwnames
,&_argo0
,&_arg1
))
6991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetDays. Expected _wxDateSpan_p.");
6998 wxPy_BEGIN_ALLOW_THREADS
;
6999 wxDateSpan
& _result_ref
= wxDateSpan_SetDays(_arg0
,_arg1
);
7000 _result
= (wxDateSpan
*) &_result_ref
;
7002 wxPy_END_ALLOW_THREADS
;
7004 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7005 _resultobj
= Py_BuildValue("s",_ptemp
);
7008 _resultobj
= Py_None
;
7013 #define wxDateSpan_GetYears(_swigobj) (_swigobj->GetYears())
7014 static PyObject
*_wrap_wxDateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
* _resultobj
;
7018 PyObject
* _argo0
= 0;
7019 char *_kwnames
[] = { "self", NULL
};
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetYears",_kwnames
,&_argo0
))
7025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetYears. Expected _wxDateSpan_p.");
7032 wxPy_BEGIN_ALLOW_THREADS
;
7033 _result
= (int )wxDateSpan_GetYears(_arg0
);
7035 wxPy_END_ALLOW_THREADS
;
7036 } _resultobj
= Py_BuildValue("i",_result
);
7040 #define wxDateSpan_GetMonths(_swigobj) (_swigobj->GetMonths())
7041 static PyObject
*_wrap_wxDateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
* _resultobj
;
7045 PyObject
* _argo0
= 0;
7046 char *_kwnames
[] = { "self", NULL
};
7049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetMonths",_kwnames
,&_argo0
))
7052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetMonths. Expected _wxDateSpan_p.");
7059 wxPy_BEGIN_ALLOW_THREADS
;
7060 _result
= (int )wxDateSpan_GetMonths(_arg0
);
7062 wxPy_END_ALLOW_THREADS
;
7063 } _resultobj
= Py_BuildValue("i",_result
);
7067 #define wxDateSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
7068 static PyObject
*_wrap_wxDateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7069 PyObject
* _resultobj
;
7072 PyObject
* _argo0
= 0;
7073 char *_kwnames
[] = { "self", NULL
};
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetWeeks",_kwnames
,&_argo0
))
7079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetWeeks. Expected _wxDateSpan_p.");
7086 wxPy_BEGIN_ALLOW_THREADS
;
7087 _result
= (int )wxDateSpan_GetWeeks(_arg0
);
7089 wxPy_END_ALLOW_THREADS
;
7090 } _resultobj
= Py_BuildValue("i",_result
);
7094 #define wxDateSpan_GetDays(_swigobj) (_swigobj->GetDays())
7095 static PyObject
*_wrap_wxDateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7096 PyObject
* _resultobj
;
7099 PyObject
* _argo0
= 0;
7100 char *_kwnames
[] = { "self", NULL
};
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetDays",_kwnames
,&_argo0
))
7106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetDays. Expected _wxDateSpan_p.");
7113 wxPy_BEGIN_ALLOW_THREADS
;
7114 _result
= (int )wxDateSpan_GetDays(_arg0
);
7116 wxPy_END_ALLOW_THREADS
;
7117 } _resultobj
= Py_BuildValue("i",_result
);
7121 #define wxDateSpan_GetTotalDays(_swigobj) (_swigobj->GetTotalDays())
7122 static PyObject
*_wrap_wxDateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
* _resultobj
;
7126 PyObject
* _argo0
= 0;
7127 char *_kwnames
[] = { "self", NULL
};
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetTotalDays",_kwnames
,&_argo0
))
7133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetTotalDays. Expected _wxDateSpan_p.");
7140 wxPy_BEGIN_ALLOW_THREADS
;
7141 _result
= (int )wxDateSpan_GetTotalDays(_arg0
);
7143 wxPy_END_ALLOW_THREADS
;
7144 } _resultobj
= Py_BuildValue("i",_result
);
7148 #define wxDateSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
7149 static PyObject
*_wrap_wxDateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7150 PyObject
* _resultobj
;
7151 wxDateSpan
* _result
;
7154 PyObject
* _argo0
= 0;
7155 PyObject
* _argo1
= 0;
7156 char *_kwnames
[] = { "self","other", NULL
};
7160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Add",_kwnames
,&_argo0
,&_argo1
))
7163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7170 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7171 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7177 wxPy_BEGIN_ALLOW_THREADS
;
7178 wxDateSpan
& _result_ref
= wxDateSpan_Add(_arg0
,*_arg1
);
7179 _result
= (wxDateSpan
*) &_result_ref
;
7181 wxPy_END_ALLOW_THREADS
;
7183 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7184 _resultobj
= Py_BuildValue("s",_ptemp
);
7187 _resultobj
= Py_None
;
7192 #define wxDateSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
7193 static PyObject
*_wrap_wxDateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
* _resultobj
;
7195 wxDateSpan
* _result
;
7198 PyObject
* _argo0
= 0;
7199 PyObject
* _argo1
= 0;
7200 char *_kwnames
[] = { "self","other", NULL
};
7204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
7207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7214 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7215 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7221 wxPy_BEGIN_ALLOW_THREADS
;
7222 wxDateSpan
& _result_ref
= wxDateSpan_Subtract(_arg0
,*_arg1
);
7223 _result
= (wxDateSpan
*) &_result_ref
;
7225 wxPy_END_ALLOW_THREADS
;
7227 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7228 _resultobj
= Py_BuildValue("s",_ptemp
);
7231 _resultobj
= Py_None
;
7236 #define wxDateSpan_Neg(_swigobj) (_swigobj->Neg())
7237 static PyObject
*_wrap_wxDateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7238 PyObject
* _resultobj
;
7239 wxDateSpan
* _result
;
7241 PyObject
* _argo0
= 0;
7242 char *_kwnames
[] = { "self", NULL
};
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_Neg",_kwnames
,&_argo0
))
7249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Neg. Expected _wxDateSpan_p.");
7256 wxPy_BEGIN_ALLOW_THREADS
;
7257 wxDateSpan
& _result_ref
= wxDateSpan_Neg(_arg0
);
7258 _result
= (wxDateSpan
*) &_result_ref
;
7260 wxPy_END_ALLOW_THREADS
;
7262 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7263 _resultobj
= Py_BuildValue("s",_ptemp
);
7266 _resultobj
= Py_None
;
7271 #define wxDateSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
7272 static PyObject
*_wrap_wxDateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
* _resultobj
;
7274 wxDateSpan
* _result
;
7277 PyObject
* _argo0
= 0;
7278 char *_kwnames
[] = { "self","factor", NULL
};
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
7285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Multiply. Expected _wxDateSpan_p.");
7292 wxPy_BEGIN_ALLOW_THREADS
;
7293 wxDateSpan
& _result_ref
= wxDateSpan_Multiply(_arg0
,_arg1
);
7294 _result
= (wxDateSpan
*) &_result_ref
;
7296 wxPy_END_ALLOW_THREADS
;
7298 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7299 _resultobj
= Py_BuildValue("s",_ptemp
);
7302 _resultobj
= Py_None
;
7307 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
7308 static PyObject
*_wrap_wxDateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
* _resultobj
;
7310 wxDateSpan
* _result
;
7313 PyObject
* _argo0
= 0;
7314 PyObject
* _argo1
= 0;
7315 char *_kwnames
[] = { "self","other", NULL
};
7319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___add__",_kwnames
,&_argo0
,&_argo1
))
7322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7329 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7330 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7336 wxPy_BEGIN_ALLOW_THREADS
;
7337 _result
= new wxDateSpan (wxDateSpan___add__(_arg0
,*_arg1
));
7339 wxPy_END_ALLOW_THREADS
;
7340 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7341 _resultobj
= Py_BuildValue("s",_ptemp
);
7345 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
- other
; }
7346 static PyObject
*_wrap_wxDateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
* _resultobj
;
7348 wxDateSpan
* _result
;
7351 PyObject
* _argo0
= 0;
7352 PyObject
* _argo1
= 0;
7353 char *_kwnames
[] = { "self","other", NULL
};
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
7360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7367 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7368 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7374 wxPy_BEGIN_ALLOW_THREADS
;
7375 _result
= new wxDateSpan (wxDateSpan___sub__(_arg0
,*_arg1
));
7377 wxPy_END_ALLOW_THREADS
;
7378 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7379 _resultobj
= Py_BuildValue("s",_ptemp
);
7383 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
) { return *self
* n
; }
7384 static PyObject
*_wrap_wxDateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
* _resultobj
;
7386 wxDateSpan
* _result
;
7389 PyObject
* _argo0
= 0;
7390 char *_kwnames
[] = { "self","n", NULL
};
7394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
7397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___mul__. Expected _wxDateSpan_p.");
7404 wxPy_BEGIN_ALLOW_THREADS
;
7405 _result
= new wxDateSpan (wxDateSpan___mul__(_arg0
,_arg1
));
7407 wxPy_END_ALLOW_THREADS
;
7408 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7409 _resultobj
= Py_BuildValue("s",_ptemp
);
7413 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
) { return n
* *self
; }
7414 static PyObject
*_wrap_wxDateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7415 PyObject
* _resultobj
;
7416 wxDateSpan
* _result
;
7419 PyObject
* _argo0
= 0;
7420 char *_kwnames
[] = { "self","n", NULL
};
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
7427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___rmul__. Expected _wxDateSpan_p.");
7434 wxPy_BEGIN_ALLOW_THREADS
;
7435 _result
= new wxDateSpan (wxDateSpan___rmul__(_arg0
,_arg1
));
7437 wxPy_END_ALLOW_THREADS
;
7438 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7439 _resultobj
= Py_BuildValue("s",_ptemp
);
7443 static wxDateSpan
wxDateSpan___neg__(wxDateSpan
*self
) { return self
->Negate(); }
7444 static PyObject
*_wrap_wxDateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
* _resultobj
;
7446 wxDateSpan
* _result
;
7448 PyObject
* _argo0
= 0;
7449 char *_kwnames
[] = { "self", NULL
};
7453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan___neg__",_kwnames
,&_argo0
))
7456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___neg__. Expected _wxDateSpan_p.");
7463 wxPy_BEGIN_ALLOW_THREADS
;
7464 _result
= new wxDateSpan (wxDateSpan___neg__(_arg0
));
7466 wxPy_END_ALLOW_THREADS
;
7467 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7468 _resultobj
= Py_BuildValue("s",_ptemp
);
7472 static PyMethodDef utilscMethods
[] = {
7473 { "wxDateSpan___neg__", (PyCFunction
) _wrap_wxDateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7474 { "wxDateSpan___rmul__", (PyCFunction
) _wrap_wxDateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7475 { "wxDateSpan___mul__", (PyCFunction
) _wrap_wxDateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7476 { "wxDateSpan___sub__", (PyCFunction
) _wrap_wxDateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7477 { "wxDateSpan___add__", (PyCFunction
) _wrap_wxDateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7478 { "wxDateSpan_Multiply", (PyCFunction
) _wrap_wxDateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7479 { "wxDateSpan_Neg", (PyCFunction
) _wrap_wxDateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7480 { "wxDateSpan_Subtract", (PyCFunction
) _wrap_wxDateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7481 { "wxDateSpan_Add", (PyCFunction
) _wrap_wxDateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7482 { "wxDateSpan_GetTotalDays", (PyCFunction
) _wrap_wxDateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
7483 { "wxDateSpan_GetDays", (PyCFunction
) _wrap_wxDateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7484 { "wxDateSpan_GetWeeks", (PyCFunction
) _wrap_wxDateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7485 { "wxDateSpan_GetMonths", (PyCFunction
) _wrap_wxDateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7486 { "wxDateSpan_GetYears", (PyCFunction
) _wrap_wxDateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
7487 { "wxDateSpan_SetDays", (PyCFunction
) _wrap_wxDateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
7488 { "wxDateSpan_SetWeeks", (PyCFunction
) _wrap_wxDateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7489 { "wxDateSpan_SetMonths", (PyCFunction
) _wrap_wxDateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7490 { "wxDateSpan_SetYears", (PyCFunction
) _wrap_wxDateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
7491 { "wxDateSpan_Year", (PyCFunction
) _wrap_wxDateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
7492 { "wxDateSpan_Years", (PyCFunction
) _wrap_wxDateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
7493 { "wxDateSpan_Month", (PyCFunction
) _wrap_wxDateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
7494 { "wxDateSpan_Months", (PyCFunction
) _wrap_wxDateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
7495 { "wxDateSpan_Week", (PyCFunction
) _wrap_wxDateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7496 { "wxDateSpan_Weeks", (PyCFunction
) _wrap_wxDateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7497 { "wxDateSpan_Day", (PyCFunction
) _wrap_wxDateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7498 { "wxDateSpan_Days", (PyCFunction
) _wrap_wxDateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7499 { "delete_wxDateSpan", (PyCFunction
) _wrap_delete_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7500 { "new_wxDateSpan", (PyCFunction
) _wrap_new_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7501 { "wxTimeSpan_Format", (PyCFunction
) _wrap_wxTimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
7502 { "wxTimeSpan_GetMilliseconds", (PyCFunction
) _wrap_wxTimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
7503 { "wxTimeSpan_GetSeconds", (PyCFunction
) _wrap_wxTimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
7504 { "wxTimeSpan_GetMinutes", (PyCFunction
) _wrap_wxTimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
7505 { "wxTimeSpan_GetHours", (PyCFunction
) _wrap_wxTimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
7506 { "wxTimeSpan_GetDays", (PyCFunction
) _wrap_wxTimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7507 { "wxTimeSpan_GetWeeks", (PyCFunction
) _wrap_wxTimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7508 { "wxTimeSpan_IsShorterThan", (PyCFunction
) _wrap_wxTimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
7509 { "wxTimeSpan_IsLongerThan", (PyCFunction
) _wrap_wxTimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
7510 { "wxTimeSpan_IsEqualTo", (PyCFunction
) _wrap_wxTimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7511 { "wxTimeSpan_IsNegative", (PyCFunction
) _wrap_wxTimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
7512 { "wxTimeSpan_IsPositive", (PyCFunction
) _wrap_wxTimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
7513 { "wxTimeSpan_IsNull", (PyCFunction
) _wrap_wxTimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
7514 { "wxTimeSpan___cmp__", (PyCFunction
) _wrap_wxTimeSpan___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7515 { "wxTimeSpan___neg__", (PyCFunction
) _wrap_wxTimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7516 { "wxTimeSpan___rmul__", (PyCFunction
) _wrap_wxTimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7517 { "wxTimeSpan___mul__", (PyCFunction
) _wrap_wxTimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7518 { "wxTimeSpan___sub__", (PyCFunction
) _wrap_wxTimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7519 { "wxTimeSpan___add__", (PyCFunction
) _wrap_wxTimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7520 { "wxTimeSpan_Abs", (PyCFunction
) _wrap_wxTimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
7521 { "wxTimeSpan_Neg", (PyCFunction
) _wrap_wxTimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7522 { "wxTimeSpan_Multiply", (PyCFunction
) _wrap_wxTimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7523 { "wxTimeSpan_Subtract", (PyCFunction
) _wrap_wxTimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7524 { "wxTimeSpan_Add", (PyCFunction
) _wrap_wxTimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7525 { "delete_wxTimeSpan", (PyCFunction
) _wrap_delete_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7526 { "new_wxTimeSpan", (PyCFunction
) _wrap_new_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7527 { "wxTimeSpan_Week", (PyCFunction
) _wrap_wxTimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7528 { "wxTimeSpan_Weeks", (PyCFunction
) _wrap_wxTimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7529 { "wxTimeSpan_Day", (PyCFunction
) _wrap_wxTimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7530 { "wxTimeSpan_Days", (PyCFunction
) _wrap_wxTimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7531 { "wxTimeSpan_Hour", (PyCFunction
) _wrap_wxTimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
7532 { "wxTimeSpan_Hours", (PyCFunction
) _wrap_wxTimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
7533 { "wxTimeSpan_Minute", (PyCFunction
) _wrap_wxTimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
7534 { "wxTimeSpan_Minutes", (PyCFunction
) _wrap_wxTimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
7535 { "wxTimeSpan_Second", (PyCFunction
) _wrap_wxTimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
7536 { "wxTimeSpan_Seconds", (PyCFunction
) _wrap_wxTimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
7537 { "wxDateTime_FormatISOTime", (PyCFunction
) _wrap_wxDateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
7538 { "wxDateTime_FormatISODate", (PyCFunction
) _wrap_wxDateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
7539 { "wxDateTime_FormatTime", (PyCFunction
) _wrap_wxDateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
7540 { "wxDateTime_FormatDate", (PyCFunction
) _wrap_wxDateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
7541 { "wxDateTime_Format", (PyCFunction
) _wrap_wxDateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
7542 { "wxDateTime_ParseTime", (PyCFunction
) _wrap_wxDateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
7543 { "wxDateTime_ParseDate", (PyCFunction
) _wrap_wxDateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
7544 { "wxDateTime_ParseDateTime", (PyCFunction
) _wrap_wxDateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7545 { "wxDateTime_ParseFormat", (PyCFunction
) _wrap_wxDateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
7546 { "wxDateTime_ParseRfc822Date", (PyCFunction
) _wrap_wxDateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
7547 { "wxDateTime___cmp__", (PyCFunction
) _wrap_wxDateTime___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7548 { "wxDateTime___sub__DS", (PyCFunction
) _wrap_wxDateTime___sub__DS
, METH_VARARGS
| METH_KEYWORDS
},
7549 { "wxDateTime___sub__TS", (PyCFunction
) _wrap_wxDateTime___sub__TS
, METH_VARARGS
| METH_KEYWORDS
},
7550 { "wxDateTime___sub__DT", (PyCFunction
) _wrap_wxDateTime___sub__DT
, METH_VARARGS
| METH_KEYWORDS
},
7551 { "wxDateTime___add__DS", (PyCFunction
) _wrap_wxDateTime___add__DS
, METH_VARARGS
| METH_KEYWORDS
},
7552 { "wxDateTime___add__TS", (PyCFunction
) _wrap_wxDateTime___add__TS
, METH_VARARGS
| METH_KEYWORDS
},
7553 { "wxDateTime_Subtract", (PyCFunction
) _wrap_wxDateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7554 { "wxDateTime_SubtractDS", (PyCFunction
) _wrap_wxDateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
7555 { "wxDateTime_SubtractTS", (PyCFunction
) _wrap_wxDateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
7556 { "wxDateTime_AddDS", (PyCFunction
) _wrap_wxDateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
7557 { "wxDateTime_AddTS", (PyCFunction
) _wrap_wxDateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
7558 { "wxDateTime_IsEqualUpTo", (PyCFunction
) _wrap_wxDateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
7559 { "wxDateTime_IsSameTime", (PyCFunction
) _wrap_wxDateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
7560 { "wxDateTime_IsSameDate", (PyCFunction
) _wrap_wxDateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
7561 { "wxDateTime_IsBetween", (PyCFunction
) _wrap_wxDateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
7562 { "wxDateTime_IsStrictlyBetween", (PyCFunction
) _wrap_wxDateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
7563 { "wxDateTime_IsLaterThan", (PyCFunction
) _wrap_wxDateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
7564 { "wxDateTime_IsEarlierThan", (PyCFunction
) _wrap_wxDateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
7565 { "wxDateTime_IsEqualTo", (PyCFunction
) _wrap_wxDateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7566 { "wxDateTime_IsWorkDay", (PyCFunction
) _wrap_wxDateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
7567 { "wxDateTime_GetWeekOfMonth", (PyCFunction
) _wrap_wxDateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
7568 { "wxDateTime_GetWeekOfYear", (PyCFunction
) _wrap_wxDateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7569 { "wxDateTime_GetDayOfYear", (PyCFunction
) _wrap_wxDateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7570 { "wxDateTime_GetMillisecond", (PyCFunction
) _wrap_wxDateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7571 { "wxDateTime_GetSecond", (PyCFunction
) _wrap_wxDateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7572 { "wxDateTime_GetMinute", (PyCFunction
) _wrap_wxDateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7573 { "wxDateTime_GetHour", (PyCFunction
) _wrap_wxDateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
7574 { "wxDateTime_GetDay", (PyCFunction
) _wrap_wxDateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
7575 { "wxDateTime_GetMonth", (PyCFunction
) _wrap_wxDateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7576 { "wxDateTime_GetYear", (PyCFunction
) _wrap_wxDateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
7577 { "wxDateTime_GetTicks", (PyCFunction
) _wrap_wxDateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
7578 { "wxDateTime_IsValid", (PyCFunction
) _wrap_wxDateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
7579 { "wxDateTime_IsDST", (PyCFunction
) _wrap_wxDateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
7580 { "wxDateTime_MakeGMT", (PyCFunction
) _wrap_wxDateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
7581 { "wxDateTime_ToGMT", (PyCFunction
) _wrap_wxDateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
7582 { "wxDateTime_MakeTimezone", (PyCFunction
) _wrap_wxDateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7583 { "wxDateTime_ToTimezone", (PyCFunction
) _wrap_wxDateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7584 { "wxDateTime_GetRataDie", (PyCFunction
) _wrap_wxDateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
7585 { "wxDateTime_GetMJD", (PyCFunction
) _wrap_wxDateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
7586 { "wxDateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7587 { "wxDateTime_GetJDN", (PyCFunction
) _wrap_wxDateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7588 { "wxDateTime_GetJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7589 { "wxDateTime_GetYearDay", (PyCFunction
) _wrap_wxDateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7590 { "wxDateTime_SetToYearDay", (PyCFunction
) _wrap_wxDateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7591 { "wxDateTime_GetLastMonthDay", (PyCFunction
) _wrap_wxDateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7592 { "wxDateTime_SetToLastMonthDay", (PyCFunction
) _wrap_wxDateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7593 { "wxDateTime_GetWeek", (PyCFunction
) _wrap_wxDateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
7594 { "wxDateTime_SetToTheWeek", (PyCFunction
) _wrap_wxDateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
7595 { "wxDateTime_GetLastWeekDay", (PyCFunction
) _wrap_wxDateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7596 { "wxDateTime_SetToLastWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7597 { "wxDateTime_GetWeekDay", (PyCFunction
) _wrap_wxDateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7598 { "wxDateTime_SetToWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7599 { "wxDateTime_GetPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7600 { "wxDateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7601 { "wxDateTime_GetNextWeekDay", (PyCFunction
) _wrap_wxDateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7602 { "wxDateTime_SetToNextWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7603 { "wxDateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7604 { "wxDateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7605 { "wxDateTime_SetMillisecond", (PyCFunction
) _wrap_wxDateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7606 { "wxDateTime_SetSecond", (PyCFunction
) _wrap_wxDateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7607 { "wxDateTime_SetMinute", (PyCFunction
) _wrap_wxDateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7608 { "wxDateTime_SetHour", (PyCFunction
) _wrap_wxDateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
7609 { "wxDateTime_SetDay", (PyCFunction
) _wrap_wxDateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
7610 { "wxDateTime_SetMonth", (PyCFunction
) _wrap_wxDateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7611 { "wxDateTime_SetYear", (PyCFunction
) _wrap_wxDateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
7612 { "wxDateTime_ResetTime", (PyCFunction
) _wrap_wxDateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
7613 { "wxDateTime_Set", (PyCFunction
) _wrap_wxDateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
7614 { "wxDateTime_SetHMS", (PyCFunction
) _wrap_wxDateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
7615 { "wxDateTime_SetJDN", (PyCFunction
) _wrap_wxDateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7616 { "wxDateTime_SetTimeT", (PyCFunction
) _wrap_wxDateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7617 { "wxDateTime_SetToCurrent", (PyCFunction
) _wrap_wxDateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
7618 { "delete_wxDateTime", (PyCFunction
) _wrap_delete_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7619 { "new_wxDateTimeFromDMY", (PyCFunction
) _wrap_new_wxDateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
7620 { "new_wxDateTimeFromHMS", (PyCFunction
) _wrap_new_wxDateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
7621 { "new_wxDateTimeFromJDN", (PyCFunction
) _wrap_new_wxDateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
7622 { "new_wxDateTimeFromTimeT", (PyCFunction
) _wrap_new_wxDateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7623 { "new_wxDateTime", (PyCFunction
) _wrap_new_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7624 { "wxDateTime_Today", (PyCFunction
) _wrap_wxDateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
7625 { "wxDateTime_Now", (PyCFunction
) _wrap_wxDateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
7626 { "wxDateTime_GetEndDST", (PyCFunction
) _wrap_wxDateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
7627 { "wxDateTime_GetBeginDST", (PyCFunction
) _wrap_wxDateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
7628 { "wxDateTime_IsDSTApplicable", (PyCFunction
) _wrap_wxDateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
7629 { "wxDateTime_GetAmPmStrings", (PyCFunction
) _wrap_wxDateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
7630 { "wxDateTime_GetWeekDayName", (PyCFunction
) _wrap_wxDateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
7631 { "wxDateTime_GetMonthName", (PyCFunction
) _wrap_wxDateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
7632 { "wxDateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
7633 { "wxDateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
7634 { "wxDateTime_GetCentury", (PyCFunction
) _wrap_wxDateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
7635 { "wxDateTime_IsLeapYear", (PyCFunction
) _wrap_wxDateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
7636 { "wxDateTime_GetCurrentMonth", (PyCFunction
) _wrap_wxDateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
7637 { "wxDateTime_ConvertYearToBC", (PyCFunction
) _wrap_wxDateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
7638 { "wxDateTime_GetCurrentYear", (PyCFunction
) _wrap_wxDateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
7639 { "wxDateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_wxDateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
7640 { "wxDateTime_GetCountry", (PyCFunction
) _wrap_wxDateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7641 { "wxDateTime_SetCountry", (PyCFunction
) _wrap_wxDateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7642 { "delete_wxFileConfig", (PyCFunction
) _wrap_delete_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7643 { "new_wxFileConfig", (PyCFunction
) _wrap_new_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7644 { "delete_wxConfig", (PyCFunction
) _wrap_delete_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7645 { "new_wxConfig", (PyCFunction
) _wrap_new_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7646 { "wxConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7647 { "wxConfigBase_RenameGroup", (PyCFunction
) _wrap_wxConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
7648 { "wxConfigBase_RenameEntry", (PyCFunction
) _wrap_wxConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
7649 { "wxConfigBase_GetEntryType", (PyCFunction
) _wrap_wxConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
7650 { "wxConfigBase_WriteFloat", (PyCFunction
) _wrap_wxConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
7651 { "wxConfigBase_WriteInt", (PyCFunction
) _wrap_wxConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
7652 { "wxConfigBase_Write", (PyCFunction
) _wrap_wxConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
7653 { "wxConfigBase_GetStyle", (PyCFunction
) _wrap_wxConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7654 { "wxConfigBase_SetStyle", (PyCFunction
) _wrap_wxConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7655 { "wxConfigBase_SetVendorName", (PyCFunction
) _wrap_wxConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7656 { "wxConfigBase_SetAppName", (PyCFunction
) _wrap_wxConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7657 { "wxConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_wxConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7658 { "wxConfigBase_SetPath", (PyCFunction
) _wrap_wxConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
7659 { "wxConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7660 { "wxConfigBase_ReadFloat", (PyCFunction
) _wrap_wxConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
7661 { "wxConfigBase_ReadInt", (PyCFunction
) _wrap_wxConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
7662 { "wxConfigBase_Read", (PyCFunction
) _wrap_wxConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
7663 { "wxConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_wxConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7664 { "wxConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_wxConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7665 { "wxConfigBase_HasGroup", (PyCFunction
) _wrap_wxConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
7666 { "wxConfigBase_HasEntry", (PyCFunction
) _wrap_wxConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
7667 { "wxConfigBase_GetVendorName", (PyCFunction
) _wrap_wxConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7668 { "wxConfigBase_GetPath", (PyCFunction
) _wrap_wxConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
7669 { "wxConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
7670 { "wxConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
7671 { "wxConfigBase_GetNextEntry", (PyCFunction
) _wrap_wxConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
7672 { "wxConfigBase_GetNextGroup", (PyCFunction
) _wrap_wxConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
7673 { "wxConfigBase_GetFirstEntry", (PyCFunction
) _wrap_wxConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
7674 { "wxConfigBase_GetFirstGroup", (PyCFunction
) _wrap_wxConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
7675 { "wxConfigBase_GetAppName", (PyCFunction
) _wrap_wxConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7676 { "wxConfigBase_Flush", (PyCFunction
) _wrap_wxConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
7677 { "wxConfigBase_Exists", (PyCFunction
) _wrap_wxConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
7678 { "wxConfigBase_DeleteGroup", (PyCFunction
) _wrap_wxConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
7679 { "wxConfigBase_DeleteEntry", (PyCFunction
) _wrap_wxConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
7680 { "wxConfigBase_DeleteAll", (PyCFunction
) _wrap_wxConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
7681 { "wxConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_wxConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
7682 { "wxConfigBase_Create", (PyCFunction
) _wrap_wxConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
7683 { "wxConfigBase_Get", (PyCFunction
) _wrap_wxConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
7684 { "wxConfigBase_Set", (PyCFunction
) _wrap_wxConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
7685 { "delete_wxConfigBase", (PyCFunction
) _wrap_delete_wxConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
7686 { "wxGetLocalTimeMillis", (PyCFunction
) _wrap_wxGetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
7687 { "wxGetCurrentTime", (PyCFunction
) _wrap_wxGetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
7688 { "wxGetUTCTime", (PyCFunction
) _wrap_wxGetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
7689 { "wxGetLocalTime", (PyCFunction
) _wrap_wxGetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
7696 * This table is used by the pointer type-checker
7698 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7699 { "_signed_long","_long",0},
7700 { "_class_wxDateTime","_wxDateTime",0},
7701 { "_wxPrintQuality","_wxCoord",0},
7702 { "_wxPrintQuality","_int",0},
7703 { "_wxPrintQuality","_signed_int",0},
7704 { "_wxPrintQuality","_unsigned_int",0},
7705 { "_wxPrintQuality","_wxWindowID",0},
7706 { "_wxPrintQuality","_uint",0},
7707 { "_wxPrintQuality","_EBool",0},
7708 { "_wxPrintQuality","_size_t",0},
7709 { "_wxPrintQuality","_time_t",0},
7710 { "_byte","_unsigned_char",0},
7711 { "_long","_unsigned_long",0},
7712 { "_long","_signed_long",0},
7713 { "_size_t","_wxCoord",0},
7714 { "_size_t","_wxPrintQuality",0},
7715 { "_size_t","_time_t",0},
7716 { "_size_t","_unsigned_int",0},
7717 { "_size_t","_int",0},
7718 { "_size_t","_wxWindowID",0},
7719 { "_size_t","_uint",0},
7720 { "_wxFileConfig","_class_wxFileConfig",0},
7721 { "_uint","_wxCoord",0},
7722 { "_uint","_wxPrintQuality",0},
7723 { "_uint","_time_t",0},
7724 { "_uint","_size_t",0},
7725 { "_uint","_unsigned_int",0},
7726 { "_uint","_int",0},
7727 { "_uint","_wxWindowID",0},
7728 { "_wxChar","_char",0},
7729 { "_char","_wxChar",0},
7730 { "_wxConfig","_class_wxConfig",0},
7731 { "_class_wxFileConfig","_wxFileConfig",0},
7732 { "_EBool","_wxCoord",0},
7733 { "_EBool","_wxPrintQuality",0},
7734 { "_EBool","_signed_int",0},
7735 { "_EBool","_int",0},
7736 { "_EBool","_wxWindowID",0},
7737 { "_unsigned_long","_long",0},
7738 { "_wxTimeSpan","_class_wxTimeSpan",0},
7739 { "_signed_int","_wxCoord",0},
7740 { "_signed_int","_wxPrintQuality",0},
7741 { "_signed_int","_EBool",0},
7742 { "_signed_int","_wxWindowID",0},
7743 { "_signed_int","_int",0},
7744 { "_WXTYPE","_wxDateTime_t",0},
7745 { "_WXTYPE","_short",0},
7746 { "_WXTYPE","_signed_short",0},
7747 { "_WXTYPE","_unsigned_short",0},
7748 { "_unsigned_short","_wxDateTime_t",0},
7749 { "_unsigned_short","_WXTYPE",0},
7750 { "_unsigned_short","_short",0},
7751 { "_wxDateSpan","_class_wxDateSpan",0},
7752 { "_signed_short","_WXTYPE",0},
7753 { "_signed_short","_short",0},
7754 { "_unsigned_char","_byte",0},
7755 { "_unsigned_int","_wxCoord",0},
7756 { "_unsigned_int","_wxPrintQuality",0},
7757 { "_unsigned_int","_time_t",0},
7758 { "_unsigned_int","_size_t",0},
7759 { "_unsigned_int","_uint",0},
7760 { "_unsigned_int","_wxWindowID",0},
7761 { "_unsigned_int","_int",0},
7762 { "_wxConfigBase","_class_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7763 { "_wxConfigBase","_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7764 { "_wxConfigBase","_class_wxConfig",SwigwxConfigTowxConfigBase
},
7765 { "_wxConfigBase","_wxConfig",SwigwxConfigTowxConfigBase
},
7766 { "_wxConfigBase","_class_wxConfigBase",0},
7767 { "_short","_wxDateTime_t",0},
7768 { "_short","_WXTYPE",0},
7769 { "_short","_unsigned_short",0},
7770 { "_short","_signed_short",0},
7771 { "_wxWindowID","_wxCoord",0},
7772 { "_wxWindowID","_wxPrintQuality",0},
7773 { "_wxWindowID","_time_t",0},
7774 { "_wxWindowID","_size_t",0},
7775 { "_wxWindowID","_EBool",0},
7776 { "_wxWindowID","_uint",0},
7777 { "_wxWindowID","_int",0},
7778 { "_wxWindowID","_signed_int",0},
7779 { "_wxWindowID","_unsigned_int",0},
7780 { "_int","_wxCoord",0},
7781 { "_int","_wxPrintQuality",0},
7782 { "_int","_time_t",0},
7783 { "_int","_size_t",0},
7784 { "_int","_EBool",0},
7785 { "_int","_uint",0},
7786 { "_int","_wxWindowID",0},
7787 { "_int","_unsigned_int",0},
7788 { "_int","_signed_int",0},
7789 { "_wxDateTime_t","_unsigned_short",0},
7790 { "_wxDateTime_t","_short",0},
7791 { "_wxDateTime_t","_WXTYPE",0},
7792 { "_wxDateTime","_class_wxDateTime",0},
7793 { "_time_t","_wxCoord",0},
7794 { "_time_t","_wxPrintQuality",0},
7795 { "_time_t","_unsigned_int",0},
7796 { "_time_t","_int",0},
7797 { "_time_t","_wxWindowID",0},
7798 { "_time_t","_uint",0},
7799 { "_time_t","_size_t",0},
7800 { "_class_wxTimeSpan","_wxTimeSpan",0},
7801 { "_class_wxConfigBase","_class_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7802 { "_class_wxConfigBase","_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7803 { "_class_wxConfigBase","_class_wxConfig",SwigwxConfigTowxConfigBase
},
7804 { "_class_wxConfigBase","_wxConfig",SwigwxConfigTowxConfigBase
},
7805 { "_class_wxConfigBase","_wxConfigBase",0},
7806 { "_wxCoord","_int",0},
7807 { "_wxCoord","_signed_int",0},
7808 { "_wxCoord","_unsigned_int",0},
7809 { "_wxCoord","_wxWindowID",0},
7810 { "_wxCoord","_uint",0},
7811 { "_wxCoord","_EBool",0},
7812 { "_wxCoord","_size_t",0},
7813 { "_wxCoord","_time_t",0},
7814 { "_wxCoord","_wxPrintQuality",0},
7815 { "_class_wxDateSpan","_wxDateSpan",0},
7816 { "_class_wxConfig","_wxConfig",0},
7819 static PyObject
*SWIG_globals
;
7823 SWIGEXPORT(void) initutilsc() {
7825 SWIG_globals
= SWIG_newvarlink();
7826 m
= Py_InitModule("utilsc", utilscMethods
);
7827 d
= PyModule_GetDict(m
);
7828 PyDict_SetItemString(d
,"wxCONFIG_USE_LOCAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_LOCAL_FILE
));
7829 PyDict_SetItemString(d
,"wxCONFIG_USE_GLOBAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_GLOBAL_FILE
));
7830 PyDict_SetItemString(d
,"wxCONFIG_USE_RELATIVE_PATH", PyInt_FromLong((long) wxCONFIG_USE_RELATIVE_PATH
));
7832 wxClassInfo::CleanUpClasses();
7833 wxClassInfo::InitializeClasses();
7834 PyDict_SetItemString(d
,"wxConfigBase_Type_Unknown", PyInt_FromLong((long) wxConfigBase::Type_Unknown
));
7835 PyDict_SetItemString(d
,"wxConfigBase_Type_String", PyInt_FromLong((long) wxConfigBase::Type_String
));
7836 PyDict_SetItemString(d
,"wxConfigBase_Type_Boolean", PyInt_FromLong((long) wxConfigBase::Type_Boolean
));
7837 PyDict_SetItemString(d
,"wxConfigBase_Type_Integer", PyInt_FromLong((long) wxConfigBase::Type_Integer
));
7838 PyDict_SetItemString(d
,"wxConfigBase_Type_Float", PyInt_FromLong((long) wxConfigBase::Type_Float
));
7839 PyDict_SetItemString(d
,"wxDateTime_Local", PyInt_FromLong((long) wxDateTime::Local
));
7840 PyDict_SetItemString(d
,"wxDateTime_GMT_12", PyInt_FromLong((long) wxDateTime::GMT_12
));
7841 PyDict_SetItemString(d
,"wxDateTime_GMT_11", PyInt_FromLong((long) wxDateTime::GMT_11
));
7842 PyDict_SetItemString(d
,"wxDateTime_GMT_10", PyInt_FromLong((long) wxDateTime::GMT_10
));
7843 PyDict_SetItemString(d
,"wxDateTime_GMT_9", PyInt_FromLong((long) wxDateTime::GMT_9
));
7844 PyDict_SetItemString(d
,"wxDateTime_GMT_8", PyInt_FromLong((long) wxDateTime::GMT_8
));
7845 PyDict_SetItemString(d
,"wxDateTime_GMT_7", PyInt_FromLong((long) wxDateTime::GMT_7
));
7846 PyDict_SetItemString(d
,"wxDateTime_GMT_6", PyInt_FromLong((long) wxDateTime::GMT_6
));
7847 PyDict_SetItemString(d
,"wxDateTime_GMT_5", PyInt_FromLong((long) wxDateTime::GMT_5
));
7848 PyDict_SetItemString(d
,"wxDateTime_GMT_4", PyInt_FromLong((long) wxDateTime::GMT_4
));
7849 PyDict_SetItemString(d
,"wxDateTime_GMT_3", PyInt_FromLong((long) wxDateTime::GMT_3
));
7850 PyDict_SetItemString(d
,"wxDateTime_GMT_2", PyInt_FromLong((long) wxDateTime::GMT_2
));
7851 PyDict_SetItemString(d
,"wxDateTime_GMT_1", PyInt_FromLong((long) wxDateTime::GMT_1
));
7852 PyDict_SetItemString(d
,"wxDateTime_GMT0", PyInt_FromLong((long) wxDateTime::GMT0
));
7853 PyDict_SetItemString(d
,"wxDateTime_GMT1", PyInt_FromLong((long) wxDateTime::GMT1
));
7854 PyDict_SetItemString(d
,"wxDateTime_GMT2", PyInt_FromLong((long) wxDateTime::GMT2
));
7855 PyDict_SetItemString(d
,"wxDateTime_GMT3", PyInt_FromLong((long) wxDateTime::GMT3
));
7856 PyDict_SetItemString(d
,"wxDateTime_GMT4", PyInt_FromLong((long) wxDateTime::GMT4
));
7857 PyDict_SetItemString(d
,"wxDateTime_GMT5", PyInt_FromLong((long) wxDateTime::GMT5
));
7858 PyDict_SetItemString(d
,"wxDateTime_GMT6", PyInt_FromLong((long) wxDateTime::GMT6
));
7859 PyDict_SetItemString(d
,"wxDateTime_GMT7", PyInt_FromLong((long) wxDateTime::GMT7
));
7860 PyDict_SetItemString(d
,"wxDateTime_GMT8", PyInt_FromLong((long) wxDateTime::GMT8
));
7861 PyDict_SetItemString(d
,"wxDateTime_GMT9", PyInt_FromLong((long) wxDateTime::GMT9
));
7862 PyDict_SetItemString(d
,"wxDateTime_GMT10", PyInt_FromLong((long) wxDateTime::GMT10
));
7863 PyDict_SetItemString(d
,"wxDateTime_GMT11", PyInt_FromLong((long) wxDateTime::GMT11
));
7864 PyDict_SetItemString(d
,"wxDateTime_GMT12", PyInt_FromLong((long) wxDateTime::GMT12
));
7865 PyDict_SetItemString(d
,"wxDateTime_WET", PyInt_FromLong((long) wxDateTime::WET
));
7866 PyDict_SetItemString(d
,"wxDateTime_WEST", PyInt_FromLong((long) wxDateTime::WEST
));
7867 PyDict_SetItemString(d
,"wxDateTime_CET", PyInt_FromLong((long) wxDateTime::CET
));
7868 PyDict_SetItemString(d
,"wxDateTime_CEST", PyInt_FromLong((long) wxDateTime::CEST
));
7869 PyDict_SetItemString(d
,"wxDateTime_EET", PyInt_FromLong((long) wxDateTime::EET
));
7870 PyDict_SetItemString(d
,"wxDateTime_EEST", PyInt_FromLong((long) wxDateTime::EEST
));
7871 PyDict_SetItemString(d
,"wxDateTime_MSK", PyInt_FromLong((long) wxDateTime::MSK
));
7872 PyDict_SetItemString(d
,"wxDateTime_MSD", PyInt_FromLong((long) wxDateTime::MSD
));
7873 PyDict_SetItemString(d
,"wxDateTime_AST", PyInt_FromLong((long) wxDateTime::AST
));
7874 PyDict_SetItemString(d
,"wxDateTime_ADT", PyInt_FromLong((long) wxDateTime::ADT
));
7875 PyDict_SetItemString(d
,"wxDateTime_EST", PyInt_FromLong((long) wxDateTime::EST
));
7876 PyDict_SetItemString(d
,"wxDateTime_EDT", PyInt_FromLong((long) wxDateTime::EDT
));
7877 PyDict_SetItemString(d
,"wxDateTime_CST", PyInt_FromLong((long) wxDateTime::CST
));
7878 PyDict_SetItemString(d
,"wxDateTime_CDT", PyInt_FromLong((long) wxDateTime::CDT
));
7879 PyDict_SetItemString(d
,"wxDateTime_MST", PyInt_FromLong((long) wxDateTime::MST
));
7880 PyDict_SetItemString(d
,"wxDateTime_MDT", PyInt_FromLong((long) wxDateTime::MDT
));
7881 PyDict_SetItemString(d
,"wxDateTime_PST", PyInt_FromLong((long) wxDateTime::PST
));
7882 PyDict_SetItemString(d
,"wxDateTime_PDT", PyInt_FromLong((long) wxDateTime::PDT
));
7883 PyDict_SetItemString(d
,"wxDateTime_HST", PyInt_FromLong((long) wxDateTime::HST
));
7884 PyDict_SetItemString(d
,"wxDateTime_AKST", PyInt_FromLong((long) wxDateTime::AKST
));
7885 PyDict_SetItemString(d
,"wxDateTime_AKDT", PyInt_FromLong((long) wxDateTime::AKDT
));
7886 PyDict_SetItemString(d
,"wxDateTime_A_WST", PyInt_FromLong((long) wxDateTime::A_WST
));
7887 PyDict_SetItemString(d
,"wxDateTime_A_CST", PyInt_FromLong((long) wxDateTime::A_CST
));
7888 PyDict_SetItemString(d
,"wxDateTime_A_EST", PyInt_FromLong((long) wxDateTime::A_EST
));
7889 PyDict_SetItemString(d
,"wxDateTime_A_ESST", PyInt_FromLong((long) wxDateTime::A_ESST
));
7890 PyDict_SetItemString(d
,"wxDateTime_UTC", PyInt_FromLong((long) wxDateTime::UTC
));
7891 PyDict_SetItemString(d
,"wxDateTime_Gregorian", PyInt_FromLong((long) wxDateTime::Gregorian
));
7892 PyDict_SetItemString(d
,"wxDateTime_Julian", PyInt_FromLong((long) wxDateTime::Julian
));
7893 PyDict_SetItemString(d
,"wxDateTime_Country_Unknown", PyInt_FromLong((long) wxDateTime::Country_Unknown
));
7894 PyDict_SetItemString(d
,"wxDateTime_Country_Default", PyInt_FromLong((long) wxDateTime::Country_Default
));
7895 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_Start", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_Start
));
7896 PyDict_SetItemString(d
,"wxDateTime_Country_EEC", PyInt_FromLong((long) wxDateTime::Country_EEC
));
7897 PyDict_SetItemString(d
,"wxDateTime_France", PyInt_FromLong((long) wxDateTime::France
));
7898 PyDict_SetItemString(d
,"wxDateTime_Germany", PyInt_FromLong((long) wxDateTime::Germany
));
7899 PyDict_SetItemString(d
,"wxDateTime_UK", PyInt_FromLong((long) wxDateTime::UK
));
7900 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_End", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_End
));
7901 PyDict_SetItemString(d
,"wxDateTime_Russia", PyInt_FromLong((long) wxDateTime::Russia
));
7902 PyDict_SetItemString(d
,"wxDateTime_USA", PyInt_FromLong((long) wxDateTime::USA
));
7903 PyDict_SetItemString(d
,"wxDateTime_Jan", PyInt_FromLong((long) wxDateTime::Jan
));
7904 PyDict_SetItemString(d
,"wxDateTime_Feb", PyInt_FromLong((long) wxDateTime::Feb
));
7905 PyDict_SetItemString(d
,"wxDateTime_Mar", PyInt_FromLong((long) wxDateTime::Mar
));
7906 PyDict_SetItemString(d
,"wxDateTime_Apr", PyInt_FromLong((long) wxDateTime::Apr
));
7907 PyDict_SetItemString(d
,"wxDateTime_May", PyInt_FromLong((long) wxDateTime::May
));
7908 PyDict_SetItemString(d
,"wxDateTime_Jun", PyInt_FromLong((long) wxDateTime::Jun
));
7909 PyDict_SetItemString(d
,"wxDateTime_Jul", PyInt_FromLong((long) wxDateTime::Jul
));
7910 PyDict_SetItemString(d
,"wxDateTime_Aug", PyInt_FromLong((long) wxDateTime::Aug
));
7911 PyDict_SetItemString(d
,"wxDateTime_Sep", PyInt_FromLong((long) wxDateTime::Sep
));
7912 PyDict_SetItemString(d
,"wxDateTime_Oct", PyInt_FromLong((long) wxDateTime::Oct
));
7913 PyDict_SetItemString(d
,"wxDateTime_Nov", PyInt_FromLong((long) wxDateTime::Nov
));
7914 PyDict_SetItemString(d
,"wxDateTime_Dec", PyInt_FromLong((long) wxDateTime::Dec
));
7915 PyDict_SetItemString(d
,"wxDateTime_Inv_Month", PyInt_FromLong((long) wxDateTime::Inv_Month
));
7916 PyDict_SetItemString(d
,"wxDateTime_Sun", PyInt_FromLong((long) wxDateTime::Sun
));
7917 PyDict_SetItemString(d
,"wxDateTime_Mon", PyInt_FromLong((long) wxDateTime::Mon
));
7918 PyDict_SetItemString(d
,"wxDateTime_Tue", PyInt_FromLong((long) wxDateTime::Tue
));
7919 PyDict_SetItemString(d
,"wxDateTime_Wed", PyInt_FromLong((long) wxDateTime::Wed
));
7920 PyDict_SetItemString(d
,"wxDateTime_Thu", PyInt_FromLong((long) wxDateTime::Thu
));
7921 PyDict_SetItemString(d
,"wxDateTime_Fri", PyInt_FromLong((long) wxDateTime::Fri
));
7922 PyDict_SetItemString(d
,"wxDateTime_Sat", PyInt_FromLong((long) wxDateTime::Sat
));
7923 PyDict_SetItemString(d
,"wxDateTime_Inv_WeekDay", PyInt_FromLong((long) wxDateTime::Inv_WeekDay
));
7924 PyDict_SetItemString(d
,"wxDateTime_Inv_Year", PyInt_FromLong((long) wxDateTime::Inv_Year
));
7925 PyDict_SetItemString(d
,"wxDateTime_Name_Full", PyInt_FromLong((long) wxDateTime::Name_Full
));
7926 PyDict_SetItemString(d
,"wxDateTime_Name_Abbr", PyInt_FromLong((long) wxDateTime::Name_Abbr
));
7927 PyDict_SetItemString(d
,"wxDateTime_Default_First", PyInt_FromLong((long) wxDateTime::Default_First
));
7928 PyDict_SetItemString(d
,"wxDateTime_Monday_First", PyInt_FromLong((long) wxDateTime::Monday_First
));
7929 PyDict_SetItemString(d
,"wxDateTime_Sunday_First", PyInt_FromLong((long) wxDateTime::Sunday_First
));
7932 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7933 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);