4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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
) {
66 } else if (target
== Py_None
) {
70 if (!PyList_Check(target
)) {
72 target
= PyList_New(0);
73 PyList_Append(target
, o2
);
76 PyList_Append(target
,o
);
82 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
88 } else if (target
== Py_None
) {
92 if (!PyTuple_Check(target
)) {
94 target
= PyTuple_New(1);
95 PyTuple_SetItem(target
, 0, o2
);
98 PyTuple_SetItem(o3
, 0, o
);
101 target
= PySequence_Concat(o2
, o3
);
108 static char* wxStringErrorMsg
= "string type is required for parameter";
110 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
111 PyObject
* ret
= PyTuple_New(3);
113 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
114 PyTuple_SET_ITEM(ret
, 1, PyString_FromString(str
));
115 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
120 #define LOCAL *(new wxDateTime::TimeZone(wxDateTime::Local))
124 static PyObject
*_wrap_wxGetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
125 PyObject
* _resultobj
;
127 char *_kwnames
[] = { NULL
};
130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocalTime",_kwnames
))
133 wxPy_BEGIN_ALLOW_THREADS
;
134 _result
= (long )wxGetLocalTime();
136 wxPy_END_ALLOW_THREADS
;
137 } _resultobj
= Py_BuildValue("l",_result
);
141 static PyObject
*_wrap_wxGetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
142 PyObject
* _resultobj
;
144 char *_kwnames
[] = { NULL
};
147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUTCTime",_kwnames
))
150 wxPy_BEGIN_ALLOW_THREADS
;
151 _result
= (long )wxGetUTCTime();
153 wxPy_END_ALLOW_THREADS
;
154 } _resultobj
= Py_BuildValue("l",_result
);
158 static PyObject
*_wrap_wxGetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
159 PyObject
* _resultobj
;
161 char *_kwnames
[] = { NULL
};
164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentTime",_kwnames
))
167 wxPy_BEGIN_ALLOW_THREADS
;
168 _result
= (long )wxGetCurrentTime();
170 wxPy_END_ALLOW_THREADS
;
171 } _resultobj
= Py_BuildValue("l",_result
);
175 static PyObject
*_wrap_wxGetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
176 PyObject
* _resultobj
;
177 wxLongLong
* _result
;
178 char *_kwnames
[] = { NULL
};
181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocalTimeMillis",_kwnames
))
184 wxPy_BEGIN_ALLOW_THREADS
;
185 _result
= new wxLongLong (wxGetLocalTimeMillis());
187 wxPy_END_ALLOW_THREADS
;
189 PyObject
*hi
, *lo
, *shifter
, *shifted
;
190 hi
= PyLong_FromLong(_result
->GetHi());
191 lo
= PyLong_FromLong(_result
->GetLo());
192 shifter
= PyLong_FromLong(32);
193 shifted
= PyNumber_Lshift(hi
, shifter
);
194 _resultobj
= PyNumber_Or(shifted
, lo
);
203 #define delete_wxConfigBase(_swigobj) (delete _swigobj)
204 static PyObject
*_wrap_delete_wxConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
205 PyObject
* _resultobj
;
206 wxConfigBase
* _arg0
;
207 PyObject
* _argo0
= 0;
208 char *_kwnames
[] = { "self", NULL
};
211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxConfigBase",_kwnames
,&_argo0
))
214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxConfigBase. Expected _wxConfigBase_p.");
221 wxPy_BEGIN_ALLOW_THREADS
;
222 delete_wxConfigBase(_arg0
);
224 wxPy_END_ALLOW_THREADS
;
225 } Py_INCREF(Py_None
);
226 _resultobj
= Py_None
;
230 static PyObject
*_wrap_wxConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
231 PyObject
* _resultobj
;
232 wxConfigBase
* _result
;
233 wxConfigBase
* _arg0
;
234 PyObject
* _argo0
= 0;
235 char *_kwnames
[] = { "pConfig", NULL
};
239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_Set",_kwnames
,&_argo0
))
242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Set. Expected _wxConfigBase_p.");
249 wxPy_BEGIN_ALLOW_THREADS
;
250 _result
= (wxConfigBase
*)wxConfigBase::Set(_arg0
);
252 wxPy_END_ALLOW_THREADS
;
254 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
255 _resultobj
= Py_BuildValue("s",_ptemp
);
258 _resultobj
= Py_None
;
263 static PyObject
*_wrap_wxConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
264 PyObject
* _resultobj
;
265 wxConfigBase
* _result
;
266 bool _arg0
= (bool ) TRUE
;
267 int tempbool0
= (int) TRUE
;
268 char *_kwnames
[] = { "createOnDemand", NULL
};
272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxConfigBase_Get",_kwnames
,&tempbool0
))
274 _arg0
= (bool ) tempbool0
;
276 wxPy_BEGIN_ALLOW_THREADS
;
277 _result
= (wxConfigBase
*)wxConfigBase::Get(_arg0
);
279 wxPy_END_ALLOW_THREADS
;
281 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
282 _resultobj
= Py_BuildValue("s",_ptemp
);
285 _resultobj
= Py_None
;
290 static PyObject
*_wrap_wxConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
291 PyObject
* _resultobj
;
292 wxConfigBase
* _result
;
293 char *_kwnames
[] = { NULL
};
297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxConfigBase_Create",_kwnames
))
300 wxPy_BEGIN_ALLOW_THREADS
;
301 _result
= (wxConfigBase
*)wxConfigBase::Create();
303 wxPy_END_ALLOW_THREADS
;
305 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
306 _resultobj
= Py_BuildValue("s",_ptemp
);
309 _resultobj
= Py_None
;
314 static PyObject
*_wrap_wxConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
315 PyObject
* _resultobj
;
316 char *_kwnames
[] = { NULL
};
319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxConfigBase_DontCreateOnDemand",_kwnames
))
322 wxPy_BEGIN_ALLOW_THREADS
;
323 wxConfigBase::DontCreateOnDemand();
325 wxPy_END_ALLOW_THREADS
;
326 } Py_INCREF(Py_None
);
327 _resultobj
= Py_None
;
331 #define wxConfigBase_DeleteAll(_swigobj) (_swigobj->DeleteAll())
332 static PyObject
*_wrap_wxConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
333 PyObject
* _resultobj
;
335 wxConfigBase
* _arg0
;
336 PyObject
* _argo0
= 0;
337 char *_kwnames
[] = { "self", NULL
};
340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_DeleteAll",_kwnames
,&_argo0
))
343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteAll. Expected _wxConfigBase_p.");
350 wxPy_BEGIN_ALLOW_THREADS
;
351 _result
= (bool )wxConfigBase_DeleteAll(_arg0
);
353 wxPy_END_ALLOW_THREADS
;
354 } _resultobj
= Py_BuildValue("i",_result
);
358 #define wxConfigBase_DeleteEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteEntry(_swigarg0,_swigarg1))
359 static PyObject
*_wrap_wxConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
360 PyObject
* _resultobj
;
362 wxConfigBase
* _arg0
;
364 bool _arg2
= (bool ) TRUE
;
365 PyObject
* _argo0
= 0;
366 PyObject
* _obj1
= 0;
367 int tempbool2
= (int) TRUE
;
368 char *_kwnames
[] = { "self","key","bDeleteGroupIfEmpty", NULL
};
371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxConfigBase_DeleteEntry",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteEntry. Expected _wxConfigBase_p.");
381 if (!PyString_Check(_obj1
)) {
382 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
385 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
387 _arg2
= (bool ) tempbool2
;
389 wxPy_BEGIN_ALLOW_THREADS
;
390 _result
= (bool )wxConfigBase_DeleteEntry(_arg0
,*_arg1
,_arg2
);
392 wxPy_END_ALLOW_THREADS
;
393 } _resultobj
= Py_BuildValue("i",_result
);
401 #define wxConfigBase_DeleteGroup(_swigobj,_swigarg0) (_swigobj->DeleteGroup(_swigarg0))
402 static PyObject
*_wrap_wxConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
403 PyObject
* _resultobj
;
405 wxConfigBase
* _arg0
;
407 PyObject
* _argo0
= 0;
408 PyObject
* _obj1
= 0;
409 char *_kwnames
[] = { "self","key", NULL
};
412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_DeleteGroup",_kwnames
,&_argo0
,&_obj1
))
415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteGroup. Expected _wxConfigBase_p.");
422 if (!PyString_Check(_obj1
)) {
423 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
426 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
429 wxPy_BEGIN_ALLOW_THREADS
;
430 _result
= (bool )wxConfigBase_DeleteGroup(_arg0
,*_arg1
);
432 wxPy_END_ALLOW_THREADS
;
433 } _resultobj
= Py_BuildValue("i",_result
);
441 #define wxConfigBase_Exists(_swigobj,_swigarg0) (_swigobj->Exists(_swigarg0))
442 static PyObject
*_wrap_wxConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
443 PyObject
* _resultobj
;
445 wxConfigBase
* _arg0
;
447 PyObject
* _argo0
= 0;
448 PyObject
* _obj1
= 0;
449 char *_kwnames
[] = { "self","strName", NULL
};
452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_Exists",_kwnames
,&_argo0
,&_obj1
))
455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Exists. Expected _wxConfigBase_p.");
462 if (!PyString_Check(_obj1
)) {
463 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
466 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
469 wxPy_BEGIN_ALLOW_THREADS
;
470 _result
= (bool )wxConfigBase_Exists(_arg0
,*_arg1
);
472 wxPy_END_ALLOW_THREADS
;
473 } _resultobj
= Py_BuildValue("i",_result
);
481 #define wxConfigBase_Flush(_swigobj,_swigarg0) (_swigobj->Flush(_swigarg0))
482 static PyObject
*_wrap_wxConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
483 PyObject
* _resultobj
;
485 wxConfigBase
* _arg0
;
486 bool _arg1
= (bool ) FALSE
;
487 PyObject
* _argo0
= 0;
488 int tempbool1
= (int) FALSE
;
489 char *_kwnames
[] = { "self","bCurrentOnly", NULL
};
492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_Flush",_kwnames
,&_argo0
,&tempbool1
))
495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Flush. Expected _wxConfigBase_p.");
501 _arg1
= (bool ) tempbool1
;
503 wxPy_BEGIN_ALLOW_THREADS
;
504 _result
= (bool )wxConfigBase_Flush(_arg0
,_arg1
);
506 wxPy_END_ALLOW_THREADS
;
507 } _resultobj
= Py_BuildValue("i",_result
);
511 #define wxConfigBase_GetAppName(_swigobj) (_swigobj->GetAppName())
512 static PyObject
*_wrap_wxConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
513 PyObject
* _resultobj
;
515 wxConfigBase
* _arg0
;
516 PyObject
* _argo0
= 0;
517 char *_kwnames
[] = { "self", NULL
};
520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetAppName",_kwnames
,&_argo0
))
523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetAppName. Expected _wxConfigBase_p.");
530 wxPy_BEGIN_ALLOW_THREADS
;
531 _result
= new wxString (wxConfigBase_GetAppName(_arg0
));
533 wxPy_END_ALLOW_THREADS
;
535 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
543 static PyObject
* wxConfigBase_GetFirstGroup(wxConfigBase
*self
) {
548 cont
= self
->GetFirstGroup(value
, index
);
549 return __EnumerationHelper(cont
, value
, index
);
551 static PyObject
*_wrap_wxConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
552 PyObject
* _resultobj
;
554 wxConfigBase
* _arg0
;
555 PyObject
* _argo0
= 0;
556 char *_kwnames
[] = { "self", NULL
};
559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetFirstGroup",_kwnames
,&_argo0
))
562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetFirstGroup. Expected _wxConfigBase_p.");
569 wxPy_BEGIN_ALLOW_THREADS
;
570 _result
= (PyObject
*)wxConfigBase_GetFirstGroup(_arg0
);
572 wxPy_END_ALLOW_THREADS
;
574 _resultobj
= _result
;
579 static PyObject
* wxConfigBase_GetFirstEntry(wxConfigBase
*self
) {
584 cont
= self
->GetFirstEntry(value
, index
);
585 return __EnumerationHelper(cont
, value
, index
);
587 static PyObject
*_wrap_wxConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
588 PyObject
* _resultobj
;
590 wxConfigBase
* _arg0
;
591 PyObject
* _argo0
= 0;
592 char *_kwnames
[] = { "self", NULL
};
595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetFirstEntry",_kwnames
,&_argo0
))
598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetFirstEntry. Expected _wxConfigBase_p.");
605 wxPy_BEGIN_ALLOW_THREADS
;
606 _result
= (PyObject
*)wxConfigBase_GetFirstEntry(_arg0
);
608 wxPy_END_ALLOW_THREADS
;
610 _resultobj
= _result
;
615 static PyObject
* wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
) {
619 cont
= self
->GetNextGroup(value
, index
);
620 return __EnumerationHelper(cont
, value
, index
);
622 static PyObject
*_wrap_wxConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
623 PyObject
* _resultobj
;
625 wxConfigBase
* _arg0
;
627 PyObject
* _argo0
= 0;
628 char *_kwnames
[] = { "self","index", NULL
};
631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_GetNextGroup",_kwnames
,&_argo0
,&_arg1
))
634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNextGroup. Expected _wxConfigBase_p.");
641 wxPy_BEGIN_ALLOW_THREADS
;
642 _result
= (PyObject
*)wxConfigBase_GetNextGroup(_arg0
,_arg1
);
644 wxPy_END_ALLOW_THREADS
;
646 _resultobj
= _result
;
651 static PyObject
* wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
) {
655 cont
= self
->GetNextEntry(value
, index
);
656 return __EnumerationHelper(cont
, value
, index
);
658 static PyObject
*_wrap_wxConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
659 PyObject
* _resultobj
;
661 wxConfigBase
* _arg0
;
663 PyObject
* _argo0
= 0;
664 char *_kwnames
[] = { "self","index", NULL
};
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_GetNextEntry",_kwnames
,&_argo0
,&_arg1
))
670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNextEntry. Expected _wxConfigBase_p.");
677 wxPy_BEGIN_ALLOW_THREADS
;
678 _result
= (PyObject
*)wxConfigBase_GetNextEntry(_arg0
,_arg1
);
680 wxPy_END_ALLOW_THREADS
;
682 _resultobj
= _result
;
687 #define wxConfigBase_GetNumberOfEntries(_swigobj,_swigarg0) (_swigobj->GetNumberOfEntries(_swigarg0))
688 static PyObject
*_wrap_wxConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
689 PyObject
* _resultobj
;
691 wxConfigBase
* _arg0
;
692 bool _arg1
= (bool ) FALSE
;
693 PyObject
* _argo0
= 0;
694 int tempbool1
= (int) FALSE
;
695 char *_kwnames
[] = { "self","bRecursive", NULL
};
698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_GetNumberOfEntries",_kwnames
,&_argo0
,&tempbool1
))
701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNumberOfEntries. Expected _wxConfigBase_p.");
707 _arg1
= (bool ) tempbool1
;
709 wxPy_BEGIN_ALLOW_THREADS
;
710 _result
= (int )wxConfigBase_GetNumberOfEntries(_arg0
,_arg1
);
712 wxPy_END_ALLOW_THREADS
;
713 } _resultobj
= Py_BuildValue("i",_result
);
717 #define wxConfigBase_GetNumberOfGroups(_swigobj,_swigarg0) (_swigobj->GetNumberOfGroups(_swigarg0))
718 static PyObject
*_wrap_wxConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
719 PyObject
* _resultobj
;
721 wxConfigBase
* _arg0
;
722 bool _arg1
= (bool ) FALSE
;
723 PyObject
* _argo0
= 0;
724 int tempbool1
= (int) FALSE
;
725 char *_kwnames
[] = { "self","bRecursive", NULL
};
728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_GetNumberOfGroups",_kwnames
,&_argo0
,&tempbool1
))
731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNumberOfGroups. Expected _wxConfigBase_p.");
737 _arg1
= (bool ) tempbool1
;
739 wxPy_BEGIN_ALLOW_THREADS
;
740 _result
= (int )wxConfigBase_GetNumberOfGroups(_arg0
,_arg1
);
742 wxPy_END_ALLOW_THREADS
;
743 } _resultobj
= Py_BuildValue("i",_result
);
747 #define wxConfigBase_GetPath(_swigobj) (_swigobj->GetPath())
748 static PyObject
*_wrap_wxConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
749 PyObject
* _resultobj
;
751 wxConfigBase
* _arg0
;
752 PyObject
* _argo0
= 0;
753 char *_kwnames
[] = { "self", NULL
};
756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetPath",_kwnames
,&_argo0
))
759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetPath. Expected _wxConfigBase_p.");
766 wxPy_BEGIN_ALLOW_THREADS
;
767 _result
= new wxString (wxConfigBase_GetPath(_arg0
));
769 wxPy_END_ALLOW_THREADS
;
771 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
779 #define wxConfigBase_GetVendorName(_swigobj) (_swigobj->GetVendorName())
780 static PyObject
*_wrap_wxConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
781 PyObject
* _resultobj
;
783 wxConfigBase
* _arg0
;
784 PyObject
* _argo0
= 0;
785 char *_kwnames
[] = { "self", NULL
};
788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetVendorName",_kwnames
,&_argo0
))
791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetVendorName. Expected _wxConfigBase_p.");
798 wxPy_BEGIN_ALLOW_THREADS
;
799 _result
= new wxString (wxConfigBase_GetVendorName(_arg0
));
801 wxPy_END_ALLOW_THREADS
;
803 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
811 #define wxConfigBase_HasEntry(_swigobj,_swigarg0) (_swigobj->HasEntry(_swigarg0))
812 static PyObject
*_wrap_wxConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
813 PyObject
* _resultobj
;
815 wxConfigBase
* _arg0
;
817 PyObject
* _argo0
= 0;
818 PyObject
* _obj1
= 0;
819 char *_kwnames
[] = { "self","strName", NULL
};
822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_HasEntry",_kwnames
,&_argo0
,&_obj1
))
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_HasEntry. Expected _wxConfigBase_p.");
832 if (!PyString_Check(_obj1
)) {
833 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
836 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
839 wxPy_BEGIN_ALLOW_THREADS
;
840 _result
= (bool )wxConfigBase_HasEntry(_arg0
,*_arg1
);
842 wxPy_END_ALLOW_THREADS
;
843 } _resultobj
= Py_BuildValue("i",_result
);
851 #define wxConfigBase_HasGroup(_swigobj,_swigarg0) (_swigobj->HasGroup(_swigarg0))
852 static PyObject
*_wrap_wxConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
853 PyObject
* _resultobj
;
855 wxConfigBase
* _arg0
;
857 PyObject
* _argo0
= 0;
858 PyObject
* _obj1
= 0;
859 char *_kwnames
[] = { "self","strName", NULL
};
862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_HasGroup",_kwnames
,&_argo0
,&_obj1
))
865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_HasGroup. Expected _wxConfigBase_p.");
872 if (!PyString_Check(_obj1
)) {
873 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
876 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
879 wxPy_BEGIN_ALLOW_THREADS
;
880 _result
= (bool )wxConfigBase_HasGroup(_arg0
,*_arg1
);
882 wxPy_END_ALLOW_THREADS
;
883 } _resultobj
= Py_BuildValue("i",_result
);
891 #define wxConfigBase_IsExpandingEnvVars(_swigobj) (_swigobj->IsExpandingEnvVars())
892 static PyObject
*_wrap_wxConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
893 PyObject
* _resultobj
;
895 wxConfigBase
* _arg0
;
896 PyObject
* _argo0
= 0;
897 char *_kwnames
[] = { "self", NULL
};
900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_IsExpandingEnvVars",_kwnames
,&_argo0
))
903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_IsExpandingEnvVars. Expected _wxConfigBase_p.");
910 wxPy_BEGIN_ALLOW_THREADS
;
911 _result
= (bool )wxConfigBase_IsExpandingEnvVars(_arg0
);
913 wxPy_END_ALLOW_THREADS
;
914 } _resultobj
= Py_BuildValue("i",_result
);
918 #define wxConfigBase_IsRecordingDefaults(_swigobj) (_swigobj->IsRecordingDefaults())
919 static PyObject
*_wrap_wxConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
920 PyObject
* _resultobj
;
922 wxConfigBase
* _arg0
;
923 PyObject
* _argo0
= 0;
924 char *_kwnames
[] = { "self", NULL
};
927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_IsRecordingDefaults",_kwnames
,&_argo0
))
930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_IsRecordingDefaults. Expected _wxConfigBase_p.");
937 wxPy_BEGIN_ALLOW_THREADS
;
938 _result
= (bool )wxConfigBase_IsRecordingDefaults(_arg0
);
940 wxPy_END_ALLOW_THREADS
;
941 } _resultobj
= Py_BuildValue("i",_result
);
945 #define wxConfigBase_Read(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
946 static PyObject
*_wrap_wxConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
947 PyObject
* _resultobj
;
949 wxConfigBase
* _arg0
;
951 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
952 PyObject
* _argo0
= 0;
953 PyObject
* _obj1
= 0;
954 PyObject
* _obj2
= 0;
955 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxConfigBase_Read",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Read. Expected _wxConfigBase_p.");
968 if (!PyString_Check(_obj1
)) {
969 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
972 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
976 if (!PyString_Check(_obj2
)) {
977 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
980 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
983 wxPy_BEGIN_ALLOW_THREADS
;
984 _result
= new wxString (wxConfigBase_Read(_arg0
,*_arg1
,*_arg2
));
986 wxPy_END_ALLOW_THREADS
;
988 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1004 #define wxConfigBase_ReadInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
1005 static PyObject
*_wrap_wxConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
* _resultobj
;
1008 wxConfigBase
* _arg0
;
1010 long _arg2
= (long ) 0;
1011 PyObject
* _argo0
= 0;
1012 PyObject
* _obj1
= 0;
1013 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|l:wxConfigBase_ReadInt",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadInt. Expected _wxConfigBase_p.");
1026 if (!PyString_Check(_obj1
)) {
1027 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1030 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1033 wxPy_BEGIN_ALLOW_THREADS
;
1034 _result
= (long )wxConfigBase_ReadInt(_arg0
,*_arg1
,_arg2
);
1036 wxPy_END_ALLOW_THREADS
;
1037 } _resultobj
= Py_BuildValue("l",_result
);
1045 #define wxConfigBase_ReadFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
1046 static PyObject
*_wrap_wxConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1047 PyObject
* _resultobj
;
1049 wxConfigBase
* _arg0
;
1051 double _arg2
= (double ) 0.0;
1052 PyObject
* _argo0
= 0;
1053 PyObject
* _obj1
= 0;
1054 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|d:wxConfigBase_ReadFloat",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadFloat. Expected _wxConfigBase_p.");
1067 if (!PyString_Check(_obj1
)) {
1068 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1071 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1074 wxPy_BEGIN_ALLOW_THREADS
;
1075 _result
= (double )wxConfigBase_ReadFloat(_arg0
,*_arg1
,_arg2
);
1077 wxPy_END_ALLOW_THREADS
;
1078 } _resultobj
= Py_BuildValue("d",_result
);
1086 #define wxConfigBase_SetExpandEnvVars(_swigobj,_swigarg0) (_swigobj->SetExpandEnvVars(_swigarg0))
1087 static PyObject
*_wrap_wxConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1088 PyObject
* _resultobj
;
1089 wxConfigBase
* _arg0
;
1090 bool _arg1
= (bool ) TRUE
;
1091 PyObject
* _argo0
= 0;
1092 int tempbool1
= (int) TRUE
;
1093 char *_kwnames
[] = { "self","bDoIt", NULL
};
1096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_SetExpandEnvVars",_kwnames
,&_argo0
,&tempbool1
))
1099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetExpandEnvVars. Expected _wxConfigBase_p.");
1105 _arg1
= (bool ) tempbool1
;
1107 wxPy_BEGIN_ALLOW_THREADS
;
1108 wxConfigBase_SetExpandEnvVars(_arg0
,_arg1
);
1110 wxPy_END_ALLOW_THREADS
;
1111 } Py_INCREF(Py_None
);
1112 _resultobj
= Py_None
;
1116 #define wxConfigBase_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1117 static PyObject
*_wrap_wxConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1118 PyObject
* _resultobj
;
1119 wxConfigBase
* _arg0
;
1121 PyObject
* _argo0
= 0;
1122 PyObject
* _obj1
= 0;
1123 char *_kwnames
[] = { "self","strPath", NULL
};
1126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetPath",_kwnames
,&_argo0
,&_obj1
))
1129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetPath. Expected _wxConfigBase_p.");
1136 if (!PyString_Check(_obj1
)) {
1137 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1140 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1143 wxPy_BEGIN_ALLOW_THREADS
;
1144 wxConfigBase_SetPath(_arg0
,*_arg1
);
1146 wxPy_END_ALLOW_THREADS
;
1147 } Py_INCREF(Py_None
);
1148 _resultobj
= Py_None
;
1156 #define wxConfigBase_SetRecordDefaults(_swigobj,_swigarg0) (_swigobj->SetRecordDefaults(_swigarg0))
1157 static PyObject
*_wrap_wxConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1158 PyObject
* _resultobj
;
1159 wxConfigBase
* _arg0
;
1160 bool _arg1
= (bool ) TRUE
;
1161 PyObject
* _argo0
= 0;
1162 int tempbool1
= (int) TRUE
;
1163 char *_kwnames
[] = { "self","bDoIt", NULL
};
1166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_SetRecordDefaults",_kwnames
,&_argo0
,&tempbool1
))
1169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetRecordDefaults. Expected _wxConfigBase_p.");
1175 _arg1
= (bool ) tempbool1
;
1177 wxPy_BEGIN_ALLOW_THREADS
;
1178 wxConfigBase_SetRecordDefaults(_arg0
,_arg1
);
1180 wxPy_END_ALLOW_THREADS
;
1181 } Py_INCREF(Py_None
);
1182 _resultobj
= Py_None
;
1186 #define wxConfigBase_SetAppName(_swigobj,_swigarg0) (_swigobj->SetAppName(_swigarg0))
1187 static PyObject
*_wrap_wxConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1188 PyObject
* _resultobj
;
1189 wxConfigBase
* _arg0
;
1191 PyObject
* _argo0
= 0;
1192 PyObject
* _obj1
= 0;
1193 char *_kwnames
[] = { "self","appName", NULL
};
1196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetAppName",_kwnames
,&_argo0
,&_obj1
))
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_SetAppName. Expected _wxConfigBase_p.");
1206 if (!PyString_Check(_obj1
)) {
1207 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1210 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1213 wxPy_BEGIN_ALLOW_THREADS
;
1214 wxConfigBase_SetAppName(_arg0
,*_arg1
);
1216 wxPy_END_ALLOW_THREADS
;
1217 } Py_INCREF(Py_None
);
1218 _resultobj
= Py_None
;
1226 #define wxConfigBase_SetVendorName(_swigobj,_swigarg0) (_swigobj->SetVendorName(_swigarg0))
1227 static PyObject
*_wrap_wxConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1228 PyObject
* _resultobj
;
1229 wxConfigBase
* _arg0
;
1231 PyObject
* _argo0
= 0;
1232 PyObject
* _obj1
= 0;
1233 char *_kwnames
[] = { "self","vendorName", NULL
};
1236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetVendorName",_kwnames
,&_argo0
,&_obj1
))
1239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetVendorName. Expected _wxConfigBase_p.");
1246 if (!PyString_Check(_obj1
)) {
1247 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1250 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1253 wxPy_BEGIN_ALLOW_THREADS
;
1254 wxConfigBase_SetVendorName(_arg0
,*_arg1
);
1256 wxPy_END_ALLOW_THREADS
;
1257 } Py_INCREF(Py_None
);
1258 _resultobj
= Py_None
;
1266 #define wxConfigBase_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1267 static PyObject
*_wrap_wxConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1268 PyObject
* _resultobj
;
1269 wxConfigBase
* _arg0
;
1271 PyObject
* _argo0
= 0;
1272 char *_kwnames
[] = { "self","style", NULL
};
1275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetStyle. Expected _wxConfigBase_p.");
1285 wxPy_BEGIN_ALLOW_THREADS
;
1286 wxConfigBase_SetStyle(_arg0
,_arg1
);
1288 wxPy_END_ALLOW_THREADS
;
1289 } Py_INCREF(Py_None
);
1290 _resultobj
= Py_None
;
1294 #define wxConfigBase_GetStyle(_swigobj) (_swigobj->GetStyle())
1295 static PyObject
*_wrap_wxConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1296 PyObject
* _resultobj
;
1298 wxConfigBase
* _arg0
;
1299 PyObject
* _argo0
= 0;
1300 char *_kwnames
[] = { "self", NULL
};
1303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetStyle",_kwnames
,&_argo0
))
1306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetStyle. Expected _wxConfigBase_p.");
1313 wxPy_BEGIN_ALLOW_THREADS
;
1314 _result
= (long )wxConfigBase_GetStyle(_arg0
);
1316 wxPy_END_ALLOW_THREADS
;
1317 } _resultobj
= Py_BuildValue("l",_result
);
1321 #define wxConfigBase_Write(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1322 static PyObject
*_wrap_wxConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1323 PyObject
* _resultobj
;
1325 wxConfigBase
* _arg0
;
1328 PyObject
* _argo0
= 0;
1329 PyObject
* _obj1
= 0;
1330 PyObject
* _obj2
= 0;
1331 char *_kwnames
[] = { "self","key","value", NULL
};
1334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_Write",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Write. Expected _wxConfigBase_p.");
1344 if (!PyString_Check(_obj1
)) {
1345 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1348 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1351 if (!PyString_Check(_obj2
)) {
1352 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1355 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1358 wxPy_BEGIN_ALLOW_THREADS
;
1359 _result
= (bool )wxConfigBase_Write(_arg0
,*_arg1
,*_arg2
);
1361 wxPy_END_ALLOW_THREADS
;
1362 } _resultobj
= Py_BuildValue("i",_result
);
1374 #define wxConfigBase_WriteInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1375 static PyObject
*_wrap_wxConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1376 PyObject
* _resultobj
;
1378 wxConfigBase
* _arg0
;
1381 PyObject
* _argo0
= 0;
1382 PyObject
* _obj1
= 0;
1383 char *_kwnames
[] = { "self","key","value", NULL
};
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxConfigBase_WriteInt",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteInt. Expected _wxConfigBase_p.");
1396 if (!PyString_Check(_obj1
)) {
1397 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1400 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1403 wxPy_BEGIN_ALLOW_THREADS
;
1404 _result
= (bool )wxConfigBase_WriteInt(_arg0
,*_arg1
,_arg2
);
1406 wxPy_END_ALLOW_THREADS
;
1407 } _resultobj
= Py_BuildValue("i",_result
);
1415 #define wxConfigBase_WriteFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1416 static PyObject
*_wrap_wxConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1417 PyObject
* _resultobj
;
1419 wxConfigBase
* _arg0
;
1422 PyObject
* _argo0
= 0;
1423 PyObject
* _obj1
= 0;
1424 char *_kwnames
[] = { "self","key","value", NULL
};
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOd:wxConfigBase_WriteFloat",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteFloat. Expected _wxConfigBase_p.");
1437 if (!PyString_Check(_obj1
)) {
1438 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1441 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1444 wxPy_BEGIN_ALLOW_THREADS
;
1445 _result
= (bool )wxConfigBase_WriteFloat(_arg0
,*_arg1
,_arg2
);
1447 wxPy_END_ALLOW_THREADS
;
1448 } _resultobj
= Py_BuildValue("i",_result
);
1456 #define wxConfigBase_GetEntryType(_swigobj,_swigarg0) (_swigobj->GetEntryType(_swigarg0))
1457 static PyObject
*_wrap_wxConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1458 PyObject
* _resultobj
;
1459 wxConfigBase::EntryType _result
;
1460 wxConfigBase
* _arg0
;
1462 PyObject
* _argo0
= 0;
1463 PyObject
* _obj1
= 0;
1464 char *_kwnames
[] = { "self","name", NULL
};
1467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_GetEntryType",_kwnames
,&_argo0
,&_obj1
))
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_GetEntryType. Expected _wxConfigBase_p.");
1477 if (!PyString_Check(_obj1
)) {
1478 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1481 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1484 wxPy_BEGIN_ALLOW_THREADS
;
1485 _result
= (wxConfigBase::EntryType
)wxConfigBase_GetEntryType(_arg0
,*_arg1
);
1487 wxPy_END_ALLOW_THREADS
;
1488 } _resultobj
= Py_BuildValue("i",_result
);
1496 #define wxConfigBase_RenameEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameEntry(_swigarg0,_swigarg1))
1497 static PyObject
*_wrap_wxConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
* _resultobj
;
1500 wxConfigBase
* _arg0
;
1503 PyObject
* _argo0
= 0;
1504 PyObject
* _obj1
= 0;
1505 PyObject
* _obj2
= 0;
1506 char *_kwnames
[] = { "self","oldName","newName", NULL
};
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_RenameEntry",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_RenameEntry. Expected _wxConfigBase_p.");
1519 if (!PyString_Check(_obj1
)) {
1520 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1523 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1526 if (!PyString_Check(_obj2
)) {
1527 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1530 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1533 wxPy_BEGIN_ALLOW_THREADS
;
1534 _result
= (bool )wxConfigBase_RenameEntry(_arg0
,*_arg1
,*_arg2
);
1536 wxPy_END_ALLOW_THREADS
;
1537 } _resultobj
= Py_BuildValue("i",_result
);
1549 #define wxConfigBase_RenameGroup(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameGroup(_swigarg0,_swigarg1))
1550 static PyObject
*_wrap_wxConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1551 PyObject
* _resultobj
;
1553 wxConfigBase
* _arg0
;
1556 PyObject
* _argo0
= 0;
1557 PyObject
* _obj1
= 0;
1558 PyObject
* _obj2
= 0;
1559 char *_kwnames
[] = { "self","oldName","newName", NULL
};
1562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_RenameGroup",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_RenameGroup. Expected _wxConfigBase_p.");
1572 if (!PyString_Check(_obj1
)) {
1573 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1576 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1579 if (!PyString_Check(_obj2
)) {
1580 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1583 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1586 wxPy_BEGIN_ALLOW_THREADS
;
1587 _result
= (bool )wxConfigBase_RenameGroup(_arg0
,*_arg1
,*_arg2
);
1589 wxPy_END_ALLOW_THREADS
;
1590 } _resultobj
= Py_BuildValue("i",_result
);
1602 #define wxConfigBase_ExpandEnvVars(_swigobj,_swigarg0) (_swigobj->ExpandEnvVars(_swigarg0))
1603 static PyObject
*_wrap_wxConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1604 PyObject
* _resultobj
;
1606 wxConfigBase
* _arg0
;
1608 PyObject
* _argo0
= 0;
1609 PyObject
* _obj1
= 0;
1610 char *_kwnames
[] = { "self","str", NULL
};
1613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_ExpandEnvVars",_kwnames
,&_argo0
,&_obj1
))
1616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ExpandEnvVars. Expected _wxConfigBase_p.");
1623 if (!PyString_Check(_obj1
)) {
1624 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1627 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1630 wxPy_BEGIN_ALLOW_THREADS
;
1631 _result
= new wxString (wxConfigBase_ExpandEnvVars(_arg0
,*_arg1
));
1633 wxPy_END_ALLOW_THREADS
;
1635 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1647 static void *SwigwxConfigTowxConfigBase(void *ptr
) {
1650 src
= (wxConfig
*) ptr
;
1651 dest
= (wxConfigBase
*) src
;
1652 return (void *) dest
;
1655 #define new_wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1656 static PyObject
*_wrap_new_wxConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
* _resultobj
;
1659 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
1660 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
1661 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
1662 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
1663 long _arg4
= (long ) 0;
1664 PyObject
* _obj0
= 0;
1665 PyObject
* _obj1
= 0;
1666 PyObject
* _obj2
= 0;
1667 PyObject
* _obj3
= 0;
1668 char *_kwnames
[] = { "appName","vendorName","localFilename","globalFilename","style", NULL
};
1672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOl:new_wxConfig",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
))
1676 if (!PyString_Check(_obj0
)) {
1677 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1680 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1684 if (!PyString_Check(_obj1
)) {
1685 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1688 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1692 if (!PyString_Check(_obj2
)) {
1693 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1696 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1700 if (!PyString_Check(_obj3
)) {
1701 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1704 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
1707 wxPy_BEGIN_ALLOW_THREADS
;
1708 _result
= (wxConfig
*)new_wxConfig(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
1710 wxPy_END_ALLOW_THREADS
;
1712 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfig_p");
1713 _resultobj
= Py_BuildValue("s",_ptemp
);
1716 _resultobj
= Py_None
;
1737 #define delete_wxConfig(_swigobj) (delete _swigobj)
1738 static PyObject
*_wrap_delete_wxConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1739 PyObject
* _resultobj
;
1741 PyObject
* _argo0
= 0;
1742 char *_kwnames
[] = { "self", NULL
};
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxConfig",_kwnames
,&_argo0
))
1748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfig_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxConfig. Expected _wxConfig_p.");
1755 wxPy_BEGIN_ALLOW_THREADS
;
1756 delete_wxConfig(_arg0
);
1758 wxPy_END_ALLOW_THREADS
;
1759 } Py_INCREF(Py_None
);
1760 _resultobj
= Py_None
;
1764 static void *SwigwxFileConfigTowxConfigBase(void *ptr
) {
1767 src
= (wxFileConfig
*) ptr
;
1768 dest
= (wxConfigBase
*) src
;
1769 return (void *) dest
;
1772 #define new_wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1773 static PyObject
*_wrap_new_wxFileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1774 PyObject
* _resultobj
;
1775 wxFileConfig
* _result
;
1776 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
1777 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
1778 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
1779 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
1780 long _arg4
= (long ) 0;
1781 PyObject
* _obj0
= 0;
1782 PyObject
* _obj1
= 0;
1783 PyObject
* _obj2
= 0;
1784 PyObject
* _obj3
= 0;
1785 char *_kwnames
[] = { "appName","vendorName","localFilename","globalFilename","style", NULL
};
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOl:new_wxFileConfig",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
))
1793 if (!PyString_Check(_obj0
)) {
1794 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1797 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1801 if (!PyString_Check(_obj1
)) {
1802 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1805 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1809 if (!PyString_Check(_obj2
)) {
1810 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1813 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1817 if (!PyString_Check(_obj3
)) {
1818 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1821 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
1824 wxPy_BEGIN_ALLOW_THREADS
;
1825 _result
= (wxFileConfig
*)new_wxFileConfig(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
1827 wxPy_END_ALLOW_THREADS
;
1829 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileConfig_p");
1830 _resultobj
= Py_BuildValue("s",_ptemp
);
1833 _resultobj
= Py_None
;
1854 #define delete_wxFileConfig(_swigobj) (delete _swigobj)
1855 static PyObject
*_wrap_delete_wxFileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1856 PyObject
* _resultobj
;
1857 wxFileConfig
* _arg0
;
1858 PyObject
* _argo0
= 0;
1859 char *_kwnames
[] = { "self", NULL
};
1862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileConfig",_kwnames
,&_argo0
))
1865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileConfig_p")) {
1867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileConfig. Expected _wxFileConfig_p.");
1872 wxPy_BEGIN_ALLOW_THREADS
;
1873 delete_wxFileConfig(_arg0
);
1875 wxPy_END_ALLOW_THREADS
;
1876 } Py_INCREF(Py_None
);
1877 _resultobj
= Py_None
;
1881 static PyObject
*_wrap_wxDateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
* _resultobj
;
1883 wxDateTime::Country _arg0
;
1884 char *_kwnames
[] = { "country", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateTime_SetCountry",_kwnames
,&_arg0
))
1890 wxPy_BEGIN_ALLOW_THREADS
;
1891 wxDateTime::SetCountry(_arg0
);
1893 wxPy_END_ALLOW_THREADS
;
1894 } Py_INCREF(Py_None
);
1895 _resultobj
= Py_None
;
1899 static PyObject
*_wrap_wxDateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
* _resultobj
;
1901 wxDateTime::Country _result
;
1902 char *_kwnames
[] = { NULL
};
1905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_GetCountry",_kwnames
))
1908 wxPy_BEGIN_ALLOW_THREADS
;
1909 _result
= (wxDateTime::Country
)wxDateTime::GetCountry();
1911 wxPy_END_ALLOW_THREADS
;
1912 } _resultobj
= Py_BuildValue("i",_result
);
1916 static PyObject
*_wrap_wxDateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1917 PyObject
* _resultobj
;
1919 wxDateTime::Country _arg0
= (wxDateTime::Country
) wxDateTime::Country_Default
;
1920 char *_kwnames
[] = { "country", NULL
};
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_IsWestEuropeanCountry",_kwnames
,&_arg0
))
1926 wxPy_BEGIN_ALLOW_THREADS
;
1927 _result
= (bool )wxDateTime::IsWestEuropeanCountry(_arg0
);
1929 wxPy_END_ALLOW_THREADS
;
1930 } _resultobj
= Py_BuildValue("i",_result
);
1934 static PyObject
*_wrap_wxDateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
* _resultobj
;
1937 wxDateTime::Calendar _arg0
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
1938 char *_kwnames
[] = { "cal", NULL
};
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCurrentYear",_kwnames
,&_arg0
))
1944 wxPy_BEGIN_ALLOW_THREADS
;
1945 _result
= (int )wxDateTime::GetCurrentYear(_arg0
);
1947 wxPy_END_ALLOW_THREADS
;
1948 } _resultobj
= Py_BuildValue("i",_result
);
1952 static PyObject
*_wrap_wxDateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1953 PyObject
* _resultobj
;
1956 char *_kwnames
[] = { "year", NULL
};
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateTime_ConvertYearToBC",_kwnames
,&_arg0
))
1962 wxPy_BEGIN_ALLOW_THREADS
;
1963 _result
= (int )wxDateTime::ConvertYearToBC(_arg0
);
1965 wxPy_END_ALLOW_THREADS
;
1966 } _resultobj
= Py_BuildValue("i",_result
);
1970 static PyObject
*_wrap_wxDateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1971 PyObject
* _resultobj
;
1972 wxDateTime::Month _result
;
1973 wxDateTime::Calendar _arg0
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
1974 char *_kwnames
[] = { "cal", NULL
};
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCurrentMonth",_kwnames
,&_arg0
))
1980 wxPy_BEGIN_ALLOW_THREADS
;
1981 _result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(_arg0
);
1983 wxPy_END_ALLOW_THREADS
;
1984 } _resultobj
= Py_BuildValue("i",_result
);
1988 static PyObject
*_wrap_wxDateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
* _resultobj
;
1991 int _arg0
= (int ) wxDateTime::Inv_Year
;
1992 wxDateTime::Calendar _arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
1993 char *_kwnames
[] = { "year","cal", NULL
};
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_IsLeapYear",_kwnames
,&_arg0
,&_arg1
))
1999 wxPy_BEGIN_ALLOW_THREADS
;
2000 _result
= (bool )wxDateTime::IsLeapYear(_arg0
,_arg1
);
2002 wxPy_END_ALLOW_THREADS
;
2003 } _resultobj
= Py_BuildValue("i",_result
);
2007 static PyObject
*_wrap_wxDateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2008 PyObject
* _resultobj
;
2010 int _arg0
= (int ) wxDateTime::Inv_Year
;
2011 char *_kwnames
[] = { "year", NULL
};
2014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCentury",_kwnames
,&_arg0
))
2017 wxPy_BEGIN_ALLOW_THREADS
;
2018 _result
= (int )wxDateTime::GetCentury(_arg0
);
2020 wxPy_END_ALLOW_THREADS
;
2021 } _resultobj
= Py_BuildValue("i",_result
);
2025 static PyObject
*_wrap_wxDateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
* _resultobj
;
2027 wxDateTime::wxDateTime_t _result
;
2029 wxDateTime::Calendar _arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2030 char *_kwnames
[] = { "year","cal", NULL
};
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetNumberOfDaysinYear",_kwnames
,&_arg0
,&_arg1
))
2036 wxPy_BEGIN_ALLOW_THREADS
;
2037 _result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(_arg0
,_arg1
);
2039 wxPy_END_ALLOW_THREADS
;
2040 } _resultobj
= Py_BuildValue("h",_result
);
2044 static PyObject
*_wrap_wxDateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
* _resultobj
;
2046 wxDateTime::wxDateTime_t _result
;
2047 wxDateTime::Month _arg0
;
2048 int _arg1
= (int ) wxDateTime::Inv_Year
;
2049 wxDateTime::Calendar _arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2050 char *_kwnames
[] = { "month","year","cal", NULL
};
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|ii:wxDateTime_GetNumberOfDaysInMonth",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2056 wxPy_BEGIN_ALLOW_THREADS
;
2057 _result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(_arg0
,_arg1
,_arg2
);
2059 wxPy_END_ALLOW_THREADS
;
2060 } _resultobj
= Py_BuildValue("h",_result
);
2064 static PyObject
*_wrap_wxDateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
* _resultobj
;
2067 wxDateTime::Month _arg0
;
2068 wxDateTime::NameFlags _arg1
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
2069 char *_kwnames
[] = { "month","flags", NULL
};
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetMonthName",_kwnames
,&_arg0
,&_arg1
))
2075 wxPy_BEGIN_ALLOW_THREADS
;
2076 _result
= new wxString (wxDateTime::GetMonthName(_arg0
,_arg1
));
2078 wxPy_END_ALLOW_THREADS
;
2080 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2088 static PyObject
*_wrap_wxDateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2089 PyObject
* _resultobj
;
2091 wxDateTime::WeekDay _arg0
;
2092 wxDateTime::NameFlags _arg1
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
2093 char *_kwnames
[] = { "weekday","flags", NULL
};
2096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetWeekDayName",_kwnames
,&_arg0
,&_arg1
))
2099 wxPy_BEGIN_ALLOW_THREADS
;
2100 _result
= new wxString (wxDateTime::GetWeekDayName(_arg0
,_arg1
));
2102 wxPy_END_ALLOW_THREADS
;
2104 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2112 static PyObject
*_wrap_wxDateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2113 PyObject
* _resultobj
;
2116 PyObject
* _obj0
= 0;
2117 PyObject
* _obj1
= 0;
2118 char *_kwnames
[] = { "OUTPUT","OUTPUT", NULL
};
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_GetAmPmStrings",_kwnames
,&_obj0
,&_obj1
))
2124 if (!PyString_Check(_obj0
)) {
2125 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2128 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
2131 if (!PyString_Check(_obj1
)) {
2132 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2135 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2138 wxPy_BEGIN_ALLOW_THREADS
;
2139 wxDateTime::GetAmPmStrings(_arg0
,_arg1
);
2141 wxPy_END_ALLOW_THREADS
;
2142 } Py_INCREF(Py_None
);
2143 _resultobj
= Py_None
;
2155 static PyObject
*_wrap_wxDateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2156 PyObject
* _resultobj
;
2158 int _arg0
= (int ) wxDateTime::Inv_Year
;
2159 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2160 char *_kwnames
[] = { "year","country", NULL
};
2163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_IsDSTApplicable",_kwnames
,&_arg0
,&_arg1
))
2166 wxPy_BEGIN_ALLOW_THREADS
;
2167 _result
= (bool )wxDateTime::IsDSTApplicable(_arg0
,_arg1
);
2169 wxPy_END_ALLOW_THREADS
;
2170 } _resultobj
= Py_BuildValue("i",_result
);
2174 static PyObject
*_wrap_wxDateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2175 PyObject
* _resultobj
;
2176 wxDateTime
* _result
;
2177 int _arg0
= (int ) wxDateTime::Inv_Year
;
2178 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2179 char *_kwnames
[] = { "year","country", NULL
};
2183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_GetBeginDST",_kwnames
,&_arg0
,&_arg1
))
2186 wxPy_BEGIN_ALLOW_THREADS
;
2187 _result
= new wxDateTime (wxDateTime::GetBeginDST(_arg0
,_arg1
));
2189 wxPy_END_ALLOW_THREADS
;
2190 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2191 _resultobj
= Py_BuildValue("s",_ptemp
);
2195 static PyObject
*_wrap_wxDateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2196 PyObject
* _resultobj
;
2197 wxDateTime
* _result
;
2198 int _arg0
= (int ) wxDateTime::Inv_Year
;
2199 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2200 char *_kwnames
[] = { "year","country", NULL
};
2204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_GetEndDST",_kwnames
,&_arg0
,&_arg1
))
2207 wxPy_BEGIN_ALLOW_THREADS
;
2208 _result
= new wxDateTime (wxDateTime::GetEndDST(_arg0
,_arg1
));
2210 wxPy_END_ALLOW_THREADS
;
2211 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2212 _resultobj
= Py_BuildValue("s",_ptemp
);
2216 static PyObject
*_wrap_wxDateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
* _resultobj
;
2218 wxDateTime
* _result
;
2219 char *_kwnames
[] = { NULL
};
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_Now",_kwnames
))
2226 wxPy_BEGIN_ALLOW_THREADS
;
2227 _result
= new wxDateTime (wxDateTime::Now());
2229 wxPy_END_ALLOW_THREADS
;
2230 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2231 _resultobj
= Py_BuildValue("s",_ptemp
);
2235 static PyObject
*_wrap_wxDateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2236 PyObject
* _resultobj
;
2237 wxDateTime
* _result
;
2238 char *_kwnames
[] = { NULL
};
2242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_Today",_kwnames
))
2245 wxPy_BEGIN_ALLOW_THREADS
;
2246 _result
= new wxDateTime (wxDateTime::Today());
2248 wxPy_END_ALLOW_THREADS
;
2249 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2250 _resultobj
= Py_BuildValue("s",_ptemp
);
2254 #define new_wxDateTime() (new wxDateTime())
2255 static PyObject
*_wrap_new_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
* _resultobj
;
2257 wxDateTime
* _result
;
2258 char *_kwnames
[] = { NULL
};
2262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDateTime",_kwnames
))
2265 wxPy_BEGIN_ALLOW_THREADS
;
2266 _result
= (wxDateTime
*)new_wxDateTime();
2268 wxPy_END_ALLOW_THREADS
;
2270 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2271 _resultobj
= Py_BuildValue("s",_ptemp
);
2274 _resultobj
= Py_None
;
2279 #define new_wxDateTimeFromTimeT(_swigarg0) (new wxDateTime(_swigarg0))
2280 static PyObject
*_wrap_new_wxDateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2281 PyObject
* _resultobj
;
2282 wxDateTime
* _result
;
2284 PyObject
* _argo0
= 0;
2285 char *_kwnames
[] = { "timet", NULL
};
2289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxDateTimeFromTimeT",_kwnames
,&_argo0
))
2292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_time_t_p")) {
2294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDateTimeFromTimeT. Expected _time_t_p.");
2299 wxPy_BEGIN_ALLOW_THREADS
;
2300 _result
= (wxDateTime
*)new_wxDateTimeFromTimeT(*_arg0
);
2302 wxPy_END_ALLOW_THREADS
;
2304 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2305 _resultobj
= Py_BuildValue("s",_ptemp
);
2308 _resultobj
= Py_None
;
2313 #define new_wxDateTimeFromJDN(_swigarg0) (new wxDateTime(_swigarg0))
2314 static PyObject
*_wrap_new_wxDateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2315 PyObject
* _resultobj
;
2316 wxDateTime
* _result
;
2318 char *_kwnames
[] = { "jdn", NULL
};
2322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"d:new_wxDateTimeFromJDN",_kwnames
,&_arg0
))
2325 wxPy_BEGIN_ALLOW_THREADS
;
2326 _result
= (wxDateTime
*)new_wxDateTimeFromJDN(_arg0
);
2328 wxPy_END_ALLOW_THREADS
;
2330 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2331 _resultobj
= Py_BuildValue("s",_ptemp
);
2334 _resultobj
= Py_None
;
2339 #define new_wxDateTimeFromHMS(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2340 static PyObject
*_wrap_new_wxDateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
* _resultobj
;
2342 wxDateTime
* _result
;
2343 wxDateTime::wxDateTime_t _arg0
;
2344 wxDateTime::wxDateTime_t _arg1
= (wxDateTime::wxDateTime_t
) 0;
2345 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
2346 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2347 char *_kwnames
[] = { "hour","minute","second","millisec", NULL
};
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|hhh:new_wxDateTimeFromHMS",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2354 wxPy_BEGIN_ALLOW_THREADS
;
2355 _result
= (wxDateTime
*)new_wxDateTimeFromHMS(_arg0
,_arg1
,_arg2
,_arg3
);
2357 wxPy_END_ALLOW_THREADS
;
2359 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2360 _resultobj
= Py_BuildValue("s",_ptemp
);
2363 _resultobj
= Py_None
;
2368 #define new_wxDateTimeFromDMY(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2369 static PyObject
*_wrap_new_wxDateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
* _resultobj
;
2371 wxDateTime
* _result
;
2372 wxDateTime::wxDateTime_t _arg0
;
2373 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
2374 int _arg2
= (int ) wxDateTime::Inv_Year
;
2375 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2376 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2377 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
2378 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
2379 char *_kwnames
[] = { "day","month","year","hour","minute","second","millisec", NULL
};
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|iihhhh:new_wxDateTimeFromDMY",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2386 wxPy_BEGIN_ALLOW_THREADS
;
2387 _result
= (wxDateTime
*)new_wxDateTimeFromDMY(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2389 wxPy_END_ALLOW_THREADS
;
2391 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2392 _resultobj
= Py_BuildValue("s",_ptemp
);
2395 _resultobj
= Py_None
;
2400 #define delete_wxDateTime(_swigobj) (delete _swigobj)
2401 static PyObject
*_wrap_delete_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2402 PyObject
* _resultobj
;
2404 PyObject
* _argo0
= 0;
2405 char *_kwnames
[] = { "self", NULL
};
2408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateTime",_kwnames
,&_argo0
))
2411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateTime. Expected _wxDateTime_p.");
2418 wxPy_BEGIN_ALLOW_THREADS
;
2419 delete_wxDateTime(_arg0
);
2421 wxPy_END_ALLOW_THREADS
;
2422 } Py_INCREF(Py_None
);
2423 _resultobj
= Py_None
;
2427 #define wxDateTime_SetToCurrent(_swigobj) (_swigobj->SetToCurrent())
2428 static PyObject
*_wrap_wxDateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2429 PyObject
* _resultobj
;
2430 wxDateTime
* _result
;
2432 PyObject
* _argo0
= 0;
2433 char *_kwnames
[] = { "self", NULL
};
2437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_SetToCurrent",_kwnames
,&_argo0
))
2440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToCurrent. Expected _wxDateTime_p.");
2447 wxPy_BEGIN_ALLOW_THREADS
;
2448 wxDateTime
& _result_ref
= wxDateTime_SetToCurrent(_arg0
);
2449 _result
= (wxDateTime
*) &_result_ref
;
2451 wxPy_END_ALLOW_THREADS
;
2453 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2454 _resultobj
= Py_BuildValue("s",_ptemp
);
2457 _resultobj
= Py_None
;
2462 #define wxDateTime_SetTimeT(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2463 static PyObject
*_wrap_wxDateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
* _resultobj
;
2465 wxDateTime
* _result
;
2468 PyObject
* _argo0
= 0;
2469 PyObject
* _argo1
= 0;
2470 char *_kwnames
[] = { "self","timet", NULL
};
2474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SetTimeT",_kwnames
,&_argo0
,&_argo1
))
2477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetTimeT. Expected _wxDateTime_p.");
2484 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2485 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_time_t_p")) {
2486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SetTimeT. Expected _time_t_p.");
2491 wxPy_BEGIN_ALLOW_THREADS
;
2492 wxDateTime
& _result_ref
= wxDateTime_SetTimeT(_arg0
,*_arg1
);
2493 _result
= (wxDateTime
*) &_result_ref
;
2495 wxPy_END_ALLOW_THREADS
;
2497 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2498 _resultobj
= Py_BuildValue("s",_ptemp
);
2501 _resultobj
= Py_None
;
2506 #define wxDateTime_SetJDN(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2507 static PyObject
*_wrap_wxDateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
* _resultobj
;
2509 wxDateTime
* _result
;
2512 PyObject
* _argo0
= 0;
2513 char *_kwnames
[] = { "self","jdn", NULL
};
2517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxDateTime_SetJDN",_kwnames
,&_argo0
,&_arg1
))
2520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetJDN. Expected _wxDateTime_p.");
2527 wxPy_BEGIN_ALLOW_THREADS
;
2528 wxDateTime
& _result_ref
= wxDateTime_SetJDN(_arg0
,_arg1
);
2529 _result
= (wxDateTime
*) &_result_ref
;
2531 wxPy_END_ALLOW_THREADS
;
2533 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2534 _resultobj
= Py_BuildValue("s",_ptemp
);
2537 _resultobj
= Py_None
;
2542 #define wxDateTime_SetHMS(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2543 static PyObject
*_wrap_wxDateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2544 PyObject
* _resultobj
;
2545 wxDateTime
* _result
;
2547 wxDateTime::wxDateTime_t _arg1
;
2548 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
2549 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2550 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2551 PyObject
* _argo0
= 0;
2552 char *_kwnames
[] = { "self","hour","minute","second","millisec", NULL
};
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|hhh:wxDateTime_SetHMS",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHMS. Expected _wxDateTime_p.");
2566 wxPy_BEGIN_ALLOW_THREADS
;
2567 wxDateTime
& _result_ref
= wxDateTime_SetHMS(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2568 _result
= (wxDateTime
*) &_result_ref
;
2570 wxPy_END_ALLOW_THREADS
;
2572 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2573 _resultobj
= Py_BuildValue("s",_ptemp
);
2576 _resultobj
= Py_None
;
2581 #define wxDateTime_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2582 static PyObject
*_wrap_wxDateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
* _resultobj
;
2584 wxDateTime
* _result
;
2586 wxDateTime::wxDateTime_t _arg1
;
2587 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
2588 int _arg3
= (int ) wxDateTime::Inv_Year
;
2589 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2590 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
2591 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
2592 wxDateTime::wxDateTime_t _arg7
= (wxDateTime::wxDateTime_t
) 0;
2593 PyObject
* _argo0
= 0;
2594 char *_kwnames
[] = { "self","day","month","year","hour","minute","second","millisec", NULL
};
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|iihhhh:wxDateTime_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
2601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Set. Expected _wxDateTime_p.");
2608 wxPy_BEGIN_ALLOW_THREADS
;
2609 wxDateTime
& _result_ref
= wxDateTime_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
2610 _result
= (wxDateTime
*) &_result_ref
;
2612 wxPy_END_ALLOW_THREADS
;
2614 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2615 _resultobj
= Py_BuildValue("s",_ptemp
);
2618 _resultobj
= Py_None
;
2623 #define wxDateTime_ResetTime(_swigobj) (_swigobj->ResetTime())
2624 static PyObject
*_wrap_wxDateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2625 PyObject
* _resultobj
;
2626 wxDateTime
* _result
;
2628 PyObject
* _argo0
= 0;
2629 char *_kwnames
[] = { "self", NULL
};
2633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_ResetTime",_kwnames
,&_argo0
))
2636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ResetTime. Expected _wxDateTime_p.");
2643 wxPy_BEGIN_ALLOW_THREADS
;
2644 wxDateTime
& _result_ref
= wxDateTime_ResetTime(_arg0
);
2645 _result
= (wxDateTime
*) &_result_ref
;
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 wxDateTime_SetYear(_swigobj,_swigarg0) (_swigobj->SetYear(_swigarg0))
2659 static PyObject
*_wrap_wxDateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
* _resultobj
;
2661 wxDateTime
* _result
;
2664 PyObject
* _argo0
= 0;
2665 char *_kwnames
[] = { "self","year", NULL
};
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetYear",_kwnames
,&_argo0
,&_arg1
))
2672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetYear. Expected _wxDateTime_p.");
2679 wxPy_BEGIN_ALLOW_THREADS
;
2680 wxDateTime
& _result_ref
= wxDateTime_SetYear(_arg0
,_arg1
);
2681 _result
= (wxDateTime
*) &_result_ref
;
2683 wxPy_END_ALLOW_THREADS
;
2685 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2686 _resultobj
= Py_BuildValue("s",_ptemp
);
2689 _resultobj
= Py_None
;
2694 #define wxDateTime_SetMonth(_swigobj,_swigarg0) (_swigobj->SetMonth(_swigarg0))
2695 static PyObject
*_wrap_wxDateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2696 PyObject
* _resultobj
;
2697 wxDateTime
* _result
;
2699 wxDateTime::Month _arg1
;
2700 PyObject
* _argo0
= 0;
2701 char *_kwnames
[] = { "self","month", NULL
};
2705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetMonth",_kwnames
,&_argo0
,&_arg1
))
2708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMonth. Expected _wxDateTime_p.");
2715 wxPy_BEGIN_ALLOW_THREADS
;
2716 wxDateTime
& _result_ref
= wxDateTime_SetMonth(_arg0
,_arg1
);
2717 _result
= (wxDateTime
*) &_result_ref
;
2719 wxPy_END_ALLOW_THREADS
;
2721 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2722 _resultobj
= Py_BuildValue("s",_ptemp
);
2725 _resultobj
= Py_None
;
2730 #define wxDateTime_SetDay(_swigobj,_swigarg0) (_swigobj->SetDay(_swigarg0))
2731 static PyObject
*_wrap_wxDateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
* _resultobj
;
2733 wxDateTime
* _result
;
2735 wxDateTime::wxDateTime_t _arg1
;
2736 PyObject
* _argo0
= 0;
2737 char *_kwnames
[] = { "self","day", NULL
};
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetDay",_kwnames
,&_argo0
,&_arg1
))
2744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetDay. Expected _wxDateTime_p.");
2751 wxPy_BEGIN_ALLOW_THREADS
;
2752 wxDateTime
& _result_ref
= wxDateTime_SetDay(_arg0
,_arg1
);
2753 _result
= (wxDateTime
*) &_result_ref
;
2755 wxPy_END_ALLOW_THREADS
;
2757 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2758 _resultobj
= Py_BuildValue("s",_ptemp
);
2761 _resultobj
= Py_None
;
2766 #define wxDateTime_SetHour(_swigobj,_swigarg0) (_swigobj->SetHour(_swigarg0))
2767 static PyObject
*_wrap_wxDateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
* _resultobj
;
2769 wxDateTime
* _result
;
2771 wxDateTime::wxDateTime_t _arg1
;
2772 PyObject
* _argo0
= 0;
2773 char *_kwnames
[] = { "self","hour", NULL
};
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetHour",_kwnames
,&_argo0
,&_arg1
))
2780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHour. Expected _wxDateTime_p.");
2787 wxPy_BEGIN_ALLOW_THREADS
;
2788 wxDateTime
& _result_ref
= wxDateTime_SetHour(_arg0
,_arg1
);
2789 _result
= (wxDateTime
*) &_result_ref
;
2791 wxPy_END_ALLOW_THREADS
;
2793 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2794 _resultobj
= Py_BuildValue("s",_ptemp
);
2797 _resultobj
= Py_None
;
2802 #define wxDateTime_SetMinute(_swigobj,_swigarg0) (_swigobj->SetMinute(_swigarg0))
2803 static PyObject
*_wrap_wxDateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2804 PyObject
* _resultobj
;
2805 wxDateTime
* _result
;
2807 wxDateTime::wxDateTime_t _arg1
;
2808 PyObject
* _argo0
= 0;
2809 char *_kwnames
[] = { "self","minute", NULL
};
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMinute",_kwnames
,&_argo0
,&_arg1
))
2816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMinute. Expected _wxDateTime_p.");
2823 wxPy_BEGIN_ALLOW_THREADS
;
2824 wxDateTime
& _result_ref
= wxDateTime_SetMinute(_arg0
,_arg1
);
2825 _result
= (wxDateTime
*) &_result_ref
;
2827 wxPy_END_ALLOW_THREADS
;
2829 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2830 _resultobj
= Py_BuildValue("s",_ptemp
);
2833 _resultobj
= Py_None
;
2838 #define wxDateTime_SetSecond(_swigobj,_swigarg0) (_swigobj->SetSecond(_swigarg0))
2839 static PyObject
*_wrap_wxDateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
* _resultobj
;
2841 wxDateTime
* _result
;
2843 wxDateTime::wxDateTime_t _arg1
;
2844 PyObject
* _argo0
= 0;
2845 char *_kwnames
[] = { "self","second", NULL
};
2849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetSecond",_kwnames
,&_argo0
,&_arg1
))
2852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetSecond. Expected _wxDateTime_p.");
2859 wxPy_BEGIN_ALLOW_THREADS
;
2860 wxDateTime
& _result_ref
= wxDateTime_SetSecond(_arg0
,_arg1
);
2861 _result
= (wxDateTime
*) &_result_ref
;
2863 wxPy_END_ALLOW_THREADS
;
2865 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2866 _resultobj
= Py_BuildValue("s",_ptemp
);
2869 _resultobj
= Py_None
;
2874 #define wxDateTime_SetMillisecond(_swigobj,_swigarg0) (_swigobj->SetMillisecond(_swigarg0))
2875 static PyObject
*_wrap_wxDateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2876 PyObject
* _resultobj
;
2877 wxDateTime
* _result
;
2879 wxDateTime::wxDateTime_t _arg1
;
2880 PyObject
* _argo0
= 0;
2881 char *_kwnames
[] = { "self","millisecond", NULL
};
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMillisecond",_kwnames
,&_argo0
,&_arg1
))
2888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMillisecond. Expected _wxDateTime_p.");
2895 wxPy_BEGIN_ALLOW_THREADS
;
2896 wxDateTime
& _result_ref
= wxDateTime_SetMillisecond(_arg0
,_arg1
);
2897 _result
= (wxDateTime
*) &_result_ref
;
2899 wxPy_END_ALLOW_THREADS
;
2901 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2902 _resultobj
= Py_BuildValue("s",_ptemp
);
2905 _resultobj
= Py_None
;
2910 #define wxDateTime_SetToWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->SetToWeekDayInSameWeek(_swigarg0))
2911 static PyObject
*_wrap_wxDateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
* _resultobj
;
2913 wxDateTime
* _result
;
2915 wxDateTime::WeekDay _arg1
;
2916 PyObject
* _argo0
= 0;
2917 char *_kwnames
[] = { "self","weekday", NULL
};
2921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
))
2924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDayInSameWeek. Expected _wxDateTime_p.");
2931 wxPy_BEGIN_ALLOW_THREADS
;
2932 wxDateTime
& _result_ref
= wxDateTime_SetToWeekDayInSameWeek(_arg0
,_arg1
);
2933 _result
= (wxDateTime
*) &_result_ref
;
2935 wxPy_END_ALLOW_THREADS
;
2937 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2938 _resultobj
= Py_BuildValue("s",_ptemp
);
2941 _resultobj
= Py_None
;
2946 #define wxDateTime_GetWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->GetWeekDayInSameWeek(_swigarg0))
2947 static PyObject
*_wrap_wxDateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2948 PyObject
* _resultobj
;
2949 wxDateTime
* _result
;
2951 wxDateTime::WeekDay _arg1
;
2952 PyObject
* _argo0
= 0;
2953 char *_kwnames
[] = { "self","weekday", NULL
};
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
))
2960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDayInSameWeek. Expected _wxDateTime_p.");
2967 wxPy_BEGIN_ALLOW_THREADS
;
2968 _result
= new wxDateTime (wxDateTime_GetWeekDayInSameWeek(_arg0
,_arg1
));
2970 wxPy_END_ALLOW_THREADS
;
2971 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2972 _resultobj
= Py_BuildValue("s",_ptemp
);
2976 #define wxDateTime_SetToNextWeekDay(_swigobj,_swigarg0) (_swigobj->SetToNextWeekDay(_swigarg0))
2977 static PyObject
*_wrap_wxDateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2978 PyObject
* _resultobj
;
2979 wxDateTime
* _result
;
2981 wxDateTime::WeekDay _arg1
;
2982 PyObject
* _argo0
= 0;
2983 char *_kwnames
[] = { "self","weekday", NULL
};
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
2990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToNextWeekDay. Expected _wxDateTime_p.");
2997 wxPy_BEGIN_ALLOW_THREADS
;
2998 wxDateTime
& _result_ref
= wxDateTime_SetToNextWeekDay(_arg0
,_arg1
);
2999 _result
= (wxDateTime
*) &_result_ref
;
3001 wxPy_END_ALLOW_THREADS
;
3003 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3004 _resultobj
= Py_BuildValue("s",_ptemp
);
3007 _resultobj
= Py_None
;
3012 #define wxDateTime_GetNextWeekDay(_swigobj,_swigarg0) (_swigobj->GetNextWeekDay(_swigarg0))
3013 static PyObject
*_wrap_wxDateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
* _resultobj
;
3015 wxDateTime
* _result
;
3017 wxDateTime::WeekDay _arg1
;
3018 PyObject
* _argo0
= 0;
3019 char *_kwnames
[] = { "self","weekday", NULL
};
3023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
3026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetNextWeekDay. Expected _wxDateTime_p.");
3033 wxPy_BEGIN_ALLOW_THREADS
;
3034 _result
= new wxDateTime (wxDateTime_GetNextWeekDay(_arg0
,_arg1
));
3036 wxPy_END_ALLOW_THREADS
;
3037 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3038 _resultobj
= Py_BuildValue("s",_ptemp
);
3042 #define wxDateTime_SetToPrevWeekDay(_swigobj,_swigarg0) (_swigobj->SetToPrevWeekDay(_swigarg0))
3043 static PyObject
*_wrap_wxDateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3044 PyObject
* _resultobj
;
3045 wxDateTime
* _result
;
3047 wxDateTime::WeekDay _arg1
;
3048 PyObject
* _argo0
= 0;
3049 char *_kwnames
[] = { "self","weekday", NULL
};
3053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToPrevWeekDay. Expected _wxDateTime_p.");
3063 wxPy_BEGIN_ALLOW_THREADS
;
3064 wxDateTime
& _result_ref
= wxDateTime_SetToPrevWeekDay(_arg0
,_arg1
);
3065 _result
= (wxDateTime
*) &_result_ref
;
3067 wxPy_END_ALLOW_THREADS
;
3069 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3070 _resultobj
= Py_BuildValue("s",_ptemp
);
3073 _resultobj
= Py_None
;
3078 #define wxDateTime_GetPrevWeekDay(_swigobj,_swigarg0) (_swigobj->GetPrevWeekDay(_swigarg0))
3079 static PyObject
*_wrap_wxDateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3080 PyObject
* _resultobj
;
3081 wxDateTime
* _result
;
3083 wxDateTime::WeekDay _arg1
;
3084 PyObject
* _argo0
= 0;
3085 char *_kwnames
[] = { "self","weekday", NULL
};
3089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetPrevWeekDay. Expected _wxDateTime_p.");
3099 wxPy_BEGIN_ALLOW_THREADS
;
3100 _result
= new wxDateTime (wxDateTime_GetPrevWeekDay(_arg0
,_arg1
));
3102 wxPy_END_ALLOW_THREADS
;
3103 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3104 _resultobj
= Py_BuildValue("s",_ptemp
);
3108 #define wxDateTime_SetToWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetToWeekDay(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3109 static PyObject
*_wrap_wxDateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
* _resultobj
;
3113 wxDateTime::WeekDay _arg1
;
3114 int _arg2
= (int ) 1;
3115 wxDateTime::Month _arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3116 int _arg4
= (int ) wxDateTime::Inv_Year
;
3117 PyObject
* _argo0
= 0;
3118 char *_kwnames
[] = { "self","weekday","n","month","year", NULL
};
3121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iii:wxDateTime_SetToWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDay. Expected _wxDateTime_p.");
3131 wxPy_BEGIN_ALLOW_THREADS
;
3132 _result
= (bool )wxDateTime_SetToWeekDay(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3134 wxPy_END_ALLOW_THREADS
;
3135 } _resultobj
= Py_BuildValue("i",_result
);
3139 #define wxDateTime_GetWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetWeekDay(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3140 static PyObject
*_wrap_wxDateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
* _resultobj
;
3142 wxDateTime
* _result
;
3144 wxDateTime::WeekDay _arg1
;
3145 int _arg2
= (int ) 1;
3146 wxDateTime::Month _arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3147 int _arg4
= (int ) wxDateTime::Inv_Year
;
3148 PyObject
* _argo0
= 0;
3149 char *_kwnames
[] = { "self","weekday","n","month","year", NULL
};
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iii:wxDateTime_GetWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDay. Expected _wxDateTime_p.");
3163 wxPy_BEGIN_ALLOW_THREADS
;
3164 _result
= new wxDateTime (wxDateTime_GetWeekDay(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
));
3166 wxPy_END_ALLOW_THREADS
;
3167 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3168 _resultobj
= Py_BuildValue("s",_ptemp
);
3172 #define wxDateTime_SetToLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetToLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3173 static PyObject
*_wrap_wxDateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3174 PyObject
* _resultobj
;
3177 wxDateTime::WeekDay _arg1
;
3178 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3179 int _arg3
= (int ) wxDateTime::Inv_Year
;
3180 PyObject
* _argo0
= 0;
3181 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_SetToLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastWeekDay. Expected _wxDateTime_p.");
3194 wxPy_BEGIN_ALLOW_THREADS
;
3195 _result
= (bool )wxDateTime_SetToLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
);
3197 wxPy_END_ALLOW_THREADS
;
3198 } _resultobj
= Py_BuildValue("i",_result
);
3202 #define wxDateTime_GetLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3203 static PyObject
*_wrap_wxDateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
* _resultobj
;
3205 wxDateTime
* _result
;
3207 wxDateTime::WeekDay _arg1
;
3208 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3209 int _arg3
= (int ) wxDateTime::Inv_Year
;
3210 PyObject
* _argo0
= 0;
3211 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_GetLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastWeekDay. Expected _wxDateTime_p.");
3225 wxPy_BEGIN_ALLOW_THREADS
;
3226 _result
= new wxDateTime (wxDateTime_GetLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
));
3228 wxPy_END_ALLOW_THREADS
;
3229 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3230 _resultobj
= Py_BuildValue("s",_ptemp
);
3234 #define wxDateTime_SetToTheWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToTheWeek(_swigarg0,_swigarg1))
3235 static PyObject
*_wrap_wxDateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
* _resultobj
;
3239 wxDateTime::wxDateTime_t _arg1
;
3240 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3241 PyObject
* _argo0
= 0;
3242 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_SetToTheWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToTheWeek. Expected _wxDateTime_p.");
3255 wxPy_BEGIN_ALLOW_THREADS
;
3256 _result
= (bool )wxDateTime_SetToTheWeek(_arg0
,_arg1
,_arg2
);
3258 wxPy_END_ALLOW_THREADS
;
3259 } _resultobj
= Py_BuildValue("i",_result
);
3263 #define wxDateTime_GetWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeek(_swigarg0,_swigarg1))
3264 static PyObject
*_wrap_wxDateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
* _resultobj
;
3266 wxDateTime
* _result
;
3268 wxDateTime::wxDateTime_t _arg1
;
3269 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3270 PyObject
* _argo0
= 0;
3271 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_GetWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeek. Expected _wxDateTime_p.");
3285 wxPy_BEGIN_ALLOW_THREADS
;
3286 _result
= new wxDateTime (wxDateTime_GetWeek(_arg0
,_arg1
,_arg2
));
3288 wxPy_END_ALLOW_THREADS
;
3289 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3290 _resultobj
= Py_BuildValue("s",_ptemp
);
3294 #define wxDateTime_SetToLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToLastMonthDay(_swigarg0,_swigarg1))
3295 static PyObject
*_wrap_wxDateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3296 PyObject
* _resultobj
;
3297 wxDateTime
* _result
;
3299 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3300 int _arg2
= (int ) wxDateTime::Inv_Year
;
3301 PyObject
* _argo0
= 0;
3302 char *_kwnames
[] = { "self","month","year", NULL
};
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_SetToLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastMonthDay. Expected _wxDateTime_p.");
3316 wxPy_BEGIN_ALLOW_THREADS
;
3317 wxDateTime
& _result_ref
= wxDateTime_SetToLastMonthDay(_arg0
,_arg1
,_arg2
);
3318 _result
= (wxDateTime
*) &_result_ref
;
3320 wxPy_END_ALLOW_THREADS
;
3322 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3323 _resultobj
= Py_BuildValue("s",_ptemp
);
3326 _resultobj
= Py_None
;
3331 #define wxDateTime_GetLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastMonthDay(_swigarg0,_swigarg1))
3332 static PyObject
*_wrap_wxDateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
* _resultobj
;
3334 wxDateTime
* _result
;
3336 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3337 int _arg2
= (int ) wxDateTime::Inv_Year
;
3338 PyObject
* _argo0
= 0;
3339 char *_kwnames
[] = { "self","month","year", NULL
};
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_GetLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastMonthDay. Expected _wxDateTime_p.");
3353 wxPy_BEGIN_ALLOW_THREADS
;
3354 _result
= new wxDateTime (wxDateTime_GetLastMonthDay(_arg0
,_arg1
,_arg2
));
3356 wxPy_END_ALLOW_THREADS
;
3357 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3358 _resultobj
= Py_BuildValue("s",_ptemp
);
3362 #define wxDateTime_SetToYearDay(_swigobj,_swigarg0) (_swigobj->SetToYearDay(_swigarg0))
3363 static PyObject
*_wrap_wxDateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
* _resultobj
;
3365 wxDateTime
* _result
;
3367 wxDateTime::wxDateTime_t _arg1
;
3368 PyObject
* _argo0
= 0;
3369 char *_kwnames
[] = { "self","yday", NULL
};
3373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetToYearDay",_kwnames
,&_argo0
,&_arg1
))
3376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToYearDay. Expected _wxDateTime_p.");
3383 wxPy_BEGIN_ALLOW_THREADS
;
3384 wxDateTime
& _result_ref
= wxDateTime_SetToYearDay(_arg0
,_arg1
);
3385 _result
= (wxDateTime
*) &_result_ref
;
3387 wxPy_END_ALLOW_THREADS
;
3389 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3390 _resultobj
= Py_BuildValue("s",_ptemp
);
3393 _resultobj
= Py_None
;
3398 #define wxDateTime_GetYearDay(_swigobj,_swigarg0) (_swigobj->GetYearDay(_swigarg0))
3399 static PyObject
*_wrap_wxDateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3400 PyObject
* _resultobj
;
3401 wxDateTime
* _result
;
3403 wxDateTime::wxDateTime_t _arg1
;
3404 PyObject
* _argo0
= 0;
3405 char *_kwnames
[] = { "self","yday", NULL
};
3409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_GetYearDay",_kwnames
,&_argo0
,&_arg1
))
3412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYearDay. Expected _wxDateTime_p.");
3419 wxPy_BEGIN_ALLOW_THREADS
;
3420 _result
= new wxDateTime (wxDateTime_GetYearDay(_arg0
,_arg1
));
3422 wxPy_END_ALLOW_THREADS
;
3423 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3424 _resultobj
= Py_BuildValue("s",_ptemp
);
3428 #define wxDateTime_GetJulianDayNumber(_swigobj) (_swigobj->GetJulianDayNumber())
3429 static PyObject
*_wrap_wxDateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3430 PyObject
* _resultobj
;
3433 PyObject
* _argo0
= 0;
3434 char *_kwnames
[] = { "self", NULL
};
3437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJulianDayNumber",_kwnames
,&_argo0
))
3440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJulianDayNumber. Expected _wxDateTime_p.");
3447 wxPy_BEGIN_ALLOW_THREADS
;
3448 _result
= (double )wxDateTime_GetJulianDayNumber(_arg0
);
3450 wxPy_END_ALLOW_THREADS
;
3451 } _resultobj
= Py_BuildValue("d",_result
);
3455 #define wxDateTime_GetJDN(_swigobj) (_swigobj->GetJDN())
3456 static PyObject
*_wrap_wxDateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
* _resultobj
;
3460 PyObject
* _argo0
= 0;
3461 char *_kwnames
[] = { "self", NULL
};
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJDN",_kwnames
,&_argo0
))
3467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJDN. Expected _wxDateTime_p.");
3474 wxPy_BEGIN_ALLOW_THREADS
;
3475 _result
= (double )wxDateTime_GetJDN(_arg0
);
3477 wxPy_END_ALLOW_THREADS
;
3478 } _resultobj
= Py_BuildValue("d",_result
);
3482 #define wxDateTime_GetModifiedJulianDayNumber(_swigobj) (_swigobj->GetModifiedJulianDayNumber())
3483 static PyObject
*_wrap_wxDateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
* _resultobj
;
3487 PyObject
* _argo0
= 0;
3488 char *_kwnames
[] = { "self", NULL
};
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetModifiedJulianDayNumber",_kwnames
,&_argo0
))
3494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetModifiedJulianDayNumber. Expected _wxDateTime_p.");
3501 wxPy_BEGIN_ALLOW_THREADS
;
3502 _result
= (double )wxDateTime_GetModifiedJulianDayNumber(_arg0
);
3504 wxPy_END_ALLOW_THREADS
;
3505 } _resultobj
= Py_BuildValue("d",_result
);
3509 #define wxDateTime_GetMJD(_swigobj) (_swigobj->GetMJD())
3510 static PyObject
*_wrap_wxDateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
* _resultobj
;
3514 PyObject
* _argo0
= 0;
3515 char *_kwnames
[] = { "self", NULL
};
3518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetMJD",_kwnames
,&_argo0
))
3521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMJD. Expected _wxDateTime_p.");
3528 wxPy_BEGIN_ALLOW_THREADS
;
3529 _result
= (double )wxDateTime_GetMJD(_arg0
);
3531 wxPy_END_ALLOW_THREADS
;
3532 } _resultobj
= Py_BuildValue("d",_result
);
3536 #define wxDateTime_GetRataDie(_swigobj) (_swigobj->GetRataDie())
3537 static PyObject
*_wrap_wxDateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3538 PyObject
* _resultobj
;
3541 PyObject
* _argo0
= 0;
3542 char *_kwnames
[] = { "self", NULL
};
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetRataDie",_kwnames
,&_argo0
))
3548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetRataDie. Expected _wxDateTime_p.");
3555 wxPy_BEGIN_ALLOW_THREADS
;
3556 _result
= (double )wxDateTime_GetRataDie(_arg0
);
3558 wxPy_END_ALLOW_THREADS
;
3559 } _resultobj
= Py_BuildValue("d",_result
);
3563 #define wxDateTime_ToTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToTimezone(_swigarg0,_swigarg1))
3564 static PyObject
*_wrap_wxDateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
* _resultobj
;
3566 wxDateTime
* _result
;
3568 wxDateTime::TimeZone
* _arg1
;
3569 bool _arg2
= (bool ) FALSE
;
3570 PyObject
* _argo0
= 0;
3571 PyObject
* _obj1
= 0;
3572 int tempbool2
= (int) FALSE
;
3573 char *_kwnames
[] = { "self","tz","noDST", NULL
};
3577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_ToTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToTimezone. Expected _wxDateTime_p.");
3587 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3589 _arg2
= (bool ) tempbool2
;
3591 wxPy_BEGIN_ALLOW_THREADS
;
3592 _result
= new wxDateTime (wxDateTime_ToTimezone(_arg0
,*_arg1
,_arg2
));
3594 wxPy_END_ALLOW_THREADS
;
3595 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3596 _resultobj
= Py_BuildValue("s",_ptemp
);
3598 if (_arg1
) delete _arg1
;
3603 #define wxDateTime_MakeTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeTimezone(_swigarg0,_swigarg1))
3604 static PyObject
*_wrap_wxDateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
* _resultobj
;
3606 wxDateTime
* _result
;
3608 wxDateTime::TimeZone
* _arg1
;
3609 bool _arg2
= (bool ) FALSE
;
3610 PyObject
* _argo0
= 0;
3611 PyObject
* _obj1
= 0;
3612 int tempbool2
= (int) FALSE
;
3613 char *_kwnames
[] = { "self","tz","noDST", NULL
};
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_MakeTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeTimezone. Expected _wxDateTime_p.");
3627 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3629 _arg2
= (bool ) tempbool2
;
3631 wxPy_BEGIN_ALLOW_THREADS
;
3632 wxDateTime
& _result_ref
= wxDateTime_MakeTimezone(_arg0
,*_arg1
,_arg2
);
3633 _result
= (wxDateTime
*) &_result_ref
;
3635 wxPy_END_ALLOW_THREADS
;
3637 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3638 _resultobj
= Py_BuildValue("s",_ptemp
);
3641 _resultobj
= Py_None
;
3644 if (_arg1
) delete _arg1
;
3649 #define wxDateTime_ToGMT(_swigobj,_swigarg0) (_swigobj->ToGMT(_swigarg0))
3650 static PyObject
*_wrap_wxDateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
* _resultobj
;
3652 wxDateTime
* _result
;
3654 bool _arg1
= (bool ) FALSE
;
3655 PyObject
* _argo0
= 0;
3656 int tempbool1
= (int) FALSE
;
3657 char *_kwnames
[] = { "self","noDST", NULL
};
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_ToGMT",_kwnames
,&_argo0
,&tempbool1
))
3664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToGMT. Expected _wxDateTime_p.");
3670 _arg1
= (bool ) tempbool1
;
3672 wxPy_BEGIN_ALLOW_THREADS
;
3673 _result
= new wxDateTime (wxDateTime_ToGMT(_arg0
,_arg1
));
3675 wxPy_END_ALLOW_THREADS
;
3676 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3677 _resultobj
= Py_BuildValue("s",_ptemp
);
3681 #define wxDateTime_MakeGMT(_swigobj,_swigarg0) (_swigobj->MakeGMT(_swigarg0))
3682 static PyObject
*_wrap_wxDateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
* _resultobj
;
3684 wxDateTime
* _result
;
3686 bool _arg1
= (bool ) FALSE
;
3687 PyObject
* _argo0
= 0;
3688 int tempbool1
= (int) FALSE
;
3689 char *_kwnames
[] = { "self","noDST", NULL
};
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_MakeGMT",_kwnames
,&_argo0
,&tempbool1
))
3696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeGMT. Expected _wxDateTime_p.");
3702 _arg1
= (bool ) tempbool1
;
3704 wxPy_BEGIN_ALLOW_THREADS
;
3705 wxDateTime
& _result_ref
= wxDateTime_MakeGMT(_arg0
,_arg1
);
3706 _result
= (wxDateTime
*) &_result_ref
;
3708 wxPy_END_ALLOW_THREADS
;
3710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3711 _resultobj
= Py_BuildValue("s",_ptemp
);
3714 _resultobj
= Py_None
;
3719 #define wxDateTime_IsDST(_swigobj,_swigarg0) (_swigobj->IsDST(_swigarg0))
3720 static PyObject
*_wrap_wxDateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
* _resultobj
;
3724 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
3725 PyObject
* _argo0
= 0;
3726 char *_kwnames
[] = { "self","country", NULL
};
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsDST",_kwnames
,&_argo0
,&_arg1
))
3732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsDST. Expected _wxDateTime_p.");
3739 wxPy_BEGIN_ALLOW_THREADS
;
3740 _result
= (int )wxDateTime_IsDST(_arg0
,_arg1
);
3742 wxPy_END_ALLOW_THREADS
;
3743 } _resultobj
= Py_BuildValue("i",_result
);
3747 #define wxDateTime_IsValid(_swigobj) (_swigobj->IsValid())
3748 static PyObject
*_wrap_wxDateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
* _resultobj
;
3752 PyObject
* _argo0
= 0;
3753 char *_kwnames
[] = { "self", NULL
};
3756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_IsValid",_kwnames
,&_argo0
))
3759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsValid. Expected _wxDateTime_p.");
3766 wxPy_BEGIN_ALLOW_THREADS
;
3767 _result
= (bool )wxDateTime_IsValid(_arg0
);
3769 wxPy_END_ALLOW_THREADS
;
3770 } _resultobj
= Py_BuildValue("i",_result
);
3774 #define wxDateTime_GetTicks(_swigobj) (_swigobj->GetTicks())
3775 static PyObject
*_wrap_wxDateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
* _resultobj
;
3779 PyObject
* _argo0
= 0;
3780 char *_kwnames
[] = { "self", NULL
};
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetTicks",_kwnames
,&_argo0
))
3787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetTicks. Expected _wxDateTime_p.");
3794 wxPy_BEGIN_ALLOW_THREADS
;
3795 _result
= new time_t (wxDateTime_GetTicks(_arg0
));
3797 wxPy_END_ALLOW_THREADS
;
3798 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_time_t_p");
3799 _resultobj
= Py_BuildValue("s",_ptemp
);
3803 #define wxDateTime_GetYear(_swigobj,_swigarg0) (_swigobj->GetYear(_swigarg0))
3804 static PyObject
*_wrap_wxDateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
* _resultobj
;
3808 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3809 PyObject
* _argo0
= 0;
3810 PyObject
* _obj1
= 0;
3811 char *_kwnames
[] = { "self","tz", NULL
};
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetYear",_kwnames
,&_argo0
,&_obj1
))
3817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYear. Expected _wxDateTime_p.");
3825 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3828 wxPy_BEGIN_ALLOW_THREADS
;
3829 _result
= (int )wxDateTime_GetYear(_arg0
,*_arg1
);
3831 wxPy_END_ALLOW_THREADS
;
3832 } _resultobj
= Py_BuildValue("i",_result
);
3834 if (_arg1
) delete _arg1
;
3839 #define wxDateTime_GetMonth(_swigobj,_swigarg0) (_swigobj->GetMonth(_swigarg0))
3840 static PyObject
*_wrap_wxDateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
* _resultobj
;
3842 wxDateTime::Month _result
;
3844 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3845 PyObject
* _argo0
= 0;
3846 PyObject
* _obj1
= 0;
3847 char *_kwnames
[] = { "self","tz", NULL
};
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMonth",_kwnames
,&_argo0
,&_obj1
))
3853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMonth. Expected _wxDateTime_p.");
3861 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3864 wxPy_BEGIN_ALLOW_THREADS
;
3865 _result
= (wxDateTime::Month
)wxDateTime_GetMonth(_arg0
,*_arg1
);
3867 wxPy_END_ALLOW_THREADS
;
3868 } _resultobj
= Py_BuildValue("i",_result
);
3870 if (_arg1
) delete _arg1
;
3875 #define wxDateTime_GetDay(_swigobj,_swigarg0) (_swigobj->GetDay(_swigarg0))
3876 static PyObject
*_wrap_wxDateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
* _resultobj
;
3878 wxDateTime::wxDateTime_t _result
;
3880 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3881 PyObject
* _argo0
= 0;
3882 PyObject
* _obj1
= 0;
3883 char *_kwnames
[] = { "self","tz", NULL
};
3886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDay",_kwnames
,&_argo0
,&_obj1
))
3889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDay. Expected _wxDateTime_p.");
3897 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3900 wxPy_BEGIN_ALLOW_THREADS
;
3901 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDay(_arg0
,*_arg1
);
3903 wxPy_END_ALLOW_THREADS
;
3904 } _resultobj
= Py_BuildValue("h",_result
);
3906 if (_arg1
) delete _arg1
;
3911 #define wxDateTime_GetHour(_swigobj,_swigarg0) (_swigobj->GetHour(_swigarg0))
3912 static PyObject
*_wrap_wxDateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
* _resultobj
;
3914 wxDateTime::wxDateTime_t _result
;
3916 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3917 PyObject
* _argo0
= 0;
3918 PyObject
* _obj1
= 0;
3919 char *_kwnames
[] = { "self","tz", NULL
};
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetHour",_kwnames
,&_argo0
,&_obj1
))
3925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetHour. Expected _wxDateTime_p.");
3933 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3936 wxPy_BEGIN_ALLOW_THREADS
;
3937 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetHour(_arg0
,*_arg1
);
3939 wxPy_END_ALLOW_THREADS
;
3940 } _resultobj
= Py_BuildValue("h",_result
);
3942 if (_arg1
) delete _arg1
;
3947 #define wxDateTime_GetMinute(_swigobj,_swigarg0) (_swigobj->GetMinute(_swigarg0))
3948 static PyObject
*_wrap_wxDateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3949 PyObject
* _resultobj
;
3950 wxDateTime::wxDateTime_t _result
;
3952 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3953 PyObject
* _argo0
= 0;
3954 PyObject
* _obj1
= 0;
3955 char *_kwnames
[] = { "self","tz", NULL
};
3958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMinute",_kwnames
,&_argo0
,&_obj1
))
3961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMinute. Expected _wxDateTime_p.");
3969 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3972 wxPy_BEGIN_ALLOW_THREADS
;
3973 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMinute(_arg0
,*_arg1
);
3975 wxPy_END_ALLOW_THREADS
;
3976 } _resultobj
= Py_BuildValue("h",_result
);
3978 if (_arg1
) delete _arg1
;
3983 #define wxDateTime_GetSecond(_swigobj,_swigarg0) (_swigobj->GetSecond(_swigarg0))
3984 static PyObject
*_wrap_wxDateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
* _resultobj
;
3986 wxDateTime::wxDateTime_t _result
;
3988 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3989 PyObject
* _argo0
= 0;
3990 PyObject
* _obj1
= 0;
3991 char *_kwnames
[] = { "self","tz", NULL
};
3994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetSecond",_kwnames
,&_argo0
,&_obj1
))
3997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetSecond. Expected _wxDateTime_p.");
4005 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4008 wxPy_BEGIN_ALLOW_THREADS
;
4009 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetSecond(_arg0
,*_arg1
);
4011 wxPy_END_ALLOW_THREADS
;
4012 } _resultobj
= Py_BuildValue("h",_result
);
4014 if (_arg1
) delete _arg1
;
4019 #define wxDateTime_GetMillisecond(_swigobj,_swigarg0) (_swigobj->GetMillisecond(_swigarg0))
4020 static PyObject
*_wrap_wxDateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
* _resultobj
;
4022 wxDateTime::wxDateTime_t _result
;
4024 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4025 PyObject
* _argo0
= 0;
4026 PyObject
* _obj1
= 0;
4027 char *_kwnames
[] = { "self","tz", NULL
};
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMillisecond",_kwnames
,&_argo0
,&_obj1
))
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_GetMillisecond. Expected _wxDateTime_p.");
4041 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4044 wxPy_BEGIN_ALLOW_THREADS
;
4045 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMillisecond(_arg0
,*_arg1
);
4047 wxPy_END_ALLOW_THREADS
;
4048 } _resultobj
= Py_BuildValue("h",_result
);
4050 if (_arg1
) delete _arg1
;
4055 #define wxDateTime_GetDayOfYear(_swigobj,_swigarg0) (_swigobj->GetDayOfYear(_swigarg0))
4056 static PyObject
*_wrap_wxDateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
* _resultobj
;
4058 wxDateTime::wxDateTime_t _result
;
4060 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4061 PyObject
* _argo0
= 0;
4062 PyObject
* _obj1
= 0;
4063 char *_kwnames
[] = { "self","tz", NULL
};
4066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDayOfYear",_kwnames
,&_argo0
,&_obj1
))
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_GetDayOfYear. Expected _wxDateTime_p.");
4077 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4080 wxPy_BEGIN_ALLOW_THREADS
;
4081 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDayOfYear(_arg0
,*_arg1
);
4083 wxPy_END_ALLOW_THREADS
;
4084 } _resultobj
= Py_BuildValue("h",_result
);
4086 if (_arg1
) delete _arg1
;
4091 #define wxDateTime_GetWeekOfYear(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfYear(_swigarg0,_swigarg1))
4092 static PyObject
*_wrap_wxDateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
* _resultobj
;
4094 wxDateTime::wxDateTime_t _result
;
4096 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4097 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4098 PyObject
* _argo0
= 0;
4099 PyObject
* _obj2
= 0;
4100 char *_kwnames
[] = { "self","flags","tz", NULL
};
4103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfYear",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfYear. Expected _wxDateTime_p.");
4114 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4117 wxPy_BEGIN_ALLOW_THREADS
;
4118 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfYear(_arg0
,_arg1
,*_arg2
);
4120 wxPy_END_ALLOW_THREADS
;
4121 } _resultobj
= Py_BuildValue("h",_result
);
4123 if (_arg2
) delete _arg2
;
4128 #define wxDateTime_GetWeekOfMonth(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfMonth(_swigarg0,_swigarg1))
4129 static PyObject
*_wrap_wxDateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
* _resultobj
;
4131 wxDateTime::wxDateTime_t _result
;
4133 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4134 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4135 PyObject
* _argo0
= 0;
4136 PyObject
* _obj2
= 0;
4137 char *_kwnames
[] = { "self","flags","tz", NULL
};
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfMonth",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfMonth. Expected _wxDateTime_p.");
4151 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4154 wxPy_BEGIN_ALLOW_THREADS
;
4155 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfMonth(_arg0
,_arg1
,*_arg2
);
4157 wxPy_END_ALLOW_THREADS
;
4158 } _resultobj
= Py_BuildValue("h",_result
);
4160 if (_arg2
) delete _arg2
;
4165 #define wxDateTime_IsWorkDay(_swigobj,_swigarg0) (_swigobj->IsWorkDay(_swigarg0))
4166 static PyObject
*_wrap_wxDateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4167 PyObject
* _resultobj
;
4170 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
4171 PyObject
* _argo0
= 0;
4172 char *_kwnames
[] = { "self","country", NULL
};
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsWorkDay",_kwnames
,&_argo0
,&_arg1
))
4178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsWorkDay. Expected _wxDateTime_p.");
4185 wxPy_BEGIN_ALLOW_THREADS
;
4186 _result
= (bool )wxDateTime_IsWorkDay(_arg0
,_arg1
);
4188 wxPy_END_ALLOW_THREADS
;
4189 } _resultobj
= Py_BuildValue("i",_result
);
4193 #define wxDateTime_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
4194 static PyObject
*_wrap_wxDateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
* _resultobj
;
4199 PyObject
* _argo0
= 0;
4200 PyObject
* _argo1
= 0;
4201 char *_kwnames
[] = { "self","datetime", NULL
};
4204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
4207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4214 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4215 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4221 wxPy_BEGIN_ALLOW_THREADS
;
4222 _result
= (bool )wxDateTime_IsEqualTo(_arg0
,*_arg1
);
4224 wxPy_END_ALLOW_THREADS
;
4225 } _resultobj
= Py_BuildValue("i",_result
);
4229 #define wxDateTime_IsEarlierThan(_swigobj,_swigarg0) (_swigobj->IsEarlierThan(_swigarg0))
4230 static PyObject
*_wrap_wxDateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
* _resultobj
;
4235 PyObject
* _argo0
= 0;
4236 PyObject
* _argo1
= 0;
4237 char *_kwnames
[] = { "self","datetime", NULL
};
4240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEarlierThan",_kwnames
,&_argo0
,&_argo1
))
4243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4250 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4251 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4257 wxPy_BEGIN_ALLOW_THREADS
;
4258 _result
= (bool )wxDateTime_IsEarlierThan(_arg0
,*_arg1
);
4260 wxPy_END_ALLOW_THREADS
;
4261 } _resultobj
= Py_BuildValue("i",_result
);
4265 #define wxDateTime_IsLaterThan(_swigobj,_swigarg0) (_swigobj->IsLaterThan(_swigarg0))
4266 static PyObject
*_wrap_wxDateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4267 PyObject
* _resultobj
;
4271 PyObject
* _argo0
= 0;
4272 PyObject
* _argo1
= 0;
4273 char *_kwnames
[] = { "self","datetime", NULL
};
4276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsLaterThan",_kwnames
,&_argo0
,&_argo1
))
4279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4286 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4287 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4293 wxPy_BEGIN_ALLOW_THREADS
;
4294 _result
= (bool )wxDateTime_IsLaterThan(_arg0
,*_arg1
);
4296 wxPy_END_ALLOW_THREADS
;
4297 } _resultobj
= Py_BuildValue("i",_result
);
4301 #define wxDateTime_IsStrictlyBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsStrictlyBetween(_swigarg0,_swigarg1))
4302 static PyObject
*_wrap_wxDateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
* _resultobj
;
4308 PyObject
* _argo0
= 0;
4309 PyObject
* _argo1
= 0;
4310 PyObject
* _argo2
= 0;
4311 char *_kwnames
[] = { "self","t1","t2", NULL
};
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsStrictlyBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4324 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4325 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4331 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4332 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4338 wxPy_BEGIN_ALLOW_THREADS
;
4339 _result
= (bool )wxDateTime_IsStrictlyBetween(_arg0
,*_arg1
,*_arg2
);
4341 wxPy_END_ALLOW_THREADS
;
4342 } _resultobj
= Py_BuildValue("i",_result
);
4346 #define wxDateTime_IsBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsBetween(_swigarg0,_swigarg1))
4347 static PyObject
*_wrap_wxDateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
* _resultobj
;
4353 PyObject
* _argo0
= 0;
4354 PyObject
* _argo1
= 0;
4355 PyObject
* _argo2
= 0;
4356 char *_kwnames
[] = { "self","t1","t2", NULL
};
4359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4369 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4370 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4376 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4377 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4383 wxPy_BEGIN_ALLOW_THREADS
;
4384 _result
= (bool )wxDateTime_IsBetween(_arg0
,*_arg1
,*_arg2
);
4386 wxPy_END_ALLOW_THREADS
;
4387 } _resultobj
= Py_BuildValue("i",_result
);
4391 #define wxDateTime_IsSameDate(_swigobj,_swigarg0) (_swigobj->IsSameDate(_swigarg0))
4392 static PyObject
*_wrap_wxDateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
* _resultobj
;
4397 PyObject
* _argo0
= 0;
4398 PyObject
* _argo1
= 0;
4399 char *_kwnames
[] = { "self","dt", NULL
};
4402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameDate",_kwnames
,&_argo0
,&_argo1
))
4405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4412 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4413 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4419 wxPy_BEGIN_ALLOW_THREADS
;
4420 _result
= (bool )wxDateTime_IsSameDate(_arg0
,*_arg1
);
4422 wxPy_END_ALLOW_THREADS
;
4423 } _resultobj
= Py_BuildValue("i",_result
);
4427 #define wxDateTime_IsSameTime(_swigobj,_swigarg0) (_swigobj->IsSameTime(_swigarg0))
4428 static PyObject
*_wrap_wxDateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
* _resultobj
;
4433 PyObject
* _argo0
= 0;
4434 PyObject
* _argo1
= 0;
4435 char *_kwnames
[] = { "self","dt", NULL
};
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameTime",_kwnames
,&_argo0
,&_argo1
))
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_IsSameTime. Expected _wxDateTime_p.");
4448 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4449 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
4455 wxPy_BEGIN_ALLOW_THREADS
;
4456 _result
= (bool )wxDateTime_IsSameTime(_arg0
,*_arg1
);
4458 wxPy_END_ALLOW_THREADS
;
4459 } _resultobj
= Py_BuildValue("i",_result
);
4463 #define wxDateTime_IsEqualUpTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEqualUpTo(_swigarg0,_swigarg1))
4464 static PyObject
*_wrap_wxDateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
* _resultobj
;
4470 PyObject
* _argo0
= 0;
4471 PyObject
* _argo1
= 0;
4472 PyObject
* _argo2
= 0;
4473 char *_kwnames
[] = { "self","dt","ts", NULL
};
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsEqualUpTo",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4486 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4487 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4493 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4494 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTimeSpan_p")) {
4495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsEqualUpTo. Expected _wxTimeSpan_p.");
4500 wxPy_BEGIN_ALLOW_THREADS
;
4501 _result
= (bool )wxDateTime_IsEqualUpTo(_arg0
,*_arg1
,*_arg2
);
4503 wxPy_END_ALLOW_THREADS
;
4504 } _resultobj
= Py_BuildValue("i",_result
);
4508 #define wxDateTime_AddTS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4509 static PyObject
*_wrap_wxDateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
* _resultobj
;
4511 wxDateTime
* _result
;
4514 PyObject
* _argo0
= 0;
4515 PyObject
* _argo1
= 0;
4516 char *_kwnames
[] = { "self","diff", NULL
};
4520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddTS",_kwnames
,&_argo0
,&_argo1
))
4523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddTS. Expected _wxDateTime_p.");
4530 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4531 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddTS. Expected _wxTimeSpan_p.");
4537 wxPy_BEGIN_ALLOW_THREADS
;
4538 wxDateTime
& _result_ref
= wxDateTime_AddTS(_arg0
,*_arg1
);
4539 _result
= (wxDateTime
*) &_result_ref
;
4541 wxPy_END_ALLOW_THREADS
;
4543 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4544 _resultobj
= Py_BuildValue("s",_ptemp
);
4547 _resultobj
= Py_None
;
4552 #define wxDateTime_AddDS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4553 static PyObject
*_wrap_wxDateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
* _resultobj
;
4555 wxDateTime
* _result
;
4558 PyObject
* _argo0
= 0;
4559 PyObject
* _argo1
= 0;
4560 char *_kwnames
[] = { "self","diff", NULL
};
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddDS",_kwnames
,&_argo0
,&_argo1
))
4567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddDS. Expected _wxDateTime_p.");
4574 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4575 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddDS. Expected _wxDateSpan_p.");
4581 wxPy_BEGIN_ALLOW_THREADS
;
4582 wxDateTime
& _result_ref
= wxDateTime_AddDS(_arg0
,*_arg1
);
4583 _result
= (wxDateTime
*) &_result_ref
;
4585 wxPy_END_ALLOW_THREADS
;
4587 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4588 _resultobj
= Py_BuildValue("s",_ptemp
);
4591 _resultobj
= Py_None
;
4596 #define wxDateTime_SubtractTS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4597 static PyObject
*_wrap_wxDateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
* _resultobj
;
4599 wxDateTime
* _result
;
4602 PyObject
* _argo0
= 0;
4603 PyObject
* _argo1
= 0;
4604 char *_kwnames
[] = { "self","diff", NULL
};
4608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractTS",_kwnames
,&_argo0
,&_argo1
))
4611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractTS. Expected _wxDateTime_p.");
4618 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4619 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractTS. Expected _wxTimeSpan_p.");
4625 wxPy_BEGIN_ALLOW_THREADS
;
4626 wxDateTime
& _result_ref
= wxDateTime_SubtractTS(_arg0
,*_arg1
);
4627 _result
= (wxDateTime
*) &_result_ref
;
4629 wxPy_END_ALLOW_THREADS
;
4631 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4632 _resultobj
= Py_BuildValue("s",_ptemp
);
4635 _resultobj
= Py_None
;
4640 #define wxDateTime_SubtractDS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4641 static PyObject
*_wrap_wxDateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4642 PyObject
* _resultobj
;
4643 wxDateTime
* _result
;
4646 PyObject
* _argo0
= 0;
4647 PyObject
* _argo1
= 0;
4648 char *_kwnames
[] = { "self","diff", NULL
};
4652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractDS",_kwnames
,&_argo0
,&_argo1
))
4655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractDS. Expected _wxDateTime_p.");
4662 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4663 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractDS. Expected _wxDateSpan_p.");
4669 wxPy_BEGIN_ALLOW_THREADS
;
4670 wxDateTime
& _result_ref
= wxDateTime_SubtractDS(_arg0
,*_arg1
);
4671 _result
= (wxDateTime
*) &_result_ref
;
4673 wxPy_END_ALLOW_THREADS
;
4675 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4676 _resultobj
= Py_BuildValue("s",_ptemp
);
4679 _resultobj
= Py_None
;
4684 #define wxDateTime_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4685 static PyObject
*_wrap_wxDateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4686 PyObject
* _resultobj
;
4687 wxTimeSpan
* _result
;
4690 PyObject
* _argo0
= 0;
4691 PyObject
* _argo1
= 0;
4692 char *_kwnames
[] = { "self","dt", NULL
};
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_Subtract",_kwnames
,&_argo0
,&_argo1
))
4699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Subtract. Expected _wxDateTime_p.");
4706 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4707 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_Subtract. Expected _wxDateTime_p.");
4713 wxPy_BEGIN_ALLOW_THREADS
;
4714 _result
= new wxTimeSpan (wxDateTime_Subtract(_arg0
,*_arg1
));
4716 wxPy_END_ALLOW_THREADS
;
4717 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
4718 _resultobj
= Py_BuildValue("s",_ptemp
);
4722 static wxDateTime
wxDateTime___add__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
4723 static PyObject
*_wrap_wxDateTime___add__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4724 PyObject
* _resultobj
;
4725 wxDateTime
* _result
;
4728 PyObject
* _argo0
= 0;
4729 PyObject
* _argo1
= 0;
4730 char *_kwnames
[] = { "self","other", NULL
};
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__TS",_kwnames
,&_argo0
,&_argo1
))
4737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__TS. Expected _wxDateTime_p.");
4744 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4745 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__TS. Expected _wxTimeSpan_p.");
4751 wxPy_BEGIN_ALLOW_THREADS
;
4752 _result
= new wxDateTime (wxDateTime___add__TS(_arg0
,*_arg1
));
4754 wxPy_END_ALLOW_THREADS
;
4755 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4756 _resultobj
= Py_BuildValue("s",_ptemp
);
4760 static wxDateTime
wxDateTime___add__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
4761 static PyObject
*_wrap_wxDateTime___add__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4762 PyObject
* _resultobj
;
4763 wxDateTime
* _result
;
4766 PyObject
* _argo0
= 0;
4767 PyObject
* _argo1
= 0;
4768 char *_kwnames
[] = { "self","other", NULL
};
4772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__DS",_kwnames
,&_argo0
,&_argo1
))
4775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__DS. Expected _wxDateTime_p.");
4782 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4783 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__DS. Expected _wxDateSpan_p.");
4789 wxPy_BEGIN_ALLOW_THREADS
;
4790 _result
= new wxDateTime (wxDateTime___add__DS(_arg0
,*_arg1
));
4792 wxPy_END_ALLOW_THREADS
;
4793 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4794 _resultobj
= Py_BuildValue("s",_ptemp
);
4798 static wxTimeSpan
wxDateTime___sub__DT(wxDateTime
*self
,const wxDateTime
& other
) { return *self
- other
; }
4799 static PyObject
*_wrap_wxDateTime___sub__DT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
* _resultobj
;
4801 wxTimeSpan
* _result
;
4804 PyObject
* _argo0
= 0;
4805 PyObject
* _argo1
= 0;
4806 char *_kwnames
[] = { "self","other", NULL
};
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DT",_kwnames
,&_argo0
,&_argo1
))
4813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
4820 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4821 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
4827 wxPy_BEGIN_ALLOW_THREADS
;
4828 _result
= new wxTimeSpan (wxDateTime___sub__DT(_arg0
,*_arg1
));
4830 wxPy_END_ALLOW_THREADS
;
4831 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
4832 _resultobj
= Py_BuildValue("s",_ptemp
);
4836 static wxDateTime
wxDateTime___sub__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
4837 static PyObject
*_wrap_wxDateTime___sub__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
* _resultobj
;
4839 wxDateTime
* _result
;
4842 PyObject
* _argo0
= 0;
4843 PyObject
* _argo1
= 0;
4844 char *_kwnames
[] = { "self","other", NULL
};
4848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__TS",_kwnames
,&_argo0
,&_argo1
))
4851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__TS. Expected _wxDateTime_p.");
4858 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4859 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__TS. Expected _wxTimeSpan_p.");
4865 wxPy_BEGIN_ALLOW_THREADS
;
4866 _result
= new wxDateTime (wxDateTime___sub__TS(_arg0
,*_arg1
));
4868 wxPy_END_ALLOW_THREADS
;
4869 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4870 _resultobj
= Py_BuildValue("s",_ptemp
);
4874 static wxDateTime
wxDateTime___sub__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
- other
; }
4875 static PyObject
*_wrap_wxDateTime___sub__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
* _resultobj
;
4877 wxDateTime
* _result
;
4880 PyObject
* _argo0
= 0;
4881 PyObject
* _argo1
= 0;
4882 char *_kwnames
[] = { "self","other", NULL
};
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DS",_kwnames
,&_argo0
,&_argo1
))
4889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DS. Expected _wxDateTime_p.");
4896 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4897 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DS. Expected _wxDateSpan_p.");
4903 wxPy_BEGIN_ALLOW_THREADS
;
4904 _result
= new wxDateTime (wxDateTime___sub__DS(_arg0
,*_arg1
));
4906 wxPy_END_ALLOW_THREADS
;
4907 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4908 _resultobj
= Py_BuildValue("s",_ptemp
);
4912 static int wxDateTime___cmp__(wxDateTime
*self
,const wxDateTime
& other
) {
4913 if (*self
< other
) return -1;
4914 if (*self
== other
) return 0;
4917 static PyObject
*_wrap_wxDateTime___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
* _resultobj
;
4922 PyObject
* _argo0
= 0;
4923 PyObject
* _argo1
= 0;
4924 char *_kwnames
[] = { "self","other", NULL
};
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___cmp__",_kwnames
,&_argo0
,&_argo1
))
4930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___cmp__. Expected _wxDateTime_p.");
4937 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4938 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___cmp__. Expected _wxDateTime_p.");
4944 wxPy_BEGIN_ALLOW_THREADS
;
4945 _result
= (int )wxDateTime___cmp__(_arg0
,*_arg1
);
4947 wxPy_END_ALLOW_THREADS
;
4948 } _resultobj
= Py_BuildValue("i",_result
);
4952 #define wxDateTime_ParseRfc822Date(_swigobj,_swigarg0) (_swigobj->ParseRfc822Date(_swigarg0))
4953 static PyObject
*_wrap_wxDateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4954 PyObject
* _resultobj
;
4958 PyObject
* _argo0
= 0;
4959 char *_kwnames
[] = { "self","date", NULL
};
4962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseRfc822Date",_kwnames
,&_argo0
,&_arg1
))
4965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseRfc822Date. Expected _wxDateTime_p.");
4972 wxPy_BEGIN_ALLOW_THREADS
;
4973 _result
= (char *)wxDateTime_ParseRfc822Date(_arg0
,_arg1
);
4975 wxPy_END_ALLOW_THREADS
;
4976 } _resultobj
= Py_BuildValue("s", _result
);
4980 #define wxDateTime_ParseFormat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ParseFormat(_swigarg0,_swigarg1,_swigarg2))
4981 static PyObject
*_wrap_wxDateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
* _resultobj
;
4986 char * _arg2
= (char *) "%c";
4987 wxDateTime
* _arg3
= (wxDateTime
*) &wxDefaultDateTime
;
4988 PyObject
* _argo0
= 0;
4989 PyObject
* _argo3
= 0;
4990 char *_kwnames
[] = { "self","date","format","dateDef", NULL
};
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|sO:wxDateTime_ParseFormat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
4996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5003 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5004 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime_p")) {
5005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5010 wxPy_BEGIN_ALLOW_THREADS
;
5011 _result
= (char *)wxDateTime_ParseFormat(_arg0
,_arg1
,_arg2
,*_arg3
);
5013 wxPy_END_ALLOW_THREADS
;
5014 } _resultobj
= Py_BuildValue("s", _result
);
5018 #define wxDateTime_ParseDateTime(_swigobj,_swigarg0) (_swigobj->ParseDateTime(_swigarg0))
5019 static PyObject
*_wrap_wxDateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
* _resultobj
;
5024 PyObject
* _argo0
= 0;
5025 char *_kwnames
[] = { "self","datetime", NULL
};
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseDateTime",_kwnames
,&_argo0
,&_arg1
))
5031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDateTime. Expected _wxDateTime_p.");
5038 wxPy_BEGIN_ALLOW_THREADS
;
5039 _result
= (char *)wxDateTime_ParseDateTime(_arg0
,_arg1
);
5041 wxPy_END_ALLOW_THREADS
;
5042 } _resultobj
= Py_BuildValue("s", _result
);
5046 #define wxDateTime_ParseDate(_swigobj,_swigarg0) (_swigobj->ParseDate(_swigarg0))
5047 static PyObject
*_wrap_wxDateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
* _resultobj
;
5052 PyObject
* _argo0
= 0;
5053 char *_kwnames
[] = { "self","date", NULL
};
5056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseDate",_kwnames
,&_argo0
,&_arg1
))
5059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDate. Expected _wxDateTime_p.");
5066 wxPy_BEGIN_ALLOW_THREADS
;
5067 _result
= (char *)wxDateTime_ParseDate(_arg0
,_arg1
);
5069 wxPy_END_ALLOW_THREADS
;
5070 } _resultobj
= Py_BuildValue("s", _result
);
5074 #define wxDateTime_ParseTime(_swigobj,_swigarg0) (_swigobj->ParseTime(_swigarg0))
5075 static PyObject
*_wrap_wxDateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
* _resultobj
;
5080 PyObject
* _argo0
= 0;
5081 char *_kwnames
[] = { "self","time", NULL
};
5084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseTime",_kwnames
,&_argo0
,&_arg1
))
5087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseTime. Expected _wxDateTime_p.");
5094 wxPy_BEGIN_ALLOW_THREADS
;
5095 _result
= (char *)wxDateTime_ParseTime(_arg0
,_arg1
);
5097 wxPy_END_ALLOW_THREADS
;
5098 } _resultobj
= Py_BuildValue("s", _result
);
5102 #define wxDateTime_Format(_swigobj,_swigarg0,_swigarg1) (_swigobj->Format(_swigarg0,_swigarg1))
5103 static PyObject
*_wrap_wxDateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5104 PyObject
* _resultobj
;
5107 char * _arg1
= (char *) "%c";
5108 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
5109 PyObject
* _argo0
= 0;
5110 PyObject
* _obj2
= 0;
5111 char *_kwnames
[] = { "self","format","tz", NULL
};
5114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sO:wxDateTime_Format",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Format. Expected _wxDateTime_p.");
5125 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
5128 wxPy_BEGIN_ALLOW_THREADS
;
5129 _result
= new wxString (wxDateTime_Format(_arg0
,_arg1
,*_arg2
));
5131 wxPy_END_ALLOW_THREADS
;
5133 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5136 if (_arg2
) delete _arg2
;
5144 #define wxDateTime_FormatDate(_swigobj) (_swigobj->FormatDate())
5145 static PyObject
*_wrap_wxDateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
* _resultobj
;
5149 PyObject
* _argo0
= 0;
5150 char *_kwnames
[] = { "self", NULL
};
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatDate",_kwnames
,&_argo0
))
5156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatDate. Expected _wxDateTime_p.");
5163 wxPy_BEGIN_ALLOW_THREADS
;
5164 _result
= new wxString (wxDateTime_FormatDate(_arg0
));
5166 wxPy_END_ALLOW_THREADS
;
5168 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5176 #define wxDateTime_FormatTime(_swigobj) (_swigobj->FormatTime())
5177 static PyObject
*_wrap_wxDateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
* _resultobj
;
5181 PyObject
* _argo0
= 0;
5182 char *_kwnames
[] = { "self", NULL
};
5185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatTime",_kwnames
,&_argo0
))
5188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatTime. Expected _wxDateTime_p.");
5195 wxPy_BEGIN_ALLOW_THREADS
;
5196 _result
= new wxString (wxDateTime_FormatTime(_arg0
));
5198 wxPy_END_ALLOW_THREADS
;
5200 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5208 #define wxDateTime_FormatISODate(_swigobj) (_swigobj->FormatISODate())
5209 static PyObject
*_wrap_wxDateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5210 PyObject
* _resultobj
;
5213 PyObject
* _argo0
= 0;
5214 char *_kwnames
[] = { "self", NULL
};
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISODate",_kwnames
,&_argo0
))
5220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISODate. Expected _wxDateTime_p.");
5227 wxPy_BEGIN_ALLOW_THREADS
;
5228 _result
= new wxString (wxDateTime_FormatISODate(_arg0
));
5230 wxPy_END_ALLOW_THREADS
;
5232 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5240 #define wxDateTime_FormatISOTime(_swigobj) (_swigobj->FormatISOTime())
5241 static PyObject
*_wrap_wxDateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
* _resultobj
;
5245 PyObject
* _argo0
= 0;
5246 char *_kwnames
[] = { "self", NULL
};
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISOTime",_kwnames
,&_argo0
))
5252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISOTime. Expected _wxDateTime_p.");
5259 wxPy_BEGIN_ALLOW_THREADS
;
5260 _result
= new wxString (wxDateTime_FormatISOTime(_arg0
));
5262 wxPy_END_ALLOW_THREADS
;
5264 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5272 static PyObject
*_wrap_wxTimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5273 PyObject
* _resultobj
;
5274 wxTimeSpan
* _result
;
5276 char *_kwnames
[] = { "sec", NULL
};
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Seconds",_kwnames
,&_arg0
))
5283 wxPy_BEGIN_ALLOW_THREADS
;
5284 _result
= new wxTimeSpan (wxTimeSpan::Seconds(_arg0
));
5286 wxPy_END_ALLOW_THREADS
;
5287 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5288 _resultobj
= Py_BuildValue("s",_ptemp
);
5292 static PyObject
*_wrap_wxTimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
* _resultobj
;
5294 wxTimeSpan
* _result
;
5295 char *_kwnames
[] = { NULL
};
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Second",_kwnames
))
5302 wxPy_BEGIN_ALLOW_THREADS
;
5303 _result
= new wxTimeSpan (wxTimeSpan::Second());
5305 wxPy_END_ALLOW_THREADS
;
5306 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5307 _resultobj
= Py_BuildValue("s",_ptemp
);
5311 static PyObject
*_wrap_wxTimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
* _resultobj
;
5313 wxTimeSpan
* _result
;
5315 char *_kwnames
[] = { "min", NULL
};
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Minutes",_kwnames
,&_arg0
))
5322 wxPy_BEGIN_ALLOW_THREADS
;
5323 _result
= new wxTimeSpan (wxTimeSpan::Minutes(_arg0
));
5325 wxPy_END_ALLOW_THREADS
;
5326 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5327 _resultobj
= Py_BuildValue("s",_ptemp
);
5331 static PyObject
*_wrap_wxTimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5332 PyObject
* _resultobj
;
5333 wxTimeSpan
* _result
;
5334 char *_kwnames
[] = { NULL
};
5338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Minute",_kwnames
))
5341 wxPy_BEGIN_ALLOW_THREADS
;
5342 _result
= new wxTimeSpan (wxTimeSpan::Minute());
5344 wxPy_END_ALLOW_THREADS
;
5345 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5346 _resultobj
= Py_BuildValue("s",_ptemp
);
5350 static PyObject
*_wrap_wxTimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5351 PyObject
* _resultobj
;
5352 wxTimeSpan
* _result
;
5354 char *_kwnames
[] = { "hours", NULL
};
5358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Hours",_kwnames
,&_arg0
))
5361 wxPy_BEGIN_ALLOW_THREADS
;
5362 _result
= new wxTimeSpan (wxTimeSpan::Hours(_arg0
));
5364 wxPy_END_ALLOW_THREADS
;
5365 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5366 _resultobj
= Py_BuildValue("s",_ptemp
);
5370 static PyObject
*_wrap_wxTimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5371 PyObject
* _resultobj
;
5372 wxTimeSpan
* _result
;
5373 char *_kwnames
[] = { NULL
};
5377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Hour",_kwnames
))
5380 wxPy_BEGIN_ALLOW_THREADS
;
5381 _result
= new wxTimeSpan (wxTimeSpan::Hour());
5383 wxPy_END_ALLOW_THREADS
;
5384 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5385 _resultobj
= Py_BuildValue("s",_ptemp
);
5389 static PyObject
*_wrap_wxTimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5390 PyObject
* _resultobj
;
5391 wxTimeSpan
* _result
;
5393 char *_kwnames
[] = { "days", NULL
};
5397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Days",_kwnames
,&_arg0
))
5400 wxPy_BEGIN_ALLOW_THREADS
;
5401 _result
= new wxTimeSpan (wxTimeSpan::Days(_arg0
));
5403 wxPy_END_ALLOW_THREADS
;
5404 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5405 _resultobj
= Py_BuildValue("s",_ptemp
);
5409 static PyObject
*_wrap_wxTimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
* _resultobj
;
5411 wxTimeSpan
* _result
;
5412 char *_kwnames
[] = { NULL
};
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Day",_kwnames
))
5419 wxPy_BEGIN_ALLOW_THREADS
;
5420 _result
= new wxTimeSpan (wxTimeSpan::Day());
5422 wxPy_END_ALLOW_THREADS
;
5423 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5424 _resultobj
= Py_BuildValue("s",_ptemp
);
5428 static PyObject
*_wrap_wxTimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
* _resultobj
;
5430 wxTimeSpan
* _result
;
5432 char *_kwnames
[] = { "days", NULL
};
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Weeks",_kwnames
,&_arg0
))
5439 wxPy_BEGIN_ALLOW_THREADS
;
5440 _result
= new wxTimeSpan (wxTimeSpan::Weeks(_arg0
));
5442 wxPy_END_ALLOW_THREADS
;
5443 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5444 _resultobj
= Py_BuildValue("s",_ptemp
);
5448 static PyObject
*_wrap_wxTimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
* _resultobj
;
5450 wxTimeSpan
* _result
;
5451 char *_kwnames
[] = { NULL
};
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Week",_kwnames
))
5458 wxPy_BEGIN_ALLOW_THREADS
;
5459 _result
= new wxTimeSpan (wxTimeSpan::Week());
5461 wxPy_END_ALLOW_THREADS
;
5462 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5463 _resultobj
= Py_BuildValue("s",_ptemp
);
5467 #define new_wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5468 static PyObject
*_wrap_new_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
* _resultobj
;
5470 wxTimeSpan
* _result
;
5471 long _arg0
= (long ) 0;
5472 long _arg1
= (long ) 0;
5473 long _arg2
= (long ) 0;
5474 long _arg3
= (long ) 0;
5475 char *_kwnames
[] = { "hours","minutes","seconds","milliseconds", NULL
};
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxTimeSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
5482 wxPy_BEGIN_ALLOW_THREADS
;
5483 _result
= (wxTimeSpan
*)new_wxTimeSpan(_arg0
,_arg1
,_arg2
,_arg3
);
5485 wxPy_END_ALLOW_THREADS
;
5487 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5488 _resultobj
= Py_BuildValue("s",_ptemp
);
5491 _resultobj
= Py_None
;
5496 #define delete_wxTimeSpan(_swigobj) (delete _swigobj)
5497 static PyObject
*_wrap_delete_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5498 PyObject
* _resultobj
;
5500 PyObject
* _argo0
= 0;
5501 char *_kwnames
[] = { "self", NULL
};
5504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTimeSpan",_kwnames
,&_argo0
))
5507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTimeSpan. Expected _wxTimeSpan_p.");
5514 wxPy_BEGIN_ALLOW_THREADS
;
5515 delete_wxTimeSpan(_arg0
);
5517 wxPy_END_ALLOW_THREADS
;
5518 } Py_INCREF(Py_None
);
5519 _resultobj
= Py_None
;
5523 #define wxTimeSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
5524 static PyObject
*_wrap_wxTimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
* _resultobj
;
5526 wxTimeSpan
* _result
;
5529 PyObject
* _argo0
= 0;
5530 PyObject
* _argo1
= 0;
5531 char *_kwnames
[] = { "self","diff", NULL
};
5535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Add",_kwnames
,&_argo0
,&_argo1
))
5538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
5545 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5546 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
5552 wxPy_BEGIN_ALLOW_THREADS
;
5553 wxTimeSpan
& _result_ref
= wxTimeSpan_Add(_arg0
,*_arg1
);
5554 _result
= (wxTimeSpan
*) &_result_ref
;
5556 wxPy_END_ALLOW_THREADS
;
5558 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5559 _resultobj
= Py_BuildValue("s",_ptemp
);
5562 _resultobj
= Py_None
;
5567 #define wxTimeSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5568 static PyObject
*_wrap_wxTimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
* _resultobj
;
5570 wxTimeSpan
* _result
;
5573 PyObject
* _argo0
= 0;
5574 PyObject
* _argo1
= 0;
5575 char *_kwnames
[] = { "self","diff", NULL
};
5579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
5582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
5589 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5590 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
5596 wxPy_BEGIN_ALLOW_THREADS
;
5597 wxTimeSpan
& _result_ref
= wxTimeSpan_Subtract(_arg0
,*_arg1
);
5598 _result
= (wxTimeSpan
*) &_result_ref
;
5600 wxPy_END_ALLOW_THREADS
;
5602 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5603 _resultobj
= Py_BuildValue("s",_ptemp
);
5606 _resultobj
= Py_None
;
5611 #define wxTimeSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
5612 static PyObject
*_wrap_wxTimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5613 PyObject
* _resultobj
;
5614 wxTimeSpan
* _result
;
5617 PyObject
* _argo0
= 0;
5618 char *_kwnames
[] = { "self","n", NULL
};
5622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
5625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Multiply. Expected _wxTimeSpan_p.");
5632 wxPy_BEGIN_ALLOW_THREADS
;
5633 wxTimeSpan
& _result_ref
= wxTimeSpan_Multiply(_arg0
,_arg1
);
5634 _result
= (wxTimeSpan
*) &_result_ref
;
5636 wxPy_END_ALLOW_THREADS
;
5638 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5639 _resultobj
= Py_BuildValue("s",_ptemp
);
5642 _resultobj
= Py_None
;
5647 #define wxTimeSpan_Neg(_swigobj) (_swigobj->Neg())
5648 static PyObject
*_wrap_wxTimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5649 PyObject
* _resultobj
;
5650 wxTimeSpan
* _result
;
5652 PyObject
* _argo0
= 0;
5653 char *_kwnames
[] = { "self", NULL
};
5657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Neg",_kwnames
,&_argo0
))
5660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Neg. Expected _wxTimeSpan_p.");
5667 wxPy_BEGIN_ALLOW_THREADS
;
5668 wxTimeSpan
& _result_ref
= wxTimeSpan_Neg(_arg0
);
5669 _result
= (wxTimeSpan
*) &_result_ref
;
5671 wxPy_END_ALLOW_THREADS
;
5673 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5674 _resultobj
= Py_BuildValue("s",_ptemp
);
5677 _resultobj
= Py_None
;
5682 #define wxTimeSpan_Abs(_swigobj) (_swigobj->Abs())
5683 static PyObject
*_wrap_wxTimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
* _resultobj
;
5685 wxTimeSpan
* _result
;
5687 PyObject
* _argo0
= 0;
5688 char *_kwnames
[] = { "self", NULL
};
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Abs",_kwnames
,&_argo0
))
5695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Abs. Expected _wxTimeSpan_p.");
5702 wxPy_BEGIN_ALLOW_THREADS
;
5703 _result
= new wxTimeSpan (wxTimeSpan_Abs(_arg0
));
5705 wxPy_END_ALLOW_THREADS
;
5706 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5707 _resultobj
= Py_BuildValue("s",_ptemp
);
5711 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
5712 static PyObject
*_wrap_wxTimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
* _resultobj
;
5714 wxTimeSpan
* _result
;
5717 PyObject
* _argo0
= 0;
5718 PyObject
* _argo1
= 0;
5719 char *_kwnames
[] = { "self","other", NULL
};
5723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___add__",_kwnames
,&_argo0
,&_argo1
))
5726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
5733 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5734 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
5740 wxPy_BEGIN_ALLOW_THREADS
;
5741 _result
= new wxTimeSpan (wxTimeSpan___add__(_arg0
,*_arg1
));
5743 wxPy_END_ALLOW_THREADS
;
5744 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5745 _resultobj
= Py_BuildValue("s",_ptemp
);
5749 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
5750 static PyObject
*_wrap_wxTimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
* _resultobj
;
5752 wxTimeSpan
* _result
;
5755 PyObject
* _argo0
= 0;
5756 PyObject
* _argo1
= 0;
5757 char *_kwnames
[] = { "self","other", NULL
};
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
5764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
5771 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5772 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
5778 wxPy_BEGIN_ALLOW_THREADS
;
5779 _result
= new wxTimeSpan (wxTimeSpan___sub__(_arg0
,*_arg1
));
5781 wxPy_END_ALLOW_THREADS
;
5782 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5783 _resultobj
= Py_BuildValue("s",_ptemp
);
5787 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
) { return *self
* n
; }
5788 static PyObject
*_wrap_wxTimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
* _resultobj
;
5790 wxTimeSpan
* _result
;
5793 PyObject
* _argo0
= 0;
5794 char *_kwnames
[] = { "self","n", NULL
};
5798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
5801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___mul__. Expected _wxTimeSpan_p.");
5808 wxPy_BEGIN_ALLOW_THREADS
;
5809 _result
= new wxTimeSpan (wxTimeSpan___mul__(_arg0
,_arg1
));
5811 wxPy_END_ALLOW_THREADS
;
5812 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5813 _resultobj
= Py_BuildValue("s",_ptemp
);
5817 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
) { return n
* *self
; }
5818 static PyObject
*_wrap_wxTimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
* _resultobj
;
5820 wxTimeSpan
* _result
;
5823 PyObject
* _argo0
= 0;
5824 char *_kwnames
[] = { "self","n", NULL
};
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
5831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___rmul__. Expected _wxTimeSpan_p.");
5838 wxPy_BEGIN_ALLOW_THREADS
;
5839 _result
= new wxTimeSpan (wxTimeSpan___rmul__(_arg0
,_arg1
));
5841 wxPy_END_ALLOW_THREADS
;
5842 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5843 _resultobj
= Py_BuildValue("s",_ptemp
);
5847 static wxTimeSpan
wxTimeSpan___neg__(wxTimeSpan
*self
) { return self
->Negate(); }
5848 static PyObject
*_wrap_wxTimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5849 PyObject
* _resultobj
;
5850 wxTimeSpan
* _result
;
5852 PyObject
* _argo0
= 0;
5853 char *_kwnames
[] = { "self", NULL
};
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan___neg__",_kwnames
,&_argo0
))
5860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___neg__. Expected _wxTimeSpan_p.");
5867 wxPy_BEGIN_ALLOW_THREADS
;
5868 _result
= new wxTimeSpan (wxTimeSpan___neg__(_arg0
));
5870 wxPy_END_ALLOW_THREADS
;
5871 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5872 _resultobj
= Py_BuildValue("s",_ptemp
);
5876 static int wxTimeSpan___cmp__(wxTimeSpan
*self
,const wxTimeSpan
& other
) {
5877 if (*self
< other
) return -1;
5878 if (*self
== other
) return 0;
5881 static PyObject
*_wrap_wxTimeSpan___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5882 PyObject
* _resultobj
;
5886 PyObject
* _argo0
= 0;
5887 PyObject
* _argo1
= 0;
5888 char *_kwnames
[] = { "self","other", NULL
};
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___cmp__",_kwnames
,&_argo0
,&_argo1
))
5894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
5901 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5902 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
5908 wxPy_BEGIN_ALLOW_THREADS
;
5909 _result
= (int )wxTimeSpan___cmp__(_arg0
,*_arg1
);
5911 wxPy_END_ALLOW_THREADS
;
5912 } _resultobj
= Py_BuildValue("i",_result
);
5916 #define wxTimeSpan_IsNull(_swigobj) (_swigobj->IsNull())
5917 static PyObject
*_wrap_wxTimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
* _resultobj
;
5921 PyObject
* _argo0
= 0;
5922 char *_kwnames
[] = { "self", NULL
};
5925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNull",_kwnames
,&_argo0
))
5928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNull. Expected _wxTimeSpan_p.");
5935 wxPy_BEGIN_ALLOW_THREADS
;
5936 _result
= (bool )wxTimeSpan_IsNull(_arg0
);
5938 wxPy_END_ALLOW_THREADS
;
5939 } _resultobj
= Py_BuildValue("i",_result
);
5943 #define wxTimeSpan_IsPositive(_swigobj) (_swigobj->IsPositive())
5944 static PyObject
*_wrap_wxTimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5945 PyObject
* _resultobj
;
5948 PyObject
* _argo0
= 0;
5949 char *_kwnames
[] = { "self", NULL
};
5952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsPositive",_kwnames
,&_argo0
))
5955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsPositive. Expected _wxTimeSpan_p.");
5962 wxPy_BEGIN_ALLOW_THREADS
;
5963 _result
= (bool )wxTimeSpan_IsPositive(_arg0
);
5965 wxPy_END_ALLOW_THREADS
;
5966 } _resultobj
= Py_BuildValue("i",_result
);
5970 #define wxTimeSpan_IsNegative(_swigobj) (_swigobj->IsNegative())
5971 static PyObject
*_wrap_wxTimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5972 PyObject
* _resultobj
;
5975 PyObject
* _argo0
= 0;
5976 char *_kwnames
[] = { "self", NULL
};
5979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNegative",_kwnames
,&_argo0
))
5982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNegative. Expected _wxTimeSpan_p.");
5989 wxPy_BEGIN_ALLOW_THREADS
;
5990 _result
= (bool )wxTimeSpan_IsNegative(_arg0
);
5992 wxPy_END_ALLOW_THREADS
;
5993 } _resultobj
= Py_BuildValue("i",_result
);
5997 #define wxTimeSpan_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
5998 static PyObject
*_wrap_wxTimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5999 PyObject
* _resultobj
;
6003 PyObject
* _argo0
= 0;
6004 PyObject
* _argo1
= 0;
6005 char *_kwnames
[] = { "self","ts", NULL
};
6008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
6011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6018 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6019 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6025 wxPy_BEGIN_ALLOW_THREADS
;
6026 _result
= (bool )wxTimeSpan_IsEqualTo(_arg0
,*_arg1
);
6028 wxPy_END_ALLOW_THREADS
;
6029 } _resultobj
= Py_BuildValue("i",_result
);
6033 #define wxTimeSpan_IsLongerThan(_swigobj,_swigarg0) (_swigobj->IsLongerThan(_swigarg0))
6034 static PyObject
*_wrap_wxTimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
* _resultobj
;
6039 PyObject
* _argo0
= 0;
6040 PyObject
* _argo1
= 0;
6041 char *_kwnames
[] = { "self","ts", NULL
};
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsLongerThan",_kwnames
,&_argo0
,&_argo1
))
6047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6054 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6055 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6061 wxPy_BEGIN_ALLOW_THREADS
;
6062 _result
= (bool )wxTimeSpan_IsLongerThan(_arg0
,*_arg1
);
6064 wxPy_END_ALLOW_THREADS
;
6065 } _resultobj
= Py_BuildValue("i",_result
);
6069 #define wxTimeSpan_IsShorterThan(_swigobj,_swigarg0) (_swigobj->IsShorterThan(_swigarg0))
6070 static PyObject
*_wrap_wxTimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
* _resultobj
;
6075 PyObject
* _argo0
= 0;
6076 PyObject
* _argo1
= 0;
6077 char *_kwnames
[] = { "self","t", NULL
};
6080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsShorterThan",_kwnames
,&_argo0
,&_argo1
))
6083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6090 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6091 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6097 wxPy_BEGIN_ALLOW_THREADS
;
6098 _result
= (bool )wxTimeSpan_IsShorterThan(_arg0
,*_arg1
);
6100 wxPy_END_ALLOW_THREADS
;
6101 } _resultobj
= Py_BuildValue("i",_result
);
6105 #define wxTimeSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
6106 static PyObject
*_wrap_wxTimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6107 PyObject
* _resultobj
;
6110 PyObject
* _argo0
= 0;
6111 char *_kwnames
[] = { "self", NULL
};
6114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetWeeks",_kwnames
,&_argo0
))
6117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetWeeks. Expected _wxTimeSpan_p.");
6124 wxPy_BEGIN_ALLOW_THREADS
;
6125 _result
= (int )wxTimeSpan_GetWeeks(_arg0
);
6127 wxPy_END_ALLOW_THREADS
;
6128 } _resultobj
= Py_BuildValue("i",_result
);
6132 #define wxTimeSpan_GetDays(_swigobj) (_swigobj->GetDays())
6133 static PyObject
*_wrap_wxTimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6134 PyObject
* _resultobj
;
6137 PyObject
* _argo0
= 0;
6138 char *_kwnames
[] = { "self", NULL
};
6141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetDays",_kwnames
,&_argo0
))
6144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetDays. Expected _wxTimeSpan_p.");
6151 wxPy_BEGIN_ALLOW_THREADS
;
6152 _result
= (int )wxTimeSpan_GetDays(_arg0
);
6154 wxPy_END_ALLOW_THREADS
;
6155 } _resultobj
= Py_BuildValue("i",_result
);
6159 #define wxTimeSpan_GetHours(_swigobj) (_swigobj->GetHours())
6160 static PyObject
*_wrap_wxTimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
* _resultobj
;
6164 PyObject
* _argo0
= 0;
6165 char *_kwnames
[] = { "self", NULL
};
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetHours",_kwnames
,&_argo0
))
6171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetHours. Expected _wxTimeSpan_p.");
6178 wxPy_BEGIN_ALLOW_THREADS
;
6179 _result
= (int )wxTimeSpan_GetHours(_arg0
);
6181 wxPy_END_ALLOW_THREADS
;
6182 } _resultobj
= Py_BuildValue("i",_result
);
6186 #define wxTimeSpan_GetMinutes(_swigobj) (_swigobj->GetMinutes())
6187 static PyObject
*_wrap_wxTimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
* _resultobj
;
6191 PyObject
* _argo0
= 0;
6192 char *_kwnames
[] = { "self", NULL
};
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMinutes",_kwnames
,&_argo0
))
6198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMinutes. Expected _wxTimeSpan_p.");
6205 wxPy_BEGIN_ALLOW_THREADS
;
6206 _result
= (int )wxTimeSpan_GetMinutes(_arg0
);
6208 wxPy_END_ALLOW_THREADS
;
6209 } _resultobj
= Py_BuildValue("i",_result
);
6213 #define wxTimeSpan_GetSeconds(_swigobj) (_swigobj->GetSeconds())
6214 static PyObject
*_wrap_wxTimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6215 PyObject
* _resultobj
;
6216 wxLongLong
* _result
;
6218 PyObject
* _argo0
= 0;
6219 char *_kwnames
[] = { "self", NULL
};
6222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetSeconds",_kwnames
,&_argo0
))
6225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetSeconds. Expected _wxTimeSpan_p.");
6232 wxPy_BEGIN_ALLOW_THREADS
;
6233 _result
= new wxLongLong (wxTimeSpan_GetSeconds(_arg0
));
6235 wxPy_END_ALLOW_THREADS
;
6237 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6238 hi
= PyLong_FromLong(_result
->GetHi());
6239 lo
= PyLong_FromLong(_result
->GetLo());
6240 shifter
= PyLong_FromLong(32);
6241 shifted
= PyNumber_Lshift(hi
, shifter
);
6242 _resultobj
= PyNumber_Or(shifted
, lo
);
6251 #define wxTimeSpan_GetMilliseconds(_swigobj) (_swigobj->GetMilliseconds())
6252 static PyObject
*_wrap_wxTimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
* _resultobj
;
6254 wxLongLong
* _result
;
6256 PyObject
* _argo0
= 0;
6257 char *_kwnames
[] = { "self", NULL
};
6260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMilliseconds",_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_GetMilliseconds. Expected _wxTimeSpan_p.");
6270 wxPy_BEGIN_ALLOW_THREADS
;
6271 _result
= new wxLongLong (wxTimeSpan_GetMilliseconds(_arg0
));
6273 wxPy_END_ALLOW_THREADS
;
6275 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6276 hi
= PyLong_FromLong(_result
->GetHi());
6277 lo
= PyLong_FromLong(_result
->GetLo());
6278 shifter
= PyLong_FromLong(32);
6279 shifted
= PyNumber_Lshift(hi
, shifter
);
6280 _resultobj
= PyNumber_Or(shifted
, lo
);
6289 #define wxTimeSpan_Format(_swigobj,_swigarg0) (_swigobj->Format(_swigarg0))
6290 static PyObject
*_wrap_wxTimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
* _resultobj
;
6294 char * _arg1
= (char *) "%c";
6295 PyObject
* _argo0
= 0;
6296 char *_kwnames
[] = { "self","format", NULL
};
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxTimeSpan_Format",_kwnames
,&_argo0
,&_arg1
))
6302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Format. Expected _wxTimeSpan_p.");
6309 wxPy_BEGIN_ALLOW_THREADS
;
6310 _result
= new wxString (wxTimeSpan_Format(_arg0
,_arg1
));
6312 wxPy_END_ALLOW_THREADS
;
6314 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6322 #define new_wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6323 static PyObject
*_wrap_new_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
* _resultobj
;
6325 wxDateSpan
* _result
;
6326 int _arg0
= (int ) 0;
6327 int _arg1
= (int ) 0;
6328 int _arg2
= (int ) 0;
6329 int _arg3
= (int ) 0;
6330 char *_kwnames
[] = { "years","months","weeks","days", NULL
};
6334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxDateSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
6337 wxPy_BEGIN_ALLOW_THREADS
;
6338 _result
= (wxDateSpan
*)new_wxDateSpan(_arg0
,_arg1
,_arg2
,_arg3
);
6340 wxPy_END_ALLOW_THREADS
;
6342 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6343 _resultobj
= Py_BuildValue("s",_ptemp
);
6346 _resultobj
= Py_None
;
6351 #define delete_wxDateSpan(_swigobj) (delete _swigobj)
6352 static PyObject
*_wrap_delete_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6353 PyObject
* _resultobj
;
6355 PyObject
* _argo0
= 0;
6356 char *_kwnames
[] = { "self", NULL
};
6359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateSpan",_kwnames
,&_argo0
))
6362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateSpan. Expected _wxDateSpan_p.");
6369 wxPy_BEGIN_ALLOW_THREADS
;
6370 delete_wxDateSpan(_arg0
);
6372 wxPy_END_ALLOW_THREADS
;
6373 } Py_INCREF(Py_None
);
6374 _resultobj
= Py_None
;
6378 static PyObject
*_wrap_wxDateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
* _resultobj
;
6380 wxDateSpan
* _result
;
6382 char *_kwnames
[] = { "days", NULL
};
6386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Days",_kwnames
,&_arg0
))
6389 wxPy_BEGIN_ALLOW_THREADS
;
6390 _result
= new wxDateSpan (wxDateSpan::Days(_arg0
));
6392 wxPy_END_ALLOW_THREADS
;
6393 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6394 _resultobj
= Py_BuildValue("s",_ptemp
);
6398 static PyObject
*_wrap_wxDateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
* _resultobj
;
6400 wxDateSpan
* _result
;
6401 char *_kwnames
[] = { NULL
};
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Day",_kwnames
))
6408 wxPy_BEGIN_ALLOW_THREADS
;
6409 _result
= new wxDateSpan (wxDateSpan::Day());
6411 wxPy_END_ALLOW_THREADS
;
6412 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6413 _resultobj
= Py_BuildValue("s",_ptemp
);
6417 static PyObject
*_wrap_wxDateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
* _resultobj
;
6419 wxDateSpan
* _result
;
6421 char *_kwnames
[] = { "weeks", NULL
};
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Weeks",_kwnames
,&_arg0
))
6428 wxPy_BEGIN_ALLOW_THREADS
;
6429 _result
= new wxDateSpan (wxDateSpan::Weeks(_arg0
));
6431 wxPy_END_ALLOW_THREADS
;
6432 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6433 _resultobj
= Py_BuildValue("s",_ptemp
);
6437 static PyObject
*_wrap_wxDateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
* _resultobj
;
6439 wxDateSpan
* _result
;
6440 char *_kwnames
[] = { NULL
};
6444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Week",_kwnames
))
6447 wxPy_BEGIN_ALLOW_THREADS
;
6448 _result
= new wxDateSpan (wxDateSpan::Week());
6450 wxPy_END_ALLOW_THREADS
;
6451 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6452 _resultobj
= Py_BuildValue("s",_ptemp
);
6456 static PyObject
*_wrap_wxDateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
* _resultobj
;
6458 wxDateSpan
* _result
;
6460 char *_kwnames
[] = { "mon", NULL
};
6464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Months",_kwnames
,&_arg0
))
6467 wxPy_BEGIN_ALLOW_THREADS
;
6468 _result
= new wxDateSpan (wxDateSpan::Months(_arg0
));
6470 wxPy_END_ALLOW_THREADS
;
6471 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6472 _resultobj
= Py_BuildValue("s",_ptemp
);
6476 static PyObject
*_wrap_wxDateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
* _resultobj
;
6478 wxDateSpan
* _result
;
6479 char *_kwnames
[] = { NULL
};
6483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Month",_kwnames
))
6486 wxPy_BEGIN_ALLOW_THREADS
;
6487 _result
= new wxDateSpan (wxDateSpan::Month());
6489 wxPy_END_ALLOW_THREADS
;
6490 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6491 _resultobj
= Py_BuildValue("s",_ptemp
);
6495 static PyObject
*_wrap_wxDateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6496 PyObject
* _resultobj
;
6497 wxDateSpan
* _result
;
6499 char *_kwnames
[] = { "years", NULL
};
6503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Years",_kwnames
,&_arg0
))
6506 wxPy_BEGIN_ALLOW_THREADS
;
6507 _result
= new wxDateSpan (wxDateSpan::Years(_arg0
));
6509 wxPy_END_ALLOW_THREADS
;
6510 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6511 _resultobj
= Py_BuildValue("s",_ptemp
);
6515 static PyObject
*_wrap_wxDateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
* _resultobj
;
6517 wxDateSpan
* _result
;
6518 char *_kwnames
[] = { NULL
};
6522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Year",_kwnames
))
6525 wxPy_BEGIN_ALLOW_THREADS
;
6526 _result
= new wxDateSpan (wxDateSpan::Year());
6528 wxPy_END_ALLOW_THREADS
;
6529 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6530 _resultobj
= Py_BuildValue("s",_ptemp
);
6534 #define wxDateSpan_SetYears(_swigobj,_swigarg0) (_swigobj->SetYears(_swigarg0))
6535 static PyObject
*_wrap_wxDateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
* _resultobj
;
6537 wxDateSpan
* _result
;
6540 PyObject
* _argo0
= 0;
6541 char *_kwnames
[] = { "self","n", NULL
};
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetYears",_kwnames
,&_argo0
,&_arg1
))
6548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetYears. Expected _wxDateSpan_p.");
6555 wxPy_BEGIN_ALLOW_THREADS
;
6556 wxDateSpan
& _result_ref
= wxDateSpan_SetYears(_arg0
,_arg1
);
6557 _result
= (wxDateSpan
*) &_result_ref
;
6559 wxPy_END_ALLOW_THREADS
;
6561 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6562 _resultobj
= Py_BuildValue("s",_ptemp
);
6565 _resultobj
= Py_None
;
6570 #define wxDateSpan_SetMonths(_swigobj,_swigarg0) (_swigobj->SetMonths(_swigarg0))
6571 static PyObject
*_wrap_wxDateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
* _resultobj
;
6573 wxDateSpan
* _result
;
6576 PyObject
* _argo0
= 0;
6577 char *_kwnames
[] = { "self","n", NULL
};
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetMonths",_kwnames
,&_argo0
,&_arg1
))
6584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetMonths. Expected _wxDateSpan_p.");
6591 wxPy_BEGIN_ALLOW_THREADS
;
6592 wxDateSpan
& _result_ref
= wxDateSpan_SetMonths(_arg0
,_arg1
);
6593 _result
= (wxDateSpan
*) &_result_ref
;
6595 wxPy_END_ALLOW_THREADS
;
6597 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6598 _resultobj
= Py_BuildValue("s",_ptemp
);
6601 _resultobj
= Py_None
;
6606 #define wxDateSpan_SetWeeks(_swigobj,_swigarg0) (_swigobj->SetWeeks(_swigarg0))
6607 static PyObject
*_wrap_wxDateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
* _resultobj
;
6609 wxDateSpan
* _result
;
6612 PyObject
* _argo0
= 0;
6613 char *_kwnames
[] = { "self","n", NULL
};
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetWeeks",_kwnames
,&_argo0
,&_arg1
))
6620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetWeeks. Expected _wxDateSpan_p.");
6627 wxPy_BEGIN_ALLOW_THREADS
;
6628 wxDateSpan
& _result_ref
= wxDateSpan_SetWeeks(_arg0
,_arg1
);
6629 _result
= (wxDateSpan
*) &_result_ref
;
6631 wxPy_END_ALLOW_THREADS
;
6633 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6634 _resultobj
= Py_BuildValue("s",_ptemp
);
6637 _resultobj
= Py_None
;
6642 #define wxDateSpan_SetDays(_swigobj,_swigarg0) (_swigobj->SetDays(_swigarg0))
6643 static PyObject
*_wrap_wxDateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
* _resultobj
;
6645 wxDateSpan
* _result
;
6648 PyObject
* _argo0
= 0;
6649 char *_kwnames
[] = { "self","n", NULL
};
6653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetDays",_kwnames
,&_argo0
,&_arg1
))
6656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetDays. Expected _wxDateSpan_p.");
6663 wxPy_BEGIN_ALLOW_THREADS
;
6664 wxDateSpan
& _result_ref
= wxDateSpan_SetDays(_arg0
,_arg1
);
6665 _result
= (wxDateSpan
*) &_result_ref
;
6667 wxPy_END_ALLOW_THREADS
;
6669 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6670 _resultobj
= Py_BuildValue("s",_ptemp
);
6673 _resultobj
= Py_None
;
6678 #define wxDateSpan_GetYears(_swigobj) (_swigobj->GetYears())
6679 static PyObject
*_wrap_wxDateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
* _resultobj
;
6683 PyObject
* _argo0
= 0;
6684 char *_kwnames
[] = { "self", NULL
};
6687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetYears",_kwnames
,&_argo0
))
6690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetYears. Expected _wxDateSpan_p.");
6697 wxPy_BEGIN_ALLOW_THREADS
;
6698 _result
= (int )wxDateSpan_GetYears(_arg0
);
6700 wxPy_END_ALLOW_THREADS
;
6701 } _resultobj
= Py_BuildValue("i",_result
);
6705 #define wxDateSpan_GetMonths(_swigobj) (_swigobj->GetMonths())
6706 static PyObject
*_wrap_wxDateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
* _resultobj
;
6710 PyObject
* _argo0
= 0;
6711 char *_kwnames
[] = { "self", NULL
};
6714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetMonths",_kwnames
,&_argo0
))
6717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetMonths. Expected _wxDateSpan_p.");
6724 wxPy_BEGIN_ALLOW_THREADS
;
6725 _result
= (int )wxDateSpan_GetMonths(_arg0
);
6727 wxPy_END_ALLOW_THREADS
;
6728 } _resultobj
= Py_BuildValue("i",_result
);
6732 #define wxDateSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
6733 static PyObject
*_wrap_wxDateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
* _resultobj
;
6737 PyObject
* _argo0
= 0;
6738 char *_kwnames
[] = { "self", NULL
};
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetWeeks",_kwnames
,&_argo0
))
6744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetWeeks. Expected _wxDateSpan_p.");
6751 wxPy_BEGIN_ALLOW_THREADS
;
6752 _result
= (int )wxDateSpan_GetWeeks(_arg0
);
6754 wxPy_END_ALLOW_THREADS
;
6755 } _resultobj
= Py_BuildValue("i",_result
);
6759 #define wxDateSpan_GetDays(_swigobj) (_swigobj->GetDays())
6760 static PyObject
*_wrap_wxDateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
* _resultobj
;
6764 PyObject
* _argo0
= 0;
6765 char *_kwnames
[] = { "self", NULL
};
6768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetDays",_kwnames
,&_argo0
))
6771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetDays. Expected _wxDateSpan_p.");
6778 wxPy_BEGIN_ALLOW_THREADS
;
6779 _result
= (int )wxDateSpan_GetDays(_arg0
);
6781 wxPy_END_ALLOW_THREADS
;
6782 } _resultobj
= Py_BuildValue("i",_result
);
6786 #define wxDateSpan_GetTotalDays(_swigobj) (_swigobj->GetTotalDays())
6787 static PyObject
*_wrap_wxDateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6788 PyObject
* _resultobj
;
6791 PyObject
* _argo0
= 0;
6792 char *_kwnames
[] = { "self", NULL
};
6795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetTotalDays",_kwnames
,&_argo0
))
6798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetTotalDays. Expected _wxDateSpan_p.");
6805 wxPy_BEGIN_ALLOW_THREADS
;
6806 _result
= (int )wxDateSpan_GetTotalDays(_arg0
);
6808 wxPy_END_ALLOW_THREADS
;
6809 } _resultobj
= Py_BuildValue("i",_result
);
6813 #define wxDateSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
6814 static PyObject
*_wrap_wxDateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6815 PyObject
* _resultobj
;
6816 wxDateSpan
* _result
;
6819 PyObject
* _argo0
= 0;
6820 PyObject
* _argo1
= 0;
6821 char *_kwnames
[] = { "self","other", NULL
};
6825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Add",_kwnames
,&_argo0
,&_argo1
))
6828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Add. Expected _wxDateSpan_p.");
6835 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6836 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
6837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Add. Expected _wxDateSpan_p.");
6842 wxPy_BEGIN_ALLOW_THREADS
;
6843 wxDateSpan
& _result_ref
= wxDateSpan_Add(_arg0
,*_arg1
);
6844 _result
= (wxDateSpan
*) &_result_ref
;
6846 wxPy_END_ALLOW_THREADS
;
6848 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6849 _resultobj
= Py_BuildValue("s",_ptemp
);
6852 _resultobj
= Py_None
;
6857 #define wxDateSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
6858 static PyObject
*_wrap_wxDateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
* _resultobj
;
6860 wxDateSpan
* _result
;
6863 PyObject
* _argo0
= 0;
6864 PyObject
* _argo1
= 0;
6865 char *_kwnames
[] = { "self","other", NULL
};
6869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
6872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
6879 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6880 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
6881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
6886 wxPy_BEGIN_ALLOW_THREADS
;
6887 wxDateSpan
& _result_ref
= wxDateSpan_Subtract(_arg0
,*_arg1
);
6888 _result
= (wxDateSpan
*) &_result_ref
;
6890 wxPy_END_ALLOW_THREADS
;
6892 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6893 _resultobj
= Py_BuildValue("s",_ptemp
);
6896 _resultobj
= Py_None
;
6901 #define wxDateSpan_Neg(_swigobj) (_swigobj->Neg())
6902 static PyObject
*_wrap_wxDateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
* _resultobj
;
6904 wxDateSpan
* _result
;
6906 PyObject
* _argo0
= 0;
6907 char *_kwnames
[] = { "self", NULL
};
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_Neg",_kwnames
,&_argo0
))
6914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Neg. Expected _wxDateSpan_p.");
6921 wxPy_BEGIN_ALLOW_THREADS
;
6922 wxDateSpan
& _result_ref
= wxDateSpan_Neg(_arg0
);
6923 _result
= (wxDateSpan
*) &_result_ref
;
6925 wxPy_END_ALLOW_THREADS
;
6927 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6928 _resultobj
= Py_BuildValue("s",_ptemp
);
6931 _resultobj
= Py_None
;
6936 #define wxDateSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
6937 static PyObject
*_wrap_wxDateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
* _resultobj
;
6939 wxDateSpan
* _result
;
6942 PyObject
* _argo0
= 0;
6943 char *_kwnames
[] = { "self","factor", NULL
};
6947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
6950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Multiply. Expected _wxDateSpan_p.");
6957 wxPy_BEGIN_ALLOW_THREADS
;
6958 wxDateSpan
& _result_ref
= wxDateSpan_Multiply(_arg0
,_arg1
);
6959 _result
= (wxDateSpan
*) &_result_ref
;
6961 wxPy_END_ALLOW_THREADS
;
6963 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6964 _resultobj
= Py_BuildValue("s",_ptemp
);
6967 _resultobj
= Py_None
;
6972 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
6973 static PyObject
*_wrap_wxDateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
* _resultobj
;
6975 wxDateSpan
* _result
;
6978 PyObject
* _argo0
= 0;
6979 PyObject
* _argo1
= 0;
6980 char *_kwnames
[] = { "self","other", NULL
};
6984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___add__",_kwnames
,&_argo0
,&_argo1
))
6987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___add__. Expected _wxDateSpan_p.");
6994 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6995 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
6996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7001 wxPy_BEGIN_ALLOW_THREADS
;
7002 _result
= new wxDateSpan (wxDateSpan___add__(_arg0
,*_arg1
));
7004 wxPy_END_ALLOW_THREADS
;
7005 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7006 _resultobj
= Py_BuildValue("s",_ptemp
);
7010 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
- other
; }
7011 static PyObject
*_wrap_wxDateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
* _resultobj
;
7013 wxDateSpan
* _result
;
7016 PyObject
* _argo0
= 0;
7017 PyObject
* _argo1
= 0;
7018 char *_kwnames
[] = { "self","other", NULL
};
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
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___sub__. Expected _wxDateSpan_p.");
7032 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7033 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7039 wxPy_BEGIN_ALLOW_THREADS
;
7040 _result
= new wxDateSpan (wxDateSpan___sub__(_arg0
,*_arg1
));
7042 wxPy_END_ALLOW_THREADS
;
7043 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7044 _resultobj
= Py_BuildValue("s",_ptemp
);
7048 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
) { return *self
* n
; }
7049 static PyObject
*_wrap_wxDateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
* _resultobj
;
7051 wxDateSpan
* _result
;
7054 PyObject
* _argo0
= 0;
7055 char *_kwnames
[] = { "self","n", NULL
};
7059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
7062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___mul__. Expected _wxDateSpan_p.");
7069 wxPy_BEGIN_ALLOW_THREADS
;
7070 _result
= new wxDateSpan (wxDateSpan___mul__(_arg0
,_arg1
));
7072 wxPy_END_ALLOW_THREADS
;
7073 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7074 _resultobj
= Py_BuildValue("s",_ptemp
);
7078 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
) { return n
* *self
; }
7079 static PyObject
*_wrap_wxDateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7080 PyObject
* _resultobj
;
7081 wxDateSpan
* _result
;
7084 PyObject
* _argo0
= 0;
7085 char *_kwnames
[] = { "self","n", NULL
};
7089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
7092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___rmul__. Expected _wxDateSpan_p.");
7099 wxPy_BEGIN_ALLOW_THREADS
;
7100 _result
= new wxDateSpan (wxDateSpan___rmul__(_arg0
,_arg1
));
7102 wxPy_END_ALLOW_THREADS
;
7103 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7104 _resultobj
= Py_BuildValue("s",_ptemp
);
7108 static wxDateSpan
wxDateSpan___neg__(wxDateSpan
*self
) { return self
->Negate(); }
7109 static PyObject
*_wrap_wxDateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7110 PyObject
* _resultobj
;
7111 wxDateSpan
* _result
;
7113 PyObject
* _argo0
= 0;
7114 char *_kwnames
[] = { "self", NULL
};
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan___neg__",_kwnames
,&_argo0
))
7121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___neg__. Expected _wxDateSpan_p.");
7128 wxPy_BEGIN_ALLOW_THREADS
;
7129 _result
= new wxDateSpan (wxDateSpan___neg__(_arg0
));
7131 wxPy_END_ALLOW_THREADS
;
7132 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7133 _resultobj
= Py_BuildValue("s",_ptemp
);
7137 static PyMethodDef utilscMethods
[] = {
7138 { "wxDateSpan___neg__", (PyCFunction
) _wrap_wxDateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7139 { "wxDateSpan___rmul__", (PyCFunction
) _wrap_wxDateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7140 { "wxDateSpan___mul__", (PyCFunction
) _wrap_wxDateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7141 { "wxDateSpan___sub__", (PyCFunction
) _wrap_wxDateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7142 { "wxDateSpan___add__", (PyCFunction
) _wrap_wxDateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7143 { "wxDateSpan_Multiply", (PyCFunction
) _wrap_wxDateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7144 { "wxDateSpan_Neg", (PyCFunction
) _wrap_wxDateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7145 { "wxDateSpan_Subtract", (PyCFunction
) _wrap_wxDateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7146 { "wxDateSpan_Add", (PyCFunction
) _wrap_wxDateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7147 { "wxDateSpan_GetTotalDays", (PyCFunction
) _wrap_wxDateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
7148 { "wxDateSpan_GetDays", (PyCFunction
) _wrap_wxDateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7149 { "wxDateSpan_GetWeeks", (PyCFunction
) _wrap_wxDateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7150 { "wxDateSpan_GetMonths", (PyCFunction
) _wrap_wxDateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7151 { "wxDateSpan_GetYears", (PyCFunction
) _wrap_wxDateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
7152 { "wxDateSpan_SetDays", (PyCFunction
) _wrap_wxDateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
7153 { "wxDateSpan_SetWeeks", (PyCFunction
) _wrap_wxDateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7154 { "wxDateSpan_SetMonths", (PyCFunction
) _wrap_wxDateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7155 { "wxDateSpan_SetYears", (PyCFunction
) _wrap_wxDateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
7156 { "wxDateSpan_Year", (PyCFunction
) _wrap_wxDateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
7157 { "wxDateSpan_Years", (PyCFunction
) _wrap_wxDateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
7158 { "wxDateSpan_Month", (PyCFunction
) _wrap_wxDateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
7159 { "wxDateSpan_Months", (PyCFunction
) _wrap_wxDateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
7160 { "wxDateSpan_Week", (PyCFunction
) _wrap_wxDateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7161 { "wxDateSpan_Weeks", (PyCFunction
) _wrap_wxDateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7162 { "wxDateSpan_Day", (PyCFunction
) _wrap_wxDateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7163 { "wxDateSpan_Days", (PyCFunction
) _wrap_wxDateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7164 { "delete_wxDateSpan", (PyCFunction
) _wrap_delete_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7165 { "new_wxDateSpan", (PyCFunction
) _wrap_new_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7166 { "wxTimeSpan_Format", (PyCFunction
) _wrap_wxTimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
7167 { "wxTimeSpan_GetMilliseconds", (PyCFunction
) _wrap_wxTimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
7168 { "wxTimeSpan_GetSeconds", (PyCFunction
) _wrap_wxTimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
7169 { "wxTimeSpan_GetMinutes", (PyCFunction
) _wrap_wxTimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
7170 { "wxTimeSpan_GetHours", (PyCFunction
) _wrap_wxTimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
7171 { "wxTimeSpan_GetDays", (PyCFunction
) _wrap_wxTimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7172 { "wxTimeSpan_GetWeeks", (PyCFunction
) _wrap_wxTimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7173 { "wxTimeSpan_IsShorterThan", (PyCFunction
) _wrap_wxTimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
7174 { "wxTimeSpan_IsLongerThan", (PyCFunction
) _wrap_wxTimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
7175 { "wxTimeSpan_IsEqualTo", (PyCFunction
) _wrap_wxTimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7176 { "wxTimeSpan_IsNegative", (PyCFunction
) _wrap_wxTimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
7177 { "wxTimeSpan_IsPositive", (PyCFunction
) _wrap_wxTimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
7178 { "wxTimeSpan_IsNull", (PyCFunction
) _wrap_wxTimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
7179 { "wxTimeSpan___cmp__", (PyCFunction
) _wrap_wxTimeSpan___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7180 { "wxTimeSpan___neg__", (PyCFunction
) _wrap_wxTimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7181 { "wxTimeSpan___rmul__", (PyCFunction
) _wrap_wxTimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7182 { "wxTimeSpan___mul__", (PyCFunction
) _wrap_wxTimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7183 { "wxTimeSpan___sub__", (PyCFunction
) _wrap_wxTimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7184 { "wxTimeSpan___add__", (PyCFunction
) _wrap_wxTimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7185 { "wxTimeSpan_Abs", (PyCFunction
) _wrap_wxTimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
7186 { "wxTimeSpan_Neg", (PyCFunction
) _wrap_wxTimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7187 { "wxTimeSpan_Multiply", (PyCFunction
) _wrap_wxTimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7188 { "wxTimeSpan_Subtract", (PyCFunction
) _wrap_wxTimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7189 { "wxTimeSpan_Add", (PyCFunction
) _wrap_wxTimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7190 { "delete_wxTimeSpan", (PyCFunction
) _wrap_delete_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7191 { "new_wxTimeSpan", (PyCFunction
) _wrap_new_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7192 { "wxTimeSpan_Week", (PyCFunction
) _wrap_wxTimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7193 { "wxTimeSpan_Weeks", (PyCFunction
) _wrap_wxTimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7194 { "wxTimeSpan_Day", (PyCFunction
) _wrap_wxTimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7195 { "wxTimeSpan_Days", (PyCFunction
) _wrap_wxTimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7196 { "wxTimeSpan_Hour", (PyCFunction
) _wrap_wxTimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
7197 { "wxTimeSpan_Hours", (PyCFunction
) _wrap_wxTimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
7198 { "wxTimeSpan_Minute", (PyCFunction
) _wrap_wxTimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
7199 { "wxTimeSpan_Minutes", (PyCFunction
) _wrap_wxTimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
7200 { "wxTimeSpan_Second", (PyCFunction
) _wrap_wxTimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
7201 { "wxTimeSpan_Seconds", (PyCFunction
) _wrap_wxTimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
7202 { "wxDateTime_FormatISOTime", (PyCFunction
) _wrap_wxDateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
7203 { "wxDateTime_FormatISODate", (PyCFunction
) _wrap_wxDateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
7204 { "wxDateTime_FormatTime", (PyCFunction
) _wrap_wxDateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
7205 { "wxDateTime_FormatDate", (PyCFunction
) _wrap_wxDateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
7206 { "wxDateTime_Format", (PyCFunction
) _wrap_wxDateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
7207 { "wxDateTime_ParseTime", (PyCFunction
) _wrap_wxDateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
7208 { "wxDateTime_ParseDate", (PyCFunction
) _wrap_wxDateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
7209 { "wxDateTime_ParseDateTime", (PyCFunction
) _wrap_wxDateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7210 { "wxDateTime_ParseFormat", (PyCFunction
) _wrap_wxDateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
7211 { "wxDateTime_ParseRfc822Date", (PyCFunction
) _wrap_wxDateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
7212 { "wxDateTime___cmp__", (PyCFunction
) _wrap_wxDateTime___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7213 { "wxDateTime___sub__DS", (PyCFunction
) _wrap_wxDateTime___sub__DS
, METH_VARARGS
| METH_KEYWORDS
},
7214 { "wxDateTime___sub__TS", (PyCFunction
) _wrap_wxDateTime___sub__TS
, METH_VARARGS
| METH_KEYWORDS
},
7215 { "wxDateTime___sub__DT", (PyCFunction
) _wrap_wxDateTime___sub__DT
, METH_VARARGS
| METH_KEYWORDS
},
7216 { "wxDateTime___add__DS", (PyCFunction
) _wrap_wxDateTime___add__DS
, METH_VARARGS
| METH_KEYWORDS
},
7217 { "wxDateTime___add__TS", (PyCFunction
) _wrap_wxDateTime___add__TS
, METH_VARARGS
| METH_KEYWORDS
},
7218 { "wxDateTime_Subtract", (PyCFunction
) _wrap_wxDateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7219 { "wxDateTime_SubtractDS", (PyCFunction
) _wrap_wxDateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
7220 { "wxDateTime_SubtractTS", (PyCFunction
) _wrap_wxDateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
7221 { "wxDateTime_AddDS", (PyCFunction
) _wrap_wxDateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
7222 { "wxDateTime_AddTS", (PyCFunction
) _wrap_wxDateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
7223 { "wxDateTime_IsEqualUpTo", (PyCFunction
) _wrap_wxDateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
7224 { "wxDateTime_IsSameTime", (PyCFunction
) _wrap_wxDateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
7225 { "wxDateTime_IsSameDate", (PyCFunction
) _wrap_wxDateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
7226 { "wxDateTime_IsBetween", (PyCFunction
) _wrap_wxDateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
7227 { "wxDateTime_IsStrictlyBetween", (PyCFunction
) _wrap_wxDateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
7228 { "wxDateTime_IsLaterThan", (PyCFunction
) _wrap_wxDateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
7229 { "wxDateTime_IsEarlierThan", (PyCFunction
) _wrap_wxDateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
7230 { "wxDateTime_IsEqualTo", (PyCFunction
) _wrap_wxDateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7231 { "wxDateTime_IsWorkDay", (PyCFunction
) _wrap_wxDateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
7232 { "wxDateTime_GetWeekOfMonth", (PyCFunction
) _wrap_wxDateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
7233 { "wxDateTime_GetWeekOfYear", (PyCFunction
) _wrap_wxDateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7234 { "wxDateTime_GetDayOfYear", (PyCFunction
) _wrap_wxDateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7235 { "wxDateTime_GetMillisecond", (PyCFunction
) _wrap_wxDateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7236 { "wxDateTime_GetSecond", (PyCFunction
) _wrap_wxDateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7237 { "wxDateTime_GetMinute", (PyCFunction
) _wrap_wxDateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7238 { "wxDateTime_GetHour", (PyCFunction
) _wrap_wxDateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
7239 { "wxDateTime_GetDay", (PyCFunction
) _wrap_wxDateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
7240 { "wxDateTime_GetMonth", (PyCFunction
) _wrap_wxDateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7241 { "wxDateTime_GetYear", (PyCFunction
) _wrap_wxDateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
7242 { "wxDateTime_GetTicks", (PyCFunction
) _wrap_wxDateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
7243 { "wxDateTime_IsValid", (PyCFunction
) _wrap_wxDateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
7244 { "wxDateTime_IsDST", (PyCFunction
) _wrap_wxDateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
7245 { "wxDateTime_MakeGMT", (PyCFunction
) _wrap_wxDateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
7246 { "wxDateTime_ToGMT", (PyCFunction
) _wrap_wxDateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
7247 { "wxDateTime_MakeTimezone", (PyCFunction
) _wrap_wxDateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7248 { "wxDateTime_ToTimezone", (PyCFunction
) _wrap_wxDateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7249 { "wxDateTime_GetRataDie", (PyCFunction
) _wrap_wxDateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
7250 { "wxDateTime_GetMJD", (PyCFunction
) _wrap_wxDateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
7251 { "wxDateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7252 { "wxDateTime_GetJDN", (PyCFunction
) _wrap_wxDateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7253 { "wxDateTime_GetJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7254 { "wxDateTime_GetYearDay", (PyCFunction
) _wrap_wxDateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7255 { "wxDateTime_SetToYearDay", (PyCFunction
) _wrap_wxDateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7256 { "wxDateTime_GetLastMonthDay", (PyCFunction
) _wrap_wxDateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7257 { "wxDateTime_SetToLastMonthDay", (PyCFunction
) _wrap_wxDateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7258 { "wxDateTime_GetWeek", (PyCFunction
) _wrap_wxDateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
7259 { "wxDateTime_SetToTheWeek", (PyCFunction
) _wrap_wxDateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
7260 { "wxDateTime_GetLastWeekDay", (PyCFunction
) _wrap_wxDateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7261 { "wxDateTime_SetToLastWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7262 { "wxDateTime_GetWeekDay", (PyCFunction
) _wrap_wxDateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7263 { "wxDateTime_SetToWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7264 { "wxDateTime_GetPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7265 { "wxDateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7266 { "wxDateTime_GetNextWeekDay", (PyCFunction
) _wrap_wxDateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7267 { "wxDateTime_SetToNextWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7268 { "wxDateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7269 { "wxDateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7270 { "wxDateTime_SetMillisecond", (PyCFunction
) _wrap_wxDateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7271 { "wxDateTime_SetSecond", (PyCFunction
) _wrap_wxDateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7272 { "wxDateTime_SetMinute", (PyCFunction
) _wrap_wxDateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7273 { "wxDateTime_SetHour", (PyCFunction
) _wrap_wxDateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
7274 { "wxDateTime_SetDay", (PyCFunction
) _wrap_wxDateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
7275 { "wxDateTime_SetMonth", (PyCFunction
) _wrap_wxDateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7276 { "wxDateTime_SetYear", (PyCFunction
) _wrap_wxDateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
7277 { "wxDateTime_ResetTime", (PyCFunction
) _wrap_wxDateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
7278 { "wxDateTime_Set", (PyCFunction
) _wrap_wxDateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
7279 { "wxDateTime_SetHMS", (PyCFunction
) _wrap_wxDateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
7280 { "wxDateTime_SetJDN", (PyCFunction
) _wrap_wxDateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7281 { "wxDateTime_SetTimeT", (PyCFunction
) _wrap_wxDateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7282 { "wxDateTime_SetToCurrent", (PyCFunction
) _wrap_wxDateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
7283 { "delete_wxDateTime", (PyCFunction
) _wrap_delete_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7284 { "new_wxDateTimeFromDMY", (PyCFunction
) _wrap_new_wxDateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
7285 { "new_wxDateTimeFromHMS", (PyCFunction
) _wrap_new_wxDateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
7286 { "new_wxDateTimeFromJDN", (PyCFunction
) _wrap_new_wxDateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
7287 { "new_wxDateTimeFromTimeT", (PyCFunction
) _wrap_new_wxDateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7288 { "new_wxDateTime", (PyCFunction
) _wrap_new_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7289 { "wxDateTime_Today", (PyCFunction
) _wrap_wxDateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
7290 { "wxDateTime_Now", (PyCFunction
) _wrap_wxDateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
7291 { "wxDateTime_GetEndDST", (PyCFunction
) _wrap_wxDateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
7292 { "wxDateTime_GetBeginDST", (PyCFunction
) _wrap_wxDateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
7293 { "wxDateTime_IsDSTApplicable", (PyCFunction
) _wrap_wxDateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
7294 { "wxDateTime_GetAmPmStrings", (PyCFunction
) _wrap_wxDateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
7295 { "wxDateTime_GetWeekDayName", (PyCFunction
) _wrap_wxDateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
7296 { "wxDateTime_GetMonthName", (PyCFunction
) _wrap_wxDateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
7297 { "wxDateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
7298 { "wxDateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
7299 { "wxDateTime_GetCentury", (PyCFunction
) _wrap_wxDateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
7300 { "wxDateTime_IsLeapYear", (PyCFunction
) _wrap_wxDateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
7301 { "wxDateTime_GetCurrentMonth", (PyCFunction
) _wrap_wxDateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
7302 { "wxDateTime_ConvertYearToBC", (PyCFunction
) _wrap_wxDateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
7303 { "wxDateTime_GetCurrentYear", (PyCFunction
) _wrap_wxDateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
7304 { "wxDateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_wxDateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
7305 { "wxDateTime_GetCountry", (PyCFunction
) _wrap_wxDateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7306 { "wxDateTime_SetCountry", (PyCFunction
) _wrap_wxDateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7307 { "delete_wxFileConfig", (PyCFunction
) _wrap_delete_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7308 { "new_wxFileConfig", (PyCFunction
) _wrap_new_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7309 { "delete_wxConfig", (PyCFunction
) _wrap_delete_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7310 { "new_wxConfig", (PyCFunction
) _wrap_new_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7311 { "wxConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7312 { "wxConfigBase_RenameGroup", (PyCFunction
) _wrap_wxConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
7313 { "wxConfigBase_RenameEntry", (PyCFunction
) _wrap_wxConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
7314 { "wxConfigBase_GetEntryType", (PyCFunction
) _wrap_wxConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
7315 { "wxConfigBase_WriteFloat", (PyCFunction
) _wrap_wxConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
7316 { "wxConfigBase_WriteInt", (PyCFunction
) _wrap_wxConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
7317 { "wxConfigBase_Write", (PyCFunction
) _wrap_wxConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
7318 { "wxConfigBase_GetStyle", (PyCFunction
) _wrap_wxConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7319 { "wxConfigBase_SetStyle", (PyCFunction
) _wrap_wxConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7320 { "wxConfigBase_SetVendorName", (PyCFunction
) _wrap_wxConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7321 { "wxConfigBase_SetAppName", (PyCFunction
) _wrap_wxConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7322 { "wxConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_wxConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7323 { "wxConfigBase_SetPath", (PyCFunction
) _wrap_wxConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
7324 { "wxConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7325 { "wxConfigBase_ReadFloat", (PyCFunction
) _wrap_wxConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
7326 { "wxConfigBase_ReadInt", (PyCFunction
) _wrap_wxConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
7327 { "wxConfigBase_Read", (PyCFunction
) _wrap_wxConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
7328 { "wxConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_wxConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7329 { "wxConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_wxConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7330 { "wxConfigBase_HasGroup", (PyCFunction
) _wrap_wxConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
7331 { "wxConfigBase_HasEntry", (PyCFunction
) _wrap_wxConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
7332 { "wxConfigBase_GetVendorName", (PyCFunction
) _wrap_wxConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7333 { "wxConfigBase_GetPath", (PyCFunction
) _wrap_wxConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
7334 { "wxConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
7335 { "wxConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
7336 { "wxConfigBase_GetNextEntry", (PyCFunction
) _wrap_wxConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
7337 { "wxConfigBase_GetNextGroup", (PyCFunction
) _wrap_wxConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
7338 { "wxConfigBase_GetFirstEntry", (PyCFunction
) _wrap_wxConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
7339 { "wxConfigBase_GetFirstGroup", (PyCFunction
) _wrap_wxConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
7340 { "wxConfigBase_GetAppName", (PyCFunction
) _wrap_wxConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7341 { "wxConfigBase_Flush", (PyCFunction
) _wrap_wxConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
7342 { "wxConfigBase_Exists", (PyCFunction
) _wrap_wxConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
7343 { "wxConfigBase_DeleteGroup", (PyCFunction
) _wrap_wxConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
7344 { "wxConfigBase_DeleteEntry", (PyCFunction
) _wrap_wxConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
7345 { "wxConfigBase_DeleteAll", (PyCFunction
) _wrap_wxConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
7346 { "wxConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_wxConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
7347 { "wxConfigBase_Create", (PyCFunction
) _wrap_wxConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
7348 { "wxConfigBase_Get", (PyCFunction
) _wrap_wxConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
7349 { "wxConfigBase_Set", (PyCFunction
) _wrap_wxConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
7350 { "delete_wxConfigBase", (PyCFunction
) _wrap_delete_wxConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
7351 { "wxGetLocalTimeMillis", (PyCFunction
) _wrap_wxGetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
7352 { "wxGetCurrentTime", (PyCFunction
) _wrap_wxGetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
7353 { "wxGetUTCTime", (PyCFunction
) _wrap_wxGetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
7354 { "wxGetLocalTime", (PyCFunction
) _wrap_wxGetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
7361 * This table is used by the pointer type-checker
7363 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7364 { "_signed_long","_long",0},
7365 { "_class_wxDateTime","_wxDateTime",0},
7366 { "_long","_unsigned_long",0},
7367 { "_long","_signed_long",0},
7368 { "_wxFileConfig","_class_wxFileConfig",0},
7369 { "_wxConfig","_class_wxConfig",0},
7370 { "_class_wxFileConfig","_wxFileConfig",0},
7371 { "_unsigned_long","_long",0},
7372 { "_wxTimeSpan","_class_wxTimeSpan",0},
7373 { "_signed_int","_int",0},
7374 { "_unsigned_short","_wxDateTime_t",0},
7375 { "_unsigned_short","_short",0},
7376 { "_wxDateSpan","_class_wxDateSpan",0},
7377 { "_signed_short","_short",0},
7378 { "_unsigned_int","_int",0},
7379 { "_wxConfigBase","_class_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7380 { "_wxConfigBase","_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7381 { "_wxConfigBase","_class_wxConfig",SwigwxConfigTowxConfigBase
},
7382 { "_wxConfigBase","_wxConfig",SwigwxConfigTowxConfigBase
},
7383 { "_wxConfigBase","_class_wxConfigBase",0},
7384 { "_short","_wxDateTime_t",0},
7385 { "_short","_unsigned_short",0},
7386 { "_short","_signed_short",0},
7387 { "_int","_unsigned_int",0},
7388 { "_int","_signed_int",0},
7389 { "_wxDateTime_t","_unsigned_short",0},
7390 { "_wxDateTime_t","_short",0},
7391 { "_wxDateTime","_class_wxDateTime",0},
7392 { "_class_wxTimeSpan","_wxTimeSpan",0},
7393 { "_class_wxConfigBase","_class_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7394 { "_class_wxConfigBase","_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7395 { "_class_wxConfigBase","_class_wxConfig",SwigwxConfigTowxConfigBase
},
7396 { "_class_wxConfigBase","_wxConfig",SwigwxConfigTowxConfigBase
},
7397 { "_class_wxConfigBase","_wxConfigBase",0},
7398 { "_class_wxDateSpan","_wxDateSpan",0},
7399 { "_class_wxConfig","_wxConfig",0},
7402 static PyObject
*SWIG_globals
;
7406 SWIGEXPORT(void) initutilsc() {
7408 SWIG_globals
= SWIG_newvarlink();
7409 m
= Py_InitModule("utilsc", utilscMethods
);
7410 d
= PyModule_GetDict(m
);
7411 PyDict_SetItemString(d
,"wxCONFIG_USE_LOCAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_LOCAL_FILE
));
7412 PyDict_SetItemString(d
,"wxCONFIG_USE_GLOBAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_GLOBAL_FILE
));
7413 PyDict_SetItemString(d
,"wxCONFIG_USE_RELATIVE_PATH", PyInt_FromLong((long) wxCONFIG_USE_RELATIVE_PATH
));
7416 // wxClassInfo::CleanUpClasses();
7417 // wxClassInfo::InitializeClasses();
7419 PyDict_SetItemString(d
,"wxConfigBase_Type_Unknown", PyInt_FromLong((long) wxConfigBase::Type_Unknown
));
7420 PyDict_SetItemString(d
,"wxConfigBase_Type_String", PyInt_FromLong((long) wxConfigBase::Type_String
));
7421 PyDict_SetItemString(d
,"wxConfigBase_Type_Boolean", PyInt_FromLong((long) wxConfigBase::Type_Boolean
));
7422 PyDict_SetItemString(d
,"wxConfigBase_Type_Integer", PyInt_FromLong((long) wxConfigBase::Type_Integer
));
7423 PyDict_SetItemString(d
,"wxConfigBase_Type_Float", PyInt_FromLong((long) wxConfigBase::Type_Float
));
7424 PyDict_SetItemString(d
,"wxDateTime_Local", PyInt_FromLong((long) wxDateTime::Local
));
7425 PyDict_SetItemString(d
,"wxDateTime_GMT_12", PyInt_FromLong((long) wxDateTime::GMT_12
));
7426 PyDict_SetItemString(d
,"wxDateTime_GMT_11", PyInt_FromLong((long) wxDateTime::GMT_11
));
7427 PyDict_SetItemString(d
,"wxDateTime_GMT_10", PyInt_FromLong((long) wxDateTime::GMT_10
));
7428 PyDict_SetItemString(d
,"wxDateTime_GMT_9", PyInt_FromLong((long) wxDateTime::GMT_9
));
7429 PyDict_SetItemString(d
,"wxDateTime_GMT_8", PyInt_FromLong((long) wxDateTime::GMT_8
));
7430 PyDict_SetItemString(d
,"wxDateTime_GMT_7", PyInt_FromLong((long) wxDateTime::GMT_7
));
7431 PyDict_SetItemString(d
,"wxDateTime_GMT_6", PyInt_FromLong((long) wxDateTime::GMT_6
));
7432 PyDict_SetItemString(d
,"wxDateTime_GMT_5", PyInt_FromLong((long) wxDateTime::GMT_5
));
7433 PyDict_SetItemString(d
,"wxDateTime_GMT_4", PyInt_FromLong((long) wxDateTime::GMT_4
));
7434 PyDict_SetItemString(d
,"wxDateTime_GMT_3", PyInt_FromLong((long) wxDateTime::GMT_3
));
7435 PyDict_SetItemString(d
,"wxDateTime_GMT_2", PyInt_FromLong((long) wxDateTime::GMT_2
));
7436 PyDict_SetItemString(d
,"wxDateTime_GMT_1", PyInt_FromLong((long) wxDateTime::GMT_1
));
7437 PyDict_SetItemString(d
,"wxDateTime_GMT0", PyInt_FromLong((long) wxDateTime::GMT0
));
7438 PyDict_SetItemString(d
,"wxDateTime_GMT1", PyInt_FromLong((long) wxDateTime::GMT1
));
7439 PyDict_SetItemString(d
,"wxDateTime_GMT2", PyInt_FromLong((long) wxDateTime::GMT2
));
7440 PyDict_SetItemString(d
,"wxDateTime_GMT3", PyInt_FromLong((long) wxDateTime::GMT3
));
7441 PyDict_SetItemString(d
,"wxDateTime_GMT4", PyInt_FromLong((long) wxDateTime::GMT4
));
7442 PyDict_SetItemString(d
,"wxDateTime_GMT5", PyInt_FromLong((long) wxDateTime::GMT5
));
7443 PyDict_SetItemString(d
,"wxDateTime_GMT6", PyInt_FromLong((long) wxDateTime::GMT6
));
7444 PyDict_SetItemString(d
,"wxDateTime_GMT7", PyInt_FromLong((long) wxDateTime::GMT7
));
7445 PyDict_SetItemString(d
,"wxDateTime_GMT8", PyInt_FromLong((long) wxDateTime::GMT8
));
7446 PyDict_SetItemString(d
,"wxDateTime_GMT9", PyInt_FromLong((long) wxDateTime::GMT9
));
7447 PyDict_SetItemString(d
,"wxDateTime_GMT10", PyInt_FromLong((long) wxDateTime::GMT10
));
7448 PyDict_SetItemString(d
,"wxDateTime_GMT11", PyInt_FromLong((long) wxDateTime::GMT11
));
7449 PyDict_SetItemString(d
,"wxDateTime_GMT12", PyInt_FromLong((long) wxDateTime::GMT12
));
7450 PyDict_SetItemString(d
,"wxDateTime_WET", PyInt_FromLong((long) wxDateTime::WET
));
7451 PyDict_SetItemString(d
,"wxDateTime_WEST", PyInt_FromLong((long) wxDateTime::WEST
));
7452 PyDict_SetItemString(d
,"wxDateTime_CET", PyInt_FromLong((long) wxDateTime::CET
));
7453 PyDict_SetItemString(d
,"wxDateTime_CEST", PyInt_FromLong((long) wxDateTime::CEST
));
7454 PyDict_SetItemString(d
,"wxDateTime_EET", PyInt_FromLong((long) wxDateTime::EET
));
7455 PyDict_SetItemString(d
,"wxDateTime_EEST", PyInt_FromLong((long) wxDateTime::EEST
));
7456 PyDict_SetItemString(d
,"wxDateTime_MSK", PyInt_FromLong((long) wxDateTime::MSK
));
7457 PyDict_SetItemString(d
,"wxDateTime_MSD", PyInt_FromLong((long) wxDateTime::MSD
));
7458 PyDict_SetItemString(d
,"wxDateTime_AST", PyInt_FromLong((long) wxDateTime::AST
));
7459 PyDict_SetItemString(d
,"wxDateTime_ADT", PyInt_FromLong((long) wxDateTime::ADT
));
7460 PyDict_SetItemString(d
,"wxDateTime_EST", PyInt_FromLong((long) wxDateTime::EST
));
7461 PyDict_SetItemString(d
,"wxDateTime_EDT", PyInt_FromLong((long) wxDateTime::EDT
));
7462 PyDict_SetItemString(d
,"wxDateTime_CST", PyInt_FromLong((long) wxDateTime::CST
));
7463 PyDict_SetItemString(d
,"wxDateTime_CDT", PyInt_FromLong((long) wxDateTime::CDT
));
7464 PyDict_SetItemString(d
,"wxDateTime_MST", PyInt_FromLong((long) wxDateTime::MST
));
7465 PyDict_SetItemString(d
,"wxDateTime_MDT", PyInt_FromLong((long) wxDateTime::MDT
));
7466 PyDict_SetItemString(d
,"wxDateTime_PST", PyInt_FromLong((long) wxDateTime::PST
));
7467 PyDict_SetItemString(d
,"wxDateTime_PDT", PyInt_FromLong((long) wxDateTime::PDT
));
7468 PyDict_SetItemString(d
,"wxDateTime_HST", PyInt_FromLong((long) wxDateTime::HST
));
7469 PyDict_SetItemString(d
,"wxDateTime_AKST", PyInt_FromLong((long) wxDateTime::AKST
));
7470 PyDict_SetItemString(d
,"wxDateTime_AKDT", PyInt_FromLong((long) wxDateTime::AKDT
));
7471 PyDict_SetItemString(d
,"wxDateTime_A_WST", PyInt_FromLong((long) wxDateTime::A_WST
));
7472 PyDict_SetItemString(d
,"wxDateTime_A_CST", PyInt_FromLong((long) wxDateTime::A_CST
));
7473 PyDict_SetItemString(d
,"wxDateTime_A_EST", PyInt_FromLong((long) wxDateTime::A_EST
));
7474 PyDict_SetItemString(d
,"wxDateTime_A_ESST", PyInt_FromLong((long) wxDateTime::A_ESST
));
7475 PyDict_SetItemString(d
,"wxDateTime_UTC", PyInt_FromLong((long) wxDateTime::UTC
));
7476 PyDict_SetItemString(d
,"wxDateTime_Gregorian", PyInt_FromLong((long) wxDateTime::Gregorian
));
7477 PyDict_SetItemString(d
,"wxDateTime_Julian", PyInt_FromLong((long) wxDateTime::Julian
));
7478 PyDict_SetItemString(d
,"wxDateTime_Country_Unknown", PyInt_FromLong((long) wxDateTime::Country_Unknown
));
7479 PyDict_SetItemString(d
,"wxDateTime_Country_Default", PyInt_FromLong((long) wxDateTime::Country_Default
));
7480 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_Start", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_Start
));
7481 PyDict_SetItemString(d
,"wxDateTime_Country_EEC", PyInt_FromLong((long) wxDateTime::Country_EEC
));
7482 PyDict_SetItemString(d
,"wxDateTime_France", PyInt_FromLong((long) wxDateTime::France
));
7483 PyDict_SetItemString(d
,"wxDateTime_Germany", PyInt_FromLong((long) wxDateTime::Germany
));
7484 PyDict_SetItemString(d
,"wxDateTime_UK", PyInt_FromLong((long) wxDateTime::UK
));
7485 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_End", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_End
));
7486 PyDict_SetItemString(d
,"wxDateTime_Russia", PyInt_FromLong((long) wxDateTime::Russia
));
7487 PyDict_SetItemString(d
,"wxDateTime_USA", PyInt_FromLong((long) wxDateTime::USA
));
7488 PyDict_SetItemString(d
,"wxDateTime_Jan", PyInt_FromLong((long) wxDateTime::Jan
));
7489 PyDict_SetItemString(d
,"wxDateTime_Feb", PyInt_FromLong((long) wxDateTime::Feb
));
7490 PyDict_SetItemString(d
,"wxDateTime_Mar", PyInt_FromLong((long) wxDateTime::Mar
));
7491 PyDict_SetItemString(d
,"wxDateTime_Apr", PyInt_FromLong((long) wxDateTime::Apr
));
7492 PyDict_SetItemString(d
,"wxDateTime_May", PyInt_FromLong((long) wxDateTime::May
));
7493 PyDict_SetItemString(d
,"wxDateTime_Jun", PyInt_FromLong((long) wxDateTime::Jun
));
7494 PyDict_SetItemString(d
,"wxDateTime_Jul", PyInt_FromLong((long) wxDateTime::Jul
));
7495 PyDict_SetItemString(d
,"wxDateTime_Aug", PyInt_FromLong((long) wxDateTime::Aug
));
7496 PyDict_SetItemString(d
,"wxDateTime_Sep", PyInt_FromLong((long) wxDateTime::Sep
));
7497 PyDict_SetItemString(d
,"wxDateTime_Oct", PyInt_FromLong((long) wxDateTime::Oct
));
7498 PyDict_SetItemString(d
,"wxDateTime_Nov", PyInt_FromLong((long) wxDateTime::Nov
));
7499 PyDict_SetItemString(d
,"wxDateTime_Dec", PyInt_FromLong((long) wxDateTime::Dec
));
7500 PyDict_SetItemString(d
,"wxDateTime_Inv_Month", PyInt_FromLong((long) wxDateTime::Inv_Month
));
7501 PyDict_SetItemString(d
,"wxDateTime_Sun", PyInt_FromLong((long) wxDateTime::Sun
));
7502 PyDict_SetItemString(d
,"wxDateTime_Mon", PyInt_FromLong((long) wxDateTime::Mon
));
7503 PyDict_SetItemString(d
,"wxDateTime_Tue", PyInt_FromLong((long) wxDateTime::Tue
));
7504 PyDict_SetItemString(d
,"wxDateTime_Wed", PyInt_FromLong((long) wxDateTime::Wed
));
7505 PyDict_SetItemString(d
,"wxDateTime_Thu", PyInt_FromLong((long) wxDateTime::Thu
));
7506 PyDict_SetItemString(d
,"wxDateTime_Fri", PyInt_FromLong((long) wxDateTime::Fri
));
7507 PyDict_SetItemString(d
,"wxDateTime_Sat", PyInt_FromLong((long) wxDateTime::Sat
));
7508 PyDict_SetItemString(d
,"wxDateTime_Inv_WeekDay", PyInt_FromLong((long) wxDateTime::Inv_WeekDay
));
7509 PyDict_SetItemString(d
,"wxDateTime_Inv_Year", PyInt_FromLong((long) wxDateTime::Inv_Year
));
7510 PyDict_SetItemString(d
,"wxDateTime_Name_Full", PyInt_FromLong((long) wxDateTime::Name_Full
));
7511 PyDict_SetItemString(d
,"wxDateTime_Name_Abbr", PyInt_FromLong((long) wxDateTime::Name_Abbr
));
7512 PyDict_SetItemString(d
,"wxDateTime_Default_First", PyInt_FromLong((long) wxDateTime::Default_First
));
7513 PyDict_SetItemString(d
,"wxDateTime_Monday_First", PyInt_FromLong((long) wxDateTime::Monday_First
));
7514 PyDict_SetItemString(d
,"wxDateTime_Sunday_First", PyInt_FromLong((long) wxDateTime::Sunday_First
));
7517 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7518 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);