2 * FILE : src/gtk/utils.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 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
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initutilsc
55 #define SWIG_name "utilsc"
58 #include <wx/config.h>
59 #include <wx/fileconf.h>
60 #include <wx/datetime.h>
62 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 char *_kwnames
[] = { "timet", NULL
};
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxDateTimeFromTimeT",_kwnames
,&_arg0
))
2291 wxPy_BEGIN_ALLOW_THREADS
;
2292 _result
= (wxDateTime
*)new_wxDateTimeFromTimeT(_arg0
);
2294 wxPy_END_ALLOW_THREADS
;
2296 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2297 _resultobj
= Py_BuildValue("s",_ptemp
);
2300 _resultobj
= Py_None
;
2305 #define new_wxDateTimeFromJDN(_swigarg0) (new wxDateTime(_swigarg0))
2306 static PyObject
*_wrap_new_wxDateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2307 PyObject
* _resultobj
;
2308 wxDateTime
* _result
;
2310 char *_kwnames
[] = { "jdn", NULL
};
2314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"d:new_wxDateTimeFromJDN",_kwnames
,&_arg0
))
2317 wxPy_BEGIN_ALLOW_THREADS
;
2318 _result
= (wxDateTime
*)new_wxDateTimeFromJDN(_arg0
);
2320 wxPy_END_ALLOW_THREADS
;
2322 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2323 _resultobj
= Py_BuildValue("s",_ptemp
);
2326 _resultobj
= Py_None
;
2331 #define new_wxDateTimeFromHMS(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2332 static PyObject
*_wrap_new_wxDateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
* _resultobj
;
2334 wxDateTime
* _result
;
2335 wxDateTime::wxDateTime_t _arg0
;
2336 wxDateTime::wxDateTime_t _arg1
= (wxDateTime::wxDateTime_t
) 0;
2337 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
2338 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2339 char *_kwnames
[] = { "hour","minute","second","millisec", NULL
};
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|hhh:new_wxDateTimeFromHMS",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2346 wxPy_BEGIN_ALLOW_THREADS
;
2347 _result
= (wxDateTime
*)new_wxDateTimeFromHMS(_arg0
,_arg1
,_arg2
,_arg3
);
2349 wxPy_END_ALLOW_THREADS
;
2351 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2352 _resultobj
= Py_BuildValue("s",_ptemp
);
2355 _resultobj
= Py_None
;
2360 #define new_wxDateTimeFromDMY(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2361 static PyObject
*_wrap_new_wxDateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2362 PyObject
* _resultobj
;
2363 wxDateTime
* _result
;
2364 wxDateTime::wxDateTime_t _arg0
;
2365 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
2366 int _arg2
= (int ) wxDateTime::Inv_Year
;
2367 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2368 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2369 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
2370 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
2371 char *_kwnames
[] = { "day","month","year","hour","minute","second","millisec", NULL
};
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|iihhhh:new_wxDateTimeFromDMY",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2378 wxPy_BEGIN_ALLOW_THREADS
;
2379 _result
= (wxDateTime
*)new_wxDateTimeFromDMY(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2381 wxPy_END_ALLOW_THREADS
;
2383 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2384 _resultobj
= Py_BuildValue("s",_ptemp
);
2387 _resultobj
= Py_None
;
2392 #define delete_wxDateTime(_swigobj) (delete _swigobj)
2393 static PyObject
*_wrap_delete_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
* _resultobj
;
2396 PyObject
* _argo0
= 0;
2397 char *_kwnames
[] = { "self", NULL
};
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateTime",_kwnames
,&_argo0
))
2403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateTime. Expected _wxDateTime_p.");
2410 wxPy_BEGIN_ALLOW_THREADS
;
2411 delete_wxDateTime(_arg0
);
2413 wxPy_END_ALLOW_THREADS
;
2414 } Py_INCREF(Py_None
);
2415 _resultobj
= Py_None
;
2419 #define wxDateTime_SetToCurrent(_swigobj) (_swigobj->SetToCurrent())
2420 static PyObject
*_wrap_wxDateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
* _resultobj
;
2422 wxDateTime
* _result
;
2424 PyObject
* _argo0
= 0;
2425 char *_kwnames
[] = { "self", NULL
};
2429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_SetToCurrent",_kwnames
,&_argo0
))
2432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToCurrent. Expected _wxDateTime_p.");
2439 wxPy_BEGIN_ALLOW_THREADS
;
2440 wxDateTime
& _result_ref
= wxDateTime_SetToCurrent(_arg0
);
2441 _result
= (wxDateTime
*) &_result_ref
;
2443 wxPy_END_ALLOW_THREADS
;
2445 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2446 _resultobj
= Py_BuildValue("s",_ptemp
);
2449 _resultobj
= Py_None
;
2454 #define wxDateTime_SetTimeT(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2455 static PyObject
*_wrap_wxDateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
* _resultobj
;
2457 wxDateTime
* _result
;
2460 PyObject
* _argo0
= 0;
2461 char *_kwnames
[] = { "self","timet", NULL
};
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetTimeT",_kwnames
,&_argo0
,&_arg1
))
2468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetTimeT. Expected _wxDateTime_p.");
2475 wxPy_BEGIN_ALLOW_THREADS
;
2476 wxDateTime
& _result_ref
= wxDateTime_SetTimeT(_arg0
,_arg1
);
2477 _result
= (wxDateTime
*) &_result_ref
;
2479 wxPy_END_ALLOW_THREADS
;
2481 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2482 _resultobj
= Py_BuildValue("s",_ptemp
);
2485 _resultobj
= Py_None
;
2490 #define wxDateTime_SetJDN(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2491 static PyObject
*_wrap_wxDateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
* _resultobj
;
2493 wxDateTime
* _result
;
2496 PyObject
* _argo0
= 0;
2497 char *_kwnames
[] = { "self","jdn", NULL
};
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxDateTime_SetJDN",_kwnames
,&_argo0
,&_arg1
))
2504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetJDN. Expected _wxDateTime_p.");
2511 wxPy_BEGIN_ALLOW_THREADS
;
2512 wxDateTime
& _result_ref
= wxDateTime_SetJDN(_arg0
,_arg1
);
2513 _result
= (wxDateTime
*) &_result_ref
;
2515 wxPy_END_ALLOW_THREADS
;
2517 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2518 _resultobj
= Py_BuildValue("s",_ptemp
);
2521 _resultobj
= Py_None
;
2526 #define wxDateTime_SetHMS(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2527 static PyObject
*_wrap_wxDateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
* _resultobj
;
2529 wxDateTime
* _result
;
2531 wxDateTime::wxDateTime_t _arg1
;
2532 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
2533 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2534 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2535 PyObject
* _argo0
= 0;
2536 char *_kwnames
[] = { "self","hour","minute","second","millisec", NULL
};
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|hhh:wxDateTime_SetHMS",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHMS. Expected _wxDateTime_p.");
2550 wxPy_BEGIN_ALLOW_THREADS
;
2551 wxDateTime
& _result_ref
= wxDateTime_SetHMS(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2552 _result
= (wxDateTime
*) &_result_ref
;
2554 wxPy_END_ALLOW_THREADS
;
2556 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2557 _resultobj
= Py_BuildValue("s",_ptemp
);
2560 _resultobj
= Py_None
;
2565 #define wxDateTime_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2566 static PyObject
*_wrap_wxDateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2567 PyObject
* _resultobj
;
2568 wxDateTime
* _result
;
2570 wxDateTime::wxDateTime_t _arg1
;
2571 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
2572 int _arg3
= (int ) wxDateTime::Inv_Year
;
2573 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2574 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
2575 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
2576 wxDateTime::wxDateTime_t _arg7
= (wxDateTime::wxDateTime_t
) 0;
2577 PyObject
* _argo0
= 0;
2578 char *_kwnames
[] = { "self","day","month","year","hour","minute","second","millisec", NULL
};
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|iihhhh:wxDateTime_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
2585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Set. Expected _wxDateTime_p.");
2592 wxPy_BEGIN_ALLOW_THREADS
;
2593 wxDateTime
& _result_ref
= wxDateTime_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
2594 _result
= (wxDateTime
*) &_result_ref
;
2596 wxPy_END_ALLOW_THREADS
;
2598 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2599 _resultobj
= Py_BuildValue("s",_ptemp
);
2602 _resultobj
= Py_None
;
2607 #define wxDateTime_ResetTime(_swigobj) (_swigobj->ResetTime())
2608 static PyObject
*_wrap_wxDateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
* _resultobj
;
2610 wxDateTime
* _result
;
2612 PyObject
* _argo0
= 0;
2613 char *_kwnames
[] = { "self", NULL
};
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_ResetTime",_kwnames
,&_argo0
))
2620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ResetTime. Expected _wxDateTime_p.");
2627 wxPy_BEGIN_ALLOW_THREADS
;
2628 wxDateTime
& _result_ref
= wxDateTime_ResetTime(_arg0
);
2629 _result
= (wxDateTime
*) &_result_ref
;
2631 wxPy_END_ALLOW_THREADS
;
2633 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2634 _resultobj
= Py_BuildValue("s",_ptemp
);
2637 _resultobj
= Py_None
;
2642 #define wxDateTime_SetYear(_swigobj,_swigarg0) (_swigobj->SetYear(_swigarg0))
2643 static PyObject
*_wrap_wxDateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2644 PyObject
* _resultobj
;
2645 wxDateTime
* _result
;
2648 PyObject
* _argo0
= 0;
2649 char *_kwnames
[] = { "self","year", NULL
};
2653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetYear",_kwnames
,&_argo0
,&_arg1
))
2656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetYear. Expected _wxDateTime_p.");
2663 wxPy_BEGIN_ALLOW_THREADS
;
2664 wxDateTime
& _result_ref
= wxDateTime_SetYear(_arg0
,_arg1
);
2665 _result
= (wxDateTime
*) &_result_ref
;
2667 wxPy_END_ALLOW_THREADS
;
2669 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2670 _resultobj
= Py_BuildValue("s",_ptemp
);
2673 _resultobj
= Py_None
;
2678 #define wxDateTime_SetMonth(_swigobj,_swigarg0) (_swigobj->SetMonth(_swigarg0))
2679 static PyObject
*_wrap_wxDateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
* _resultobj
;
2681 wxDateTime
* _result
;
2683 wxDateTime::Month _arg1
;
2684 PyObject
* _argo0
= 0;
2685 char *_kwnames
[] = { "self","month", NULL
};
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetMonth",_kwnames
,&_argo0
,&_arg1
))
2692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMonth. Expected _wxDateTime_p.");
2699 wxPy_BEGIN_ALLOW_THREADS
;
2700 wxDateTime
& _result_ref
= wxDateTime_SetMonth(_arg0
,_arg1
);
2701 _result
= (wxDateTime
*) &_result_ref
;
2703 wxPy_END_ALLOW_THREADS
;
2705 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2706 _resultobj
= Py_BuildValue("s",_ptemp
);
2709 _resultobj
= Py_None
;
2714 #define wxDateTime_SetDay(_swigobj,_swigarg0) (_swigobj->SetDay(_swigarg0))
2715 static PyObject
*_wrap_wxDateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2716 PyObject
* _resultobj
;
2717 wxDateTime
* _result
;
2719 wxDateTime::wxDateTime_t _arg1
;
2720 PyObject
* _argo0
= 0;
2721 char *_kwnames
[] = { "self","day", NULL
};
2725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetDay",_kwnames
,&_argo0
,&_arg1
))
2728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetDay. Expected _wxDateTime_p.");
2735 wxPy_BEGIN_ALLOW_THREADS
;
2736 wxDateTime
& _result_ref
= wxDateTime_SetDay(_arg0
,_arg1
);
2737 _result
= (wxDateTime
*) &_result_ref
;
2739 wxPy_END_ALLOW_THREADS
;
2741 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2742 _resultobj
= Py_BuildValue("s",_ptemp
);
2745 _resultobj
= Py_None
;
2750 #define wxDateTime_SetHour(_swigobj,_swigarg0) (_swigobj->SetHour(_swigarg0))
2751 static PyObject
*_wrap_wxDateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
* _resultobj
;
2753 wxDateTime
* _result
;
2755 wxDateTime::wxDateTime_t _arg1
;
2756 PyObject
* _argo0
= 0;
2757 char *_kwnames
[] = { "self","hour", NULL
};
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetHour",_kwnames
,&_argo0
,&_arg1
))
2764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHour. Expected _wxDateTime_p.");
2771 wxPy_BEGIN_ALLOW_THREADS
;
2772 wxDateTime
& _result_ref
= wxDateTime_SetHour(_arg0
,_arg1
);
2773 _result
= (wxDateTime
*) &_result_ref
;
2775 wxPy_END_ALLOW_THREADS
;
2777 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2778 _resultobj
= Py_BuildValue("s",_ptemp
);
2781 _resultobj
= Py_None
;
2786 #define wxDateTime_SetMinute(_swigobj,_swigarg0) (_swigobj->SetMinute(_swigarg0))
2787 static PyObject
*_wrap_wxDateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
* _resultobj
;
2789 wxDateTime
* _result
;
2791 wxDateTime::wxDateTime_t _arg1
;
2792 PyObject
* _argo0
= 0;
2793 char *_kwnames
[] = { "self","minute", NULL
};
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMinute",_kwnames
,&_argo0
,&_arg1
))
2800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMinute. Expected _wxDateTime_p.");
2807 wxPy_BEGIN_ALLOW_THREADS
;
2808 wxDateTime
& _result_ref
= wxDateTime_SetMinute(_arg0
,_arg1
);
2809 _result
= (wxDateTime
*) &_result_ref
;
2811 wxPy_END_ALLOW_THREADS
;
2813 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2814 _resultobj
= Py_BuildValue("s",_ptemp
);
2817 _resultobj
= Py_None
;
2822 #define wxDateTime_SetSecond(_swigobj,_swigarg0) (_swigobj->SetSecond(_swigarg0))
2823 static PyObject
*_wrap_wxDateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2824 PyObject
* _resultobj
;
2825 wxDateTime
* _result
;
2827 wxDateTime::wxDateTime_t _arg1
;
2828 PyObject
* _argo0
= 0;
2829 char *_kwnames
[] = { "self","second", NULL
};
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetSecond",_kwnames
,&_argo0
,&_arg1
))
2836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetSecond. Expected _wxDateTime_p.");
2843 wxPy_BEGIN_ALLOW_THREADS
;
2844 wxDateTime
& _result_ref
= wxDateTime_SetSecond(_arg0
,_arg1
);
2845 _result
= (wxDateTime
*) &_result_ref
;
2847 wxPy_END_ALLOW_THREADS
;
2849 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2850 _resultobj
= Py_BuildValue("s",_ptemp
);
2853 _resultobj
= Py_None
;
2858 #define wxDateTime_SetMillisecond(_swigobj,_swigarg0) (_swigobj->SetMillisecond(_swigarg0))
2859 static PyObject
*_wrap_wxDateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2860 PyObject
* _resultobj
;
2861 wxDateTime
* _result
;
2863 wxDateTime::wxDateTime_t _arg1
;
2864 PyObject
* _argo0
= 0;
2865 char *_kwnames
[] = { "self","millisecond", NULL
};
2869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMillisecond",_kwnames
,&_argo0
,&_arg1
))
2872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMillisecond. Expected _wxDateTime_p.");
2879 wxPy_BEGIN_ALLOW_THREADS
;
2880 wxDateTime
& _result_ref
= wxDateTime_SetMillisecond(_arg0
,_arg1
);
2881 _result
= (wxDateTime
*) &_result_ref
;
2883 wxPy_END_ALLOW_THREADS
;
2885 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2886 _resultobj
= Py_BuildValue("s",_ptemp
);
2889 _resultobj
= Py_None
;
2894 #define wxDateTime_SetToWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->SetToWeekDayInSameWeek(_swigarg0))
2895 static PyObject
*_wrap_wxDateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2896 PyObject
* _resultobj
;
2897 wxDateTime
* _result
;
2899 wxDateTime::WeekDay _arg1
;
2900 PyObject
* _argo0
= 0;
2901 char *_kwnames
[] = { "self","weekday", NULL
};
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
))
2908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDayInSameWeek. Expected _wxDateTime_p.");
2915 wxPy_BEGIN_ALLOW_THREADS
;
2916 wxDateTime
& _result_ref
= wxDateTime_SetToWeekDayInSameWeek(_arg0
,_arg1
);
2917 _result
= (wxDateTime
*) &_result_ref
;
2919 wxPy_END_ALLOW_THREADS
;
2921 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2922 _resultobj
= Py_BuildValue("s",_ptemp
);
2925 _resultobj
= Py_None
;
2930 #define wxDateTime_GetWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->GetWeekDayInSameWeek(_swigarg0))
2931 static PyObject
*_wrap_wxDateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
* _resultobj
;
2933 wxDateTime
* _result
;
2935 wxDateTime::WeekDay _arg1
;
2936 PyObject
* _argo0
= 0;
2937 char *_kwnames
[] = { "self","weekday", NULL
};
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
))
2944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDayInSameWeek. Expected _wxDateTime_p.");
2951 wxPy_BEGIN_ALLOW_THREADS
;
2952 _result
= new wxDateTime (wxDateTime_GetWeekDayInSameWeek(_arg0
,_arg1
));
2954 wxPy_END_ALLOW_THREADS
;
2955 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2956 _resultobj
= Py_BuildValue("s",_ptemp
);
2960 #define wxDateTime_SetToNextWeekDay(_swigobj,_swigarg0) (_swigobj->SetToNextWeekDay(_swigarg0))
2961 static PyObject
*_wrap_wxDateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
* _resultobj
;
2963 wxDateTime
* _result
;
2965 wxDateTime::WeekDay _arg1
;
2966 PyObject
* _argo0
= 0;
2967 char *_kwnames
[] = { "self","weekday", NULL
};
2971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
2974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToNextWeekDay. Expected _wxDateTime_p.");
2981 wxPy_BEGIN_ALLOW_THREADS
;
2982 wxDateTime
& _result_ref
= wxDateTime_SetToNextWeekDay(_arg0
,_arg1
);
2983 _result
= (wxDateTime
*) &_result_ref
;
2985 wxPy_END_ALLOW_THREADS
;
2987 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2988 _resultobj
= Py_BuildValue("s",_ptemp
);
2991 _resultobj
= Py_None
;
2996 #define wxDateTime_GetNextWeekDay(_swigobj,_swigarg0) (_swigobj->GetNextWeekDay(_swigarg0))
2997 static PyObject
*_wrap_wxDateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
* _resultobj
;
2999 wxDateTime
* _result
;
3001 wxDateTime::WeekDay _arg1
;
3002 PyObject
* _argo0
= 0;
3003 char *_kwnames
[] = { "self","weekday", NULL
};
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
3010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetNextWeekDay. Expected _wxDateTime_p.");
3017 wxPy_BEGIN_ALLOW_THREADS
;
3018 _result
= new wxDateTime (wxDateTime_GetNextWeekDay(_arg0
,_arg1
));
3020 wxPy_END_ALLOW_THREADS
;
3021 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3022 _resultobj
= Py_BuildValue("s",_ptemp
);
3026 #define wxDateTime_SetToPrevWeekDay(_swigobj,_swigarg0) (_swigobj->SetToPrevWeekDay(_swigarg0))
3027 static PyObject
*_wrap_wxDateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
* _resultobj
;
3029 wxDateTime
* _result
;
3031 wxDateTime::WeekDay _arg1
;
3032 PyObject
* _argo0
= 0;
3033 char *_kwnames
[] = { "self","weekday", NULL
};
3037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToPrevWeekDay. Expected _wxDateTime_p.");
3047 wxPy_BEGIN_ALLOW_THREADS
;
3048 wxDateTime
& _result_ref
= wxDateTime_SetToPrevWeekDay(_arg0
,_arg1
);
3049 _result
= (wxDateTime
*) &_result_ref
;
3051 wxPy_END_ALLOW_THREADS
;
3053 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3054 _resultobj
= Py_BuildValue("s",_ptemp
);
3057 _resultobj
= Py_None
;
3062 #define wxDateTime_GetPrevWeekDay(_swigobj,_swigarg0) (_swigobj->GetPrevWeekDay(_swigarg0))
3063 static PyObject
*_wrap_wxDateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3064 PyObject
* _resultobj
;
3065 wxDateTime
* _result
;
3067 wxDateTime::WeekDay _arg1
;
3068 PyObject
* _argo0
= 0;
3069 char *_kwnames
[] = { "self","weekday", NULL
};
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetPrevWeekDay. Expected _wxDateTime_p.");
3083 wxPy_BEGIN_ALLOW_THREADS
;
3084 _result
= new wxDateTime (wxDateTime_GetPrevWeekDay(_arg0
,_arg1
));
3086 wxPy_END_ALLOW_THREADS
;
3087 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3088 _resultobj
= Py_BuildValue("s",_ptemp
);
3092 #define wxDateTime_SetToWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetToWeekDay(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3093 static PyObject
*_wrap_wxDateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3094 PyObject
* _resultobj
;
3097 wxDateTime::WeekDay _arg1
;
3098 int _arg2
= (int ) 1;
3099 wxDateTime::Month _arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3100 int _arg4
= (int ) wxDateTime::Inv_Year
;
3101 PyObject
* _argo0
= 0;
3102 char *_kwnames
[] = { "self","weekday","n","month","year", NULL
};
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iii:wxDateTime_SetToWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDay. Expected _wxDateTime_p.");
3115 wxPy_BEGIN_ALLOW_THREADS
;
3116 _result
= (bool )wxDateTime_SetToWeekDay(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3118 wxPy_END_ALLOW_THREADS
;
3119 } _resultobj
= Py_BuildValue("i",_result
);
3123 #define wxDateTime_GetWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetWeekDay(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3124 static PyObject
*_wrap_wxDateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3125 PyObject
* _resultobj
;
3126 wxDateTime
* _result
;
3128 wxDateTime::WeekDay _arg1
;
3129 int _arg2
= (int ) 1;
3130 wxDateTime::Month _arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3131 int _arg4
= (int ) wxDateTime::Inv_Year
;
3132 PyObject
* _argo0
= 0;
3133 char *_kwnames
[] = { "self","weekday","n","month","year", NULL
};
3137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iii:wxDateTime_GetWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDay. Expected _wxDateTime_p.");
3147 wxPy_BEGIN_ALLOW_THREADS
;
3148 _result
= new wxDateTime (wxDateTime_GetWeekDay(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
));
3150 wxPy_END_ALLOW_THREADS
;
3151 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3152 _resultobj
= Py_BuildValue("s",_ptemp
);
3156 #define wxDateTime_SetToLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetToLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3157 static PyObject
*_wrap_wxDateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3158 PyObject
* _resultobj
;
3161 wxDateTime::WeekDay _arg1
;
3162 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3163 int _arg3
= (int ) wxDateTime::Inv_Year
;
3164 PyObject
* _argo0
= 0;
3165 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_SetToLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastWeekDay. Expected _wxDateTime_p.");
3178 wxPy_BEGIN_ALLOW_THREADS
;
3179 _result
= (bool )wxDateTime_SetToLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
);
3181 wxPy_END_ALLOW_THREADS
;
3182 } _resultobj
= Py_BuildValue("i",_result
);
3186 #define wxDateTime_GetLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3187 static PyObject
*_wrap_wxDateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3188 PyObject
* _resultobj
;
3189 wxDateTime
* _result
;
3191 wxDateTime::WeekDay _arg1
;
3192 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3193 int _arg3
= (int ) wxDateTime::Inv_Year
;
3194 PyObject
* _argo0
= 0;
3195 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_GetLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastWeekDay. Expected _wxDateTime_p.");
3209 wxPy_BEGIN_ALLOW_THREADS
;
3210 _result
= new wxDateTime (wxDateTime_GetLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
));
3212 wxPy_END_ALLOW_THREADS
;
3213 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3214 _resultobj
= Py_BuildValue("s",_ptemp
);
3218 #define wxDateTime_SetToTheWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToTheWeek(_swigarg0,_swigarg1))
3219 static PyObject
*_wrap_wxDateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
* _resultobj
;
3223 wxDateTime::wxDateTime_t _arg1
;
3224 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3225 PyObject
* _argo0
= 0;
3226 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_SetToTheWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToTheWeek. Expected _wxDateTime_p.");
3239 wxPy_BEGIN_ALLOW_THREADS
;
3240 _result
= (bool )wxDateTime_SetToTheWeek(_arg0
,_arg1
,_arg2
);
3242 wxPy_END_ALLOW_THREADS
;
3243 } _resultobj
= Py_BuildValue("i",_result
);
3247 #define wxDateTime_GetWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeek(_swigarg0,_swigarg1))
3248 static PyObject
*_wrap_wxDateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
* _resultobj
;
3250 wxDateTime
* _result
;
3252 wxDateTime::wxDateTime_t _arg1
;
3253 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3254 PyObject
* _argo0
= 0;
3255 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_GetWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeek. Expected _wxDateTime_p.");
3269 wxPy_BEGIN_ALLOW_THREADS
;
3270 _result
= new wxDateTime (wxDateTime_GetWeek(_arg0
,_arg1
,_arg2
));
3272 wxPy_END_ALLOW_THREADS
;
3273 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3274 _resultobj
= Py_BuildValue("s",_ptemp
);
3278 #define wxDateTime_SetToLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToLastMonthDay(_swigarg0,_swigarg1))
3279 static PyObject
*_wrap_wxDateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
* _resultobj
;
3281 wxDateTime
* _result
;
3283 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3284 int _arg2
= (int ) wxDateTime::Inv_Year
;
3285 PyObject
* _argo0
= 0;
3286 char *_kwnames
[] = { "self","month","year", NULL
};
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_SetToLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastMonthDay. Expected _wxDateTime_p.");
3300 wxPy_BEGIN_ALLOW_THREADS
;
3301 wxDateTime
& _result_ref
= wxDateTime_SetToLastMonthDay(_arg0
,_arg1
,_arg2
);
3302 _result
= (wxDateTime
*) &_result_ref
;
3304 wxPy_END_ALLOW_THREADS
;
3306 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3307 _resultobj
= Py_BuildValue("s",_ptemp
);
3310 _resultobj
= Py_None
;
3315 #define wxDateTime_GetLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastMonthDay(_swigarg0,_swigarg1))
3316 static PyObject
*_wrap_wxDateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3318 wxDateTime
* _result
;
3320 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3321 int _arg2
= (int ) wxDateTime::Inv_Year
;
3322 PyObject
* _argo0
= 0;
3323 char *_kwnames
[] = { "self","month","year", NULL
};
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_GetLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastMonthDay. Expected _wxDateTime_p.");
3337 wxPy_BEGIN_ALLOW_THREADS
;
3338 _result
= new wxDateTime (wxDateTime_GetLastMonthDay(_arg0
,_arg1
,_arg2
));
3340 wxPy_END_ALLOW_THREADS
;
3341 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3342 _resultobj
= Py_BuildValue("s",_ptemp
);
3346 #define wxDateTime_SetToYearDay(_swigobj,_swigarg0) (_swigobj->SetToYearDay(_swigarg0))
3347 static PyObject
*_wrap_wxDateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3348 PyObject
* _resultobj
;
3349 wxDateTime
* _result
;
3351 wxDateTime::wxDateTime_t _arg1
;
3352 PyObject
* _argo0
= 0;
3353 char *_kwnames
[] = { "self","yday", NULL
};
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetToYearDay",_kwnames
,&_argo0
,&_arg1
))
3360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToYearDay. Expected _wxDateTime_p.");
3367 wxPy_BEGIN_ALLOW_THREADS
;
3368 wxDateTime
& _result_ref
= wxDateTime_SetToYearDay(_arg0
,_arg1
);
3369 _result
= (wxDateTime
*) &_result_ref
;
3371 wxPy_END_ALLOW_THREADS
;
3373 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3374 _resultobj
= Py_BuildValue("s",_ptemp
);
3377 _resultobj
= Py_None
;
3382 #define wxDateTime_GetYearDay(_swigobj,_swigarg0) (_swigobj->GetYearDay(_swigarg0))
3383 static PyObject
*_wrap_wxDateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3384 PyObject
* _resultobj
;
3385 wxDateTime
* _result
;
3387 wxDateTime::wxDateTime_t _arg1
;
3388 PyObject
* _argo0
= 0;
3389 char *_kwnames
[] = { "self","yday", NULL
};
3393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_GetYearDay",_kwnames
,&_argo0
,&_arg1
))
3396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYearDay. Expected _wxDateTime_p.");
3403 wxPy_BEGIN_ALLOW_THREADS
;
3404 _result
= new wxDateTime (wxDateTime_GetYearDay(_arg0
,_arg1
));
3406 wxPy_END_ALLOW_THREADS
;
3407 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3408 _resultobj
= Py_BuildValue("s",_ptemp
);
3412 #define wxDateTime_GetJulianDayNumber(_swigobj) (_swigobj->GetJulianDayNumber())
3413 static PyObject
*_wrap_wxDateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3414 PyObject
* _resultobj
;
3417 PyObject
* _argo0
= 0;
3418 char *_kwnames
[] = { "self", NULL
};
3421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJulianDayNumber",_kwnames
,&_argo0
))
3424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJulianDayNumber. Expected _wxDateTime_p.");
3431 wxPy_BEGIN_ALLOW_THREADS
;
3432 _result
= (double )wxDateTime_GetJulianDayNumber(_arg0
);
3434 wxPy_END_ALLOW_THREADS
;
3435 } _resultobj
= Py_BuildValue("d",_result
);
3439 #define wxDateTime_GetJDN(_swigobj) (_swigobj->GetJDN())
3440 static PyObject
*_wrap_wxDateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3441 PyObject
* _resultobj
;
3444 PyObject
* _argo0
= 0;
3445 char *_kwnames
[] = { "self", NULL
};
3448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJDN",_kwnames
,&_argo0
))
3451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJDN. Expected _wxDateTime_p.");
3458 wxPy_BEGIN_ALLOW_THREADS
;
3459 _result
= (double )wxDateTime_GetJDN(_arg0
);
3461 wxPy_END_ALLOW_THREADS
;
3462 } _resultobj
= Py_BuildValue("d",_result
);
3466 #define wxDateTime_GetModifiedJulianDayNumber(_swigobj) (_swigobj->GetModifiedJulianDayNumber())
3467 static PyObject
*_wrap_wxDateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3468 PyObject
* _resultobj
;
3471 PyObject
* _argo0
= 0;
3472 char *_kwnames
[] = { "self", NULL
};
3475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetModifiedJulianDayNumber",_kwnames
,&_argo0
))
3478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetModifiedJulianDayNumber. Expected _wxDateTime_p.");
3485 wxPy_BEGIN_ALLOW_THREADS
;
3486 _result
= (double )wxDateTime_GetModifiedJulianDayNumber(_arg0
);
3488 wxPy_END_ALLOW_THREADS
;
3489 } _resultobj
= Py_BuildValue("d",_result
);
3493 #define wxDateTime_GetMJD(_swigobj) (_swigobj->GetMJD())
3494 static PyObject
*_wrap_wxDateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3495 PyObject
* _resultobj
;
3498 PyObject
* _argo0
= 0;
3499 char *_kwnames
[] = { "self", NULL
};
3502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetMJD",_kwnames
,&_argo0
))
3505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMJD. Expected _wxDateTime_p.");
3512 wxPy_BEGIN_ALLOW_THREADS
;
3513 _result
= (double )wxDateTime_GetMJD(_arg0
);
3515 wxPy_END_ALLOW_THREADS
;
3516 } _resultobj
= Py_BuildValue("d",_result
);
3520 #define wxDateTime_GetRataDie(_swigobj) (_swigobj->GetRataDie())
3521 static PyObject
*_wrap_wxDateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
* _resultobj
;
3525 PyObject
* _argo0
= 0;
3526 char *_kwnames
[] = { "self", NULL
};
3529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetRataDie",_kwnames
,&_argo0
))
3532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetRataDie. Expected _wxDateTime_p.");
3539 wxPy_BEGIN_ALLOW_THREADS
;
3540 _result
= (double )wxDateTime_GetRataDie(_arg0
);
3542 wxPy_END_ALLOW_THREADS
;
3543 } _resultobj
= Py_BuildValue("d",_result
);
3547 #define wxDateTime_ToTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToTimezone(_swigarg0,_swigarg1))
3548 static PyObject
*_wrap_wxDateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3549 PyObject
* _resultobj
;
3550 wxDateTime
* _result
;
3552 wxDateTime::TimeZone
* _arg1
;
3553 bool _arg2
= (bool ) FALSE
;
3554 PyObject
* _argo0
= 0;
3555 PyObject
* _obj1
= 0;
3556 int tempbool2
= (int) FALSE
;
3557 char *_kwnames
[] = { "self","tz","noDST", NULL
};
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_ToTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToTimezone. Expected _wxDateTime_p.");
3571 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3573 _arg2
= (bool ) tempbool2
;
3575 wxPy_BEGIN_ALLOW_THREADS
;
3576 _result
= new wxDateTime (wxDateTime_ToTimezone(_arg0
,*_arg1
,_arg2
));
3578 wxPy_END_ALLOW_THREADS
;
3579 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3580 _resultobj
= Py_BuildValue("s",_ptemp
);
3582 if (_arg1
) delete _arg1
;
3587 #define wxDateTime_MakeTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeTimezone(_swigarg0,_swigarg1))
3588 static PyObject
*_wrap_wxDateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
* _resultobj
;
3590 wxDateTime
* _result
;
3592 wxDateTime::TimeZone
* _arg1
;
3593 bool _arg2
= (bool ) FALSE
;
3594 PyObject
* _argo0
= 0;
3595 PyObject
* _obj1
= 0;
3596 int tempbool2
= (int) FALSE
;
3597 char *_kwnames
[] = { "self","tz","noDST", NULL
};
3601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_MakeTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeTimezone. Expected _wxDateTime_p.");
3611 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3613 _arg2
= (bool ) tempbool2
;
3615 wxPy_BEGIN_ALLOW_THREADS
;
3616 wxDateTime
& _result_ref
= wxDateTime_MakeTimezone(_arg0
,*_arg1
,_arg2
);
3617 _result
= (wxDateTime
*) &_result_ref
;
3619 wxPy_END_ALLOW_THREADS
;
3621 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3622 _resultobj
= Py_BuildValue("s",_ptemp
);
3625 _resultobj
= Py_None
;
3628 if (_arg1
) delete _arg1
;
3633 #define wxDateTime_ToGMT(_swigobj,_swigarg0) (_swigobj->ToGMT(_swigarg0))
3634 static PyObject
*_wrap_wxDateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3635 PyObject
* _resultobj
;
3636 wxDateTime
* _result
;
3638 bool _arg1
= (bool ) FALSE
;
3639 PyObject
* _argo0
= 0;
3640 int tempbool1
= (int) FALSE
;
3641 char *_kwnames
[] = { "self","noDST", NULL
};
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_ToGMT",_kwnames
,&_argo0
,&tempbool1
))
3648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToGMT. Expected _wxDateTime_p.");
3654 _arg1
= (bool ) tempbool1
;
3656 wxPy_BEGIN_ALLOW_THREADS
;
3657 _result
= new wxDateTime (wxDateTime_ToGMT(_arg0
,_arg1
));
3659 wxPy_END_ALLOW_THREADS
;
3660 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3661 _resultobj
= Py_BuildValue("s",_ptemp
);
3665 #define wxDateTime_MakeGMT(_swigobj,_swigarg0) (_swigobj->MakeGMT(_swigarg0))
3666 static PyObject
*_wrap_wxDateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3667 PyObject
* _resultobj
;
3668 wxDateTime
* _result
;
3670 bool _arg1
= (bool ) FALSE
;
3671 PyObject
* _argo0
= 0;
3672 int tempbool1
= (int) FALSE
;
3673 char *_kwnames
[] = { "self","noDST", NULL
};
3677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_MakeGMT",_kwnames
,&_argo0
,&tempbool1
))
3680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeGMT. Expected _wxDateTime_p.");
3686 _arg1
= (bool ) tempbool1
;
3688 wxPy_BEGIN_ALLOW_THREADS
;
3689 wxDateTime
& _result_ref
= wxDateTime_MakeGMT(_arg0
,_arg1
);
3690 _result
= (wxDateTime
*) &_result_ref
;
3692 wxPy_END_ALLOW_THREADS
;
3694 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3695 _resultobj
= Py_BuildValue("s",_ptemp
);
3698 _resultobj
= Py_None
;
3703 #define wxDateTime_IsDST(_swigobj,_swigarg0) (_swigobj->IsDST(_swigarg0))
3704 static PyObject
*_wrap_wxDateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
* _resultobj
;
3708 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
3709 PyObject
* _argo0
= 0;
3710 char *_kwnames
[] = { "self","country", NULL
};
3713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsDST",_kwnames
,&_argo0
,&_arg1
))
3716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsDST. Expected _wxDateTime_p.");
3723 wxPy_BEGIN_ALLOW_THREADS
;
3724 _result
= (int )wxDateTime_IsDST(_arg0
,_arg1
);
3726 wxPy_END_ALLOW_THREADS
;
3727 } _resultobj
= Py_BuildValue("i",_result
);
3731 #define wxDateTime_IsValid(_swigobj) (_swigobj->IsValid())
3732 static PyObject
*_wrap_wxDateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3733 PyObject
* _resultobj
;
3736 PyObject
* _argo0
= 0;
3737 char *_kwnames
[] = { "self", NULL
};
3740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_IsValid",_kwnames
,&_argo0
))
3743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsValid. Expected _wxDateTime_p.");
3750 wxPy_BEGIN_ALLOW_THREADS
;
3751 _result
= (bool )wxDateTime_IsValid(_arg0
);
3753 wxPy_END_ALLOW_THREADS
;
3754 } _resultobj
= Py_BuildValue("i",_result
);
3758 #define wxDateTime_GetTicks(_swigobj) (_swigobj->GetTicks())
3759 static PyObject
*_wrap_wxDateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
* _resultobj
;
3763 PyObject
* _argo0
= 0;
3764 char *_kwnames
[] = { "self", NULL
};
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetTicks",_kwnames
,&_argo0
))
3770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetTicks. Expected _wxDateTime_p.");
3777 wxPy_BEGIN_ALLOW_THREADS
;
3778 _result
= (time_t )wxDateTime_GetTicks(_arg0
);
3780 wxPy_END_ALLOW_THREADS
;
3781 } _resultobj
= Py_BuildValue("i",_result
);
3785 #define wxDateTime_GetYear(_swigobj,_swigarg0) (_swigobj->GetYear(_swigarg0))
3786 static PyObject
*_wrap_wxDateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
* _resultobj
;
3790 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3791 PyObject
* _argo0
= 0;
3792 PyObject
* _obj1
= 0;
3793 char *_kwnames
[] = { "self","tz", NULL
};
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetYear",_kwnames
,&_argo0
,&_obj1
))
3799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYear. Expected _wxDateTime_p.");
3807 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3810 wxPy_BEGIN_ALLOW_THREADS
;
3811 _result
= (int )wxDateTime_GetYear(_arg0
,*_arg1
);
3813 wxPy_END_ALLOW_THREADS
;
3814 } _resultobj
= Py_BuildValue("i",_result
);
3816 if (_arg1
) delete _arg1
;
3821 #define wxDateTime_GetMonth(_swigobj,_swigarg0) (_swigobj->GetMonth(_swigarg0))
3822 static PyObject
*_wrap_wxDateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
* _resultobj
;
3824 wxDateTime::Month _result
;
3826 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3827 PyObject
* _argo0
= 0;
3828 PyObject
* _obj1
= 0;
3829 char *_kwnames
[] = { "self","tz", NULL
};
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMonth",_kwnames
,&_argo0
,&_obj1
))
3835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMonth. Expected _wxDateTime_p.");
3843 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3846 wxPy_BEGIN_ALLOW_THREADS
;
3847 _result
= (wxDateTime::Month
)wxDateTime_GetMonth(_arg0
,*_arg1
);
3849 wxPy_END_ALLOW_THREADS
;
3850 } _resultobj
= Py_BuildValue("i",_result
);
3852 if (_arg1
) delete _arg1
;
3857 #define wxDateTime_GetDay(_swigobj,_swigarg0) (_swigobj->GetDay(_swigarg0))
3858 static PyObject
*_wrap_wxDateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
* _resultobj
;
3860 wxDateTime::wxDateTime_t _result
;
3862 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3863 PyObject
* _argo0
= 0;
3864 PyObject
* _obj1
= 0;
3865 char *_kwnames
[] = { "self","tz", NULL
};
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDay",_kwnames
,&_argo0
,&_obj1
))
3871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDay. Expected _wxDateTime_p.");
3879 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3882 wxPy_BEGIN_ALLOW_THREADS
;
3883 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDay(_arg0
,*_arg1
);
3885 wxPy_END_ALLOW_THREADS
;
3886 } _resultobj
= Py_BuildValue("h",_result
);
3888 if (_arg1
) delete _arg1
;
3893 #define wxDateTime_GetHour(_swigobj,_swigarg0) (_swigobj->GetHour(_swigarg0))
3894 static PyObject
*_wrap_wxDateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
* _resultobj
;
3896 wxDateTime::wxDateTime_t _result
;
3898 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3899 PyObject
* _argo0
= 0;
3900 PyObject
* _obj1
= 0;
3901 char *_kwnames
[] = { "self","tz", NULL
};
3904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetHour",_kwnames
,&_argo0
,&_obj1
))
3907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetHour. Expected _wxDateTime_p.");
3915 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3918 wxPy_BEGIN_ALLOW_THREADS
;
3919 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetHour(_arg0
,*_arg1
);
3921 wxPy_END_ALLOW_THREADS
;
3922 } _resultobj
= Py_BuildValue("h",_result
);
3924 if (_arg1
) delete _arg1
;
3929 #define wxDateTime_GetMinute(_swigobj,_swigarg0) (_swigobj->GetMinute(_swigarg0))
3930 static PyObject
*_wrap_wxDateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
* _resultobj
;
3932 wxDateTime::wxDateTime_t _result
;
3934 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3935 PyObject
* _argo0
= 0;
3936 PyObject
* _obj1
= 0;
3937 char *_kwnames
[] = { "self","tz", NULL
};
3940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMinute",_kwnames
,&_argo0
,&_obj1
))
3943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMinute. Expected _wxDateTime_p.");
3951 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3954 wxPy_BEGIN_ALLOW_THREADS
;
3955 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMinute(_arg0
,*_arg1
);
3957 wxPy_END_ALLOW_THREADS
;
3958 } _resultobj
= Py_BuildValue("h",_result
);
3960 if (_arg1
) delete _arg1
;
3965 #define wxDateTime_GetSecond(_swigobj,_swigarg0) (_swigobj->GetSecond(_swigarg0))
3966 static PyObject
*_wrap_wxDateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
* _resultobj
;
3968 wxDateTime::wxDateTime_t _result
;
3970 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3971 PyObject
* _argo0
= 0;
3972 PyObject
* _obj1
= 0;
3973 char *_kwnames
[] = { "self","tz", NULL
};
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetSecond",_kwnames
,&_argo0
,&_obj1
))
3979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetSecond. Expected _wxDateTime_p.");
3987 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3990 wxPy_BEGIN_ALLOW_THREADS
;
3991 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetSecond(_arg0
,*_arg1
);
3993 wxPy_END_ALLOW_THREADS
;
3994 } _resultobj
= Py_BuildValue("h",_result
);
3996 if (_arg1
) delete _arg1
;
4001 #define wxDateTime_GetMillisecond(_swigobj,_swigarg0) (_swigobj->GetMillisecond(_swigarg0))
4002 static PyObject
*_wrap_wxDateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4003 PyObject
* _resultobj
;
4004 wxDateTime::wxDateTime_t _result
;
4006 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4007 PyObject
* _argo0
= 0;
4008 PyObject
* _obj1
= 0;
4009 char *_kwnames
[] = { "self","tz", NULL
};
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMillisecond",_kwnames
,&_argo0
,&_obj1
))
4015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMillisecond. Expected _wxDateTime_p.");
4023 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4026 wxPy_BEGIN_ALLOW_THREADS
;
4027 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMillisecond(_arg0
,*_arg1
);
4029 wxPy_END_ALLOW_THREADS
;
4030 } _resultobj
= Py_BuildValue("h",_result
);
4032 if (_arg1
) delete _arg1
;
4037 #define wxDateTime_GetDayOfYear(_swigobj,_swigarg0) (_swigobj->GetDayOfYear(_swigarg0))
4038 static PyObject
*_wrap_wxDateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
* _resultobj
;
4040 wxDateTime::wxDateTime_t _result
;
4042 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4043 PyObject
* _argo0
= 0;
4044 PyObject
* _obj1
= 0;
4045 char *_kwnames
[] = { "self","tz", NULL
};
4048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDayOfYear",_kwnames
,&_argo0
,&_obj1
))
4051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDayOfYear. Expected _wxDateTime_p.");
4059 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4062 wxPy_BEGIN_ALLOW_THREADS
;
4063 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDayOfYear(_arg0
,*_arg1
);
4065 wxPy_END_ALLOW_THREADS
;
4066 } _resultobj
= Py_BuildValue("h",_result
);
4068 if (_arg1
) delete _arg1
;
4073 #define wxDateTime_GetWeekOfYear(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfYear(_swigarg0,_swigarg1))
4074 static PyObject
*_wrap_wxDateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4075 PyObject
* _resultobj
;
4076 wxDateTime::wxDateTime_t _result
;
4078 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4079 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4080 PyObject
* _argo0
= 0;
4081 PyObject
* _obj2
= 0;
4082 char *_kwnames
[] = { "self","flags","tz", NULL
};
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfYear",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfYear. Expected _wxDateTime_p.");
4096 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4099 wxPy_BEGIN_ALLOW_THREADS
;
4100 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfYear(_arg0
,_arg1
,*_arg2
);
4102 wxPy_END_ALLOW_THREADS
;
4103 } _resultobj
= Py_BuildValue("h",_result
);
4105 if (_arg2
) delete _arg2
;
4110 #define wxDateTime_GetWeekOfMonth(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfMonth(_swigarg0,_swigarg1))
4111 static PyObject
*_wrap_wxDateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
* _resultobj
;
4113 wxDateTime::wxDateTime_t _result
;
4115 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4116 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4117 PyObject
* _argo0
= 0;
4118 PyObject
* _obj2
= 0;
4119 char *_kwnames
[] = { "self","flags","tz", NULL
};
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfMonth",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfMonth. Expected _wxDateTime_p.");
4133 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4136 wxPy_BEGIN_ALLOW_THREADS
;
4137 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfMonth(_arg0
,_arg1
,*_arg2
);
4139 wxPy_END_ALLOW_THREADS
;
4140 } _resultobj
= Py_BuildValue("h",_result
);
4142 if (_arg2
) delete _arg2
;
4147 #define wxDateTime_IsWorkDay(_swigobj,_swigarg0) (_swigobj->IsWorkDay(_swigarg0))
4148 static PyObject
*_wrap_wxDateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4149 PyObject
* _resultobj
;
4152 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
4153 PyObject
* _argo0
= 0;
4154 char *_kwnames
[] = { "self","country", NULL
};
4157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsWorkDay",_kwnames
,&_argo0
,&_arg1
))
4160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsWorkDay. Expected _wxDateTime_p.");
4167 wxPy_BEGIN_ALLOW_THREADS
;
4168 _result
= (bool )wxDateTime_IsWorkDay(_arg0
,_arg1
);
4170 wxPy_END_ALLOW_THREADS
;
4171 } _resultobj
= Py_BuildValue("i",_result
);
4175 #define wxDateTime_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
4176 static PyObject
*_wrap_wxDateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4177 PyObject
* _resultobj
;
4181 PyObject
* _argo0
= 0;
4182 PyObject
* _argo1
= 0;
4183 char *_kwnames
[] = { "self","datetime", NULL
};
4186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
4189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4196 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4197 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4203 wxPy_BEGIN_ALLOW_THREADS
;
4204 _result
= (bool )wxDateTime_IsEqualTo(_arg0
,*_arg1
);
4206 wxPy_END_ALLOW_THREADS
;
4207 } _resultobj
= Py_BuildValue("i",_result
);
4211 #define wxDateTime_IsEarlierThan(_swigobj,_swigarg0) (_swigobj->IsEarlierThan(_swigarg0))
4212 static PyObject
*_wrap_wxDateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
* _resultobj
;
4217 PyObject
* _argo0
= 0;
4218 PyObject
* _argo1
= 0;
4219 char *_kwnames
[] = { "self","datetime", NULL
};
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEarlierThan",_kwnames
,&_argo0
,&_argo1
))
4225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4232 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4233 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4239 wxPy_BEGIN_ALLOW_THREADS
;
4240 _result
= (bool )wxDateTime_IsEarlierThan(_arg0
,*_arg1
);
4242 wxPy_END_ALLOW_THREADS
;
4243 } _resultobj
= Py_BuildValue("i",_result
);
4247 #define wxDateTime_IsLaterThan(_swigobj,_swigarg0) (_swigobj->IsLaterThan(_swigarg0))
4248 static PyObject
*_wrap_wxDateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
* _resultobj
;
4253 PyObject
* _argo0
= 0;
4254 PyObject
* _argo1
= 0;
4255 char *_kwnames
[] = { "self","datetime", NULL
};
4258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsLaterThan",_kwnames
,&_argo0
,&_argo1
))
4261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4268 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4269 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4275 wxPy_BEGIN_ALLOW_THREADS
;
4276 _result
= (bool )wxDateTime_IsLaterThan(_arg0
,*_arg1
);
4278 wxPy_END_ALLOW_THREADS
;
4279 } _resultobj
= Py_BuildValue("i",_result
);
4283 #define wxDateTime_IsStrictlyBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsStrictlyBetween(_swigarg0,_swigarg1))
4284 static PyObject
*_wrap_wxDateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
* _resultobj
;
4290 PyObject
* _argo0
= 0;
4291 PyObject
* _argo1
= 0;
4292 PyObject
* _argo2
= 0;
4293 char *_kwnames
[] = { "self","t1","t2", NULL
};
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsStrictlyBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4306 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4307 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4313 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4314 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4320 wxPy_BEGIN_ALLOW_THREADS
;
4321 _result
= (bool )wxDateTime_IsStrictlyBetween(_arg0
,*_arg1
,*_arg2
);
4323 wxPy_END_ALLOW_THREADS
;
4324 } _resultobj
= Py_BuildValue("i",_result
);
4328 #define wxDateTime_IsBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsBetween(_swigarg0,_swigarg1))
4329 static PyObject
*_wrap_wxDateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4330 PyObject
* _resultobj
;
4335 PyObject
* _argo0
= 0;
4336 PyObject
* _argo1
= 0;
4337 PyObject
* _argo2
= 0;
4338 char *_kwnames
[] = { "self","t1","t2", NULL
};
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4351 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4352 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4358 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4359 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4365 wxPy_BEGIN_ALLOW_THREADS
;
4366 _result
= (bool )wxDateTime_IsBetween(_arg0
,*_arg1
,*_arg2
);
4368 wxPy_END_ALLOW_THREADS
;
4369 } _resultobj
= Py_BuildValue("i",_result
);
4373 #define wxDateTime_IsSameDate(_swigobj,_swigarg0) (_swigobj->IsSameDate(_swigarg0))
4374 static PyObject
*_wrap_wxDateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4375 PyObject
* _resultobj
;
4379 PyObject
* _argo0
= 0;
4380 PyObject
* _argo1
= 0;
4381 char *_kwnames
[] = { "self","dt", NULL
};
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameDate",_kwnames
,&_argo0
,&_argo1
))
4387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4394 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4395 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4401 wxPy_BEGIN_ALLOW_THREADS
;
4402 _result
= (bool )wxDateTime_IsSameDate(_arg0
,*_arg1
);
4404 wxPy_END_ALLOW_THREADS
;
4405 } _resultobj
= Py_BuildValue("i",_result
);
4409 #define wxDateTime_IsSameTime(_swigobj,_swigarg0) (_swigobj->IsSameTime(_swigarg0))
4410 static PyObject
*_wrap_wxDateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
* _resultobj
;
4415 PyObject
* _argo0
= 0;
4416 PyObject
* _argo1
= 0;
4417 char *_kwnames
[] = { "self","dt", NULL
};
4420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameTime",_kwnames
,&_argo0
,&_argo1
))
4423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
4430 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4431 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
4437 wxPy_BEGIN_ALLOW_THREADS
;
4438 _result
= (bool )wxDateTime_IsSameTime(_arg0
,*_arg1
);
4440 wxPy_END_ALLOW_THREADS
;
4441 } _resultobj
= Py_BuildValue("i",_result
);
4445 #define wxDateTime_IsEqualUpTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEqualUpTo(_swigarg0,_swigarg1))
4446 static PyObject
*_wrap_wxDateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
* _resultobj
;
4452 PyObject
* _argo0
= 0;
4453 PyObject
* _argo1
= 0;
4454 PyObject
* _argo2
= 0;
4455 char *_kwnames
[] = { "self","dt","ts", NULL
};
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsEqualUpTo",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4468 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4469 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4475 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4476 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTimeSpan_p")) {
4477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsEqualUpTo. Expected _wxTimeSpan_p.");
4482 wxPy_BEGIN_ALLOW_THREADS
;
4483 _result
= (bool )wxDateTime_IsEqualUpTo(_arg0
,*_arg1
,*_arg2
);
4485 wxPy_END_ALLOW_THREADS
;
4486 } _resultobj
= Py_BuildValue("i",_result
);
4490 #define wxDateTime_AddTS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4491 static PyObject
*_wrap_wxDateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
* _resultobj
;
4493 wxDateTime
* _result
;
4496 PyObject
* _argo0
= 0;
4497 PyObject
* _argo1
= 0;
4498 char *_kwnames
[] = { "self","diff", NULL
};
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddTS",_kwnames
,&_argo0
,&_argo1
))
4505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddTS. Expected _wxDateTime_p.");
4512 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4513 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddTS. Expected _wxTimeSpan_p.");
4519 wxPy_BEGIN_ALLOW_THREADS
;
4520 wxDateTime
& _result_ref
= wxDateTime_AddTS(_arg0
,*_arg1
);
4521 _result
= (wxDateTime
*) &_result_ref
;
4523 wxPy_END_ALLOW_THREADS
;
4525 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4526 _resultobj
= Py_BuildValue("s",_ptemp
);
4529 _resultobj
= Py_None
;
4534 #define wxDateTime_AddDS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4535 static PyObject
*_wrap_wxDateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4536 PyObject
* _resultobj
;
4537 wxDateTime
* _result
;
4540 PyObject
* _argo0
= 0;
4541 PyObject
* _argo1
= 0;
4542 char *_kwnames
[] = { "self","diff", NULL
};
4546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddDS",_kwnames
,&_argo0
,&_argo1
))
4549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddDS. Expected _wxDateTime_p.");
4556 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4557 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddDS. Expected _wxDateSpan_p.");
4563 wxPy_BEGIN_ALLOW_THREADS
;
4564 wxDateTime
& _result_ref
= wxDateTime_AddDS(_arg0
,*_arg1
);
4565 _result
= (wxDateTime
*) &_result_ref
;
4567 wxPy_END_ALLOW_THREADS
;
4569 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4570 _resultobj
= Py_BuildValue("s",_ptemp
);
4573 _resultobj
= Py_None
;
4578 #define wxDateTime_SubtractTS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4579 static PyObject
*_wrap_wxDateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
* _resultobj
;
4581 wxDateTime
* _result
;
4584 PyObject
* _argo0
= 0;
4585 PyObject
* _argo1
= 0;
4586 char *_kwnames
[] = { "self","diff", NULL
};
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractTS",_kwnames
,&_argo0
,&_argo1
))
4593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractTS. Expected _wxDateTime_p.");
4600 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4601 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractTS. Expected _wxTimeSpan_p.");
4607 wxPy_BEGIN_ALLOW_THREADS
;
4608 wxDateTime
& _result_ref
= wxDateTime_SubtractTS(_arg0
,*_arg1
);
4609 _result
= (wxDateTime
*) &_result_ref
;
4611 wxPy_END_ALLOW_THREADS
;
4613 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4614 _resultobj
= Py_BuildValue("s",_ptemp
);
4617 _resultobj
= Py_None
;
4622 #define wxDateTime_SubtractDS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4623 static PyObject
*_wrap_wxDateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
* _resultobj
;
4625 wxDateTime
* _result
;
4628 PyObject
* _argo0
= 0;
4629 PyObject
* _argo1
= 0;
4630 char *_kwnames
[] = { "self","diff", NULL
};
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractDS",_kwnames
,&_argo0
,&_argo1
))
4637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractDS. Expected _wxDateTime_p.");
4644 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4645 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractDS. Expected _wxDateSpan_p.");
4651 wxPy_BEGIN_ALLOW_THREADS
;
4652 wxDateTime
& _result_ref
= wxDateTime_SubtractDS(_arg0
,*_arg1
);
4653 _result
= (wxDateTime
*) &_result_ref
;
4655 wxPy_END_ALLOW_THREADS
;
4657 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4658 _resultobj
= Py_BuildValue("s",_ptemp
);
4661 _resultobj
= Py_None
;
4666 #define wxDateTime_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4667 static PyObject
*_wrap_wxDateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
* _resultobj
;
4669 wxTimeSpan
* _result
;
4672 PyObject
* _argo0
= 0;
4673 PyObject
* _argo1
= 0;
4674 char *_kwnames
[] = { "self","dt", NULL
};
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_Subtract",_kwnames
,&_argo0
,&_argo1
))
4681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Subtract. Expected _wxDateTime_p.");
4688 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4689 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_Subtract. Expected _wxDateTime_p.");
4695 wxPy_BEGIN_ALLOW_THREADS
;
4696 _result
= new wxTimeSpan (wxDateTime_Subtract(_arg0
,*_arg1
));
4698 wxPy_END_ALLOW_THREADS
;
4699 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
4700 _resultobj
= Py_BuildValue("s",_ptemp
);
4704 static wxDateTime
wxDateTime___add__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
4705 static PyObject
*_wrap_wxDateTime___add__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
* _resultobj
;
4707 wxDateTime
* _result
;
4710 PyObject
* _argo0
= 0;
4711 PyObject
* _argo1
= 0;
4712 char *_kwnames
[] = { "self","other", NULL
};
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__TS",_kwnames
,&_argo0
,&_argo1
))
4719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__TS. Expected _wxDateTime_p.");
4726 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4727 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__TS. Expected _wxTimeSpan_p.");
4733 wxPy_BEGIN_ALLOW_THREADS
;
4734 _result
= new wxDateTime (wxDateTime___add__TS(_arg0
,*_arg1
));
4736 wxPy_END_ALLOW_THREADS
;
4737 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4738 _resultobj
= Py_BuildValue("s",_ptemp
);
4742 static wxDateTime
wxDateTime___add__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
4743 static PyObject
*_wrap_wxDateTime___add__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
* _resultobj
;
4745 wxDateTime
* _result
;
4748 PyObject
* _argo0
= 0;
4749 PyObject
* _argo1
= 0;
4750 char *_kwnames
[] = { "self","other", NULL
};
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__DS",_kwnames
,&_argo0
,&_argo1
))
4757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__DS. Expected _wxDateTime_p.");
4764 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4765 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__DS. Expected _wxDateSpan_p.");
4771 wxPy_BEGIN_ALLOW_THREADS
;
4772 _result
= new wxDateTime (wxDateTime___add__DS(_arg0
,*_arg1
));
4774 wxPy_END_ALLOW_THREADS
;
4775 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4776 _resultobj
= Py_BuildValue("s",_ptemp
);
4780 static wxTimeSpan
wxDateTime___sub__DT(wxDateTime
*self
,const wxDateTime
& other
) { return *self
- other
; }
4781 static PyObject
*_wrap_wxDateTime___sub__DT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4782 PyObject
* _resultobj
;
4783 wxTimeSpan
* _result
;
4786 PyObject
* _argo0
= 0;
4787 PyObject
* _argo1
= 0;
4788 char *_kwnames
[] = { "self","other", NULL
};
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DT",_kwnames
,&_argo0
,&_argo1
))
4795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
4802 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4803 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
4809 wxPy_BEGIN_ALLOW_THREADS
;
4810 _result
= new wxTimeSpan (wxDateTime___sub__DT(_arg0
,*_arg1
));
4812 wxPy_END_ALLOW_THREADS
;
4813 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
4814 _resultobj
= Py_BuildValue("s",_ptemp
);
4818 static wxDateTime
wxDateTime___sub__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
4819 static PyObject
*_wrap_wxDateTime___sub__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4820 PyObject
* _resultobj
;
4821 wxDateTime
* _result
;
4824 PyObject
* _argo0
= 0;
4825 PyObject
* _argo1
= 0;
4826 char *_kwnames
[] = { "self","other", NULL
};
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__TS",_kwnames
,&_argo0
,&_argo1
))
4833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__TS. Expected _wxDateTime_p.");
4840 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4841 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__TS. Expected _wxTimeSpan_p.");
4847 wxPy_BEGIN_ALLOW_THREADS
;
4848 _result
= new wxDateTime (wxDateTime___sub__TS(_arg0
,*_arg1
));
4850 wxPy_END_ALLOW_THREADS
;
4851 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4852 _resultobj
= Py_BuildValue("s",_ptemp
);
4856 static wxDateTime
wxDateTime___sub__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
- other
; }
4857 static PyObject
*_wrap_wxDateTime___sub__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
* _resultobj
;
4859 wxDateTime
* _result
;
4862 PyObject
* _argo0
= 0;
4863 PyObject
* _argo1
= 0;
4864 char *_kwnames
[] = { "self","other", NULL
};
4868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DS",_kwnames
,&_argo0
,&_argo1
))
4871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DS. Expected _wxDateTime_p.");
4878 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4879 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DS. Expected _wxDateSpan_p.");
4885 wxPy_BEGIN_ALLOW_THREADS
;
4886 _result
= new wxDateTime (wxDateTime___sub__DS(_arg0
,*_arg1
));
4888 wxPy_END_ALLOW_THREADS
;
4889 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4890 _resultobj
= Py_BuildValue("s",_ptemp
);
4894 static int wxDateTime___cmp__(wxDateTime
*self
,const wxDateTime
& other
) {
4895 if (*self
< other
) return -1;
4896 if (*self
== other
) return 0;
4899 static PyObject
*_wrap_wxDateTime___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
* _resultobj
;
4904 PyObject
* _argo0
= 0;
4905 PyObject
* _argo1
= 0;
4906 char *_kwnames
[] = { "self","other", NULL
};
4909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___cmp__",_kwnames
,&_argo0
,&_argo1
))
4912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___cmp__. Expected _wxDateTime_p.");
4919 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4920 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___cmp__. Expected _wxDateTime_p.");
4926 wxPy_BEGIN_ALLOW_THREADS
;
4927 _result
= (int )wxDateTime___cmp__(_arg0
,*_arg1
);
4929 wxPy_END_ALLOW_THREADS
;
4930 } _resultobj
= Py_BuildValue("i",_result
);
4934 #define wxDateTime_ParseRfc822Date(_swigobj,_swigarg0) (_swigobj->ParseRfc822Date(_swigarg0))
4935 static PyObject
*_wrap_wxDateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4936 PyObject
* _resultobj
;
4940 PyObject
* _argo0
= 0;
4941 char *_kwnames
[] = { "self","date", NULL
};
4944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseRfc822Date",_kwnames
,&_argo0
,&_arg1
))
4947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseRfc822Date. Expected _wxDateTime_p.");
4954 wxPy_BEGIN_ALLOW_THREADS
;
4955 _result
= (char *)wxDateTime_ParseRfc822Date(_arg0
,_arg1
);
4957 wxPy_END_ALLOW_THREADS
;
4958 } _resultobj
= Py_BuildValue("s", _result
);
4962 #define wxDateTime_ParseFormat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ParseFormat(_swigarg0,_swigarg1,_swigarg2))
4963 static PyObject
*_wrap_wxDateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
* _resultobj
;
4968 char * _arg2
= (char *) "%c";
4969 wxDateTime
* _arg3
= (wxDateTime
*) &wxDefaultDateTime
;
4970 PyObject
* _argo0
= 0;
4971 PyObject
* _argo3
= 0;
4972 char *_kwnames
[] = { "self","date","format","dateDef", NULL
};
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|sO:wxDateTime_ParseFormat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
4978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
4985 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4986 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime_p")) {
4987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
4992 wxPy_BEGIN_ALLOW_THREADS
;
4993 _result
= (char *)wxDateTime_ParseFormat(_arg0
,_arg1
,_arg2
,*_arg3
);
4995 wxPy_END_ALLOW_THREADS
;
4996 } _resultobj
= Py_BuildValue("s", _result
);
5000 #define wxDateTime_ParseDateTime(_swigobj,_swigarg0) (_swigobj->ParseDateTime(_swigarg0))
5001 static PyObject
*_wrap_wxDateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5002 PyObject
* _resultobj
;
5006 PyObject
* _argo0
= 0;
5007 char *_kwnames
[] = { "self","datetime", NULL
};
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseDateTime",_kwnames
,&_argo0
,&_arg1
))
5013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDateTime. Expected _wxDateTime_p.");
5020 wxPy_BEGIN_ALLOW_THREADS
;
5021 _result
= (char *)wxDateTime_ParseDateTime(_arg0
,_arg1
);
5023 wxPy_END_ALLOW_THREADS
;
5024 } _resultobj
= Py_BuildValue("s", _result
);
5028 #define wxDateTime_ParseDate(_swigobj,_swigarg0) (_swigobj->ParseDate(_swigarg0))
5029 static PyObject
*_wrap_wxDateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
* _resultobj
;
5034 PyObject
* _argo0
= 0;
5035 char *_kwnames
[] = { "self","date", NULL
};
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseDate",_kwnames
,&_argo0
,&_arg1
))
5041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDate. Expected _wxDateTime_p.");
5048 wxPy_BEGIN_ALLOW_THREADS
;
5049 _result
= (char *)wxDateTime_ParseDate(_arg0
,_arg1
);
5051 wxPy_END_ALLOW_THREADS
;
5052 } _resultobj
= Py_BuildValue("s", _result
);
5056 #define wxDateTime_ParseTime(_swigobj,_swigarg0) (_swigobj->ParseTime(_swigarg0))
5057 static PyObject
*_wrap_wxDateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5058 PyObject
* _resultobj
;
5062 PyObject
* _argo0
= 0;
5063 char *_kwnames
[] = { "self","time", NULL
};
5066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseTime",_kwnames
,&_argo0
,&_arg1
))
5069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseTime. Expected _wxDateTime_p.");
5076 wxPy_BEGIN_ALLOW_THREADS
;
5077 _result
= (char *)wxDateTime_ParseTime(_arg0
,_arg1
);
5079 wxPy_END_ALLOW_THREADS
;
5080 } _resultobj
= Py_BuildValue("s", _result
);
5084 #define wxDateTime_Format(_swigobj,_swigarg0,_swigarg1) (_swigobj->Format(_swigarg0,_swigarg1))
5085 static PyObject
*_wrap_wxDateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
* _resultobj
;
5089 char * _arg1
= (char *) "%c";
5090 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
5091 PyObject
* _argo0
= 0;
5092 PyObject
* _obj2
= 0;
5093 char *_kwnames
[] = { "self","format","tz", NULL
};
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sO:wxDateTime_Format",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Format. Expected _wxDateTime_p.");
5107 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
5110 wxPy_BEGIN_ALLOW_THREADS
;
5111 _result
= new wxString (wxDateTime_Format(_arg0
,_arg1
,*_arg2
));
5113 wxPy_END_ALLOW_THREADS
;
5115 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5118 if (_arg2
) delete _arg2
;
5126 #define wxDateTime_FormatDate(_swigobj) (_swigobj->FormatDate())
5127 static PyObject
*_wrap_wxDateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
* _resultobj
;
5131 PyObject
* _argo0
= 0;
5132 char *_kwnames
[] = { "self", NULL
};
5135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatDate",_kwnames
,&_argo0
))
5138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatDate. Expected _wxDateTime_p.");
5145 wxPy_BEGIN_ALLOW_THREADS
;
5146 _result
= new wxString (wxDateTime_FormatDate(_arg0
));
5148 wxPy_END_ALLOW_THREADS
;
5150 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5158 #define wxDateTime_FormatTime(_swigobj) (_swigobj->FormatTime())
5159 static PyObject
*_wrap_wxDateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5160 PyObject
* _resultobj
;
5163 PyObject
* _argo0
= 0;
5164 char *_kwnames
[] = { "self", NULL
};
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatTime",_kwnames
,&_argo0
))
5170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatTime. Expected _wxDateTime_p.");
5177 wxPy_BEGIN_ALLOW_THREADS
;
5178 _result
= new wxString (wxDateTime_FormatTime(_arg0
));
5180 wxPy_END_ALLOW_THREADS
;
5182 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5190 #define wxDateTime_FormatISODate(_swigobj) (_swigobj->FormatISODate())
5191 static PyObject
*_wrap_wxDateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
* _resultobj
;
5195 PyObject
* _argo0
= 0;
5196 char *_kwnames
[] = { "self", NULL
};
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISODate",_kwnames
,&_argo0
))
5202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISODate. Expected _wxDateTime_p.");
5209 wxPy_BEGIN_ALLOW_THREADS
;
5210 _result
= new wxString (wxDateTime_FormatISODate(_arg0
));
5212 wxPy_END_ALLOW_THREADS
;
5214 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5222 #define wxDateTime_FormatISOTime(_swigobj) (_swigobj->FormatISOTime())
5223 static PyObject
*_wrap_wxDateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
* _resultobj
;
5227 PyObject
* _argo0
= 0;
5228 char *_kwnames
[] = { "self", NULL
};
5231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISOTime",_kwnames
,&_argo0
))
5234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISOTime. Expected _wxDateTime_p.");
5241 wxPy_BEGIN_ALLOW_THREADS
;
5242 _result
= new wxString (wxDateTime_FormatISOTime(_arg0
));
5244 wxPy_END_ALLOW_THREADS
;
5246 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5254 static PyObject
*_wrap_wxTimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
* _resultobj
;
5256 wxTimeSpan
* _result
;
5258 char *_kwnames
[] = { "sec", NULL
};
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Seconds",_kwnames
,&_arg0
))
5265 wxPy_BEGIN_ALLOW_THREADS
;
5266 _result
= new wxTimeSpan (wxTimeSpan::Seconds(_arg0
));
5268 wxPy_END_ALLOW_THREADS
;
5269 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5270 _resultobj
= Py_BuildValue("s",_ptemp
);
5274 static PyObject
*_wrap_wxTimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5275 PyObject
* _resultobj
;
5276 wxTimeSpan
* _result
;
5277 char *_kwnames
[] = { NULL
};
5281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Second",_kwnames
))
5284 wxPy_BEGIN_ALLOW_THREADS
;
5285 _result
= new wxTimeSpan (wxTimeSpan::Second());
5287 wxPy_END_ALLOW_THREADS
;
5288 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5289 _resultobj
= Py_BuildValue("s",_ptemp
);
5293 static PyObject
*_wrap_wxTimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
* _resultobj
;
5295 wxTimeSpan
* _result
;
5297 char *_kwnames
[] = { "min", NULL
};
5301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Minutes",_kwnames
,&_arg0
))
5304 wxPy_BEGIN_ALLOW_THREADS
;
5305 _result
= new wxTimeSpan (wxTimeSpan::Minutes(_arg0
));
5307 wxPy_END_ALLOW_THREADS
;
5308 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5309 _resultobj
= Py_BuildValue("s",_ptemp
);
5313 static PyObject
*_wrap_wxTimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
* _resultobj
;
5315 wxTimeSpan
* _result
;
5316 char *_kwnames
[] = { NULL
};
5320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Minute",_kwnames
))
5323 wxPy_BEGIN_ALLOW_THREADS
;
5324 _result
= new wxTimeSpan (wxTimeSpan::Minute());
5326 wxPy_END_ALLOW_THREADS
;
5327 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5328 _resultobj
= Py_BuildValue("s",_ptemp
);
5332 static PyObject
*_wrap_wxTimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
* _resultobj
;
5334 wxTimeSpan
* _result
;
5336 char *_kwnames
[] = { "hours", NULL
};
5340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Hours",_kwnames
,&_arg0
))
5343 wxPy_BEGIN_ALLOW_THREADS
;
5344 _result
= new wxTimeSpan (wxTimeSpan::Hours(_arg0
));
5346 wxPy_END_ALLOW_THREADS
;
5347 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5348 _resultobj
= Py_BuildValue("s",_ptemp
);
5352 static PyObject
*_wrap_wxTimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5353 PyObject
* _resultobj
;
5354 wxTimeSpan
* _result
;
5355 char *_kwnames
[] = { NULL
};
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Hour",_kwnames
))
5362 wxPy_BEGIN_ALLOW_THREADS
;
5363 _result
= new wxTimeSpan (wxTimeSpan::Hour());
5365 wxPy_END_ALLOW_THREADS
;
5366 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5367 _resultobj
= Py_BuildValue("s",_ptemp
);
5371 static PyObject
*_wrap_wxTimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5372 PyObject
* _resultobj
;
5373 wxTimeSpan
* _result
;
5375 char *_kwnames
[] = { "days", NULL
};
5379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Days",_kwnames
,&_arg0
))
5382 wxPy_BEGIN_ALLOW_THREADS
;
5383 _result
= new wxTimeSpan (wxTimeSpan::Days(_arg0
));
5385 wxPy_END_ALLOW_THREADS
;
5386 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5387 _resultobj
= Py_BuildValue("s",_ptemp
);
5391 static PyObject
*_wrap_wxTimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
* _resultobj
;
5393 wxTimeSpan
* _result
;
5394 char *_kwnames
[] = { NULL
};
5398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Day",_kwnames
))
5401 wxPy_BEGIN_ALLOW_THREADS
;
5402 _result
= new wxTimeSpan (wxTimeSpan::Day());
5404 wxPy_END_ALLOW_THREADS
;
5405 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5406 _resultobj
= Py_BuildValue("s",_ptemp
);
5410 static PyObject
*_wrap_wxTimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
* _resultobj
;
5412 wxTimeSpan
* _result
;
5414 char *_kwnames
[] = { "days", NULL
};
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Weeks",_kwnames
,&_arg0
))
5421 wxPy_BEGIN_ALLOW_THREADS
;
5422 _result
= new wxTimeSpan (wxTimeSpan::Weeks(_arg0
));
5424 wxPy_END_ALLOW_THREADS
;
5425 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5426 _resultobj
= Py_BuildValue("s",_ptemp
);
5430 static PyObject
*_wrap_wxTimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5431 PyObject
* _resultobj
;
5432 wxTimeSpan
* _result
;
5433 char *_kwnames
[] = { NULL
};
5437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Week",_kwnames
))
5440 wxPy_BEGIN_ALLOW_THREADS
;
5441 _result
= new wxTimeSpan (wxTimeSpan::Week());
5443 wxPy_END_ALLOW_THREADS
;
5444 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5445 _resultobj
= Py_BuildValue("s",_ptemp
);
5449 #define new_wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5450 static PyObject
*_wrap_new_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
* _resultobj
;
5452 wxTimeSpan
* _result
;
5453 long _arg0
= (long ) 0;
5454 long _arg1
= (long ) 0;
5455 long _arg2
= (long ) 0;
5456 long _arg3
= (long ) 0;
5457 char *_kwnames
[] = { "hours","minutes","seconds","milliseconds", NULL
};
5461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxTimeSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
5464 wxPy_BEGIN_ALLOW_THREADS
;
5465 _result
= (wxTimeSpan
*)new_wxTimeSpan(_arg0
,_arg1
,_arg2
,_arg3
);
5467 wxPy_END_ALLOW_THREADS
;
5469 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5470 _resultobj
= Py_BuildValue("s",_ptemp
);
5473 _resultobj
= Py_None
;
5478 #define delete_wxTimeSpan(_swigobj) (delete _swigobj)
5479 static PyObject
*_wrap_delete_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5480 PyObject
* _resultobj
;
5482 PyObject
* _argo0
= 0;
5483 char *_kwnames
[] = { "self", NULL
};
5486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTimeSpan",_kwnames
,&_argo0
))
5489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTimeSpan. Expected _wxTimeSpan_p.");
5496 wxPy_BEGIN_ALLOW_THREADS
;
5497 delete_wxTimeSpan(_arg0
);
5499 wxPy_END_ALLOW_THREADS
;
5500 } Py_INCREF(Py_None
);
5501 _resultobj
= Py_None
;
5505 #define wxTimeSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
5506 static PyObject
*_wrap_wxTimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
* _resultobj
;
5508 wxTimeSpan
* _result
;
5511 PyObject
* _argo0
= 0;
5512 PyObject
* _argo1
= 0;
5513 char *_kwnames
[] = { "self","diff", NULL
};
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Add",_kwnames
,&_argo0
,&_argo1
))
5520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
5527 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5528 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
5534 wxPy_BEGIN_ALLOW_THREADS
;
5535 wxTimeSpan
& _result_ref
= wxTimeSpan_Add(_arg0
,*_arg1
);
5536 _result
= (wxTimeSpan
*) &_result_ref
;
5538 wxPy_END_ALLOW_THREADS
;
5540 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5541 _resultobj
= Py_BuildValue("s",_ptemp
);
5544 _resultobj
= Py_None
;
5549 #define wxTimeSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5550 static PyObject
*_wrap_wxTimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
* _resultobj
;
5552 wxTimeSpan
* _result
;
5555 PyObject
* _argo0
= 0;
5556 PyObject
* _argo1
= 0;
5557 char *_kwnames
[] = { "self","diff", NULL
};
5561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
5564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
5571 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5572 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
5578 wxPy_BEGIN_ALLOW_THREADS
;
5579 wxTimeSpan
& _result_ref
= wxTimeSpan_Subtract(_arg0
,*_arg1
);
5580 _result
= (wxTimeSpan
*) &_result_ref
;
5582 wxPy_END_ALLOW_THREADS
;
5584 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5585 _resultobj
= Py_BuildValue("s",_ptemp
);
5588 _resultobj
= Py_None
;
5593 #define wxTimeSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
5594 static PyObject
*_wrap_wxTimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
* _resultobj
;
5596 wxTimeSpan
* _result
;
5599 PyObject
* _argo0
= 0;
5600 char *_kwnames
[] = { "self","n", NULL
};
5604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
5607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Multiply. Expected _wxTimeSpan_p.");
5614 wxPy_BEGIN_ALLOW_THREADS
;
5615 wxTimeSpan
& _result_ref
= wxTimeSpan_Multiply(_arg0
,_arg1
);
5616 _result
= (wxTimeSpan
*) &_result_ref
;
5618 wxPy_END_ALLOW_THREADS
;
5620 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5621 _resultobj
= Py_BuildValue("s",_ptemp
);
5624 _resultobj
= Py_None
;
5629 #define wxTimeSpan_Neg(_swigobj) (_swigobj->Neg())
5630 static PyObject
*_wrap_wxTimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
* _resultobj
;
5632 wxTimeSpan
* _result
;
5634 PyObject
* _argo0
= 0;
5635 char *_kwnames
[] = { "self", NULL
};
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Neg",_kwnames
,&_argo0
))
5642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Neg. Expected _wxTimeSpan_p.");
5649 wxPy_BEGIN_ALLOW_THREADS
;
5650 wxTimeSpan
& _result_ref
= wxTimeSpan_Neg(_arg0
);
5651 _result
= (wxTimeSpan
*) &_result_ref
;
5653 wxPy_END_ALLOW_THREADS
;
5655 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5656 _resultobj
= Py_BuildValue("s",_ptemp
);
5659 _resultobj
= Py_None
;
5664 #define wxTimeSpan_Abs(_swigobj) (_swigobj->Abs())
5665 static PyObject
*_wrap_wxTimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
* _resultobj
;
5667 wxTimeSpan
* _result
;
5669 PyObject
* _argo0
= 0;
5670 char *_kwnames
[] = { "self", NULL
};
5674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Abs",_kwnames
,&_argo0
))
5677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Abs. Expected _wxTimeSpan_p.");
5684 wxPy_BEGIN_ALLOW_THREADS
;
5685 _result
= new wxTimeSpan (wxTimeSpan_Abs(_arg0
));
5687 wxPy_END_ALLOW_THREADS
;
5688 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5689 _resultobj
= Py_BuildValue("s",_ptemp
);
5693 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
5694 static PyObject
*_wrap_wxTimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5695 PyObject
* _resultobj
;
5696 wxTimeSpan
* _result
;
5699 PyObject
* _argo0
= 0;
5700 PyObject
* _argo1
= 0;
5701 char *_kwnames
[] = { "self","other", NULL
};
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___add__",_kwnames
,&_argo0
,&_argo1
))
5708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
5715 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5716 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
5722 wxPy_BEGIN_ALLOW_THREADS
;
5723 _result
= new wxTimeSpan (wxTimeSpan___add__(_arg0
,*_arg1
));
5725 wxPy_END_ALLOW_THREADS
;
5726 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5727 _resultobj
= Py_BuildValue("s",_ptemp
);
5731 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
5732 static PyObject
*_wrap_wxTimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
* _resultobj
;
5734 wxTimeSpan
* _result
;
5737 PyObject
* _argo0
= 0;
5738 PyObject
* _argo1
= 0;
5739 char *_kwnames
[] = { "self","other", NULL
};
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
5746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
5753 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5754 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
5760 wxPy_BEGIN_ALLOW_THREADS
;
5761 _result
= new wxTimeSpan (wxTimeSpan___sub__(_arg0
,*_arg1
));
5763 wxPy_END_ALLOW_THREADS
;
5764 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5765 _resultobj
= Py_BuildValue("s",_ptemp
);
5769 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
) { return *self
* n
; }
5770 static PyObject
*_wrap_wxTimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
* _resultobj
;
5772 wxTimeSpan
* _result
;
5775 PyObject
* _argo0
= 0;
5776 char *_kwnames
[] = { "self","n", NULL
};
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
5783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___mul__. Expected _wxTimeSpan_p.");
5790 wxPy_BEGIN_ALLOW_THREADS
;
5791 _result
= new wxTimeSpan (wxTimeSpan___mul__(_arg0
,_arg1
));
5793 wxPy_END_ALLOW_THREADS
;
5794 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5795 _resultobj
= Py_BuildValue("s",_ptemp
);
5799 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
) { return n
* *self
; }
5800 static PyObject
*_wrap_wxTimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5801 PyObject
* _resultobj
;
5802 wxTimeSpan
* _result
;
5805 PyObject
* _argo0
= 0;
5806 char *_kwnames
[] = { "self","n", NULL
};
5810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
5813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___rmul__. Expected _wxTimeSpan_p.");
5820 wxPy_BEGIN_ALLOW_THREADS
;
5821 _result
= new wxTimeSpan (wxTimeSpan___rmul__(_arg0
,_arg1
));
5823 wxPy_END_ALLOW_THREADS
;
5824 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5825 _resultobj
= Py_BuildValue("s",_ptemp
);
5829 static wxTimeSpan
wxTimeSpan___neg__(wxTimeSpan
*self
) { return self
->Negate(); }
5830 static PyObject
*_wrap_wxTimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
* _resultobj
;
5832 wxTimeSpan
* _result
;
5834 PyObject
* _argo0
= 0;
5835 char *_kwnames
[] = { "self", NULL
};
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan___neg__",_kwnames
,&_argo0
))
5842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___neg__. Expected _wxTimeSpan_p.");
5849 wxPy_BEGIN_ALLOW_THREADS
;
5850 _result
= new wxTimeSpan (wxTimeSpan___neg__(_arg0
));
5852 wxPy_END_ALLOW_THREADS
;
5853 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5854 _resultobj
= Py_BuildValue("s",_ptemp
);
5858 static int wxTimeSpan___cmp__(wxTimeSpan
*self
,const wxTimeSpan
& other
) {
5859 if (*self
< other
) return -1;
5860 if (*self
== other
) return 0;
5863 static PyObject
*_wrap_wxTimeSpan___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5864 PyObject
* _resultobj
;
5868 PyObject
* _argo0
= 0;
5869 PyObject
* _argo1
= 0;
5870 char *_kwnames
[] = { "self","other", NULL
};
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___cmp__",_kwnames
,&_argo0
,&_argo1
))
5876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
5883 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5884 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
5890 wxPy_BEGIN_ALLOW_THREADS
;
5891 _result
= (int )wxTimeSpan___cmp__(_arg0
,*_arg1
);
5893 wxPy_END_ALLOW_THREADS
;
5894 } _resultobj
= Py_BuildValue("i",_result
);
5898 #define wxTimeSpan_IsNull(_swigobj) (_swigobj->IsNull())
5899 static PyObject
*_wrap_wxTimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
* _resultobj
;
5903 PyObject
* _argo0
= 0;
5904 char *_kwnames
[] = { "self", NULL
};
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNull",_kwnames
,&_argo0
))
5910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNull. Expected _wxTimeSpan_p.");
5917 wxPy_BEGIN_ALLOW_THREADS
;
5918 _result
= (bool )wxTimeSpan_IsNull(_arg0
);
5920 wxPy_END_ALLOW_THREADS
;
5921 } _resultobj
= Py_BuildValue("i",_result
);
5925 #define wxTimeSpan_IsPositive(_swigobj) (_swigobj->IsPositive())
5926 static PyObject
*_wrap_wxTimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
* _resultobj
;
5930 PyObject
* _argo0
= 0;
5931 char *_kwnames
[] = { "self", NULL
};
5934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsPositive",_kwnames
,&_argo0
))
5937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsPositive. Expected _wxTimeSpan_p.");
5944 wxPy_BEGIN_ALLOW_THREADS
;
5945 _result
= (bool )wxTimeSpan_IsPositive(_arg0
);
5947 wxPy_END_ALLOW_THREADS
;
5948 } _resultobj
= Py_BuildValue("i",_result
);
5952 #define wxTimeSpan_IsNegative(_swigobj) (_swigobj->IsNegative())
5953 static PyObject
*_wrap_wxTimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
* _resultobj
;
5957 PyObject
* _argo0
= 0;
5958 char *_kwnames
[] = { "self", NULL
};
5961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNegative",_kwnames
,&_argo0
))
5964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNegative. Expected _wxTimeSpan_p.");
5971 wxPy_BEGIN_ALLOW_THREADS
;
5972 _result
= (bool )wxTimeSpan_IsNegative(_arg0
);
5974 wxPy_END_ALLOW_THREADS
;
5975 } _resultobj
= Py_BuildValue("i",_result
);
5979 #define wxTimeSpan_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
5980 static PyObject
*_wrap_wxTimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
* _resultobj
;
5985 PyObject
* _argo0
= 0;
5986 PyObject
* _argo1
= 0;
5987 char *_kwnames
[] = { "self","ts", NULL
};
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
5993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6000 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6001 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6007 wxPy_BEGIN_ALLOW_THREADS
;
6008 _result
= (bool )wxTimeSpan_IsEqualTo(_arg0
,*_arg1
);
6010 wxPy_END_ALLOW_THREADS
;
6011 } _resultobj
= Py_BuildValue("i",_result
);
6015 #define wxTimeSpan_IsLongerThan(_swigobj,_swigarg0) (_swigobj->IsLongerThan(_swigarg0))
6016 static PyObject
*_wrap_wxTimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
* _resultobj
;
6021 PyObject
* _argo0
= 0;
6022 PyObject
* _argo1
= 0;
6023 char *_kwnames
[] = { "self","ts", NULL
};
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsLongerThan",_kwnames
,&_argo0
,&_argo1
))
6029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6036 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6037 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6043 wxPy_BEGIN_ALLOW_THREADS
;
6044 _result
= (bool )wxTimeSpan_IsLongerThan(_arg0
,*_arg1
);
6046 wxPy_END_ALLOW_THREADS
;
6047 } _resultobj
= Py_BuildValue("i",_result
);
6051 #define wxTimeSpan_IsShorterThan(_swigobj,_swigarg0) (_swigobj->IsShorterThan(_swigarg0))
6052 static PyObject
*_wrap_wxTimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
* _resultobj
;
6057 PyObject
* _argo0
= 0;
6058 PyObject
* _argo1
= 0;
6059 char *_kwnames
[] = { "self","t", NULL
};
6062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsShorterThan",_kwnames
,&_argo0
,&_argo1
))
6065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6072 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6073 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6079 wxPy_BEGIN_ALLOW_THREADS
;
6080 _result
= (bool )wxTimeSpan_IsShorterThan(_arg0
,*_arg1
);
6082 wxPy_END_ALLOW_THREADS
;
6083 } _resultobj
= Py_BuildValue("i",_result
);
6087 #define wxTimeSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
6088 static PyObject
*_wrap_wxTimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
* _resultobj
;
6092 PyObject
* _argo0
= 0;
6093 char *_kwnames
[] = { "self", NULL
};
6096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetWeeks",_kwnames
,&_argo0
))
6099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetWeeks. Expected _wxTimeSpan_p.");
6106 wxPy_BEGIN_ALLOW_THREADS
;
6107 _result
= (int )wxTimeSpan_GetWeeks(_arg0
);
6109 wxPy_END_ALLOW_THREADS
;
6110 } _resultobj
= Py_BuildValue("i",_result
);
6114 #define wxTimeSpan_GetDays(_swigobj) (_swigobj->GetDays())
6115 static PyObject
*_wrap_wxTimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
* _resultobj
;
6119 PyObject
* _argo0
= 0;
6120 char *_kwnames
[] = { "self", NULL
};
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetDays",_kwnames
,&_argo0
))
6126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetDays. Expected _wxTimeSpan_p.");
6133 wxPy_BEGIN_ALLOW_THREADS
;
6134 _result
= (int )wxTimeSpan_GetDays(_arg0
);
6136 wxPy_END_ALLOW_THREADS
;
6137 } _resultobj
= Py_BuildValue("i",_result
);
6141 #define wxTimeSpan_GetHours(_swigobj) (_swigobj->GetHours())
6142 static PyObject
*_wrap_wxTimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
* _resultobj
;
6146 PyObject
* _argo0
= 0;
6147 char *_kwnames
[] = { "self", NULL
};
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetHours",_kwnames
,&_argo0
))
6153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetHours. Expected _wxTimeSpan_p.");
6160 wxPy_BEGIN_ALLOW_THREADS
;
6161 _result
= (int )wxTimeSpan_GetHours(_arg0
);
6163 wxPy_END_ALLOW_THREADS
;
6164 } _resultobj
= Py_BuildValue("i",_result
);
6168 #define wxTimeSpan_GetMinutes(_swigobj) (_swigobj->GetMinutes())
6169 static PyObject
*_wrap_wxTimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
* _resultobj
;
6173 PyObject
* _argo0
= 0;
6174 char *_kwnames
[] = { "self", NULL
};
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMinutes",_kwnames
,&_argo0
))
6180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMinutes. Expected _wxTimeSpan_p.");
6187 wxPy_BEGIN_ALLOW_THREADS
;
6188 _result
= (int )wxTimeSpan_GetMinutes(_arg0
);
6190 wxPy_END_ALLOW_THREADS
;
6191 } _resultobj
= Py_BuildValue("i",_result
);
6195 #define wxTimeSpan_GetSeconds(_swigobj) (_swigobj->GetSeconds())
6196 static PyObject
*_wrap_wxTimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
* _resultobj
;
6198 wxLongLong
* _result
;
6200 PyObject
* _argo0
= 0;
6201 char *_kwnames
[] = { "self", NULL
};
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetSeconds",_kwnames
,&_argo0
))
6207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetSeconds. Expected _wxTimeSpan_p.");
6214 wxPy_BEGIN_ALLOW_THREADS
;
6215 _result
= new wxLongLong (wxTimeSpan_GetSeconds(_arg0
));
6217 wxPy_END_ALLOW_THREADS
;
6219 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6220 hi
= PyLong_FromLong(_result
->GetHi());
6221 lo
= PyLong_FromLong(_result
->GetLo());
6222 shifter
= PyLong_FromLong(32);
6223 shifted
= PyNumber_Lshift(hi
, shifter
);
6224 _resultobj
= PyNumber_Or(shifted
, lo
);
6233 #define wxTimeSpan_GetMilliseconds(_swigobj) (_swigobj->GetMilliseconds())
6234 static PyObject
*_wrap_wxTimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
* _resultobj
;
6236 wxLongLong
* _result
;
6238 PyObject
* _argo0
= 0;
6239 char *_kwnames
[] = { "self", NULL
};
6242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMilliseconds",_kwnames
,&_argo0
))
6245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMilliseconds. Expected _wxTimeSpan_p.");
6252 wxPy_BEGIN_ALLOW_THREADS
;
6253 _result
= new wxLongLong (wxTimeSpan_GetMilliseconds(_arg0
));
6255 wxPy_END_ALLOW_THREADS
;
6257 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6258 hi
= PyLong_FromLong(_result
->GetHi());
6259 lo
= PyLong_FromLong(_result
->GetLo());
6260 shifter
= PyLong_FromLong(32);
6261 shifted
= PyNumber_Lshift(hi
, shifter
);
6262 _resultobj
= PyNumber_Or(shifted
, lo
);
6271 #define wxTimeSpan_Format(_swigobj,_swigarg0) (_swigobj->Format(_swigarg0))
6272 static PyObject
*_wrap_wxTimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
* _resultobj
;
6276 char * _arg1
= (char *) "%c";
6277 PyObject
* _argo0
= 0;
6278 char *_kwnames
[] = { "self","format", NULL
};
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxTimeSpan_Format",_kwnames
,&_argo0
,&_arg1
))
6284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Format. Expected _wxTimeSpan_p.");
6291 wxPy_BEGIN_ALLOW_THREADS
;
6292 _result
= new wxString (wxTimeSpan_Format(_arg0
,_arg1
));
6294 wxPy_END_ALLOW_THREADS
;
6296 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6304 #define new_wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6305 static PyObject
*_wrap_new_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
* _resultobj
;
6307 wxDateSpan
* _result
;
6308 int _arg0
= (int ) 0;
6309 int _arg1
= (int ) 0;
6310 int _arg2
= (int ) 0;
6311 int _arg3
= (int ) 0;
6312 char *_kwnames
[] = { "years","months","weeks","days", NULL
};
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxDateSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
6319 wxPy_BEGIN_ALLOW_THREADS
;
6320 _result
= (wxDateSpan
*)new_wxDateSpan(_arg0
,_arg1
,_arg2
,_arg3
);
6322 wxPy_END_ALLOW_THREADS
;
6324 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6325 _resultobj
= Py_BuildValue("s",_ptemp
);
6328 _resultobj
= Py_None
;
6333 #define delete_wxDateSpan(_swigobj) (delete _swigobj)
6334 static PyObject
*_wrap_delete_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6335 PyObject
* _resultobj
;
6337 PyObject
* _argo0
= 0;
6338 char *_kwnames
[] = { "self", NULL
};
6341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateSpan",_kwnames
,&_argo0
))
6344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateSpan. Expected _wxDateSpan_p.");
6351 wxPy_BEGIN_ALLOW_THREADS
;
6352 delete_wxDateSpan(_arg0
);
6354 wxPy_END_ALLOW_THREADS
;
6355 } Py_INCREF(Py_None
);
6356 _resultobj
= Py_None
;
6360 static PyObject
*_wrap_wxDateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6361 PyObject
* _resultobj
;
6362 wxDateSpan
* _result
;
6364 char *_kwnames
[] = { "days", NULL
};
6368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Days",_kwnames
,&_arg0
))
6371 wxPy_BEGIN_ALLOW_THREADS
;
6372 _result
= new wxDateSpan (wxDateSpan::Days(_arg0
));
6374 wxPy_END_ALLOW_THREADS
;
6375 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6376 _resultobj
= Py_BuildValue("s",_ptemp
);
6380 static PyObject
*_wrap_wxDateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6381 PyObject
* _resultobj
;
6382 wxDateSpan
* _result
;
6383 char *_kwnames
[] = { NULL
};
6387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Day",_kwnames
))
6390 wxPy_BEGIN_ALLOW_THREADS
;
6391 _result
= new wxDateSpan (wxDateSpan::Day());
6393 wxPy_END_ALLOW_THREADS
;
6394 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6395 _resultobj
= Py_BuildValue("s",_ptemp
);
6399 static PyObject
*_wrap_wxDateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6400 PyObject
* _resultobj
;
6401 wxDateSpan
* _result
;
6403 char *_kwnames
[] = { "weeks", NULL
};
6407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Weeks",_kwnames
,&_arg0
))
6410 wxPy_BEGIN_ALLOW_THREADS
;
6411 _result
= new wxDateSpan (wxDateSpan::Weeks(_arg0
));
6413 wxPy_END_ALLOW_THREADS
;
6414 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6415 _resultobj
= Py_BuildValue("s",_ptemp
);
6419 static PyObject
*_wrap_wxDateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
* _resultobj
;
6421 wxDateSpan
* _result
;
6422 char *_kwnames
[] = { NULL
};
6426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Week",_kwnames
))
6429 wxPy_BEGIN_ALLOW_THREADS
;
6430 _result
= new wxDateSpan (wxDateSpan::Week());
6432 wxPy_END_ALLOW_THREADS
;
6433 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6434 _resultobj
= Py_BuildValue("s",_ptemp
);
6438 static PyObject
*_wrap_wxDateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
* _resultobj
;
6440 wxDateSpan
* _result
;
6442 char *_kwnames
[] = { "mon", NULL
};
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Months",_kwnames
,&_arg0
))
6449 wxPy_BEGIN_ALLOW_THREADS
;
6450 _result
= new wxDateSpan (wxDateSpan::Months(_arg0
));
6452 wxPy_END_ALLOW_THREADS
;
6453 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6454 _resultobj
= Py_BuildValue("s",_ptemp
);
6458 static PyObject
*_wrap_wxDateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
* _resultobj
;
6460 wxDateSpan
* _result
;
6461 char *_kwnames
[] = { NULL
};
6465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Month",_kwnames
))
6468 wxPy_BEGIN_ALLOW_THREADS
;
6469 _result
= new wxDateSpan (wxDateSpan::Month());
6471 wxPy_END_ALLOW_THREADS
;
6472 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6473 _resultobj
= Py_BuildValue("s",_ptemp
);
6477 static PyObject
*_wrap_wxDateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6478 PyObject
* _resultobj
;
6479 wxDateSpan
* _result
;
6481 char *_kwnames
[] = { "years", NULL
};
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Years",_kwnames
,&_arg0
))
6488 wxPy_BEGIN_ALLOW_THREADS
;
6489 _result
= new wxDateSpan (wxDateSpan::Years(_arg0
));
6491 wxPy_END_ALLOW_THREADS
;
6492 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6493 _resultobj
= Py_BuildValue("s",_ptemp
);
6497 static PyObject
*_wrap_wxDateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
* _resultobj
;
6499 wxDateSpan
* _result
;
6500 char *_kwnames
[] = { NULL
};
6504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Year",_kwnames
))
6507 wxPy_BEGIN_ALLOW_THREADS
;
6508 _result
= new wxDateSpan (wxDateSpan::Year());
6510 wxPy_END_ALLOW_THREADS
;
6511 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6512 _resultobj
= Py_BuildValue("s",_ptemp
);
6516 #define wxDateSpan_SetYears(_swigobj,_swigarg0) (_swigobj->SetYears(_swigarg0))
6517 static PyObject
*_wrap_wxDateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
* _resultobj
;
6519 wxDateSpan
* _result
;
6522 PyObject
* _argo0
= 0;
6523 char *_kwnames
[] = { "self","n", NULL
};
6527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetYears",_kwnames
,&_argo0
,&_arg1
))
6530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetYears. Expected _wxDateSpan_p.");
6537 wxPy_BEGIN_ALLOW_THREADS
;
6538 wxDateSpan
& _result_ref
= wxDateSpan_SetYears(_arg0
,_arg1
);
6539 _result
= (wxDateSpan
*) &_result_ref
;
6541 wxPy_END_ALLOW_THREADS
;
6543 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6544 _resultobj
= Py_BuildValue("s",_ptemp
);
6547 _resultobj
= Py_None
;
6552 #define wxDateSpan_SetMonths(_swigobj,_swigarg0) (_swigobj->SetMonths(_swigarg0))
6553 static PyObject
*_wrap_wxDateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6554 PyObject
* _resultobj
;
6555 wxDateSpan
* _result
;
6558 PyObject
* _argo0
= 0;
6559 char *_kwnames
[] = { "self","n", NULL
};
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetMonths",_kwnames
,&_argo0
,&_arg1
))
6566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetMonths. Expected _wxDateSpan_p.");
6573 wxPy_BEGIN_ALLOW_THREADS
;
6574 wxDateSpan
& _result_ref
= wxDateSpan_SetMonths(_arg0
,_arg1
);
6575 _result
= (wxDateSpan
*) &_result_ref
;
6577 wxPy_END_ALLOW_THREADS
;
6579 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6580 _resultobj
= Py_BuildValue("s",_ptemp
);
6583 _resultobj
= Py_None
;
6588 #define wxDateSpan_SetWeeks(_swigobj,_swigarg0) (_swigobj->SetWeeks(_swigarg0))
6589 static PyObject
*_wrap_wxDateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
* _resultobj
;
6591 wxDateSpan
* _result
;
6594 PyObject
* _argo0
= 0;
6595 char *_kwnames
[] = { "self","n", NULL
};
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetWeeks",_kwnames
,&_argo0
,&_arg1
))
6602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetWeeks. Expected _wxDateSpan_p.");
6609 wxPy_BEGIN_ALLOW_THREADS
;
6610 wxDateSpan
& _result_ref
= wxDateSpan_SetWeeks(_arg0
,_arg1
);
6611 _result
= (wxDateSpan
*) &_result_ref
;
6613 wxPy_END_ALLOW_THREADS
;
6615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6616 _resultobj
= Py_BuildValue("s",_ptemp
);
6619 _resultobj
= Py_None
;
6624 #define wxDateSpan_SetDays(_swigobj,_swigarg0) (_swigobj->SetDays(_swigarg0))
6625 static PyObject
*_wrap_wxDateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
* _resultobj
;
6627 wxDateSpan
* _result
;
6630 PyObject
* _argo0
= 0;
6631 char *_kwnames
[] = { "self","n", NULL
};
6635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetDays",_kwnames
,&_argo0
,&_arg1
))
6638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetDays. Expected _wxDateSpan_p.");
6645 wxPy_BEGIN_ALLOW_THREADS
;
6646 wxDateSpan
& _result_ref
= wxDateSpan_SetDays(_arg0
,_arg1
);
6647 _result
= (wxDateSpan
*) &_result_ref
;
6649 wxPy_END_ALLOW_THREADS
;
6651 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6652 _resultobj
= Py_BuildValue("s",_ptemp
);
6655 _resultobj
= Py_None
;
6660 #define wxDateSpan_GetYears(_swigobj) (_swigobj->GetYears())
6661 static PyObject
*_wrap_wxDateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6662 PyObject
* _resultobj
;
6665 PyObject
* _argo0
= 0;
6666 char *_kwnames
[] = { "self", NULL
};
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetYears",_kwnames
,&_argo0
))
6672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetYears. Expected _wxDateSpan_p.");
6679 wxPy_BEGIN_ALLOW_THREADS
;
6680 _result
= (int )wxDateSpan_GetYears(_arg0
);
6682 wxPy_END_ALLOW_THREADS
;
6683 } _resultobj
= Py_BuildValue("i",_result
);
6687 #define wxDateSpan_GetMonths(_swigobj) (_swigobj->GetMonths())
6688 static PyObject
*_wrap_wxDateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
* _resultobj
;
6692 PyObject
* _argo0
= 0;
6693 char *_kwnames
[] = { "self", NULL
};
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetMonths",_kwnames
,&_argo0
))
6699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetMonths. Expected _wxDateSpan_p.");
6706 wxPy_BEGIN_ALLOW_THREADS
;
6707 _result
= (int )wxDateSpan_GetMonths(_arg0
);
6709 wxPy_END_ALLOW_THREADS
;
6710 } _resultobj
= Py_BuildValue("i",_result
);
6714 #define wxDateSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
6715 static PyObject
*_wrap_wxDateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6716 PyObject
* _resultobj
;
6719 PyObject
* _argo0
= 0;
6720 char *_kwnames
[] = { "self", NULL
};
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetWeeks",_kwnames
,&_argo0
))
6726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetWeeks. Expected _wxDateSpan_p.");
6733 wxPy_BEGIN_ALLOW_THREADS
;
6734 _result
= (int )wxDateSpan_GetWeeks(_arg0
);
6736 wxPy_END_ALLOW_THREADS
;
6737 } _resultobj
= Py_BuildValue("i",_result
);
6741 #define wxDateSpan_GetDays(_swigobj) (_swigobj->GetDays())
6742 static PyObject
*_wrap_wxDateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
* _resultobj
;
6746 PyObject
* _argo0
= 0;
6747 char *_kwnames
[] = { "self", NULL
};
6750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetDays",_kwnames
,&_argo0
))
6753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetDays. Expected _wxDateSpan_p.");
6760 wxPy_BEGIN_ALLOW_THREADS
;
6761 _result
= (int )wxDateSpan_GetDays(_arg0
);
6763 wxPy_END_ALLOW_THREADS
;
6764 } _resultobj
= Py_BuildValue("i",_result
);
6768 #define wxDateSpan_GetTotalDays(_swigobj) (_swigobj->GetTotalDays())
6769 static PyObject
*_wrap_wxDateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6770 PyObject
* _resultobj
;
6773 PyObject
* _argo0
= 0;
6774 char *_kwnames
[] = { "self", NULL
};
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetTotalDays",_kwnames
,&_argo0
))
6780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetTotalDays. Expected _wxDateSpan_p.");
6787 wxPy_BEGIN_ALLOW_THREADS
;
6788 _result
= (int )wxDateSpan_GetTotalDays(_arg0
);
6790 wxPy_END_ALLOW_THREADS
;
6791 } _resultobj
= Py_BuildValue("i",_result
);
6795 #define wxDateSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
6796 static PyObject
*_wrap_wxDateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6797 PyObject
* _resultobj
;
6798 wxDateSpan
* _result
;
6801 PyObject
* _argo0
= 0;
6802 PyObject
* _argo1
= 0;
6803 char *_kwnames
[] = { "self","other", NULL
};
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Add",_kwnames
,&_argo0
,&_argo1
))
6810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Add. Expected _wxDateSpan_p.");
6817 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6818 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
6819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Add. Expected _wxDateSpan_p.");
6824 wxPy_BEGIN_ALLOW_THREADS
;
6825 wxDateSpan
& _result_ref
= wxDateSpan_Add(_arg0
,*_arg1
);
6826 _result
= (wxDateSpan
*) &_result_ref
;
6828 wxPy_END_ALLOW_THREADS
;
6830 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6831 _resultobj
= Py_BuildValue("s",_ptemp
);
6834 _resultobj
= Py_None
;
6839 #define wxDateSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
6840 static PyObject
*_wrap_wxDateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
* _resultobj
;
6842 wxDateSpan
* _result
;
6845 PyObject
* _argo0
= 0;
6846 PyObject
* _argo1
= 0;
6847 char *_kwnames
[] = { "self","other", NULL
};
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
6854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
6861 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6862 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
6863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
6868 wxPy_BEGIN_ALLOW_THREADS
;
6869 wxDateSpan
& _result_ref
= wxDateSpan_Subtract(_arg0
,*_arg1
);
6870 _result
= (wxDateSpan
*) &_result_ref
;
6872 wxPy_END_ALLOW_THREADS
;
6874 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6875 _resultobj
= Py_BuildValue("s",_ptemp
);
6878 _resultobj
= Py_None
;
6883 #define wxDateSpan_Neg(_swigobj) (_swigobj->Neg())
6884 static PyObject
*_wrap_wxDateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
* _resultobj
;
6886 wxDateSpan
* _result
;
6888 PyObject
* _argo0
= 0;
6889 char *_kwnames
[] = { "self", NULL
};
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_Neg",_kwnames
,&_argo0
))
6896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Neg. Expected _wxDateSpan_p.");
6903 wxPy_BEGIN_ALLOW_THREADS
;
6904 wxDateSpan
& _result_ref
= wxDateSpan_Neg(_arg0
);
6905 _result
= (wxDateSpan
*) &_result_ref
;
6907 wxPy_END_ALLOW_THREADS
;
6909 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6910 _resultobj
= Py_BuildValue("s",_ptemp
);
6913 _resultobj
= Py_None
;
6918 #define wxDateSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
6919 static PyObject
*_wrap_wxDateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6920 PyObject
* _resultobj
;
6921 wxDateSpan
* _result
;
6924 PyObject
* _argo0
= 0;
6925 char *_kwnames
[] = { "self","factor", NULL
};
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
6932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Multiply. Expected _wxDateSpan_p.");
6939 wxPy_BEGIN_ALLOW_THREADS
;
6940 wxDateSpan
& _result_ref
= wxDateSpan_Multiply(_arg0
,_arg1
);
6941 _result
= (wxDateSpan
*) &_result_ref
;
6943 wxPy_END_ALLOW_THREADS
;
6945 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6946 _resultobj
= Py_BuildValue("s",_ptemp
);
6949 _resultobj
= Py_None
;
6954 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
6955 static PyObject
*_wrap_wxDateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
* _resultobj
;
6957 wxDateSpan
* _result
;
6960 PyObject
* _argo0
= 0;
6961 PyObject
* _argo1
= 0;
6962 char *_kwnames
[] = { "self","other", NULL
};
6966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___add__",_kwnames
,&_argo0
,&_argo1
))
6969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___add__. Expected _wxDateSpan_p.");
6976 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6977 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
6978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___add__. Expected _wxDateSpan_p.");
6983 wxPy_BEGIN_ALLOW_THREADS
;
6984 _result
= new wxDateSpan (wxDateSpan___add__(_arg0
,*_arg1
));
6986 wxPy_END_ALLOW_THREADS
;
6987 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6988 _resultobj
= Py_BuildValue("s",_ptemp
);
6992 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
- other
; }
6993 static PyObject
*_wrap_wxDateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
* _resultobj
;
6995 wxDateSpan
* _result
;
6998 PyObject
* _argo0
= 0;
6999 PyObject
* _argo1
= 0;
7000 char *_kwnames
[] = { "self","other", NULL
};
7004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
7007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7014 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7015 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7021 wxPy_BEGIN_ALLOW_THREADS
;
7022 _result
= new wxDateSpan (wxDateSpan___sub__(_arg0
,*_arg1
));
7024 wxPy_END_ALLOW_THREADS
;
7025 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7026 _resultobj
= Py_BuildValue("s",_ptemp
);
7030 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
) { return *self
* n
; }
7031 static PyObject
*_wrap_wxDateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7032 PyObject
* _resultobj
;
7033 wxDateSpan
* _result
;
7036 PyObject
* _argo0
= 0;
7037 char *_kwnames
[] = { "self","n", NULL
};
7041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
7044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___mul__. Expected _wxDateSpan_p.");
7051 wxPy_BEGIN_ALLOW_THREADS
;
7052 _result
= new wxDateSpan (wxDateSpan___mul__(_arg0
,_arg1
));
7054 wxPy_END_ALLOW_THREADS
;
7055 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7056 _resultobj
= Py_BuildValue("s",_ptemp
);
7060 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
) { return n
* *self
; }
7061 static PyObject
*_wrap_wxDateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7062 PyObject
* _resultobj
;
7063 wxDateSpan
* _result
;
7066 PyObject
* _argo0
= 0;
7067 char *_kwnames
[] = { "self","n", NULL
};
7071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
7074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___rmul__. Expected _wxDateSpan_p.");
7081 wxPy_BEGIN_ALLOW_THREADS
;
7082 _result
= new wxDateSpan (wxDateSpan___rmul__(_arg0
,_arg1
));
7084 wxPy_END_ALLOW_THREADS
;
7085 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7086 _resultobj
= Py_BuildValue("s",_ptemp
);
7090 static wxDateSpan
wxDateSpan___neg__(wxDateSpan
*self
) { return self
->Negate(); }
7091 static PyObject
*_wrap_wxDateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
* _resultobj
;
7093 wxDateSpan
* _result
;
7095 PyObject
* _argo0
= 0;
7096 char *_kwnames
[] = { "self", NULL
};
7100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan___neg__",_kwnames
,&_argo0
))
7103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___neg__. Expected _wxDateSpan_p.");
7110 wxPy_BEGIN_ALLOW_THREADS
;
7111 _result
= new wxDateSpan (wxDateSpan___neg__(_arg0
));
7113 wxPy_END_ALLOW_THREADS
;
7114 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7115 _resultobj
= Py_BuildValue("s",_ptemp
);
7119 static PyMethodDef utilscMethods
[] = {
7120 { "wxDateSpan___neg__", (PyCFunction
) _wrap_wxDateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7121 { "wxDateSpan___rmul__", (PyCFunction
) _wrap_wxDateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7122 { "wxDateSpan___mul__", (PyCFunction
) _wrap_wxDateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7123 { "wxDateSpan___sub__", (PyCFunction
) _wrap_wxDateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7124 { "wxDateSpan___add__", (PyCFunction
) _wrap_wxDateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7125 { "wxDateSpan_Multiply", (PyCFunction
) _wrap_wxDateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7126 { "wxDateSpan_Neg", (PyCFunction
) _wrap_wxDateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7127 { "wxDateSpan_Subtract", (PyCFunction
) _wrap_wxDateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7128 { "wxDateSpan_Add", (PyCFunction
) _wrap_wxDateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7129 { "wxDateSpan_GetTotalDays", (PyCFunction
) _wrap_wxDateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
7130 { "wxDateSpan_GetDays", (PyCFunction
) _wrap_wxDateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7131 { "wxDateSpan_GetWeeks", (PyCFunction
) _wrap_wxDateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7132 { "wxDateSpan_GetMonths", (PyCFunction
) _wrap_wxDateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7133 { "wxDateSpan_GetYears", (PyCFunction
) _wrap_wxDateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
7134 { "wxDateSpan_SetDays", (PyCFunction
) _wrap_wxDateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
7135 { "wxDateSpan_SetWeeks", (PyCFunction
) _wrap_wxDateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7136 { "wxDateSpan_SetMonths", (PyCFunction
) _wrap_wxDateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7137 { "wxDateSpan_SetYears", (PyCFunction
) _wrap_wxDateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
7138 { "wxDateSpan_Year", (PyCFunction
) _wrap_wxDateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
7139 { "wxDateSpan_Years", (PyCFunction
) _wrap_wxDateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
7140 { "wxDateSpan_Month", (PyCFunction
) _wrap_wxDateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
7141 { "wxDateSpan_Months", (PyCFunction
) _wrap_wxDateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
7142 { "wxDateSpan_Week", (PyCFunction
) _wrap_wxDateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7143 { "wxDateSpan_Weeks", (PyCFunction
) _wrap_wxDateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7144 { "wxDateSpan_Day", (PyCFunction
) _wrap_wxDateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7145 { "wxDateSpan_Days", (PyCFunction
) _wrap_wxDateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7146 { "delete_wxDateSpan", (PyCFunction
) _wrap_delete_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7147 { "new_wxDateSpan", (PyCFunction
) _wrap_new_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7148 { "wxTimeSpan_Format", (PyCFunction
) _wrap_wxTimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
7149 { "wxTimeSpan_GetMilliseconds", (PyCFunction
) _wrap_wxTimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
7150 { "wxTimeSpan_GetSeconds", (PyCFunction
) _wrap_wxTimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
7151 { "wxTimeSpan_GetMinutes", (PyCFunction
) _wrap_wxTimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
7152 { "wxTimeSpan_GetHours", (PyCFunction
) _wrap_wxTimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
7153 { "wxTimeSpan_GetDays", (PyCFunction
) _wrap_wxTimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7154 { "wxTimeSpan_GetWeeks", (PyCFunction
) _wrap_wxTimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7155 { "wxTimeSpan_IsShorterThan", (PyCFunction
) _wrap_wxTimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
7156 { "wxTimeSpan_IsLongerThan", (PyCFunction
) _wrap_wxTimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
7157 { "wxTimeSpan_IsEqualTo", (PyCFunction
) _wrap_wxTimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7158 { "wxTimeSpan_IsNegative", (PyCFunction
) _wrap_wxTimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
7159 { "wxTimeSpan_IsPositive", (PyCFunction
) _wrap_wxTimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
7160 { "wxTimeSpan_IsNull", (PyCFunction
) _wrap_wxTimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
7161 { "wxTimeSpan___cmp__", (PyCFunction
) _wrap_wxTimeSpan___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7162 { "wxTimeSpan___neg__", (PyCFunction
) _wrap_wxTimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7163 { "wxTimeSpan___rmul__", (PyCFunction
) _wrap_wxTimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7164 { "wxTimeSpan___mul__", (PyCFunction
) _wrap_wxTimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7165 { "wxTimeSpan___sub__", (PyCFunction
) _wrap_wxTimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7166 { "wxTimeSpan___add__", (PyCFunction
) _wrap_wxTimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7167 { "wxTimeSpan_Abs", (PyCFunction
) _wrap_wxTimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
7168 { "wxTimeSpan_Neg", (PyCFunction
) _wrap_wxTimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7169 { "wxTimeSpan_Multiply", (PyCFunction
) _wrap_wxTimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7170 { "wxTimeSpan_Subtract", (PyCFunction
) _wrap_wxTimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7171 { "wxTimeSpan_Add", (PyCFunction
) _wrap_wxTimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7172 { "delete_wxTimeSpan", (PyCFunction
) _wrap_delete_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7173 { "new_wxTimeSpan", (PyCFunction
) _wrap_new_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7174 { "wxTimeSpan_Week", (PyCFunction
) _wrap_wxTimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7175 { "wxTimeSpan_Weeks", (PyCFunction
) _wrap_wxTimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7176 { "wxTimeSpan_Day", (PyCFunction
) _wrap_wxTimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7177 { "wxTimeSpan_Days", (PyCFunction
) _wrap_wxTimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7178 { "wxTimeSpan_Hour", (PyCFunction
) _wrap_wxTimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
7179 { "wxTimeSpan_Hours", (PyCFunction
) _wrap_wxTimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
7180 { "wxTimeSpan_Minute", (PyCFunction
) _wrap_wxTimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
7181 { "wxTimeSpan_Minutes", (PyCFunction
) _wrap_wxTimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
7182 { "wxTimeSpan_Second", (PyCFunction
) _wrap_wxTimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
7183 { "wxTimeSpan_Seconds", (PyCFunction
) _wrap_wxTimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
7184 { "wxDateTime_FormatISOTime", (PyCFunction
) _wrap_wxDateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
7185 { "wxDateTime_FormatISODate", (PyCFunction
) _wrap_wxDateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
7186 { "wxDateTime_FormatTime", (PyCFunction
) _wrap_wxDateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
7187 { "wxDateTime_FormatDate", (PyCFunction
) _wrap_wxDateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
7188 { "wxDateTime_Format", (PyCFunction
) _wrap_wxDateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
7189 { "wxDateTime_ParseTime", (PyCFunction
) _wrap_wxDateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
7190 { "wxDateTime_ParseDate", (PyCFunction
) _wrap_wxDateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
7191 { "wxDateTime_ParseDateTime", (PyCFunction
) _wrap_wxDateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7192 { "wxDateTime_ParseFormat", (PyCFunction
) _wrap_wxDateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
7193 { "wxDateTime_ParseRfc822Date", (PyCFunction
) _wrap_wxDateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
7194 { "wxDateTime___cmp__", (PyCFunction
) _wrap_wxDateTime___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7195 { "wxDateTime___sub__DS", (PyCFunction
) _wrap_wxDateTime___sub__DS
, METH_VARARGS
| METH_KEYWORDS
},
7196 { "wxDateTime___sub__TS", (PyCFunction
) _wrap_wxDateTime___sub__TS
, METH_VARARGS
| METH_KEYWORDS
},
7197 { "wxDateTime___sub__DT", (PyCFunction
) _wrap_wxDateTime___sub__DT
, METH_VARARGS
| METH_KEYWORDS
},
7198 { "wxDateTime___add__DS", (PyCFunction
) _wrap_wxDateTime___add__DS
, METH_VARARGS
| METH_KEYWORDS
},
7199 { "wxDateTime___add__TS", (PyCFunction
) _wrap_wxDateTime___add__TS
, METH_VARARGS
| METH_KEYWORDS
},
7200 { "wxDateTime_Subtract", (PyCFunction
) _wrap_wxDateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7201 { "wxDateTime_SubtractDS", (PyCFunction
) _wrap_wxDateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
7202 { "wxDateTime_SubtractTS", (PyCFunction
) _wrap_wxDateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
7203 { "wxDateTime_AddDS", (PyCFunction
) _wrap_wxDateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
7204 { "wxDateTime_AddTS", (PyCFunction
) _wrap_wxDateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
7205 { "wxDateTime_IsEqualUpTo", (PyCFunction
) _wrap_wxDateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
7206 { "wxDateTime_IsSameTime", (PyCFunction
) _wrap_wxDateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
7207 { "wxDateTime_IsSameDate", (PyCFunction
) _wrap_wxDateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
7208 { "wxDateTime_IsBetween", (PyCFunction
) _wrap_wxDateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
7209 { "wxDateTime_IsStrictlyBetween", (PyCFunction
) _wrap_wxDateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
7210 { "wxDateTime_IsLaterThan", (PyCFunction
) _wrap_wxDateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
7211 { "wxDateTime_IsEarlierThan", (PyCFunction
) _wrap_wxDateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
7212 { "wxDateTime_IsEqualTo", (PyCFunction
) _wrap_wxDateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7213 { "wxDateTime_IsWorkDay", (PyCFunction
) _wrap_wxDateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
7214 { "wxDateTime_GetWeekOfMonth", (PyCFunction
) _wrap_wxDateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
7215 { "wxDateTime_GetWeekOfYear", (PyCFunction
) _wrap_wxDateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7216 { "wxDateTime_GetDayOfYear", (PyCFunction
) _wrap_wxDateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7217 { "wxDateTime_GetMillisecond", (PyCFunction
) _wrap_wxDateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7218 { "wxDateTime_GetSecond", (PyCFunction
) _wrap_wxDateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7219 { "wxDateTime_GetMinute", (PyCFunction
) _wrap_wxDateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7220 { "wxDateTime_GetHour", (PyCFunction
) _wrap_wxDateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
7221 { "wxDateTime_GetDay", (PyCFunction
) _wrap_wxDateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
7222 { "wxDateTime_GetMonth", (PyCFunction
) _wrap_wxDateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7223 { "wxDateTime_GetYear", (PyCFunction
) _wrap_wxDateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
7224 { "wxDateTime_GetTicks", (PyCFunction
) _wrap_wxDateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
7225 { "wxDateTime_IsValid", (PyCFunction
) _wrap_wxDateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
7226 { "wxDateTime_IsDST", (PyCFunction
) _wrap_wxDateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
7227 { "wxDateTime_MakeGMT", (PyCFunction
) _wrap_wxDateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
7228 { "wxDateTime_ToGMT", (PyCFunction
) _wrap_wxDateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
7229 { "wxDateTime_MakeTimezone", (PyCFunction
) _wrap_wxDateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7230 { "wxDateTime_ToTimezone", (PyCFunction
) _wrap_wxDateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7231 { "wxDateTime_GetRataDie", (PyCFunction
) _wrap_wxDateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
7232 { "wxDateTime_GetMJD", (PyCFunction
) _wrap_wxDateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
7233 { "wxDateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7234 { "wxDateTime_GetJDN", (PyCFunction
) _wrap_wxDateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7235 { "wxDateTime_GetJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7236 { "wxDateTime_GetYearDay", (PyCFunction
) _wrap_wxDateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7237 { "wxDateTime_SetToYearDay", (PyCFunction
) _wrap_wxDateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7238 { "wxDateTime_GetLastMonthDay", (PyCFunction
) _wrap_wxDateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7239 { "wxDateTime_SetToLastMonthDay", (PyCFunction
) _wrap_wxDateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7240 { "wxDateTime_GetWeek", (PyCFunction
) _wrap_wxDateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
7241 { "wxDateTime_SetToTheWeek", (PyCFunction
) _wrap_wxDateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
7242 { "wxDateTime_GetLastWeekDay", (PyCFunction
) _wrap_wxDateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7243 { "wxDateTime_SetToLastWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7244 { "wxDateTime_GetWeekDay", (PyCFunction
) _wrap_wxDateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7245 { "wxDateTime_SetToWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7246 { "wxDateTime_GetPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7247 { "wxDateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7248 { "wxDateTime_GetNextWeekDay", (PyCFunction
) _wrap_wxDateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7249 { "wxDateTime_SetToNextWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7250 { "wxDateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7251 { "wxDateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7252 { "wxDateTime_SetMillisecond", (PyCFunction
) _wrap_wxDateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7253 { "wxDateTime_SetSecond", (PyCFunction
) _wrap_wxDateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7254 { "wxDateTime_SetMinute", (PyCFunction
) _wrap_wxDateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7255 { "wxDateTime_SetHour", (PyCFunction
) _wrap_wxDateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
7256 { "wxDateTime_SetDay", (PyCFunction
) _wrap_wxDateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
7257 { "wxDateTime_SetMonth", (PyCFunction
) _wrap_wxDateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7258 { "wxDateTime_SetYear", (PyCFunction
) _wrap_wxDateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
7259 { "wxDateTime_ResetTime", (PyCFunction
) _wrap_wxDateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
7260 { "wxDateTime_Set", (PyCFunction
) _wrap_wxDateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
7261 { "wxDateTime_SetHMS", (PyCFunction
) _wrap_wxDateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
7262 { "wxDateTime_SetJDN", (PyCFunction
) _wrap_wxDateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7263 { "wxDateTime_SetTimeT", (PyCFunction
) _wrap_wxDateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7264 { "wxDateTime_SetToCurrent", (PyCFunction
) _wrap_wxDateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
7265 { "delete_wxDateTime", (PyCFunction
) _wrap_delete_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7266 { "new_wxDateTimeFromDMY", (PyCFunction
) _wrap_new_wxDateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
7267 { "new_wxDateTimeFromHMS", (PyCFunction
) _wrap_new_wxDateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
7268 { "new_wxDateTimeFromJDN", (PyCFunction
) _wrap_new_wxDateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
7269 { "new_wxDateTimeFromTimeT", (PyCFunction
) _wrap_new_wxDateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7270 { "new_wxDateTime", (PyCFunction
) _wrap_new_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7271 { "wxDateTime_Today", (PyCFunction
) _wrap_wxDateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
7272 { "wxDateTime_Now", (PyCFunction
) _wrap_wxDateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
7273 { "wxDateTime_GetEndDST", (PyCFunction
) _wrap_wxDateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
7274 { "wxDateTime_GetBeginDST", (PyCFunction
) _wrap_wxDateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
7275 { "wxDateTime_IsDSTApplicable", (PyCFunction
) _wrap_wxDateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
7276 { "wxDateTime_GetAmPmStrings", (PyCFunction
) _wrap_wxDateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
7277 { "wxDateTime_GetWeekDayName", (PyCFunction
) _wrap_wxDateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
7278 { "wxDateTime_GetMonthName", (PyCFunction
) _wrap_wxDateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
7279 { "wxDateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
7280 { "wxDateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
7281 { "wxDateTime_GetCentury", (PyCFunction
) _wrap_wxDateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
7282 { "wxDateTime_IsLeapYear", (PyCFunction
) _wrap_wxDateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
7283 { "wxDateTime_GetCurrentMonth", (PyCFunction
) _wrap_wxDateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
7284 { "wxDateTime_ConvertYearToBC", (PyCFunction
) _wrap_wxDateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
7285 { "wxDateTime_GetCurrentYear", (PyCFunction
) _wrap_wxDateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
7286 { "wxDateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_wxDateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
7287 { "wxDateTime_GetCountry", (PyCFunction
) _wrap_wxDateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7288 { "wxDateTime_SetCountry", (PyCFunction
) _wrap_wxDateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7289 { "delete_wxFileConfig", (PyCFunction
) _wrap_delete_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7290 { "new_wxFileConfig", (PyCFunction
) _wrap_new_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7291 { "delete_wxConfig", (PyCFunction
) _wrap_delete_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7292 { "new_wxConfig", (PyCFunction
) _wrap_new_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7293 { "wxConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7294 { "wxConfigBase_RenameGroup", (PyCFunction
) _wrap_wxConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
7295 { "wxConfigBase_RenameEntry", (PyCFunction
) _wrap_wxConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
7296 { "wxConfigBase_GetEntryType", (PyCFunction
) _wrap_wxConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
7297 { "wxConfigBase_WriteFloat", (PyCFunction
) _wrap_wxConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
7298 { "wxConfigBase_WriteInt", (PyCFunction
) _wrap_wxConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
7299 { "wxConfigBase_Write", (PyCFunction
) _wrap_wxConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
7300 { "wxConfigBase_GetStyle", (PyCFunction
) _wrap_wxConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7301 { "wxConfigBase_SetStyle", (PyCFunction
) _wrap_wxConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7302 { "wxConfigBase_SetVendorName", (PyCFunction
) _wrap_wxConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7303 { "wxConfigBase_SetAppName", (PyCFunction
) _wrap_wxConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7304 { "wxConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_wxConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7305 { "wxConfigBase_SetPath", (PyCFunction
) _wrap_wxConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
7306 { "wxConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7307 { "wxConfigBase_ReadFloat", (PyCFunction
) _wrap_wxConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
7308 { "wxConfigBase_ReadInt", (PyCFunction
) _wrap_wxConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
7309 { "wxConfigBase_Read", (PyCFunction
) _wrap_wxConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
7310 { "wxConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_wxConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7311 { "wxConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_wxConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7312 { "wxConfigBase_HasGroup", (PyCFunction
) _wrap_wxConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
7313 { "wxConfigBase_HasEntry", (PyCFunction
) _wrap_wxConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
7314 { "wxConfigBase_GetVendorName", (PyCFunction
) _wrap_wxConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7315 { "wxConfigBase_GetPath", (PyCFunction
) _wrap_wxConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
7316 { "wxConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
7317 { "wxConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
7318 { "wxConfigBase_GetNextEntry", (PyCFunction
) _wrap_wxConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
7319 { "wxConfigBase_GetNextGroup", (PyCFunction
) _wrap_wxConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
7320 { "wxConfigBase_GetFirstEntry", (PyCFunction
) _wrap_wxConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
7321 { "wxConfigBase_GetFirstGroup", (PyCFunction
) _wrap_wxConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
7322 { "wxConfigBase_GetAppName", (PyCFunction
) _wrap_wxConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7323 { "wxConfigBase_Flush", (PyCFunction
) _wrap_wxConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
7324 { "wxConfigBase_Exists", (PyCFunction
) _wrap_wxConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
7325 { "wxConfigBase_DeleteGroup", (PyCFunction
) _wrap_wxConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
7326 { "wxConfigBase_DeleteEntry", (PyCFunction
) _wrap_wxConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
7327 { "wxConfigBase_DeleteAll", (PyCFunction
) _wrap_wxConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
7328 { "wxConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_wxConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
7329 { "wxConfigBase_Create", (PyCFunction
) _wrap_wxConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
7330 { "wxConfigBase_Get", (PyCFunction
) _wrap_wxConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
7331 { "wxConfigBase_Set", (PyCFunction
) _wrap_wxConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
7332 { "delete_wxConfigBase", (PyCFunction
) _wrap_delete_wxConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
7333 { "wxGetLocalTimeMillis", (PyCFunction
) _wrap_wxGetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
7334 { "wxGetCurrentTime", (PyCFunction
) _wrap_wxGetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
7335 { "wxGetUTCTime", (PyCFunction
) _wrap_wxGetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
7336 { "wxGetLocalTime", (PyCFunction
) _wrap_wxGetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
7343 * This table is used by the pointer type-checker
7345 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7346 { "_signed_long","_long",0},
7347 { "_class_wxDateTime","_wxDateTime",0},
7348 { "_wxPrintQuality","_wxCoord",0},
7349 { "_wxPrintQuality","_int",0},
7350 { "_wxPrintQuality","_signed_int",0},
7351 { "_wxPrintQuality","_unsigned_int",0},
7352 { "_wxPrintQuality","_wxWindowID",0},
7353 { "_wxPrintQuality","_uint",0},
7354 { "_wxPrintQuality","_EBool",0},
7355 { "_wxPrintQuality","_size_t",0},
7356 { "_wxPrintQuality","_time_t",0},
7357 { "_byte","_unsigned_char",0},
7358 { "_long","_unsigned_long",0},
7359 { "_long","_signed_long",0},
7360 { "_size_t","_wxCoord",0},
7361 { "_size_t","_wxPrintQuality",0},
7362 { "_size_t","_time_t",0},
7363 { "_size_t","_unsigned_int",0},
7364 { "_size_t","_int",0},
7365 { "_size_t","_wxWindowID",0},
7366 { "_size_t","_uint",0},
7367 { "_wxFileConfig","_class_wxFileConfig",0},
7368 { "_uint","_wxCoord",0},
7369 { "_uint","_wxPrintQuality",0},
7370 { "_uint","_time_t",0},
7371 { "_uint","_size_t",0},
7372 { "_uint","_unsigned_int",0},
7373 { "_uint","_int",0},
7374 { "_uint","_wxWindowID",0},
7375 { "_wxChar","_char",0},
7376 { "_char","_wxChar",0},
7377 { "_wxConfig","_class_wxConfig",0},
7378 { "_class_wxFileConfig","_wxFileConfig",0},
7379 { "_EBool","_wxCoord",0},
7380 { "_EBool","_wxPrintQuality",0},
7381 { "_EBool","_signed_int",0},
7382 { "_EBool","_int",0},
7383 { "_EBool","_wxWindowID",0},
7384 { "_unsigned_long","_long",0},
7385 { "_wxTimeSpan","_class_wxTimeSpan",0},
7386 { "_signed_int","_wxCoord",0},
7387 { "_signed_int","_wxPrintQuality",0},
7388 { "_signed_int","_EBool",0},
7389 { "_signed_int","_wxWindowID",0},
7390 { "_signed_int","_int",0},
7391 { "_WXTYPE","_wxDateTime_t",0},
7392 { "_WXTYPE","_short",0},
7393 { "_WXTYPE","_signed_short",0},
7394 { "_WXTYPE","_unsigned_short",0},
7395 { "_unsigned_short","_wxDateTime_t",0},
7396 { "_unsigned_short","_WXTYPE",0},
7397 { "_unsigned_short","_short",0},
7398 { "_wxDateSpan","_class_wxDateSpan",0},
7399 { "_signed_short","_WXTYPE",0},
7400 { "_signed_short","_short",0},
7401 { "_unsigned_char","_byte",0},
7402 { "_unsigned_int","_wxCoord",0},
7403 { "_unsigned_int","_wxPrintQuality",0},
7404 { "_unsigned_int","_time_t",0},
7405 { "_unsigned_int","_size_t",0},
7406 { "_unsigned_int","_uint",0},
7407 { "_unsigned_int","_wxWindowID",0},
7408 { "_unsigned_int","_int",0},
7409 { "_wxConfigBase","_class_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7410 { "_wxConfigBase","_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7411 { "_wxConfigBase","_class_wxConfig",SwigwxConfigTowxConfigBase
},
7412 { "_wxConfigBase","_wxConfig",SwigwxConfigTowxConfigBase
},
7413 { "_wxConfigBase","_class_wxConfigBase",0},
7414 { "_short","_wxDateTime_t",0},
7415 { "_short","_WXTYPE",0},
7416 { "_short","_unsigned_short",0},
7417 { "_short","_signed_short",0},
7418 { "_wxWindowID","_wxCoord",0},
7419 { "_wxWindowID","_wxPrintQuality",0},
7420 { "_wxWindowID","_time_t",0},
7421 { "_wxWindowID","_size_t",0},
7422 { "_wxWindowID","_EBool",0},
7423 { "_wxWindowID","_uint",0},
7424 { "_wxWindowID","_int",0},
7425 { "_wxWindowID","_signed_int",0},
7426 { "_wxWindowID","_unsigned_int",0},
7427 { "_int","_wxCoord",0},
7428 { "_int","_wxPrintQuality",0},
7429 { "_int","_time_t",0},
7430 { "_int","_size_t",0},
7431 { "_int","_EBool",0},
7432 { "_int","_uint",0},
7433 { "_int","_wxWindowID",0},
7434 { "_int","_unsigned_int",0},
7435 { "_int","_signed_int",0},
7436 { "_wxDateTime_t","_unsigned_short",0},
7437 { "_wxDateTime_t","_short",0},
7438 { "_wxDateTime_t","_WXTYPE",0},
7439 { "_wxDateTime","_class_wxDateTime",0},
7440 { "_time_t","_wxCoord",0},
7441 { "_time_t","_wxPrintQuality",0},
7442 { "_time_t","_unsigned_int",0},
7443 { "_time_t","_int",0},
7444 { "_time_t","_wxWindowID",0},
7445 { "_time_t","_uint",0},
7446 { "_time_t","_size_t",0},
7447 { "_class_wxTimeSpan","_wxTimeSpan",0},
7448 { "_class_wxConfigBase","_class_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7449 { "_class_wxConfigBase","_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7450 { "_class_wxConfigBase","_class_wxConfig",SwigwxConfigTowxConfigBase
},
7451 { "_class_wxConfigBase","_wxConfig",SwigwxConfigTowxConfigBase
},
7452 { "_class_wxConfigBase","_wxConfigBase",0},
7453 { "_wxCoord","_int",0},
7454 { "_wxCoord","_signed_int",0},
7455 { "_wxCoord","_unsigned_int",0},
7456 { "_wxCoord","_wxWindowID",0},
7457 { "_wxCoord","_uint",0},
7458 { "_wxCoord","_EBool",0},
7459 { "_wxCoord","_size_t",0},
7460 { "_wxCoord","_time_t",0},
7461 { "_wxCoord","_wxPrintQuality",0},
7462 { "_class_wxDateSpan","_wxDateSpan",0},
7463 { "_class_wxConfig","_wxConfig",0},
7466 static PyObject
*SWIG_globals
;
7470 SWIGEXPORT(void) initutilsc() {
7472 SWIG_globals
= SWIG_newvarlink();
7473 m
= Py_InitModule("utilsc", utilscMethods
);
7474 d
= PyModule_GetDict(m
);
7475 PyDict_SetItemString(d
,"wxCONFIG_USE_LOCAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_LOCAL_FILE
));
7476 PyDict_SetItemString(d
,"wxCONFIG_USE_GLOBAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_GLOBAL_FILE
));
7477 PyDict_SetItemString(d
,"wxCONFIG_USE_RELATIVE_PATH", PyInt_FromLong((long) wxCONFIG_USE_RELATIVE_PATH
));
7480 // wxClassInfo::CleanUpClasses();
7481 // wxClassInfo::InitializeClasses();
7483 PyDict_SetItemString(d
,"wxConfigBase_Type_Unknown", PyInt_FromLong((long) wxConfigBase::Type_Unknown
));
7484 PyDict_SetItemString(d
,"wxConfigBase_Type_String", PyInt_FromLong((long) wxConfigBase::Type_String
));
7485 PyDict_SetItemString(d
,"wxConfigBase_Type_Boolean", PyInt_FromLong((long) wxConfigBase::Type_Boolean
));
7486 PyDict_SetItemString(d
,"wxConfigBase_Type_Integer", PyInt_FromLong((long) wxConfigBase::Type_Integer
));
7487 PyDict_SetItemString(d
,"wxConfigBase_Type_Float", PyInt_FromLong((long) wxConfigBase::Type_Float
));
7488 PyDict_SetItemString(d
,"wxDateTime_Local", PyInt_FromLong((long) wxDateTime::Local
));
7489 PyDict_SetItemString(d
,"wxDateTime_GMT_12", PyInt_FromLong((long) wxDateTime::GMT_12
));
7490 PyDict_SetItemString(d
,"wxDateTime_GMT_11", PyInt_FromLong((long) wxDateTime::GMT_11
));
7491 PyDict_SetItemString(d
,"wxDateTime_GMT_10", PyInt_FromLong((long) wxDateTime::GMT_10
));
7492 PyDict_SetItemString(d
,"wxDateTime_GMT_9", PyInt_FromLong((long) wxDateTime::GMT_9
));
7493 PyDict_SetItemString(d
,"wxDateTime_GMT_8", PyInt_FromLong((long) wxDateTime::GMT_8
));
7494 PyDict_SetItemString(d
,"wxDateTime_GMT_7", PyInt_FromLong((long) wxDateTime::GMT_7
));
7495 PyDict_SetItemString(d
,"wxDateTime_GMT_6", PyInt_FromLong((long) wxDateTime::GMT_6
));
7496 PyDict_SetItemString(d
,"wxDateTime_GMT_5", PyInt_FromLong((long) wxDateTime::GMT_5
));
7497 PyDict_SetItemString(d
,"wxDateTime_GMT_4", PyInt_FromLong((long) wxDateTime::GMT_4
));
7498 PyDict_SetItemString(d
,"wxDateTime_GMT_3", PyInt_FromLong((long) wxDateTime::GMT_3
));
7499 PyDict_SetItemString(d
,"wxDateTime_GMT_2", PyInt_FromLong((long) wxDateTime::GMT_2
));
7500 PyDict_SetItemString(d
,"wxDateTime_GMT_1", PyInt_FromLong((long) wxDateTime::GMT_1
));
7501 PyDict_SetItemString(d
,"wxDateTime_GMT0", PyInt_FromLong((long) wxDateTime::GMT0
));
7502 PyDict_SetItemString(d
,"wxDateTime_GMT1", PyInt_FromLong((long) wxDateTime::GMT1
));
7503 PyDict_SetItemString(d
,"wxDateTime_GMT2", PyInt_FromLong((long) wxDateTime::GMT2
));
7504 PyDict_SetItemString(d
,"wxDateTime_GMT3", PyInt_FromLong((long) wxDateTime::GMT3
));
7505 PyDict_SetItemString(d
,"wxDateTime_GMT4", PyInt_FromLong((long) wxDateTime::GMT4
));
7506 PyDict_SetItemString(d
,"wxDateTime_GMT5", PyInt_FromLong((long) wxDateTime::GMT5
));
7507 PyDict_SetItemString(d
,"wxDateTime_GMT6", PyInt_FromLong((long) wxDateTime::GMT6
));
7508 PyDict_SetItemString(d
,"wxDateTime_GMT7", PyInt_FromLong((long) wxDateTime::GMT7
));
7509 PyDict_SetItemString(d
,"wxDateTime_GMT8", PyInt_FromLong((long) wxDateTime::GMT8
));
7510 PyDict_SetItemString(d
,"wxDateTime_GMT9", PyInt_FromLong((long) wxDateTime::GMT9
));
7511 PyDict_SetItemString(d
,"wxDateTime_GMT10", PyInt_FromLong((long) wxDateTime::GMT10
));
7512 PyDict_SetItemString(d
,"wxDateTime_GMT11", PyInt_FromLong((long) wxDateTime::GMT11
));
7513 PyDict_SetItemString(d
,"wxDateTime_GMT12", PyInt_FromLong((long) wxDateTime::GMT12
));
7514 PyDict_SetItemString(d
,"wxDateTime_WET", PyInt_FromLong((long) wxDateTime::WET
));
7515 PyDict_SetItemString(d
,"wxDateTime_WEST", PyInt_FromLong((long) wxDateTime::WEST
));
7516 PyDict_SetItemString(d
,"wxDateTime_CET", PyInt_FromLong((long) wxDateTime::CET
));
7517 PyDict_SetItemString(d
,"wxDateTime_CEST", PyInt_FromLong((long) wxDateTime::CEST
));
7518 PyDict_SetItemString(d
,"wxDateTime_EET", PyInt_FromLong((long) wxDateTime::EET
));
7519 PyDict_SetItemString(d
,"wxDateTime_EEST", PyInt_FromLong((long) wxDateTime::EEST
));
7520 PyDict_SetItemString(d
,"wxDateTime_MSK", PyInt_FromLong((long) wxDateTime::MSK
));
7521 PyDict_SetItemString(d
,"wxDateTime_MSD", PyInt_FromLong((long) wxDateTime::MSD
));
7522 PyDict_SetItemString(d
,"wxDateTime_AST", PyInt_FromLong((long) wxDateTime::AST
));
7523 PyDict_SetItemString(d
,"wxDateTime_ADT", PyInt_FromLong((long) wxDateTime::ADT
));
7524 PyDict_SetItemString(d
,"wxDateTime_EST", PyInt_FromLong((long) wxDateTime::EST
));
7525 PyDict_SetItemString(d
,"wxDateTime_EDT", PyInt_FromLong((long) wxDateTime::EDT
));
7526 PyDict_SetItemString(d
,"wxDateTime_CST", PyInt_FromLong((long) wxDateTime::CST
));
7527 PyDict_SetItemString(d
,"wxDateTime_CDT", PyInt_FromLong((long) wxDateTime::CDT
));
7528 PyDict_SetItemString(d
,"wxDateTime_MST", PyInt_FromLong((long) wxDateTime::MST
));
7529 PyDict_SetItemString(d
,"wxDateTime_MDT", PyInt_FromLong((long) wxDateTime::MDT
));
7530 PyDict_SetItemString(d
,"wxDateTime_PST", PyInt_FromLong((long) wxDateTime::PST
));
7531 PyDict_SetItemString(d
,"wxDateTime_PDT", PyInt_FromLong((long) wxDateTime::PDT
));
7532 PyDict_SetItemString(d
,"wxDateTime_HST", PyInt_FromLong((long) wxDateTime::HST
));
7533 PyDict_SetItemString(d
,"wxDateTime_AKST", PyInt_FromLong((long) wxDateTime::AKST
));
7534 PyDict_SetItemString(d
,"wxDateTime_AKDT", PyInt_FromLong((long) wxDateTime::AKDT
));
7535 PyDict_SetItemString(d
,"wxDateTime_A_WST", PyInt_FromLong((long) wxDateTime::A_WST
));
7536 PyDict_SetItemString(d
,"wxDateTime_A_CST", PyInt_FromLong((long) wxDateTime::A_CST
));
7537 PyDict_SetItemString(d
,"wxDateTime_A_EST", PyInt_FromLong((long) wxDateTime::A_EST
));
7538 PyDict_SetItemString(d
,"wxDateTime_A_ESST", PyInt_FromLong((long) wxDateTime::A_ESST
));
7539 PyDict_SetItemString(d
,"wxDateTime_UTC", PyInt_FromLong((long) wxDateTime::UTC
));
7540 PyDict_SetItemString(d
,"wxDateTime_Gregorian", PyInt_FromLong((long) wxDateTime::Gregorian
));
7541 PyDict_SetItemString(d
,"wxDateTime_Julian", PyInt_FromLong((long) wxDateTime::Julian
));
7542 PyDict_SetItemString(d
,"wxDateTime_Country_Unknown", PyInt_FromLong((long) wxDateTime::Country_Unknown
));
7543 PyDict_SetItemString(d
,"wxDateTime_Country_Default", PyInt_FromLong((long) wxDateTime::Country_Default
));
7544 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_Start", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_Start
));
7545 PyDict_SetItemString(d
,"wxDateTime_Country_EEC", PyInt_FromLong((long) wxDateTime::Country_EEC
));
7546 PyDict_SetItemString(d
,"wxDateTime_France", PyInt_FromLong((long) wxDateTime::France
));
7547 PyDict_SetItemString(d
,"wxDateTime_Germany", PyInt_FromLong((long) wxDateTime::Germany
));
7548 PyDict_SetItemString(d
,"wxDateTime_UK", PyInt_FromLong((long) wxDateTime::UK
));
7549 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_End", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_End
));
7550 PyDict_SetItemString(d
,"wxDateTime_Russia", PyInt_FromLong((long) wxDateTime::Russia
));
7551 PyDict_SetItemString(d
,"wxDateTime_USA", PyInt_FromLong((long) wxDateTime::USA
));
7552 PyDict_SetItemString(d
,"wxDateTime_Jan", PyInt_FromLong((long) wxDateTime::Jan
));
7553 PyDict_SetItemString(d
,"wxDateTime_Feb", PyInt_FromLong((long) wxDateTime::Feb
));
7554 PyDict_SetItemString(d
,"wxDateTime_Mar", PyInt_FromLong((long) wxDateTime::Mar
));
7555 PyDict_SetItemString(d
,"wxDateTime_Apr", PyInt_FromLong((long) wxDateTime::Apr
));
7556 PyDict_SetItemString(d
,"wxDateTime_May", PyInt_FromLong((long) wxDateTime::May
));
7557 PyDict_SetItemString(d
,"wxDateTime_Jun", PyInt_FromLong((long) wxDateTime::Jun
));
7558 PyDict_SetItemString(d
,"wxDateTime_Jul", PyInt_FromLong((long) wxDateTime::Jul
));
7559 PyDict_SetItemString(d
,"wxDateTime_Aug", PyInt_FromLong((long) wxDateTime::Aug
));
7560 PyDict_SetItemString(d
,"wxDateTime_Sep", PyInt_FromLong((long) wxDateTime::Sep
));
7561 PyDict_SetItemString(d
,"wxDateTime_Oct", PyInt_FromLong((long) wxDateTime::Oct
));
7562 PyDict_SetItemString(d
,"wxDateTime_Nov", PyInt_FromLong((long) wxDateTime::Nov
));
7563 PyDict_SetItemString(d
,"wxDateTime_Dec", PyInt_FromLong((long) wxDateTime::Dec
));
7564 PyDict_SetItemString(d
,"wxDateTime_Inv_Month", PyInt_FromLong((long) wxDateTime::Inv_Month
));
7565 PyDict_SetItemString(d
,"wxDateTime_Sun", PyInt_FromLong((long) wxDateTime::Sun
));
7566 PyDict_SetItemString(d
,"wxDateTime_Mon", PyInt_FromLong((long) wxDateTime::Mon
));
7567 PyDict_SetItemString(d
,"wxDateTime_Tue", PyInt_FromLong((long) wxDateTime::Tue
));
7568 PyDict_SetItemString(d
,"wxDateTime_Wed", PyInt_FromLong((long) wxDateTime::Wed
));
7569 PyDict_SetItemString(d
,"wxDateTime_Thu", PyInt_FromLong((long) wxDateTime::Thu
));
7570 PyDict_SetItemString(d
,"wxDateTime_Fri", PyInt_FromLong((long) wxDateTime::Fri
));
7571 PyDict_SetItemString(d
,"wxDateTime_Sat", PyInt_FromLong((long) wxDateTime::Sat
));
7572 PyDict_SetItemString(d
,"wxDateTime_Inv_WeekDay", PyInt_FromLong((long) wxDateTime::Inv_WeekDay
));
7573 PyDict_SetItemString(d
,"wxDateTime_Inv_Year", PyInt_FromLong((long) wxDateTime::Inv_Year
));
7574 PyDict_SetItemString(d
,"wxDateTime_Name_Full", PyInt_FromLong((long) wxDateTime::Name_Full
));
7575 PyDict_SetItemString(d
,"wxDateTime_Name_Abbr", PyInt_FromLong((long) wxDateTime::Name_Abbr
));
7576 PyDict_SetItemString(d
,"wxDateTime_Default_First", PyInt_FromLong((long) wxDateTime::Default_First
));
7577 PyDict_SetItemString(d
,"wxDateTime_Monday_First", PyInt_FromLong((long) wxDateTime::Monday_First
));
7578 PyDict_SetItemString(d
,"wxDateTime_Sunday_First", PyInt_FromLong((long) wxDateTime::Sunday_First
));
7581 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7582 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);