2 * FILE : src/msw/utils.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initutilsc
56 #define SWIG_name "utilsc"
59 #include <wx/config.h>
60 #include <wx/fileconf.h>
61 #include <wx/datetime.h>
63 // Put some wx default wxChar* values into wxStrings.
64 DECLARE_DEF_STRING2(DateFormatStr
, wxT("%c"));
65 static const wxString
wxPyEmptyString(wxT(""));
69 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
75 } else if (target
== Py_None
) {
79 if (!PyTuple_Check(target
)) {
81 target
= PyTuple_New(1);
82 PyTuple_SetItem(target
, 0, o2
);
85 PyTuple_SetItem(o3
, 0, o
);
88 target
= PySequence_Concat(o2
, o3
);
95 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
96 PyObject
* ret
= PyTuple_New(3);
98 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
100 PyTuple_SET_ITEM(ret
, 1, PyUnicode_FromUnicode(str
.c_str(), str
.Len()));
102 PyTuple_SET_ITEM(ret
, 1, PyString_FromStringAndSize(str
.c_str(), str
.Len()));
104 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
109 #define LOCAL *(new wxDateTime::TimeZone(wxDateTime::Local))
113 static PyObject
*_wrap_wxGetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
114 PyObject
* _resultobj
;
116 char *_kwnames
[] = { NULL
};
119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocalTime",_kwnames
))
122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
123 _result
= (long )wxGetLocalTime();
125 wxPyEndAllowThreads(__tstate
);
126 if (PyErr_Occurred()) return NULL
;
127 } _resultobj
= Py_BuildValue("l",_result
);
131 static PyObject
*_wrap_wxGetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
132 PyObject
* _resultobj
;
134 char *_kwnames
[] = { NULL
};
137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUTCTime",_kwnames
))
140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
141 _result
= (long )wxGetUTCTime();
143 wxPyEndAllowThreads(__tstate
);
144 if (PyErr_Occurred()) return NULL
;
145 } _resultobj
= Py_BuildValue("l",_result
);
149 static PyObject
*_wrap_wxGetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
150 PyObject
* _resultobj
;
152 char *_kwnames
[] = { NULL
};
155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentTime",_kwnames
))
158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
159 _result
= (long )wxGetCurrentTime();
161 wxPyEndAllowThreads(__tstate
);
162 if (PyErr_Occurred()) return NULL
;
163 } _resultobj
= Py_BuildValue("l",_result
);
167 static PyObject
*_wrap_wxGetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
168 PyObject
* _resultobj
;
169 wxLongLong
* _result
;
170 char *_kwnames
[] = { NULL
};
173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocalTimeMillis",_kwnames
))
176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
177 _result
= new wxLongLong (wxGetLocalTimeMillis());
179 wxPyEndAllowThreads(__tstate
);
180 if (PyErr_Occurred()) return NULL
;
182 PyObject
*hi
, *lo
, *shifter
, *shifted
;
183 hi
= PyLong_FromLong(_result
->GetHi());
184 lo
= PyLong_FromLong(_result
->GetLo());
185 shifter
= PyLong_FromLong(32);
186 shifted
= PyNumber_Lshift(hi
, shifter
);
187 _resultobj
= PyNumber_Or(shifted
, lo
);
196 #define delete_wxConfigBase(_swigobj) (delete _swigobj)
197 static PyObject
*_wrap_delete_wxConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
198 PyObject
* _resultobj
;
199 wxConfigBase
* _arg0
;
200 PyObject
* _argo0
= 0;
201 char *_kwnames
[] = { "self", NULL
};
204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxConfigBase",_kwnames
,&_argo0
))
207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxConfigBase. Expected _wxConfigBase_p.");
214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
215 delete_wxConfigBase(_arg0
);
217 wxPyEndAllowThreads(__tstate
);
218 if (PyErr_Occurred()) return NULL
;
219 } Py_INCREF(Py_None
);
220 _resultobj
= Py_None
;
224 static PyObject
*_wrap_wxConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
225 PyObject
* _resultobj
;
226 wxConfigBase
* _result
;
227 wxConfigBase
* _arg0
;
228 PyObject
* _argo0
= 0;
229 char *_kwnames
[] = { "pConfig", NULL
};
233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_Set",_kwnames
,&_argo0
))
236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Set. Expected _wxConfigBase_p.");
243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
244 _result
= (wxConfigBase
*)wxConfigBase::Set(_arg0
);
246 wxPyEndAllowThreads(__tstate
);
247 if (PyErr_Occurred()) return NULL
;
249 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
250 _resultobj
= Py_BuildValue("s",_ptemp
);
253 _resultobj
= Py_None
;
258 static PyObject
*_wrap_wxConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
259 PyObject
* _resultobj
;
260 wxConfigBase
* _result
;
261 bool _arg0
= (bool ) TRUE
;
262 int tempbool0
= (int) TRUE
;
263 char *_kwnames
[] = { "createOnDemand", NULL
};
267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxConfigBase_Get",_kwnames
,&tempbool0
))
269 _arg0
= (bool ) tempbool0
;
271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
272 _result
= (wxConfigBase
*)wxConfigBase::Get(_arg0
);
274 wxPyEndAllowThreads(__tstate
);
275 if (PyErr_Occurred()) return NULL
;
277 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
278 _resultobj
= Py_BuildValue("s",_ptemp
);
281 _resultobj
= Py_None
;
286 static PyObject
*_wrap_wxConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
287 PyObject
* _resultobj
;
288 wxConfigBase
* _result
;
289 char *_kwnames
[] = { NULL
};
293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxConfigBase_Create",_kwnames
))
296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
297 _result
= (wxConfigBase
*)wxConfigBase::Create();
299 wxPyEndAllowThreads(__tstate
);
300 if (PyErr_Occurred()) return NULL
;
302 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
303 _resultobj
= Py_BuildValue("s",_ptemp
);
306 _resultobj
= Py_None
;
311 static PyObject
*_wrap_wxConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
312 PyObject
* _resultobj
;
313 char *_kwnames
[] = { NULL
};
316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxConfigBase_DontCreateOnDemand",_kwnames
))
319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
320 wxConfigBase::DontCreateOnDemand();
322 wxPyEndAllowThreads(__tstate
);
323 if (PyErr_Occurred()) return NULL
;
324 } Py_INCREF(Py_None
);
325 _resultobj
= Py_None
;
329 #define wxConfigBase_DeleteAll(_swigobj) (_swigobj->DeleteAll())
330 static PyObject
*_wrap_wxConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
331 PyObject
* _resultobj
;
333 wxConfigBase
* _arg0
;
334 PyObject
* _argo0
= 0;
335 char *_kwnames
[] = { "self", NULL
};
338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_DeleteAll",_kwnames
,&_argo0
))
341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteAll. Expected _wxConfigBase_p.");
348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
349 _result
= (bool )wxConfigBase_DeleteAll(_arg0
);
351 wxPyEndAllowThreads(__tstate
);
352 if (PyErr_Occurred()) return NULL
;
353 } _resultobj
= Py_BuildValue("i",_result
);
357 #define wxConfigBase_DeleteEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteEntry(_swigarg0,_swigarg1))
358 static PyObject
*_wrap_wxConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
359 PyObject
* _resultobj
;
361 wxConfigBase
* _arg0
;
363 bool _arg2
= (bool ) TRUE
;
364 PyObject
* _argo0
= 0;
365 PyObject
* _obj1
= 0;
366 int tempbool2
= (int) TRUE
;
367 char *_kwnames
[] = { "self","key","bDeleteGroupIfEmpty", NULL
};
370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxConfigBase_DeleteEntry",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteEntry. Expected _wxConfigBase_p.");
380 _arg1
= wxString_in_helper(_obj1
);
384 _arg2
= (bool ) tempbool2
;
386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
387 _result
= (bool )wxConfigBase_DeleteEntry(_arg0
,*_arg1
,_arg2
);
389 wxPyEndAllowThreads(__tstate
);
390 if (PyErr_Occurred()) return NULL
;
391 } _resultobj
= Py_BuildValue("i",_result
);
399 #define wxConfigBase_DeleteGroup(_swigobj,_swigarg0) (_swigobj->DeleteGroup(_swigarg0))
400 static PyObject
*_wrap_wxConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
401 PyObject
* _resultobj
;
403 wxConfigBase
* _arg0
;
405 PyObject
* _argo0
= 0;
406 PyObject
* _obj1
= 0;
407 char *_kwnames
[] = { "self","key", NULL
};
410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_DeleteGroup",_kwnames
,&_argo0
,&_obj1
))
413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteGroup. Expected _wxConfigBase_p.");
420 _arg1
= wxString_in_helper(_obj1
);
425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
426 _result
= (bool )wxConfigBase_DeleteGroup(_arg0
,*_arg1
);
428 wxPyEndAllowThreads(__tstate
);
429 if (PyErr_Occurred()) return NULL
;
430 } _resultobj
= Py_BuildValue("i",_result
);
438 #define wxConfigBase_Exists(_swigobj,_swigarg0) (_swigobj->Exists(_swigarg0))
439 static PyObject
*_wrap_wxConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
440 PyObject
* _resultobj
;
442 wxConfigBase
* _arg0
;
444 PyObject
* _argo0
= 0;
445 PyObject
* _obj1
= 0;
446 char *_kwnames
[] = { "self","strName", NULL
};
449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_Exists",_kwnames
,&_argo0
,&_obj1
))
452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Exists. Expected _wxConfigBase_p.");
459 _arg1
= wxString_in_helper(_obj1
);
464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
465 _result
= (bool )wxConfigBase_Exists(_arg0
,*_arg1
);
467 wxPyEndAllowThreads(__tstate
);
468 if (PyErr_Occurred()) return NULL
;
469 } _resultobj
= Py_BuildValue("i",_result
);
477 #define wxConfigBase_Flush(_swigobj,_swigarg0) (_swigobj->Flush(_swigarg0))
478 static PyObject
*_wrap_wxConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
479 PyObject
* _resultobj
;
481 wxConfigBase
* _arg0
;
482 bool _arg1
= (bool ) FALSE
;
483 PyObject
* _argo0
= 0;
484 int tempbool1
= (int) FALSE
;
485 char *_kwnames
[] = { "self","bCurrentOnly", NULL
};
488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_Flush",_kwnames
,&_argo0
,&tempbool1
))
491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Flush. Expected _wxConfigBase_p.");
497 _arg1
= (bool ) tempbool1
;
499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
500 _result
= (bool )wxConfigBase_Flush(_arg0
,_arg1
);
502 wxPyEndAllowThreads(__tstate
);
503 if (PyErr_Occurred()) return NULL
;
504 } _resultobj
= Py_BuildValue("i",_result
);
508 #define wxConfigBase_GetAppName(_swigobj) (_swigobj->GetAppName())
509 static PyObject
*_wrap_wxConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
510 PyObject
* _resultobj
;
512 wxConfigBase
* _arg0
;
513 PyObject
* _argo0
= 0;
514 char *_kwnames
[] = { "self", NULL
};
517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetAppName",_kwnames
,&_argo0
))
520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetAppName. Expected _wxConfigBase_p.");
527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
528 _result
= new wxString (wxConfigBase_GetAppName(_arg0
));
530 wxPyEndAllowThreads(__tstate
);
531 if (PyErr_Occurred()) return NULL
;
534 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
536 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
545 static PyObject
* wxConfigBase_GetFirstGroup(wxConfigBase
*self
) {
550 cont
= self
->GetFirstGroup(value
, index
);
551 return __EnumerationHelper(cont
, value
, index
);
553 static PyObject
*_wrap_wxConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
554 PyObject
* _resultobj
;
556 wxConfigBase
* _arg0
;
557 PyObject
* _argo0
= 0;
558 char *_kwnames
[] = { "self", NULL
};
561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetFirstGroup",_kwnames
,&_argo0
))
564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetFirstGroup. Expected _wxConfigBase_p.");
571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
572 _result
= (PyObject
*)wxConfigBase_GetFirstGroup(_arg0
);
574 wxPyEndAllowThreads(__tstate
);
575 if (PyErr_Occurred()) return NULL
;
577 _resultobj
= _result
;
582 static PyObject
* wxConfigBase_GetFirstEntry(wxConfigBase
*self
) {
587 cont
= self
->GetFirstEntry(value
, index
);
588 return __EnumerationHelper(cont
, value
, index
);
590 static PyObject
*_wrap_wxConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
591 PyObject
* _resultobj
;
593 wxConfigBase
* _arg0
;
594 PyObject
* _argo0
= 0;
595 char *_kwnames
[] = { "self", NULL
};
598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetFirstEntry",_kwnames
,&_argo0
))
601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetFirstEntry. Expected _wxConfigBase_p.");
608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
609 _result
= (PyObject
*)wxConfigBase_GetFirstEntry(_arg0
);
611 wxPyEndAllowThreads(__tstate
);
612 if (PyErr_Occurred()) return NULL
;
614 _resultobj
= _result
;
619 static PyObject
* wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
) {
623 cont
= self
->GetNextGroup(value
, index
);
624 return __EnumerationHelper(cont
, value
, index
);
626 static PyObject
*_wrap_wxConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
627 PyObject
* _resultobj
;
629 wxConfigBase
* _arg0
;
631 PyObject
* _argo0
= 0;
632 char *_kwnames
[] = { "self","index", NULL
};
635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_GetNextGroup",_kwnames
,&_argo0
,&_arg1
))
638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNextGroup. Expected _wxConfigBase_p.");
645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
646 _result
= (PyObject
*)wxConfigBase_GetNextGroup(_arg0
,_arg1
);
648 wxPyEndAllowThreads(__tstate
);
649 if (PyErr_Occurred()) return NULL
;
651 _resultobj
= _result
;
656 static PyObject
* wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
) {
660 cont
= self
->GetNextEntry(value
, index
);
661 return __EnumerationHelper(cont
, value
, index
);
663 static PyObject
*_wrap_wxConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
664 PyObject
* _resultobj
;
666 wxConfigBase
* _arg0
;
668 PyObject
* _argo0
= 0;
669 char *_kwnames
[] = { "self","index", NULL
};
672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_GetNextEntry",_kwnames
,&_argo0
,&_arg1
))
675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNextEntry. Expected _wxConfigBase_p.");
682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
683 _result
= (PyObject
*)wxConfigBase_GetNextEntry(_arg0
,_arg1
);
685 wxPyEndAllowThreads(__tstate
);
686 if (PyErr_Occurred()) return NULL
;
688 _resultobj
= _result
;
693 #define wxConfigBase_GetNumberOfEntries(_swigobj,_swigarg0) (_swigobj->GetNumberOfEntries(_swigarg0))
694 static PyObject
*_wrap_wxConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
695 PyObject
* _resultobj
;
697 wxConfigBase
* _arg0
;
698 bool _arg1
= (bool ) FALSE
;
699 PyObject
* _argo0
= 0;
700 int tempbool1
= (int) FALSE
;
701 char *_kwnames
[] = { "self","bRecursive", NULL
};
704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_GetNumberOfEntries",_kwnames
,&_argo0
,&tempbool1
))
707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNumberOfEntries. Expected _wxConfigBase_p.");
713 _arg1
= (bool ) tempbool1
;
715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
716 _result
= (int )wxConfigBase_GetNumberOfEntries(_arg0
,_arg1
);
718 wxPyEndAllowThreads(__tstate
);
719 if (PyErr_Occurred()) return NULL
;
720 } _resultobj
= Py_BuildValue("i",_result
);
724 #define wxConfigBase_GetNumberOfGroups(_swigobj,_swigarg0) (_swigobj->GetNumberOfGroups(_swigarg0))
725 static PyObject
*_wrap_wxConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
726 PyObject
* _resultobj
;
728 wxConfigBase
* _arg0
;
729 bool _arg1
= (bool ) FALSE
;
730 PyObject
* _argo0
= 0;
731 int tempbool1
= (int) FALSE
;
732 char *_kwnames
[] = { "self","bRecursive", NULL
};
735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_GetNumberOfGroups",_kwnames
,&_argo0
,&tempbool1
))
738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNumberOfGroups. Expected _wxConfigBase_p.");
744 _arg1
= (bool ) tempbool1
;
746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
747 _result
= (int )wxConfigBase_GetNumberOfGroups(_arg0
,_arg1
);
749 wxPyEndAllowThreads(__tstate
);
750 if (PyErr_Occurred()) return NULL
;
751 } _resultobj
= Py_BuildValue("i",_result
);
755 #define wxConfigBase_GetPath(_swigobj) (_swigobj->GetPath())
756 static PyObject
*_wrap_wxConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
757 PyObject
* _resultobj
;
759 wxConfigBase
* _arg0
;
760 PyObject
* _argo0
= 0;
761 char *_kwnames
[] = { "self", NULL
};
764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetPath",_kwnames
,&_argo0
))
767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetPath. Expected _wxConfigBase_p.");
774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
775 _result
= new wxString (wxConfigBase_GetPath(_arg0
));
777 wxPyEndAllowThreads(__tstate
);
778 if (PyErr_Occurred()) return NULL
;
781 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
783 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
792 #define wxConfigBase_GetVendorName(_swigobj) (_swigobj->GetVendorName())
793 static PyObject
*_wrap_wxConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
794 PyObject
* _resultobj
;
796 wxConfigBase
* _arg0
;
797 PyObject
* _argo0
= 0;
798 char *_kwnames
[] = { "self", NULL
};
801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetVendorName",_kwnames
,&_argo0
))
804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetVendorName. Expected _wxConfigBase_p.");
811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
812 _result
= new wxString (wxConfigBase_GetVendorName(_arg0
));
814 wxPyEndAllowThreads(__tstate
);
815 if (PyErr_Occurred()) return NULL
;
818 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
820 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
829 #define wxConfigBase_HasEntry(_swigobj,_swigarg0) (_swigobj->HasEntry(_swigarg0))
830 static PyObject
*_wrap_wxConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
831 PyObject
* _resultobj
;
833 wxConfigBase
* _arg0
;
835 PyObject
* _argo0
= 0;
836 PyObject
* _obj1
= 0;
837 char *_kwnames
[] = { "self","strName", NULL
};
840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_HasEntry",_kwnames
,&_argo0
,&_obj1
))
843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_HasEntry. Expected _wxConfigBase_p.");
850 _arg1
= wxString_in_helper(_obj1
);
855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
856 _result
= (bool )wxConfigBase_HasEntry(_arg0
,*_arg1
);
858 wxPyEndAllowThreads(__tstate
);
859 if (PyErr_Occurred()) return NULL
;
860 } _resultobj
= Py_BuildValue("i",_result
);
868 #define wxConfigBase_HasGroup(_swigobj,_swigarg0) (_swigobj->HasGroup(_swigarg0))
869 static PyObject
*_wrap_wxConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
870 PyObject
* _resultobj
;
872 wxConfigBase
* _arg0
;
874 PyObject
* _argo0
= 0;
875 PyObject
* _obj1
= 0;
876 char *_kwnames
[] = { "self","strName", NULL
};
879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_HasGroup",_kwnames
,&_argo0
,&_obj1
))
882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_HasGroup. Expected _wxConfigBase_p.");
889 _arg1
= wxString_in_helper(_obj1
);
894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
895 _result
= (bool )wxConfigBase_HasGroup(_arg0
,*_arg1
);
897 wxPyEndAllowThreads(__tstate
);
898 if (PyErr_Occurred()) return NULL
;
899 } _resultobj
= Py_BuildValue("i",_result
);
907 #define wxConfigBase_IsExpandingEnvVars(_swigobj) (_swigobj->IsExpandingEnvVars())
908 static PyObject
*_wrap_wxConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
909 PyObject
* _resultobj
;
911 wxConfigBase
* _arg0
;
912 PyObject
* _argo0
= 0;
913 char *_kwnames
[] = { "self", NULL
};
916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_IsExpandingEnvVars",_kwnames
,&_argo0
))
919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_IsExpandingEnvVars. Expected _wxConfigBase_p.");
926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
927 _result
= (bool )wxConfigBase_IsExpandingEnvVars(_arg0
);
929 wxPyEndAllowThreads(__tstate
);
930 if (PyErr_Occurred()) return NULL
;
931 } _resultobj
= Py_BuildValue("i",_result
);
935 #define wxConfigBase_IsRecordingDefaults(_swigobj) (_swigobj->IsRecordingDefaults())
936 static PyObject
*_wrap_wxConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
937 PyObject
* _resultobj
;
939 wxConfigBase
* _arg0
;
940 PyObject
* _argo0
= 0;
941 char *_kwnames
[] = { "self", NULL
};
944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_IsRecordingDefaults",_kwnames
,&_argo0
))
947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_IsRecordingDefaults. Expected _wxConfigBase_p.");
954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
955 _result
= (bool )wxConfigBase_IsRecordingDefaults(_arg0
);
957 wxPyEndAllowThreads(__tstate
);
958 if (PyErr_Occurred()) return NULL
;
959 } _resultobj
= Py_BuildValue("i",_result
);
963 #define wxConfigBase_Read(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
964 static PyObject
*_wrap_wxConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
965 PyObject
* _resultobj
;
967 wxConfigBase
* _arg0
;
969 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
970 PyObject
* _argo0
= 0;
971 PyObject
* _obj1
= 0;
972 PyObject
* _obj2
= 0;
973 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxConfigBase_Read",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Read. Expected _wxConfigBase_p.");
986 _arg1
= wxString_in_helper(_obj1
);
992 _arg2
= wxString_in_helper(_obj2
);
997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
998 _result
= new wxString (wxConfigBase_Read(_arg0
,*_arg1
,*_arg2
));
1000 wxPyEndAllowThreads(__tstate
);
1001 if (PyErr_Occurred()) return NULL
;
1004 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1006 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1023 static long wxConfigBase_ReadInt(wxConfigBase
*self
,const wxString
& key
,long defaultVal
) {
1025 self
->Read(key
, &rv
, defaultVal
);
1028 static PyObject
*_wrap_wxConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1029 PyObject
* _resultobj
;
1031 wxConfigBase
* _arg0
;
1033 long _arg2
= (long ) 0;
1034 PyObject
* _argo0
= 0;
1035 PyObject
* _obj1
= 0;
1036 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|l:wxConfigBase_ReadInt",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadInt. Expected _wxConfigBase_p.");
1049 _arg1
= wxString_in_helper(_obj1
);
1054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1055 _result
= (long )wxConfigBase_ReadInt(_arg0
,*_arg1
,_arg2
);
1057 wxPyEndAllowThreads(__tstate
);
1058 if (PyErr_Occurred()) return NULL
;
1059 } _resultobj
= Py_BuildValue("l",_result
);
1067 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,const wxString
& key
,double defaultVal
) {
1069 self
->Read(key
, &rv
, defaultVal
);
1072 static PyObject
*_wrap_wxConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1073 PyObject
* _resultobj
;
1075 wxConfigBase
* _arg0
;
1077 double _arg2
= (double ) 0.0;
1078 PyObject
* _argo0
= 0;
1079 PyObject
* _obj1
= 0;
1080 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|d:wxConfigBase_ReadFloat",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadFloat. Expected _wxConfigBase_p.");
1093 _arg1
= wxString_in_helper(_obj1
);
1098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1099 _result
= (double )wxConfigBase_ReadFloat(_arg0
,*_arg1
,_arg2
);
1101 wxPyEndAllowThreads(__tstate
);
1102 if (PyErr_Occurred()) return NULL
;
1103 } _resultobj
= Py_BuildValue("d",_result
);
1111 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,const wxString
& key
,bool defaultVal
) {
1113 self
->Read(key
, &rv
, defaultVal
);
1116 static PyObject
*_wrap_wxConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1117 PyObject
* _resultobj
;
1119 wxConfigBase
* _arg0
;
1121 bool _arg2
= (bool ) FALSE
;
1122 PyObject
* _argo0
= 0;
1123 PyObject
* _obj1
= 0;
1124 int tempbool2
= (int) FALSE
;
1125 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxConfigBase_ReadBool",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadBool. Expected _wxConfigBase_p.");
1138 _arg1
= wxString_in_helper(_obj1
);
1142 _arg2
= (bool ) tempbool2
;
1144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1145 _result
= (bool )wxConfigBase_ReadBool(_arg0
,*_arg1
,_arg2
);
1147 wxPyEndAllowThreads(__tstate
);
1148 if (PyErr_Occurred()) return NULL
;
1149 } _resultobj
= Py_BuildValue("i",_result
);
1157 #define wxConfigBase_SetExpandEnvVars(_swigobj,_swigarg0) (_swigobj->SetExpandEnvVars(_swigarg0))
1158 static PyObject
*_wrap_wxConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1159 PyObject
* _resultobj
;
1160 wxConfigBase
* _arg0
;
1161 bool _arg1
= (bool ) TRUE
;
1162 PyObject
* _argo0
= 0;
1163 int tempbool1
= (int) TRUE
;
1164 char *_kwnames
[] = { "self","bDoIt", NULL
};
1167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_SetExpandEnvVars",_kwnames
,&_argo0
,&tempbool1
))
1170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetExpandEnvVars. Expected _wxConfigBase_p.");
1176 _arg1
= (bool ) tempbool1
;
1178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1179 wxConfigBase_SetExpandEnvVars(_arg0
,_arg1
);
1181 wxPyEndAllowThreads(__tstate
);
1182 if (PyErr_Occurred()) return NULL
;
1183 } Py_INCREF(Py_None
);
1184 _resultobj
= Py_None
;
1188 #define wxConfigBase_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1189 static PyObject
*_wrap_wxConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1190 PyObject
* _resultobj
;
1191 wxConfigBase
* _arg0
;
1193 PyObject
* _argo0
= 0;
1194 PyObject
* _obj1
= 0;
1195 char *_kwnames
[] = { "self","strPath", NULL
};
1198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetPath",_kwnames
,&_argo0
,&_obj1
))
1201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetPath. Expected _wxConfigBase_p.");
1208 _arg1
= wxString_in_helper(_obj1
);
1213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1214 wxConfigBase_SetPath(_arg0
,*_arg1
);
1216 wxPyEndAllowThreads(__tstate
);
1217 if (PyErr_Occurred()) return NULL
;
1218 } Py_INCREF(Py_None
);
1219 _resultobj
= Py_None
;
1227 #define wxConfigBase_SetRecordDefaults(_swigobj,_swigarg0) (_swigobj->SetRecordDefaults(_swigarg0))
1228 static PyObject
*_wrap_wxConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1229 PyObject
* _resultobj
;
1230 wxConfigBase
* _arg0
;
1231 bool _arg1
= (bool ) TRUE
;
1232 PyObject
* _argo0
= 0;
1233 int tempbool1
= (int) TRUE
;
1234 char *_kwnames
[] = { "self","bDoIt", NULL
};
1237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_SetRecordDefaults",_kwnames
,&_argo0
,&tempbool1
))
1240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetRecordDefaults. Expected _wxConfigBase_p.");
1246 _arg1
= (bool ) tempbool1
;
1248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1249 wxConfigBase_SetRecordDefaults(_arg0
,_arg1
);
1251 wxPyEndAllowThreads(__tstate
);
1252 if (PyErr_Occurred()) return NULL
;
1253 } Py_INCREF(Py_None
);
1254 _resultobj
= Py_None
;
1258 #define wxConfigBase_SetAppName(_swigobj,_swigarg0) (_swigobj->SetAppName(_swigarg0))
1259 static PyObject
*_wrap_wxConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1260 PyObject
* _resultobj
;
1261 wxConfigBase
* _arg0
;
1263 PyObject
* _argo0
= 0;
1264 PyObject
* _obj1
= 0;
1265 char *_kwnames
[] = { "self","appName", NULL
};
1268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetAppName",_kwnames
,&_argo0
,&_obj1
))
1271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetAppName. Expected _wxConfigBase_p.");
1278 _arg1
= wxString_in_helper(_obj1
);
1283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1284 wxConfigBase_SetAppName(_arg0
,*_arg1
);
1286 wxPyEndAllowThreads(__tstate
);
1287 if (PyErr_Occurred()) return NULL
;
1288 } Py_INCREF(Py_None
);
1289 _resultobj
= Py_None
;
1297 #define wxConfigBase_SetVendorName(_swigobj,_swigarg0) (_swigobj->SetVendorName(_swigarg0))
1298 static PyObject
*_wrap_wxConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1299 PyObject
* _resultobj
;
1300 wxConfigBase
* _arg0
;
1302 PyObject
* _argo0
= 0;
1303 PyObject
* _obj1
= 0;
1304 char *_kwnames
[] = { "self","vendorName", NULL
};
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetVendorName",_kwnames
,&_argo0
,&_obj1
))
1310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetVendorName. Expected _wxConfigBase_p.");
1317 _arg1
= wxString_in_helper(_obj1
);
1322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1323 wxConfigBase_SetVendorName(_arg0
,*_arg1
);
1325 wxPyEndAllowThreads(__tstate
);
1326 if (PyErr_Occurred()) return NULL
;
1327 } Py_INCREF(Py_None
);
1328 _resultobj
= Py_None
;
1336 #define wxConfigBase_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1337 static PyObject
*_wrap_wxConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1338 PyObject
* _resultobj
;
1339 wxConfigBase
* _arg0
;
1341 PyObject
* _argo0
= 0;
1342 char *_kwnames
[] = { "self","style", NULL
};
1345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetStyle. Expected _wxConfigBase_p.");
1355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1356 wxConfigBase_SetStyle(_arg0
,_arg1
);
1358 wxPyEndAllowThreads(__tstate
);
1359 if (PyErr_Occurred()) return NULL
;
1360 } Py_INCREF(Py_None
);
1361 _resultobj
= Py_None
;
1365 #define wxConfigBase_GetStyle(_swigobj) (_swigobj->GetStyle())
1366 static PyObject
*_wrap_wxConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
* _resultobj
;
1369 wxConfigBase
* _arg0
;
1370 PyObject
* _argo0
= 0;
1371 char *_kwnames
[] = { "self", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetStyle",_kwnames
,&_argo0
))
1377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetStyle. Expected _wxConfigBase_p.");
1384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1385 _result
= (long )wxConfigBase_GetStyle(_arg0
);
1387 wxPyEndAllowThreads(__tstate
);
1388 if (PyErr_Occurred()) return NULL
;
1389 } _resultobj
= Py_BuildValue("l",_result
);
1393 #define wxConfigBase_Write(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1394 static PyObject
*_wrap_wxConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1395 PyObject
* _resultobj
;
1397 wxConfigBase
* _arg0
;
1400 PyObject
* _argo0
= 0;
1401 PyObject
* _obj1
= 0;
1402 PyObject
* _obj2
= 0;
1403 char *_kwnames
[] = { "self","key","value", NULL
};
1406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_Write",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Write. Expected _wxConfigBase_p.");
1416 _arg1
= wxString_in_helper(_obj1
);
1421 _arg2
= wxString_in_helper(_obj2
);
1426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1427 _result
= (bool )wxConfigBase_Write(_arg0
,*_arg1
,*_arg2
);
1429 wxPyEndAllowThreads(__tstate
);
1430 if (PyErr_Occurred()) return NULL
;
1431 } _resultobj
= Py_BuildValue("i",_result
);
1443 #define wxConfigBase_WriteInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1444 static PyObject
*_wrap_wxConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1445 PyObject
* _resultobj
;
1447 wxConfigBase
* _arg0
;
1450 PyObject
* _argo0
= 0;
1451 PyObject
* _obj1
= 0;
1452 char *_kwnames
[] = { "self","key","value", NULL
};
1455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxConfigBase_WriteInt",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteInt. Expected _wxConfigBase_p.");
1465 _arg1
= wxString_in_helper(_obj1
);
1470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1471 _result
= (bool )wxConfigBase_WriteInt(_arg0
,*_arg1
,_arg2
);
1473 wxPyEndAllowThreads(__tstate
);
1474 if (PyErr_Occurred()) return NULL
;
1475 } _resultobj
= Py_BuildValue("i",_result
);
1483 #define wxConfigBase_WriteFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1484 static PyObject
*_wrap_wxConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1485 PyObject
* _resultobj
;
1487 wxConfigBase
* _arg0
;
1490 PyObject
* _argo0
= 0;
1491 PyObject
* _obj1
= 0;
1492 char *_kwnames
[] = { "self","key","value", NULL
};
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOd:wxConfigBase_WriteFloat",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteFloat. Expected _wxConfigBase_p.");
1505 _arg1
= wxString_in_helper(_obj1
);
1510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1511 _result
= (bool )wxConfigBase_WriteFloat(_arg0
,*_arg1
,_arg2
);
1513 wxPyEndAllowThreads(__tstate
);
1514 if (PyErr_Occurred()) return NULL
;
1515 } _resultobj
= Py_BuildValue("i",_result
);
1523 #define wxConfigBase_WriteBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1524 static PyObject
*_wrap_wxConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1525 PyObject
* _resultobj
;
1527 wxConfigBase
* _arg0
;
1530 PyObject
* _argo0
= 0;
1531 PyObject
* _obj1
= 0;
1533 char *_kwnames
[] = { "self","key","value", NULL
};
1536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxConfigBase_WriteBool",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteBool. Expected _wxConfigBase_p.");
1546 _arg1
= wxString_in_helper(_obj1
);
1550 _arg2
= (bool ) tempbool2
;
1552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1553 _result
= (bool )wxConfigBase_WriteBool(_arg0
,*_arg1
,_arg2
);
1555 wxPyEndAllowThreads(__tstate
);
1556 if (PyErr_Occurred()) return NULL
;
1557 } _resultobj
= Py_BuildValue("i",_result
);
1565 #define wxConfigBase_GetEntryType(_swigobj,_swigarg0) (_swigobj->GetEntryType(_swigarg0))
1566 static PyObject
*_wrap_wxConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1567 PyObject
* _resultobj
;
1568 wxConfigBase::EntryType _result
;
1569 wxConfigBase
* _arg0
;
1571 PyObject
* _argo0
= 0;
1572 PyObject
* _obj1
= 0;
1573 char *_kwnames
[] = { "self","name", NULL
};
1576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_GetEntryType",_kwnames
,&_argo0
,&_obj1
))
1579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetEntryType. Expected _wxConfigBase_p.");
1586 _arg1
= wxString_in_helper(_obj1
);
1591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1592 _result
= (wxConfigBase::EntryType
)wxConfigBase_GetEntryType(_arg0
,*_arg1
);
1594 wxPyEndAllowThreads(__tstate
);
1595 if (PyErr_Occurred()) return NULL
;
1596 } _resultobj
= Py_BuildValue("i",_result
);
1604 #define wxConfigBase_RenameEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameEntry(_swigarg0,_swigarg1))
1605 static PyObject
*_wrap_wxConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1606 PyObject
* _resultobj
;
1608 wxConfigBase
* _arg0
;
1611 PyObject
* _argo0
= 0;
1612 PyObject
* _obj1
= 0;
1613 PyObject
* _obj2
= 0;
1614 char *_kwnames
[] = { "self","oldName","newName", NULL
};
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_RenameEntry",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_RenameEntry. Expected _wxConfigBase_p.");
1627 _arg1
= wxString_in_helper(_obj1
);
1632 _arg2
= wxString_in_helper(_obj2
);
1637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1638 _result
= (bool )wxConfigBase_RenameEntry(_arg0
,*_arg1
,*_arg2
);
1640 wxPyEndAllowThreads(__tstate
);
1641 if (PyErr_Occurred()) return NULL
;
1642 } _resultobj
= Py_BuildValue("i",_result
);
1654 #define wxConfigBase_RenameGroup(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameGroup(_swigarg0,_swigarg1))
1655 static PyObject
*_wrap_wxConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1656 PyObject
* _resultobj
;
1658 wxConfigBase
* _arg0
;
1661 PyObject
* _argo0
= 0;
1662 PyObject
* _obj1
= 0;
1663 PyObject
* _obj2
= 0;
1664 char *_kwnames
[] = { "self","oldName","newName", NULL
};
1667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_RenameGroup",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_RenameGroup. Expected _wxConfigBase_p.");
1677 _arg1
= wxString_in_helper(_obj1
);
1682 _arg2
= wxString_in_helper(_obj2
);
1687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1688 _result
= (bool )wxConfigBase_RenameGroup(_arg0
,*_arg1
,*_arg2
);
1690 wxPyEndAllowThreads(__tstate
);
1691 if (PyErr_Occurred()) return NULL
;
1692 } _resultobj
= Py_BuildValue("i",_result
);
1704 #define wxConfigBase_ExpandEnvVars(_swigobj,_swigarg0) (_swigobj->ExpandEnvVars(_swigarg0))
1705 static PyObject
*_wrap_wxConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1706 PyObject
* _resultobj
;
1708 wxConfigBase
* _arg0
;
1710 PyObject
* _argo0
= 0;
1711 PyObject
* _obj1
= 0;
1712 char *_kwnames
[] = { "self","str", NULL
};
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_ExpandEnvVars",_kwnames
,&_argo0
,&_obj1
))
1718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ExpandEnvVars. Expected _wxConfigBase_p.");
1725 _arg1
= wxString_in_helper(_obj1
);
1730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1731 _result
= new wxString (wxConfigBase_ExpandEnvVars(_arg0
,*_arg1
));
1733 wxPyEndAllowThreads(__tstate
);
1734 if (PyErr_Occurred()) return NULL
;
1737 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1739 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1752 static void *SwigwxConfigTowxConfigBase(void *ptr
) {
1755 src
= (wxConfig
*) ptr
;
1756 dest
= (wxConfigBase
*) src
;
1757 return (void *) dest
;
1760 #define new_wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1761 static PyObject
*_wrap_new_wxConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1762 PyObject
* _resultobj
;
1764 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
1765 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
1766 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1767 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
1768 long _arg4
= (long ) 0;
1769 PyObject
* _obj0
= 0;
1770 PyObject
* _obj1
= 0;
1771 PyObject
* _obj2
= 0;
1772 PyObject
* _obj3
= 0;
1773 char *_kwnames
[] = { "appName","vendorName","localFilename","globalFilename","style", NULL
};
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOl:new_wxConfig",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
))
1781 _arg0
= wxString_in_helper(_obj0
);
1787 _arg1
= wxString_in_helper(_obj1
);
1793 _arg2
= wxString_in_helper(_obj2
);
1799 _arg3
= wxString_in_helper(_obj3
);
1804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1805 _result
= (wxConfig
*)new_wxConfig(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
1807 wxPyEndAllowThreads(__tstate
);
1808 if (PyErr_Occurred()) return NULL
;
1810 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfig_p");
1811 _resultobj
= Py_BuildValue("s",_ptemp
);
1814 _resultobj
= Py_None
;
1835 #define delete_wxConfig(_swigobj) (delete _swigobj)
1836 static PyObject
*_wrap_delete_wxConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1837 PyObject
* _resultobj
;
1839 PyObject
* _argo0
= 0;
1840 char *_kwnames
[] = { "self", NULL
};
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxConfig",_kwnames
,&_argo0
))
1846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfig_p")) {
1848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxConfig. Expected _wxConfig_p.");
1853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1854 delete_wxConfig(_arg0
);
1856 wxPyEndAllowThreads(__tstate
);
1857 if (PyErr_Occurred()) return NULL
;
1858 } Py_INCREF(Py_None
);
1859 _resultobj
= Py_None
;
1863 static void *SwigwxFileConfigTowxConfigBase(void *ptr
) {
1866 src
= (wxFileConfig
*) ptr
;
1867 dest
= (wxConfigBase
*) src
;
1868 return (void *) dest
;
1871 #define new_wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1872 static PyObject
*_wrap_new_wxFileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
* _resultobj
;
1874 wxFileConfig
* _result
;
1875 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
1876 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
1877 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1878 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
1879 long _arg4
= (long ) 0;
1880 PyObject
* _obj0
= 0;
1881 PyObject
* _obj1
= 0;
1882 PyObject
* _obj2
= 0;
1883 PyObject
* _obj3
= 0;
1884 char *_kwnames
[] = { "appName","vendorName","localFilename","globalFilename","style", NULL
};
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOl:new_wxFileConfig",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
))
1892 _arg0
= wxString_in_helper(_obj0
);
1898 _arg1
= wxString_in_helper(_obj1
);
1904 _arg2
= wxString_in_helper(_obj2
);
1910 _arg3
= wxString_in_helper(_obj3
);
1915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1916 _result
= (wxFileConfig
*)new_wxFileConfig(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
1918 wxPyEndAllowThreads(__tstate
);
1919 if (PyErr_Occurred()) return NULL
;
1921 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileConfig_p");
1922 _resultobj
= Py_BuildValue("s",_ptemp
);
1925 _resultobj
= Py_None
;
1946 #define delete_wxFileConfig(_swigobj) (delete _swigobj)
1947 static PyObject
*_wrap_delete_wxFileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1948 PyObject
* _resultobj
;
1949 wxFileConfig
* _arg0
;
1950 PyObject
* _argo0
= 0;
1951 char *_kwnames
[] = { "self", NULL
};
1954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileConfig",_kwnames
,&_argo0
))
1957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileConfig_p")) {
1959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileConfig. Expected _wxFileConfig_p.");
1964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1965 delete_wxFileConfig(_arg0
);
1967 wxPyEndAllowThreads(__tstate
);
1968 if (PyErr_Occurred()) return NULL
;
1969 } Py_INCREF(Py_None
);
1970 _resultobj
= Py_None
;
1974 static PyObject
*_wrap_wxDateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
* _resultobj
;
1976 wxDateTime::Country _arg0
;
1977 char *_kwnames
[] = { "country", NULL
};
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateTime_SetCountry",_kwnames
,&_arg0
))
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1984 wxDateTime::SetCountry(_arg0
);
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) return NULL
;
1988 } Py_INCREF(Py_None
);
1989 _resultobj
= Py_None
;
1993 static PyObject
*_wrap_wxDateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1994 PyObject
* _resultobj
;
1995 wxDateTime::Country _result
;
1996 char *_kwnames
[] = { NULL
};
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_GetCountry",_kwnames
))
2002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2003 _result
= (wxDateTime::Country
)wxDateTime::GetCountry();
2005 wxPyEndAllowThreads(__tstate
);
2006 if (PyErr_Occurred()) return NULL
;
2007 } _resultobj
= Py_BuildValue("i",_result
);
2011 static PyObject
*_wrap_wxDateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2012 PyObject
* _resultobj
;
2014 wxDateTime::Country _arg0
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2015 char *_kwnames
[] = { "country", NULL
};
2018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_IsWestEuropeanCountry",_kwnames
,&_arg0
))
2021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 _result
= (bool )wxDateTime::IsWestEuropeanCountry(_arg0
);
2024 wxPyEndAllowThreads(__tstate
);
2025 if (PyErr_Occurred()) return NULL
;
2026 } _resultobj
= Py_BuildValue("i",_result
);
2030 static PyObject
*_wrap_wxDateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2031 PyObject
* _resultobj
;
2033 wxDateTime::Calendar _arg0
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2034 char *_kwnames
[] = { "cal", NULL
};
2037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCurrentYear",_kwnames
,&_arg0
))
2040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2041 _result
= (int )wxDateTime::GetCurrentYear(_arg0
);
2043 wxPyEndAllowThreads(__tstate
);
2044 if (PyErr_Occurred()) return NULL
;
2045 } _resultobj
= Py_BuildValue("i",_result
);
2049 static PyObject
*_wrap_wxDateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
* _resultobj
;
2053 char *_kwnames
[] = { "year", NULL
};
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateTime_ConvertYearToBC",_kwnames
,&_arg0
))
2059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2060 _result
= (int )wxDateTime::ConvertYearToBC(_arg0
);
2062 wxPyEndAllowThreads(__tstate
);
2063 if (PyErr_Occurred()) return NULL
;
2064 } _resultobj
= Py_BuildValue("i",_result
);
2068 static PyObject
*_wrap_wxDateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
* _resultobj
;
2070 wxDateTime::Month _result
;
2071 wxDateTime::Calendar _arg0
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2072 char *_kwnames
[] = { "cal", NULL
};
2075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCurrentMonth",_kwnames
,&_arg0
))
2078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2079 _result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(_arg0
);
2081 wxPyEndAllowThreads(__tstate
);
2082 if (PyErr_Occurred()) return NULL
;
2083 } _resultobj
= Py_BuildValue("i",_result
);
2087 static PyObject
*_wrap_wxDateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2088 PyObject
* _resultobj
;
2090 int _arg0
= (int ) wxDateTime::Inv_Year
;
2091 wxDateTime::Calendar _arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2092 char *_kwnames
[] = { "year","cal", NULL
};
2095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_IsLeapYear",_kwnames
,&_arg0
,&_arg1
))
2098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2099 _result
= (bool )wxDateTime::IsLeapYear(_arg0
,_arg1
);
2101 wxPyEndAllowThreads(__tstate
);
2102 if (PyErr_Occurred()) return NULL
;
2103 } _resultobj
= Py_BuildValue("i",_result
);
2107 static PyObject
*_wrap_wxDateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2108 PyObject
* _resultobj
;
2110 int _arg0
= (int ) wxDateTime::Inv_Year
;
2111 char *_kwnames
[] = { "year", NULL
};
2114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCentury",_kwnames
,&_arg0
))
2117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2118 _result
= (int )wxDateTime::GetCentury(_arg0
);
2120 wxPyEndAllowThreads(__tstate
);
2121 if (PyErr_Occurred()) return NULL
;
2122 } _resultobj
= Py_BuildValue("i",_result
);
2126 static PyObject
*_wrap_wxDateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
* _resultobj
;
2128 wxDateTime::wxDateTime_t _result
;
2130 wxDateTime::Calendar _arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2131 char *_kwnames
[] = { "year","cal", NULL
};
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetNumberOfDaysinYear",_kwnames
,&_arg0
,&_arg1
))
2137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2138 _result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(_arg0
,_arg1
);
2140 wxPyEndAllowThreads(__tstate
);
2141 if (PyErr_Occurred()) return NULL
;
2142 } _resultobj
= Py_BuildValue("h",_result
);
2146 static PyObject
*_wrap_wxDateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2147 PyObject
* _resultobj
;
2148 wxDateTime::wxDateTime_t _result
;
2149 wxDateTime::Month _arg0
;
2150 int _arg1
= (int ) wxDateTime::Inv_Year
;
2151 wxDateTime::Calendar _arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2152 char *_kwnames
[] = { "month","year","cal", NULL
};
2155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|ii:wxDateTime_GetNumberOfDaysInMonth",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2159 _result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(_arg0
,_arg1
,_arg2
);
2161 wxPyEndAllowThreads(__tstate
);
2162 if (PyErr_Occurred()) return NULL
;
2163 } _resultobj
= Py_BuildValue("h",_result
);
2167 static PyObject
*_wrap_wxDateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
* _resultobj
;
2170 wxDateTime::Month _arg0
;
2171 wxDateTime::NameFlags _arg1
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
2172 char *_kwnames
[] = { "month","flags", NULL
};
2175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetMonthName",_kwnames
,&_arg0
,&_arg1
))
2178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2179 _result
= new wxString (wxDateTime::GetMonthName(_arg0
,_arg1
));
2181 wxPyEndAllowThreads(__tstate
);
2182 if (PyErr_Occurred()) return NULL
;
2185 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2187 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2196 static PyObject
*_wrap_wxDateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
* _resultobj
;
2199 wxDateTime::WeekDay _arg0
;
2200 wxDateTime::NameFlags _arg1
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
2201 char *_kwnames
[] = { "weekday","flags", NULL
};
2204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetWeekDayName",_kwnames
,&_arg0
,&_arg1
))
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 _result
= new wxString (wxDateTime::GetWeekDayName(_arg0
,_arg1
));
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) return NULL
;
2214 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2216 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2225 static PyObject
*_wrap_wxDateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
* _resultobj
;
2229 PyObject
* _obj0
= 0;
2230 PyObject
* _obj1
= 0;
2231 char *_kwnames
[] = { "OUTPUT","OUTPUT", NULL
};
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_GetAmPmStrings",_kwnames
,&_obj0
,&_obj1
))
2237 _arg0
= wxString_in_helper(_obj0
);
2242 _arg1
= wxString_in_helper(_obj1
);
2247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2248 wxDateTime::GetAmPmStrings(_arg0
,_arg1
);
2250 wxPyEndAllowThreads(__tstate
);
2251 if (PyErr_Occurred()) return NULL
;
2252 } Py_INCREF(Py_None
);
2253 _resultobj
= Py_None
;
2265 static PyObject
*_wrap_wxDateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2266 PyObject
* _resultobj
;
2268 int _arg0
= (int ) wxDateTime::Inv_Year
;
2269 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2270 char *_kwnames
[] = { "year","country", NULL
};
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_IsDSTApplicable",_kwnames
,&_arg0
,&_arg1
))
2276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2277 _result
= (bool )wxDateTime::IsDSTApplicable(_arg0
,_arg1
);
2279 wxPyEndAllowThreads(__tstate
);
2280 if (PyErr_Occurred()) return NULL
;
2281 } _resultobj
= Py_BuildValue("i",_result
);
2285 static PyObject
*_wrap_wxDateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
* _resultobj
;
2287 wxDateTime
* _result
;
2288 int _arg0
= (int ) wxDateTime::Inv_Year
;
2289 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2290 char *_kwnames
[] = { "year","country", NULL
};
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_GetBeginDST",_kwnames
,&_arg0
,&_arg1
))
2297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2298 _result
= new wxDateTime (wxDateTime::GetBeginDST(_arg0
,_arg1
));
2300 wxPyEndAllowThreads(__tstate
);
2301 if (PyErr_Occurred()) return NULL
;
2302 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2303 _resultobj
= Py_BuildValue("s",_ptemp
);
2307 static PyObject
*_wrap_wxDateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
* _resultobj
;
2309 wxDateTime
* _result
;
2310 int _arg0
= (int ) wxDateTime::Inv_Year
;
2311 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2312 char *_kwnames
[] = { "year","country", NULL
};
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_GetEndDST",_kwnames
,&_arg0
,&_arg1
))
2319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2320 _result
= new wxDateTime (wxDateTime::GetEndDST(_arg0
,_arg1
));
2322 wxPyEndAllowThreads(__tstate
);
2323 if (PyErr_Occurred()) return NULL
;
2324 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2325 _resultobj
= Py_BuildValue("s",_ptemp
);
2329 static PyObject
*_wrap_wxDateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2330 PyObject
* _resultobj
;
2331 wxDateTime
* _result
;
2332 char *_kwnames
[] = { NULL
};
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_Now",_kwnames
))
2339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2340 _result
= new wxDateTime (wxDateTime::Now());
2342 wxPyEndAllowThreads(__tstate
);
2343 if (PyErr_Occurred()) return NULL
;
2344 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2345 _resultobj
= Py_BuildValue("s",_ptemp
);
2349 static PyObject
*_wrap_wxDateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
* _resultobj
;
2351 wxDateTime
* _result
;
2352 char *_kwnames
[] = { NULL
};
2356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_Today",_kwnames
))
2359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2360 _result
= new wxDateTime (wxDateTime::Today());
2362 wxPyEndAllowThreads(__tstate
);
2363 if (PyErr_Occurred()) return NULL
;
2364 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2365 _resultobj
= Py_BuildValue("s",_ptemp
);
2369 #define new_wxDateTime() (new wxDateTime())
2370 static PyObject
*_wrap_new_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
* _resultobj
;
2372 wxDateTime
* _result
;
2373 char *_kwnames
[] = { NULL
};
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDateTime",_kwnames
))
2380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2381 _result
= (wxDateTime
*)new_wxDateTime();
2383 wxPyEndAllowThreads(__tstate
);
2384 if (PyErr_Occurred()) return NULL
;
2386 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2387 _resultobj
= Py_BuildValue("s",_ptemp
);
2390 _resultobj
= Py_None
;
2395 #define new_wxDateTimeFromTimeT(_swigarg0) (new wxDateTime(_swigarg0))
2396 static PyObject
*_wrap_new_wxDateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
* _resultobj
;
2398 wxDateTime
* _result
;
2400 char *_kwnames
[] = { "timet", NULL
};
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxDateTimeFromTimeT",_kwnames
,&_arg0
))
2407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2408 _result
= (wxDateTime
*)new_wxDateTimeFromTimeT(_arg0
);
2410 wxPyEndAllowThreads(__tstate
);
2411 if (PyErr_Occurred()) return NULL
;
2413 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2414 _resultobj
= Py_BuildValue("s",_ptemp
);
2417 _resultobj
= Py_None
;
2422 #define new_wxDateTimeFromJDN(_swigarg0) (new wxDateTime(_swigarg0))
2423 static PyObject
*_wrap_new_wxDateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
* _resultobj
;
2425 wxDateTime
* _result
;
2427 char *_kwnames
[] = { "jdn", NULL
};
2431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"d:new_wxDateTimeFromJDN",_kwnames
,&_arg0
))
2434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2435 _result
= (wxDateTime
*)new_wxDateTimeFromJDN(_arg0
);
2437 wxPyEndAllowThreads(__tstate
);
2438 if (PyErr_Occurred()) return NULL
;
2440 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2441 _resultobj
= Py_BuildValue("s",_ptemp
);
2444 _resultobj
= Py_None
;
2449 #define new_wxDateTimeFromHMS(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2450 static PyObject
*_wrap_new_wxDateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
* _resultobj
;
2452 wxDateTime
* _result
;
2453 wxDateTime::wxDateTime_t _arg0
;
2454 wxDateTime::wxDateTime_t _arg1
= (wxDateTime::wxDateTime_t
) 0;
2455 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
2456 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2457 char *_kwnames
[] = { "hour","minute","second","millisec", NULL
};
2461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|hhh:new_wxDateTimeFromHMS",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2465 _result
= (wxDateTime
*)new_wxDateTimeFromHMS(_arg0
,_arg1
,_arg2
,_arg3
);
2467 wxPyEndAllowThreads(__tstate
);
2468 if (PyErr_Occurred()) return NULL
;
2470 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2471 _resultobj
= Py_BuildValue("s",_ptemp
);
2474 _resultobj
= Py_None
;
2479 #define new_wxDateTimeFromDMY(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2480 static PyObject
*_wrap_new_wxDateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2481 PyObject
* _resultobj
;
2482 wxDateTime
* _result
;
2483 wxDateTime::wxDateTime_t _arg0
;
2484 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
2485 int _arg2
= (int ) wxDateTime::Inv_Year
;
2486 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2487 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2488 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
2489 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
2490 char *_kwnames
[] = { "day","month","year","hour","minute","second","millisec", NULL
};
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|iihhhh:new_wxDateTimeFromDMY",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2498 _result
= (wxDateTime
*)new_wxDateTimeFromDMY(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2500 wxPyEndAllowThreads(__tstate
);
2501 if (PyErr_Occurred()) return NULL
;
2503 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2504 _resultobj
= Py_BuildValue("s",_ptemp
);
2507 _resultobj
= Py_None
;
2512 #define delete_wxDateTime(_swigobj) (delete _swigobj)
2513 static PyObject
*_wrap_delete_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
* _resultobj
;
2516 PyObject
* _argo0
= 0;
2517 char *_kwnames
[] = { "self", NULL
};
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateTime",_kwnames
,&_argo0
))
2523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateTime. Expected _wxDateTime_p.");
2530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2531 delete_wxDateTime(_arg0
);
2533 wxPyEndAllowThreads(__tstate
);
2534 if (PyErr_Occurred()) return NULL
;
2535 } Py_INCREF(Py_None
);
2536 _resultobj
= Py_None
;
2540 #define wxDateTime_SetToCurrent(_swigobj) (_swigobj->SetToCurrent())
2541 static PyObject
*_wrap_wxDateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
* _resultobj
;
2543 wxDateTime
* _result
;
2545 PyObject
* _argo0
= 0;
2546 char *_kwnames
[] = { "self", NULL
};
2550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_SetToCurrent",_kwnames
,&_argo0
))
2553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToCurrent. Expected _wxDateTime_p.");
2560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2561 wxDateTime
& _result_ref
= wxDateTime_SetToCurrent(_arg0
);
2562 _result
= (wxDateTime
*) &_result_ref
;
2564 wxPyEndAllowThreads(__tstate
);
2565 if (PyErr_Occurred()) return NULL
;
2567 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2568 _resultobj
= Py_BuildValue("s",_ptemp
);
2571 _resultobj
= Py_None
;
2576 #define wxDateTime_SetTimeT(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2577 static PyObject
*_wrap_wxDateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2578 PyObject
* _resultobj
;
2579 wxDateTime
* _result
;
2582 PyObject
* _argo0
= 0;
2583 char *_kwnames
[] = { "self","timet", NULL
};
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetTimeT",_kwnames
,&_argo0
,&_arg1
))
2590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetTimeT. Expected _wxDateTime_p.");
2597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2598 wxDateTime
& _result_ref
= wxDateTime_SetTimeT(_arg0
,_arg1
);
2599 _result
= (wxDateTime
*) &_result_ref
;
2601 wxPyEndAllowThreads(__tstate
);
2602 if (PyErr_Occurred()) return NULL
;
2604 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2605 _resultobj
= Py_BuildValue("s",_ptemp
);
2608 _resultobj
= Py_None
;
2613 #define wxDateTime_SetJDN(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2614 static PyObject
*_wrap_wxDateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
* _resultobj
;
2616 wxDateTime
* _result
;
2619 PyObject
* _argo0
= 0;
2620 char *_kwnames
[] = { "self","jdn", NULL
};
2624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxDateTime_SetJDN",_kwnames
,&_argo0
,&_arg1
))
2627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetJDN. Expected _wxDateTime_p.");
2634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2635 wxDateTime
& _result_ref
= wxDateTime_SetJDN(_arg0
,_arg1
);
2636 _result
= (wxDateTime
*) &_result_ref
;
2638 wxPyEndAllowThreads(__tstate
);
2639 if (PyErr_Occurred()) return NULL
;
2641 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2642 _resultobj
= Py_BuildValue("s",_ptemp
);
2645 _resultobj
= Py_None
;
2650 #define wxDateTime_SetHMS(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2651 static PyObject
*_wrap_wxDateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
* _resultobj
;
2653 wxDateTime
* _result
;
2655 wxDateTime::wxDateTime_t _arg1
;
2656 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
2657 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2658 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2659 PyObject
* _argo0
= 0;
2660 char *_kwnames
[] = { "self","hour","minute","second","millisec", NULL
};
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|hhh:wxDateTime_SetHMS",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHMS. Expected _wxDateTime_p.");
2674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2675 wxDateTime
& _result_ref
= wxDateTime_SetHMS(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2676 _result
= (wxDateTime
*) &_result_ref
;
2678 wxPyEndAllowThreads(__tstate
);
2679 if (PyErr_Occurred()) return NULL
;
2681 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2682 _resultobj
= Py_BuildValue("s",_ptemp
);
2685 _resultobj
= Py_None
;
2690 #define wxDateTime_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2691 static PyObject
*_wrap_wxDateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2692 PyObject
* _resultobj
;
2693 wxDateTime
* _result
;
2695 wxDateTime::wxDateTime_t _arg1
;
2696 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
2697 int _arg3
= (int ) wxDateTime::Inv_Year
;
2698 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2699 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
2700 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
2701 wxDateTime::wxDateTime_t _arg7
= (wxDateTime::wxDateTime_t
) 0;
2702 PyObject
* _argo0
= 0;
2703 char *_kwnames
[] = { "self","day","month","year","hour","minute","second","millisec", NULL
};
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|iihhhh:wxDateTime_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
2710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Set. Expected _wxDateTime_p.");
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 wxDateTime
& _result_ref
= wxDateTime_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
2719 _result
= (wxDateTime
*) &_result_ref
;
2721 wxPyEndAllowThreads(__tstate
);
2722 if (PyErr_Occurred()) return NULL
;
2724 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2725 _resultobj
= Py_BuildValue("s",_ptemp
);
2728 _resultobj
= Py_None
;
2733 #define wxDateTime_ResetTime(_swigobj) (_swigobj->ResetTime())
2734 static PyObject
*_wrap_wxDateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
* _resultobj
;
2736 wxDateTime
* _result
;
2738 PyObject
* _argo0
= 0;
2739 char *_kwnames
[] = { "self", NULL
};
2743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_ResetTime",_kwnames
,&_argo0
))
2746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ResetTime. Expected _wxDateTime_p.");
2753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2754 wxDateTime
& _result_ref
= wxDateTime_ResetTime(_arg0
);
2755 _result
= (wxDateTime
*) &_result_ref
;
2757 wxPyEndAllowThreads(__tstate
);
2758 if (PyErr_Occurred()) return NULL
;
2760 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2761 _resultobj
= Py_BuildValue("s",_ptemp
);
2764 _resultobj
= Py_None
;
2769 #define wxDateTime_SetYear(_swigobj,_swigarg0) (_swigobj->SetYear(_swigarg0))
2770 static PyObject
*_wrap_wxDateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2771 PyObject
* _resultobj
;
2772 wxDateTime
* _result
;
2775 PyObject
* _argo0
= 0;
2776 char *_kwnames
[] = { "self","year", NULL
};
2780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetYear",_kwnames
,&_argo0
,&_arg1
))
2783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetYear. Expected _wxDateTime_p.");
2790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2791 wxDateTime
& _result_ref
= wxDateTime_SetYear(_arg0
,_arg1
);
2792 _result
= (wxDateTime
*) &_result_ref
;
2794 wxPyEndAllowThreads(__tstate
);
2795 if (PyErr_Occurred()) return NULL
;
2797 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2798 _resultobj
= Py_BuildValue("s",_ptemp
);
2801 _resultobj
= Py_None
;
2806 #define wxDateTime_SetMonth(_swigobj,_swigarg0) (_swigobj->SetMonth(_swigarg0))
2807 static PyObject
*_wrap_wxDateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
* _resultobj
;
2809 wxDateTime
* _result
;
2811 wxDateTime::Month _arg1
;
2812 PyObject
* _argo0
= 0;
2813 char *_kwnames
[] = { "self","month", NULL
};
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetMonth",_kwnames
,&_argo0
,&_arg1
))
2820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMonth. Expected _wxDateTime_p.");
2827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2828 wxDateTime
& _result_ref
= wxDateTime_SetMonth(_arg0
,_arg1
);
2829 _result
= (wxDateTime
*) &_result_ref
;
2831 wxPyEndAllowThreads(__tstate
);
2832 if (PyErr_Occurred()) return NULL
;
2834 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2835 _resultobj
= Py_BuildValue("s",_ptemp
);
2838 _resultobj
= Py_None
;
2843 #define wxDateTime_SetDay(_swigobj,_swigarg0) (_swigobj->SetDay(_swigarg0))
2844 static PyObject
*_wrap_wxDateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2845 PyObject
* _resultobj
;
2846 wxDateTime
* _result
;
2848 wxDateTime::wxDateTime_t _arg1
;
2849 PyObject
* _argo0
= 0;
2850 char *_kwnames
[] = { "self","day", NULL
};
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetDay",_kwnames
,&_argo0
,&_arg1
))
2857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetDay. Expected _wxDateTime_p.");
2864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2865 wxDateTime
& _result_ref
= wxDateTime_SetDay(_arg0
,_arg1
);
2866 _result
= (wxDateTime
*) &_result_ref
;
2868 wxPyEndAllowThreads(__tstate
);
2869 if (PyErr_Occurred()) return NULL
;
2871 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2872 _resultobj
= Py_BuildValue("s",_ptemp
);
2875 _resultobj
= Py_None
;
2880 #define wxDateTime_SetHour(_swigobj,_swigarg0) (_swigobj->SetHour(_swigarg0))
2881 static PyObject
*_wrap_wxDateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
* _resultobj
;
2883 wxDateTime
* _result
;
2885 wxDateTime::wxDateTime_t _arg1
;
2886 PyObject
* _argo0
= 0;
2887 char *_kwnames
[] = { "self","hour", NULL
};
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetHour",_kwnames
,&_argo0
,&_arg1
))
2894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHour. Expected _wxDateTime_p.");
2901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2902 wxDateTime
& _result_ref
= wxDateTime_SetHour(_arg0
,_arg1
);
2903 _result
= (wxDateTime
*) &_result_ref
;
2905 wxPyEndAllowThreads(__tstate
);
2906 if (PyErr_Occurred()) return NULL
;
2908 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2909 _resultobj
= Py_BuildValue("s",_ptemp
);
2912 _resultobj
= Py_None
;
2917 #define wxDateTime_SetMinute(_swigobj,_swigarg0) (_swigobj->SetMinute(_swigarg0))
2918 static PyObject
*_wrap_wxDateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
* _resultobj
;
2920 wxDateTime
* _result
;
2922 wxDateTime::wxDateTime_t _arg1
;
2923 PyObject
* _argo0
= 0;
2924 char *_kwnames
[] = { "self","minute", NULL
};
2928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMinute",_kwnames
,&_argo0
,&_arg1
))
2931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMinute. Expected _wxDateTime_p.");
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 wxDateTime
& _result_ref
= wxDateTime_SetMinute(_arg0
,_arg1
);
2940 _result
= (wxDateTime
*) &_result_ref
;
2942 wxPyEndAllowThreads(__tstate
);
2943 if (PyErr_Occurred()) return NULL
;
2945 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2946 _resultobj
= Py_BuildValue("s",_ptemp
);
2949 _resultobj
= Py_None
;
2954 #define wxDateTime_SetSecond(_swigobj,_swigarg0) (_swigobj->SetSecond(_swigarg0))
2955 static PyObject
*_wrap_wxDateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2956 PyObject
* _resultobj
;
2957 wxDateTime
* _result
;
2959 wxDateTime::wxDateTime_t _arg1
;
2960 PyObject
* _argo0
= 0;
2961 char *_kwnames
[] = { "self","second", NULL
};
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetSecond",_kwnames
,&_argo0
,&_arg1
))
2968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetSecond. Expected _wxDateTime_p.");
2975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2976 wxDateTime
& _result_ref
= wxDateTime_SetSecond(_arg0
,_arg1
);
2977 _result
= (wxDateTime
*) &_result_ref
;
2979 wxPyEndAllowThreads(__tstate
);
2980 if (PyErr_Occurred()) return NULL
;
2982 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2983 _resultobj
= Py_BuildValue("s",_ptemp
);
2986 _resultobj
= Py_None
;
2991 #define wxDateTime_SetMillisecond(_swigobj,_swigarg0) (_swigobj->SetMillisecond(_swigarg0))
2992 static PyObject
*_wrap_wxDateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2993 PyObject
* _resultobj
;
2994 wxDateTime
* _result
;
2996 wxDateTime::wxDateTime_t _arg1
;
2997 PyObject
* _argo0
= 0;
2998 char *_kwnames
[] = { "self","millisecond", NULL
};
3002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMillisecond",_kwnames
,&_argo0
,&_arg1
))
3005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMillisecond. Expected _wxDateTime_p.");
3012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3013 wxDateTime
& _result_ref
= wxDateTime_SetMillisecond(_arg0
,_arg1
);
3014 _result
= (wxDateTime
*) &_result_ref
;
3016 wxPyEndAllowThreads(__tstate
);
3017 if (PyErr_Occurred()) return NULL
;
3019 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3020 _resultobj
= Py_BuildValue("s",_ptemp
);
3023 _resultobj
= Py_None
;
3028 #define wxDateTime_SetToWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->SetToWeekDayInSameWeek(_swigarg0))
3029 static PyObject
*_wrap_wxDateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3030 PyObject
* _resultobj
;
3031 wxDateTime
* _result
;
3033 wxDateTime::WeekDay _arg1
;
3034 PyObject
* _argo0
= 0;
3035 char *_kwnames
[] = { "self","weekday", NULL
};
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
))
3042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDayInSameWeek. Expected _wxDateTime_p.");
3049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3050 wxDateTime
& _result_ref
= wxDateTime_SetToWeekDayInSameWeek(_arg0
,_arg1
);
3051 _result
= (wxDateTime
*) &_result_ref
;
3053 wxPyEndAllowThreads(__tstate
);
3054 if (PyErr_Occurred()) return NULL
;
3056 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3057 _resultobj
= Py_BuildValue("s",_ptemp
);
3060 _resultobj
= Py_None
;
3065 #define wxDateTime_GetWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->GetWeekDayInSameWeek(_swigarg0))
3066 static PyObject
*_wrap_wxDateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
* _resultobj
;
3068 wxDateTime
* _result
;
3070 wxDateTime::WeekDay _arg1
;
3071 PyObject
* _argo0
= 0;
3072 char *_kwnames
[] = { "self","weekday", NULL
};
3076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
))
3079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDayInSameWeek. Expected _wxDateTime_p.");
3086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3087 _result
= new wxDateTime (wxDateTime_GetWeekDayInSameWeek(_arg0
,_arg1
));
3089 wxPyEndAllowThreads(__tstate
);
3090 if (PyErr_Occurred()) return NULL
;
3091 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3092 _resultobj
= Py_BuildValue("s",_ptemp
);
3096 #define wxDateTime_SetToNextWeekDay(_swigobj,_swigarg0) (_swigobj->SetToNextWeekDay(_swigarg0))
3097 static PyObject
*_wrap_wxDateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
* _resultobj
;
3099 wxDateTime
* _result
;
3101 wxDateTime::WeekDay _arg1
;
3102 PyObject
* _argo0
= 0;
3103 char *_kwnames
[] = { "self","weekday", NULL
};
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
3110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToNextWeekDay. Expected _wxDateTime_p.");
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 wxDateTime
& _result_ref
= wxDateTime_SetToNextWeekDay(_arg0
,_arg1
);
3119 _result
= (wxDateTime
*) &_result_ref
;
3121 wxPyEndAllowThreads(__tstate
);
3122 if (PyErr_Occurred()) return NULL
;
3124 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3125 _resultobj
= Py_BuildValue("s",_ptemp
);
3128 _resultobj
= Py_None
;
3133 #define wxDateTime_GetNextWeekDay(_swigobj,_swigarg0) (_swigobj->GetNextWeekDay(_swigarg0))
3134 static PyObject
*_wrap_wxDateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3135 PyObject
* _resultobj
;
3136 wxDateTime
* _result
;
3138 wxDateTime::WeekDay _arg1
;
3139 PyObject
* _argo0
= 0;
3140 char *_kwnames
[] = { "self","weekday", NULL
};
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
3147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetNextWeekDay. Expected _wxDateTime_p.");
3154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3155 _result
= new wxDateTime (wxDateTime_GetNextWeekDay(_arg0
,_arg1
));
3157 wxPyEndAllowThreads(__tstate
);
3158 if (PyErr_Occurred()) return NULL
;
3159 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3160 _resultobj
= Py_BuildValue("s",_ptemp
);
3164 #define wxDateTime_SetToPrevWeekDay(_swigobj,_swigarg0) (_swigobj->SetToPrevWeekDay(_swigarg0))
3165 static PyObject
*_wrap_wxDateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
* _resultobj
;
3167 wxDateTime
* _result
;
3169 wxDateTime::WeekDay _arg1
;
3170 PyObject
* _argo0
= 0;
3171 char *_kwnames
[] = { "self","weekday", NULL
};
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToPrevWeekDay. Expected _wxDateTime_p.");
3185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 wxDateTime
& _result_ref
= wxDateTime_SetToPrevWeekDay(_arg0
,_arg1
);
3187 _result
= (wxDateTime
*) &_result_ref
;
3189 wxPyEndAllowThreads(__tstate
);
3190 if (PyErr_Occurred()) return NULL
;
3192 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3193 _resultobj
= Py_BuildValue("s",_ptemp
);
3196 _resultobj
= Py_None
;
3201 #define wxDateTime_GetPrevWeekDay(_swigobj,_swigarg0) (_swigobj->GetPrevWeekDay(_swigarg0))
3202 static PyObject
*_wrap_wxDateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3203 PyObject
* _resultobj
;
3204 wxDateTime
* _result
;
3206 wxDateTime::WeekDay _arg1
;
3207 PyObject
* _argo0
= 0;
3208 char *_kwnames
[] = { "self","weekday", NULL
};
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetPrevWeekDay. Expected _wxDateTime_p.");
3222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3223 _result
= new wxDateTime (wxDateTime_GetPrevWeekDay(_arg0
,_arg1
));
3225 wxPyEndAllowThreads(__tstate
);
3226 if (PyErr_Occurred()) return NULL
;
3227 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3228 _resultobj
= Py_BuildValue("s",_ptemp
);
3232 #define wxDateTime_SetToWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetToWeekDay(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3233 static PyObject
*_wrap_wxDateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
* _resultobj
;
3237 wxDateTime::WeekDay _arg1
;
3238 int _arg2
= (int ) 1;
3239 wxDateTime::Month _arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3240 int _arg4
= (int ) wxDateTime::Inv_Year
;
3241 PyObject
* _argo0
= 0;
3242 char *_kwnames
[] = { "self","weekday","n","month","year", NULL
};
3245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iii:wxDateTime_SetToWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDay. Expected _wxDateTime_p.");
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 _result
= (bool )wxDateTime_SetToWeekDay(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) return NULL
;
3260 } _resultobj
= Py_BuildValue("i",_result
);
3264 #define wxDateTime_SetToLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetToLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3265 static PyObject
*_wrap_wxDateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
* _resultobj
;
3269 wxDateTime::WeekDay _arg1
;
3270 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3271 int _arg3
= (int ) wxDateTime::Inv_Year
;
3272 PyObject
* _argo0
= 0;
3273 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_SetToLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastWeekDay. Expected _wxDateTime_p.");
3286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3287 _result
= (bool )wxDateTime_SetToLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
);
3289 wxPyEndAllowThreads(__tstate
);
3290 if (PyErr_Occurred()) return NULL
;
3291 } _resultobj
= Py_BuildValue("i",_result
);
3295 #define wxDateTime_GetLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3296 static PyObject
*_wrap_wxDateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
* _resultobj
;
3298 wxDateTime
* _result
;
3300 wxDateTime::WeekDay _arg1
;
3301 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3302 int _arg3
= (int ) wxDateTime::Inv_Year
;
3303 PyObject
* _argo0
= 0;
3304 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_GetLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastWeekDay. Expected _wxDateTime_p.");
3318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3319 _result
= new wxDateTime (wxDateTime_GetLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
));
3321 wxPyEndAllowThreads(__tstate
);
3322 if (PyErr_Occurred()) return NULL
;
3323 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3324 _resultobj
= Py_BuildValue("s",_ptemp
);
3328 #define wxDateTime_SetToTheWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToTheWeek(_swigarg0,_swigarg1))
3329 static PyObject
*_wrap_wxDateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3330 PyObject
* _resultobj
;
3333 wxDateTime::wxDateTime_t _arg1
;
3334 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3335 PyObject
* _argo0
= 0;
3336 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_SetToTheWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToTheWeek. Expected _wxDateTime_p.");
3349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3350 _result
= (bool )wxDateTime_SetToTheWeek(_arg0
,_arg1
,_arg2
);
3352 wxPyEndAllowThreads(__tstate
);
3353 if (PyErr_Occurred()) return NULL
;
3354 } _resultobj
= Py_BuildValue("i",_result
);
3358 #define wxDateTime_GetWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeek(_swigarg0,_swigarg1))
3359 static PyObject
*_wrap_wxDateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3360 PyObject
* _resultobj
;
3361 wxDateTime
* _result
;
3363 wxDateTime::wxDateTime_t _arg1
;
3364 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3365 PyObject
* _argo0
= 0;
3366 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_GetWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeek. Expected _wxDateTime_p.");
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 _result
= new wxDateTime (wxDateTime_GetWeek(_arg0
,_arg1
,_arg2
));
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) return NULL
;
3385 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3386 _resultobj
= Py_BuildValue("s",_ptemp
);
3390 #define wxDateTime_SetToLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToLastMonthDay(_swigarg0,_swigarg1))
3391 static PyObject
*_wrap_wxDateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
* _resultobj
;
3393 wxDateTime
* _result
;
3395 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3396 int _arg2
= (int ) wxDateTime::Inv_Year
;
3397 PyObject
* _argo0
= 0;
3398 char *_kwnames
[] = { "self","month","year", NULL
};
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_SetToLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastMonthDay. Expected _wxDateTime_p.");
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 wxDateTime
& _result_ref
= wxDateTime_SetToLastMonthDay(_arg0
,_arg1
,_arg2
);
3414 _result
= (wxDateTime
*) &_result_ref
;
3416 wxPyEndAllowThreads(__tstate
);
3417 if (PyErr_Occurred()) return NULL
;
3419 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3420 _resultobj
= Py_BuildValue("s",_ptemp
);
3423 _resultobj
= Py_None
;
3428 #define wxDateTime_GetLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastMonthDay(_swigarg0,_swigarg1))
3429 static PyObject
*_wrap_wxDateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3430 PyObject
* _resultobj
;
3431 wxDateTime
* _result
;
3433 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3434 int _arg2
= (int ) wxDateTime::Inv_Year
;
3435 PyObject
* _argo0
= 0;
3436 char *_kwnames
[] = { "self","month","year", NULL
};
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_GetLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastMonthDay. Expected _wxDateTime_p.");
3450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3451 _result
= new wxDateTime (wxDateTime_GetLastMonthDay(_arg0
,_arg1
,_arg2
));
3453 wxPyEndAllowThreads(__tstate
);
3454 if (PyErr_Occurred()) return NULL
;
3455 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3456 _resultobj
= Py_BuildValue("s",_ptemp
);
3460 #define wxDateTime_SetToYearDay(_swigobj,_swigarg0) (_swigobj->SetToYearDay(_swigarg0))
3461 static PyObject
*_wrap_wxDateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
* _resultobj
;
3463 wxDateTime
* _result
;
3465 wxDateTime::wxDateTime_t _arg1
;
3466 PyObject
* _argo0
= 0;
3467 char *_kwnames
[] = { "self","yday", NULL
};
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetToYearDay",_kwnames
,&_argo0
,&_arg1
))
3474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToYearDay. Expected _wxDateTime_p.");
3481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3482 wxDateTime
& _result_ref
= wxDateTime_SetToYearDay(_arg0
,_arg1
);
3483 _result
= (wxDateTime
*) &_result_ref
;
3485 wxPyEndAllowThreads(__tstate
);
3486 if (PyErr_Occurred()) return NULL
;
3488 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3489 _resultobj
= Py_BuildValue("s",_ptemp
);
3492 _resultobj
= Py_None
;
3497 #define wxDateTime_GetYearDay(_swigobj,_swigarg0) (_swigobj->GetYearDay(_swigarg0))
3498 static PyObject
*_wrap_wxDateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
* _resultobj
;
3500 wxDateTime
* _result
;
3502 wxDateTime::wxDateTime_t _arg1
;
3503 PyObject
* _argo0
= 0;
3504 char *_kwnames
[] = { "self","yday", NULL
};
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_GetYearDay",_kwnames
,&_argo0
,&_arg1
))
3511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYearDay. Expected _wxDateTime_p.");
3518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3519 _result
= new wxDateTime (wxDateTime_GetYearDay(_arg0
,_arg1
));
3521 wxPyEndAllowThreads(__tstate
);
3522 if (PyErr_Occurred()) return NULL
;
3523 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3524 _resultobj
= Py_BuildValue("s",_ptemp
);
3528 #define wxDateTime_GetJulianDayNumber(_swigobj) (_swigobj->GetJulianDayNumber())
3529 static PyObject
*_wrap_wxDateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
* _resultobj
;
3533 PyObject
* _argo0
= 0;
3534 char *_kwnames
[] = { "self", NULL
};
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJulianDayNumber",_kwnames
,&_argo0
))
3540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJulianDayNumber. Expected _wxDateTime_p.");
3547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3548 _result
= (double )wxDateTime_GetJulianDayNumber(_arg0
);
3550 wxPyEndAllowThreads(__tstate
);
3551 if (PyErr_Occurred()) return NULL
;
3552 } _resultobj
= Py_BuildValue("d",_result
);
3556 #define wxDateTime_GetJDN(_swigobj) (_swigobj->GetJDN())
3557 static PyObject
*_wrap_wxDateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
* _resultobj
;
3561 PyObject
* _argo0
= 0;
3562 char *_kwnames
[] = { "self", NULL
};
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJDN",_kwnames
,&_argo0
))
3568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJDN. Expected _wxDateTime_p.");
3575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3576 _result
= (double )wxDateTime_GetJDN(_arg0
);
3578 wxPyEndAllowThreads(__tstate
);
3579 if (PyErr_Occurred()) return NULL
;
3580 } _resultobj
= Py_BuildValue("d",_result
);
3584 #define wxDateTime_GetModifiedJulianDayNumber(_swigobj) (_swigobj->GetModifiedJulianDayNumber())
3585 static PyObject
*_wrap_wxDateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3586 PyObject
* _resultobj
;
3589 PyObject
* _argo0
= 0;
3590 char *_kwnames
[] = { "self", NULL
};
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetModifiedJulianDayNumber",_kwnames
,&_argo0
))
3596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetModifiedJulianDayNumber. Expected _wxDateTime_p.");
3603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3604 _result
= (double )wxDateTime_GetModifiedJulianDayNumber(_arg0
);
3606 wxPyEndAllowThreads(__tstate
);
3607 if (PyErr_Occurred()) return NULL
;
3608 } _resultobj
= Py_BuildValue("d",_result
);
3612 #define wxDateTime_GetMJD(_swigobj) (_swigobj->GetMJD())
3613 static PyObject
*_wrap_wxDateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
* _resultobj
;
3617 PyObject
* _argo0
= 0;
3618 char *_kwnames
[] = { "self", NULL
};
3621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetMJD",_kwnames
,&_argo0
))
3624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMJD. Expected _wxDateTime_p.");
3631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3632 _result
= (double )wxDateTime_GetMJD(_arg0
);
3634 wxPyEndAllowThreads(__tstate
);
3635 if (PyErr_Occurred()) return NULL
;
3636 } _resultobj
= Py_BuildValue("d",_result
);
3640 #define wxDateTime_GetRataDie(_swigobj) (_swigobj->GetRataDie())
3641 static PyObject
*_wrap_wxDateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3642 PyObject
* _resultobj
;
3645 PyObject
* _argo0
= 0;
3646 char *_kwnames
[] = { "self", NULL
};
3649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetRataDie",_kwnames
,&_argo0
))
3652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetRataDie. Expected _wxDateTime_p.");
3659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3660 _result
= (double )wxDateTime_GetRataDie(_arg0
);
3662 wxPyEndAllowThreads(__tstate
);
3663 if (PyErr_Occurred()) return NULL
;
3664 } _resultobj
= Py_BuildValue("d",_result
);
3668 #define wxDateTime_ToTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToTimezone(_swigarg0,_swigarg1))
3669 static PyObject
*_wrap_wxDateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3670 PyObject
* _resultobj
;
3671 wxDateTime
* _result
;
3673 wxDateTime::TimeZone
* _arg1
;
3674 bool _arg2
= (bool ) FALSE
;
3675 PyObject
* _argo0
= 0;
3676 PyObject
* _obj1
= 0;
3677 int tempbool2
= (int) FALSE
;
3678 char *_kwnames
[] = { "self","tz","noDST", NULL
};
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_ToTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToTimezone. Expected _wxDateTime_p.");
3692 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3694 _arg2
= (bool ) tempbool2
;
3696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3697 _result
= new wxDateTime (wxDateTime_ToTimezone(_arg0
,*_arg1
,_arg2
));
3699 wxPyEndAllowThreads(__tstate
);
3700 if (PyErr_Occurred()) return NULL
;
3701 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3702 _resultobj
= Py_BuildValue("s",_ptemp
);
3704 if (_arg1
) delete _arg1
;
3709 #define wxDateTime_MakeTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeTimezone(_swigarg0,_swigarg1))
3710 static PyObject
*_wrap_wxDateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
* _resultobj
;
3712 wxDateTime
* _result
;
3714 wxDateTime::TimeZone
* _arg1
;
3715 bool _arg2
= (bool ) FALSE
;
3716 PyObject
* _argo0
= 0;
3717 PyObject
* _obj1
= 0;
3718 int tempbool2
= (int) FALSE
;
3719 char *_kwnames
[] = { "self","tz","noDST", NULL
};
3723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_MakeTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeTimezone. Expected _wxDateTime_p.");
3733 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3735 _arg2
= (bool ) tempbool2
;
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3738 wxDateTime
& _result_ref
= wxDateTime_MakeTimezone(_arg0
,*_arg1
,_arg2
);
3739 _result
= (wxDateTime
*) &_result_ref
;
3741 wxPyEndAllowThreads(__tstate
);
3742 if (PyErr_Occurred()) return NULL
;
3744 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3745 _resultobj
= Py_BuildValue("s",_ptemp
);
3748 _resultobj
= Py_None
;
3751 if (_arg1
) delete _arg1
;
3756 #define wxDateTime_ToGMT(_swigobj,_swigarg0) (_swigobj->ToGMT(_swigarg0))
3757 static PyObject
*_wrap_wxDateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3758 PyObject
* _resultobj
;
3759 wxDateTime
* _result
;
3761 bool _arg1
= (bool ) FALSE
;
3762 PyObject
* _argo0
= 0;
3763 int tempbool1
= (int) FALSE
;
3764 char *_kwnames
[] = { "self","noDST", NULL
};
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_ToGMT",_kwnames
,&_argo0
,&tempbool1
))
3771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToGMT. Expected _wxDateTime_p.");
3777 _arg1
= (bool ) tempbool1
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 _result
= new wxDateTime (wxDateTime_ToGMT(_arg0
,_arg1
));
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) return NULL
;
3784 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3785 _resultobj
= Py_BuildValue("s",_ptemp
);
3789 #define wxDateTime_MakeGMT(_swigobj,_swigarg0) (_swigobj->MakeGMT(_swigarg0))
3790 static PyObject
*_wrap_wxDateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3791 PyObject
* _resultobj
;
3792 wxDateTime
* _result
;
3794 bool _arg1
= (bool ) FALSE
;
3795 PyObject
* _argo0
= 0;
3796 int tempbool1
= (int) FALSE
;
3797 char *_kwnames
[] = { "self","noDST", NULL
};
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_MakeGMT",_kwnames
,&_argo0
,&tempbool1
))
3804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeGMT. Expected _wxDateTime_p.");
3810 _arg1
= (bool ) tempbool1
;
3812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3813 wxDateTime
& _result_ref
= wxDateTime_MakeGMT(_arg0
,_arg1
);
3814 _result
= (wxDateTime
*) &_result_ref
;
3816 wxPyEndAllowThreads(__tstate
);
3817 if (PyErr_Occurred()) return NULL
;
3819 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3820 _resultobj
= Py_BuildValue("s",_ptemp
);
3823 _resultobj
= Py_None
;
3828 #define wxDateTime_IsDST(_swigobj,_swigarg0) (_swigobj->IsDST(_swigarg0))
3829 static PyObject
*_wrap_wxDateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3830 PyObject
* _resultobj
;
3833 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
3834 PyObject
* _argo0
= 0;
3835 char *_kwnames
[] = { "self","country", NULL
};
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsDST",_kwnames
,&_argo0
,&_arg1
))
3841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsDST. Expected _wxDateTime_p.");
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 _result
= (int )wxDateTime_IsDST(_arg0
,_arg1
);
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) return NULL
;
3853 } _resultobj
= Py_BuildValue("i",_result
);
3857 #define wxDateTime_IsValid(_swigobj) (_swigobj->IsValid())
3858 static PyObject
*_wrap_wxDateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
* _resultobj
;
3862 PyObject
* _argo0
= 0;
3863 char *_kwnames
[] = { "self", NULL
};
3866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_IsValid",_kwnames
,&_argo0
))
3869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsValid. Expected _wxDateTime_p.");
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3877 _result
= (bool )wxDateTime_IsValid(_arg0
);
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) return NULL
;
3881 } _resultobj
= Py_BuildValue("i",_result
);
3885 #define wxDateTime_GetTicks(_swigobj) (_swigobj->GetTicks())
3886 static PyObject
*_wrap_wxDateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
* _resultobj
;
3890 PyObject
* _argo0
= 0;
3891 char *_kwnames
[] = { "self", NULL
};
3894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetTicks",_kwnames
,&_argo0
))
3897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetTicks. Expected _wxDateTime_p.");
3904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3905 _result
= (time_t )wxDateTime_GetTicks(_arg0
);
3907 wxPyEndAllowThreads(__tstate
);
3908 if (PyErr_Occurred()) return NULL
;
3909 } _resultobj
= Py_BuildValue("i",_result
);
3913 #define wxDateTime_GetYear(_swigobj,_swigarg0) (_swigobj->GetYear(_swigarg0))
3914 static PyObject
*_wrap_wxDateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
* _resultobj
;
3918 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3919 PyObject
* _argo0
= 0;
3920 PyObject
* _obj1
= 0;
3921 char *_kwnames
[] = { "self","tz", NULL
};
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetYear",_kwnames
,&_argo0
,&_obj1
))
3927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYear. Expected _wxDateTime_p.");
3935 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3939 _result
= (int )wxDateTime_GetYear(_arg0
,*_arg1
);
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) return NULL
;
3943 } _resultobj
= Py_BuildValue("i",_result
);
3945 if (_arg1
) delete _arg1
;
3950 #define wxDateTime_GetMonth(_swigobj,_swigarg0) (_swigobj->GetMonth(_swigarg0))
3951 static PyObject
*_wrap_wxDateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
* _resultobj
;
3953 wxDateTime::Month _result
;
3955 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3956 PyObject
* _argo0
= 0;
3957 PyObject
* _obj1
= 0;
3958 char *_kwnames
[] = { "self","tz", NULL
};
3961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMonth",_kwnames
,&_argo0
,&_obj1
))
3964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMonth. Expected _wxDateTime_p.");
3972 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3976 _result
= (wxDateTime::Month
)wxDateTime_GetMonth(_arg0
,*_arg1
);
3978 wxPyEndAllowThreads(__tstate
);
3979 if (PyErr_Occurred()) return NULL
;
3980 } _resultobj
= Py_BuildValue("i",_result
);
3982 if (_arg1
) delete _arg1
;
3987 #define wxDateTime_GetDay(_swigobj,_swigarg0) (_swigobj->GetDay(_swigarg0))
3988 static PyObject
*_wrap_wxDateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
* _resultobj
;
3990 wxDateTime::wxDateTime_t _result
;
3992 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3993 PyObject
* _argo0
= 0;
3994 PyObject
* _obj1
= 0;
3995 char *_kwnames
[] = { "self","tz", NULL
};
3998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDay",_kwnames
,&_argo0
,&_obj1
))
4001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDay. Expected _wxDateTime_p.");
4009 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDay(_arg0
,*_arg1
);
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) return NULL
;
4017 } _resultobj
= Py_BuildValue("h",_result
);
4019 if (_arg1
) delete _arg1
;
4024 #define wxDateTime_GetWeekDay(_swigobj,_swigarg0) (_swigobj->GetWeekDay(_swigarg0))
4025 static PyObject
*_wrap_wxDateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
* _resultobj
;
4027 wxDateTime::WeekDay _result
;
4029 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4030 PyObject
* _argo0
= 0;
4031 PyObject
* _obj1
= 0;
4032 char *_kwnames
[] = { "self","tz", NULL
};
4035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetWeekDay",_kwnames
,&_argo0
,&_obj1
))
4038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDay. Expected _wxDateTime_p.");
4046 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4050 _result
= (wxDateTime::WeekDay
)wxDateTime_GetWeekDay(_arg0
,*_arg1
);
4052 wxPyEndAllowThreads(__tstate
);
4053 if (PyErr_Occurred()) return NULL
;
4054 } _resultobj
= Py_BuildValue("i",_result
);
4056 if (_arg1
) delete _arg1
;
4061 #define wxDateTime_GetHour(_swigobj,_swigarg0) (_swigobj->GetHour(_swigarg0))
4062 static PyObject
*_wrap_wxDateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
* _resultobj
;
4064 wxDateTime::wxDateTime_t _result
;
4066 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4067 PyObject
* _argo0
= 0;
4068 PyObject
* _obj1
= 0;
4069 char *_kwnames
[] = { "self","tz", NULL
};
4072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetHour",_kwnames
,&_argo0
,&_obj1
))
4075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetHour. Expected _wxDateTime_p.");
4083 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetHour(_arg0
,*_arg1
);
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) return NULL
;
4091 } _resultobj
= Py_BuildValue("h",_result
);
4093 if (_arg1
) delete _arg1
;
4098 #define wxDateTime_GetMinute(_swigobj,_swigarg0) (_swigobj->GetMinute(_swigarg0))
4099 static PyObject
*_wrap_wxDateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
* _resultobj
;
4101 wxDateTime::wxDateTime_t _result
;
4103 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4104 PyObject
* _argo0
= 0;
4105 PyObject
* _obj1
= 0;
4106 char *_kwnames
[] = { "self","tz", NULL
};
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMinute",_kwnames
,&_argo0
,&_obj1
))
4112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMinute. Expected _wxDateTime_p.");
4120 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMinute(_arg0
,*_arg1
);
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) return NULL
;
4128 } _resultobj
= Py_BuildValue("h",_result
);
4130 if (_arg1
) delete _arg1
;
4135 #define wxDateTime_GetSecond(_swigobj,_swigarg0) (_swigobj->GetSecond(_swigarg0))
4136 static PyObject
*_wrap_wxDateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
* _resultobj
;
4138 wxDateTime::wxDateTime_t _result
;
4140 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4141 PyObject
* _argo0
= 0;
4142 PyObject
* _obj1
= 0;
4143 char *_kwnames
[] = { "self","tz", NULL
};
4146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetSecond",_kwnames
,&_argo0
,&_obj1
))
4149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetSecond. Expected _wxDateTime_p.");
4157 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4161 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetSecond(_arg0
,*_arg1
);
4163 wxPyEndAllowThreads(__tstate
);
4164 if (PyErr_Occurred()) return NULL
;
4165 } _resultobj
= Py_BuildValue("h",_result
);
4167 if (_arg1
) delete _arg1
;
4172 #define wxDateTime_GetMillisecond(_swigobj,_swigarg0) (_swigobj->GetMillisecond(_swigarg0))
4173 static PyObject
*_wrap_wxDateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4174 PyObject
* _resultobj
;
4175 wxDateTime::wxDateTime_t _result
;
4177 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4178 PyObject
* _argo0
= 0;
4179 PyObject
* _obj1
= 0;
4180 char *_kwnames
[] = { "self","tz", NULL
};
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMillisecond",_kwnames
,&_argo0
,&_obj1
))
4186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMillisecond. Expected _wxDateTime_p.");
4194 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4198 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMillisecond(_arg0
,*_arg1
);
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) return NULL
;
4202 } _resultobj
= Py_BuildValue("h",_result
);
4204 if (_arg1
) delete _arg1
;
4209 #define wxDateTime_GetDayOfYear(_swigobj,_swigarg0) (_swigobj->GetDayOfYear(_swigarg0))
4210 static PyObject
*_wrap_wxDateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
* _resultobj
;
4212 wxDateTime::wxDateTime_t _result
;
4214 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4215 PyObject
* _argo0
= 0;
4216 PyObject
* _obj1
= 0;
4217 char *_kwnames
[] = { "self","tz", NULL
};
4220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDayOfYear",_kwnames
,&_argo0
,&_obj1
))
4223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDayOfYear. Expected _wxDateTime_p.");
4231 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDayOfYear(_arg0
,*_arg1
);
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) return NULL
;
4239 } _resultobj
= Py_BuildValue("h",_result
);
4241 if (_arg1
) delete _arg1
;
4246 #define wxDateTime_GetWeekOfYear(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfYear(_swigarg0,_swigarg1))
4247 static PyObject
*_wrap_wxDateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
* _resultobj
;
4249 wxDateTime::wxDateTime_t _result
;
4251 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4252 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4253 PyObject
* _argo0
= 0;
4254 PyObject
* _obj2
= 0;
4255 char *_kwnames
[] = { "self","flags","tz", NULL
};
4258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfYear",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
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_GetWeekOfYear. Expected _wxDateTime_p.");
4269 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4273 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfYear(_arg0
,_arg1
,*_arg2
);
4275 wxPyEndAllowThreads(__tstate
);
4276 if (PyErr_Occurred()) return NULL
;
4277 } _resultobj
= Py_BuildValue("h",_result
);
4279 if (_arg2
) delete _arg2
;
4284 #define wxDateTime_GetWeekOfMonth(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfMonth(_swigarg0,_swigarg1))
4285 static PyObject
*_wrap_wxDateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
* _resultobj
;
4287 wxDateTime::wxDateTime_t _result
;
4289 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4290 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4291 PyObject
* _argo0
= 0;
4292 PyObject
* _obj2
= 0;
4293 char *_kwnames
[] = { "self","flags","tz", NULL
};
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfMonth",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
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_GetWeekOfMonth. Expected _wxDateTime_p.");
4307 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfMonth(_arg0
,_arg1
,*_arg2
);
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) return NULL
;
4315 } _resultobj
= Py_BuildValue("h",_result
);
4317 if (_arg2
) delete _arg2
;
4322 #define wxDateTime_IsWorkDay(_swigobj,_swigarg0) (_swigobj->IsWorkDay(_swigarg0))
4323 static PyObject
*_wrap_wxDateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4324 PyObject
* _resultobj
;
4327 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
4328 PyObject
* _argo0
= 0;
4329 char *_kwnames
[] = { "self","country", NULL
};
4332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsWorkDay",_kwnames
,&_argo0
,&_arg1
))
4335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsWorkDay. Expected _wxDateTime_p.");
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 _result
= (bool )wxDateTime_IsWorkDay(_arg0
,_arg1
);
4345 wxPyEndAllowThreads(__tstate
);
4346 if (PyErr_Occurred()) return NULL
;
4347 } _resultobj
= Py_BuildValue("i",_result
);
4351 #define wxDateTime_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
4352 static PyObject
*_wrap_wxDateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
* _resultobj
;
4357 PyObject
* _argo0
= 0;
4358 PyObject
* _argo1
= 0;
4359 char *_kwnames
[] = { "self","datetime", NULL
};
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
4365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4372 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4373 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4380 _result
= (bool )wxDateTime_IsEqualTo(_arg0
,*_arg1
);
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) return NULL
;
4384 } _resultobj
= Py_BuildValue("i",_result
);
4388 #define wxDateTime_IsEarlierThan(_swigobj,_swigarg0) (_swigobj->IsEarlierThan(_swigarg0))
4389 static PyObject
*_wrap_wxDateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
* _resultobj
;
4394 PyObject
* _argo0
= 0;
4395 PyObject
* _argo1
= 0;
4396 char *_kwnames
[] = { "self","datetime", NULL
};
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEarlierThan",_kwnames
,&_argo0
,&_argo1
))
4402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4409 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4410 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 _result
= (bool )wxDateTime_IsEarlierThan(_arg0
,*_arg1
);
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) return NULL
;
4421 } _resultobj
= Py_BuildValue("i",_result
);
4425 #define wxDateTime_IsLaterThan(_swigobj,_swigarg0) (_swigobj->IsLaterThan(_swigarg0))
4426 static PyObject
*_wrap_wxDateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
* _resultobj
;
4431 PyObject
* _argo0
= 0;
4432 PyObject
* _argo1
= 0;
4433 char *_kwnames
[] = { "self","datetime", NULL
};
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsLaterThan",_kwnames
,&_argo0
,&_argo1
))
4439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4446 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4447 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 _result
= (bool )wxDateTime_IsLaterThan(_arg0
,*_arg1
);
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) return NULL
;
4458 } _resultobj
= Py_BuildValue("i",_result
);
4462 #define wxDateTime_IsStrictlyBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsStrictlyBetween(_swigarg0,_swigarg1))
4463 static PyObject
*_wrap_wxDateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
* _resultobj
;
4469 PyObject
* _argo0
= 0;
4470 PyObject
* _argo1
= 0;
4471 PyObject
* _argo2
= 0;
4472 char *_kwnames
[] = { "self","t1","t2", NULL
};
4475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsStrictlyBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4485 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4486 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4492 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4493 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 _result
= (bool )wxDateTime_IsStrictlyBetween(_arg0
,*_arg1
,*_arg2
);
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) return NULL
;
4504 } _resultobj
= Py_BuildValue("i",_result
);
4508 #define wxDateTime_IsBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsBetween(_swigarg0,_swigarg1))
4509 static PyObject
*_wrap_wxDateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
* _resultobj
;
4515 PyObject
* _argo0
= 0;
4516 PyObject
* _argo1
= 0;
4517 PyObject
* _argo2
= 0;
4518 char *_kwnames
[] = { "self","t1","t2", NULL
};
4521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4531 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4532 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4538 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4539 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 _result
= (bool )wxDateTime_IsBetween(_arg0
,*_arg1
,*_arg2
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) return NULL
;
4550 } _resultobj
= Py_BuildValue("i",_result
);
4554 #define wxDateTime_IsSameDate(_swigobj,_swigarg0) (_swigobj->IsSameDate(_swigarg0))
4555 static PyObject
*_wrap_wxDateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
* _resultobj
;
4560 PyObject
* _argo0
= 0;
4561 PyObject
* _argo1
= 0;
4562 char *_kwnames
[] = { "self","dt", NULL
};
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameDate",_kwnames
,&_argo0
,&_argo1
))
4568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4575 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4576 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 _result
= (bool )wxDateTime_IsSameDate(_arg0
,*_arg1
);
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) return NULL
;
4587 } _resultobj
= Py_BuildValue("i",_result
);
4591 #define wxDateTime_IsSameTime(_swigobj,_swigarg0) (_swigobj->IsSameTime(_swigarg0))
4592 static PyObject
*_wrap_wxDateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
* _resultobj
;
4597 PyObject
* _argo0
= 0;
4598 PyObject
* _argo1
= 0;
4599 char *_kwnames
[] = { "self","dt", NULL
};
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameTime",_kwnames
,&_argo0
,&_argo1
))
4605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
4612 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4613 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
4619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 _result
= (bool )wxDateTime_IsSameTime(_arg0
,*_arg1
);
4622 wxPyEndAllowThreads(__tstate
);
4623 if (PyErr_Occurred()) return NULL
;
4624 } _resultobj
= Py_BuildValue("i",_result
);
4628 #define wxDateTime_IsEqualUpTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEqualUpTo(_swigarg0,_swigarg1))
4629 static PyObject
*_wrap_wxDateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
* _resultobj
;
4635 PyObject
* _argo0
= 0;
4636 PyObject
* _argo1
= 0;
4637 PyObject
* _argo2
= 0;
4638 char *_kwnames
[] = { "self","dt","ts", NULL
};
4641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsEqualUpTo",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4651 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4652 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4658 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4659 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTimeSpan_p")) {
4660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsEqualUpTo. Expected _wxTimeSpan_p.");
4665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4666 _result
= (bool )wxDateTime_IsEqualUpTo(_arg0
,*_arg1
,*_arg2
);
4668 wxPyEndAllowThreads(__tstate
);
4669 if (PyErr_Occurred()) return NULL
;
4670 } _resultobj
= Py_BuildValue("i",_result
);
4674 #define wxDateTime_AddTS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4675 static PyObject
*_wrap_wxDateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
* _resultobj
;
4677 wxDateTime
* _result
;
4680 PyObject
* _argo0
= 0;
4681 PyObject
* _argo1
= 0;
4682 char *_kwnames
[] = { "self","diff", NULL
};
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddTS",_kwnames
,&_argo0
,&_argo1
))
4689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddTS. Expected _wxDateTime_p.");
4696 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4697 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddTS. Expected _wxTimeSpan_p.");
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 wxDateTime
& _result_ref
= wxDateTime_AddTS(_arg0
,*_arg1
);
4705 _result
= (wxDateTime
*) &_result_ref
;
4707 wxPyEndAllowThreads(__tstate
);
4708 if (PyErr_Occurred()) return NULL
;
4710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4711 _resultobj
= Py_BuildValue("s",_ptemp
);
4714 _resultobj
= Py_None
;
4719 #define wxDateTime_AddDS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4720 static PyObject
*_wrap_wxDateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4721 PyObject
* _resultobj
;
4722 wxDateTime
* _result
;
4725 PyObject
* _argo0
= 0;
4726 PyObject
* _argo1
= 0;
4727 char *_kwnames
[] = { "self","diff", NULL
};
4731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddDS",_kwnames
,&_argo0
,&_argo1
))
4734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddDS. Expected _wxDateTime_p.");
4741 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4742 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddDS. Expected _wxDateSpan_p.");
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 wxDateTime
& _result_ref
= wxDateTime_AddDS(_arg0
,*_arg1
);
4750 _result
= (wxDateTime
*) &_result_ref
;
4752 wxPyEndAllowThreads(__tstate
);
4753 if (PyErr_Occurred()) return NULL
;
4755 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4756 _resultobj
= Py_BuildValue("s",_ptemp
);
4759 _resultobj
= Py_None
;
4764 #define wxDateTime_SubtractTS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4765 static PyObject
*_wrap_wxDateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
* _resultobj
;
4767 wxDateTime
* _result
;
4770 PyObject
* _argo0
= 0;
4771 PyObject
* _argo1
= 0;
4772 char *_kwnames
[] = { "self","diff", NULL
};
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractTS",_kwnames
,&_argo0
,&_argo1
))
4779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractTS. Expected _wxDateTime_p.");
4786 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4787 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractTS. Expected _wxTimeSpan_p.");
4793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4794 wxDateTime
& _result_ref
= wxDateTime_SubtractTS(_arg0
,*_arg1
);
4795 _result
= (wxDateTime
*) &_result_ref
;
4797 wxPyEndAllowThreads(__tstate
);
4798 if (PyErr_Occurred()) return NULL
;
4800 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4801 _resultobj
= Py_BuildValue("s",_ptemp
);
4804 _resultobj
= Py_None
;
4809 #define wxDateTime_SubtractDS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4810 static PyObject
*_wrap_wxDateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
* _resultobj
;
4812 wxDateTime
* _result
;
4815 PyObject
* _argo0
= 0;
4816 PyObject
* _argo1
= 0;
4817 char *_kwnames
[] = { "self","diff", NULL
};
4821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractDS",_kwnames
,&_argo0
,&_argo1
))
4824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractDS. Expected _wxDateTime_p.");
4831 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4832 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractDS. Expected _wxDateSpan_p.");
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 wxDateTime
& _result_ref
= wxDateTime_SubtractDS(_arg0
,*_arg1
);
4840 _result
= (wxDateTime
*) &_result_ref
;
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) return NULL
;
4845 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4846 _resultobj
= Py_BuildValue("s",_ptemp
);
4849 _resultobj
= Py_None
;
4854 #define wxDateTime_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4855 static PyObject
*_wrap_wxDateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
* _resultobj
;
4857 wxTimeSpan
* _result
;
4860 PyObject
* _argo0
= 0;
4861 PyObject
* _argo1
= 0;
4862 char *_kwnames
[] = { "self","dt", NULL
};
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_Subtract",_kwnames
,&_argo0
,&_argo1
))
4869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Subtract. Expected _wxDateTime_p.");
4876 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4877 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_Subtract. Expected _wxDateTime_p.");
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 _result
= new wxTimeSpan (wxDateTime_Subtract(_arg0
,*_arg1
));
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) return NULL
;
4888 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
4889 _resultobj
= Py_BuildValue("s",_ptemp
);
4893 static wxDateTime
wxDateTime___add__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
4894 static PyObject
*_wrap_wxDateTime___add__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
* _resultobj
;
4896 wxDateTime
* _result
;
4899 PyObject
* _argo0
= 0;
4900 PyObject
* _argo1
= 0;
4901 char *_kwnames
[] = { "self","other", NULL
};
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__TS",_kwnames
,&_argo0
,&_argo1
))
4908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__TS. Expected _wxDateTime_p.");
4915 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4916 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__TS. Expected _wxTimeSpan_p.");
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 _result
= new wxDateTime (wxDateTime___add__TS(_arg0
,*_arg1
));
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) return NULL
;
4927 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4928 _resultobj
= Py_BuildValue("s",_ptemp
);
4932 static wxDateTime
wxDateTime___add__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
4933 static PyObject
*_wrap_wxDateTime___add__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
* _resultobj
;
4935 wxDateTime
* _result
;
4938 PyObject
* _argo0
= 0;
4939 PyObject
* _argo1
= 0;
4940 char *_kwnames
[] = { "self","other", NULL
};
4944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__DS",_kwnames
,&_argo0
,&_argo1
))
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___add__DS. Expected _wxDateTime_p.");
4954 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4955 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__DS. Expected _wxDateSpan_p.");
4961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4962 _result
= new wxDateTime (wxDateTime___add__DS(_arg0
,*_arg1
));
4964 wxPyEndAllowThreads(__tstate
);
4965 if (PyErr_Occurred()) return NULL
;
4966 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4967 _resultobj
= Py_BuildValue("s",_ptemp
);
4971 static wxTimeSpan
wxDateTime___sub__DT(wxDateTime
*self
,const wxDateTime
& other
) { return *self
- other
; }
4972 static PyObject
*_wrap_wxDateTime___sub__DT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4973 PyObject
* _resultobj
;
4974 wxTimeSpan
* _result
;
4977 PyObject
* _argo0
= 0;
4978 PyObject
* _argo1
= 0;
4979 char *_kwnames
[] = { "self","other", NULL
};
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DT",_kwnames
,&_argo0
,&_argo1
))
4986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
4993 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4994 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5001 _result
= new wxTimeSpan (wxDateTime___sub__DT(_arg0
,*_arg1
));
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) return NULL
;
5005 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5006 _resultobj
= Py_BuildValue("s",_ptemp
);
5010 static wxDateTime
wxDateTime___sub__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
5011 static PyObject
*_wrap_wxDateTime___sub__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5012 PyObject
* _resultobj
;
5013 wxDateTime
* _result
;
5016 PyObject
* _argo0
= 0;
5017 PyObject
* _argo1
= 0;
5018 char *_kwnames
[] = { "self","other", NULL
};
5022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__TS",_kwnames
,&_argo0
,&_argo1
))
5025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__TS. Expected _wxDateTime_p.");
5032 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5033 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__TS. Expected _wxTimeSpan_p.");
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 _result
= new wxDateTime (wxDateTime___sub__TS(_arg0
,*_arg1
));
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) return NULL
;
5044 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5045 _resultobj
= Py_BuildValue("s",_ptemp
);
5049 static wxDateTime
wxDateTime___sub__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
- other
; }
5050 static PyObject
*_wrap_wxDateTime___sub__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
* _resultobj
;
5052 wxDateTime
* _result
;
5055 PyObject
* _argo0
= 0;
5056 PyObject
* _argo1
= 0;
5057 char *_kwnames
[] = { "self","other", NULL
};
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DS",_kwnames
,&_argo0
,&_argo1
))
5064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DS. Expected _wxDateTime_p.");
5071 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5072 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DS. Expected _wxDateSpan_p.");
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 _result
= new wxDateTime (wxDateTime___sub__DS(_arg0
,*_arg1
));
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) return NULL
;
5083 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5084 _resultobj
= Py_BuildValue("s",_ptemp
);
5088 static int wxDateTime___cmp__(wxDateTime
*self
,const wxDateTime
* other
) {
5089 if (! other
) return -1;
5090 if (*self
< *other
) return -1;
5091 if (*self
== *other
) return 0;
5094 static PyObject
*_wrap_wxDateTime___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
* _resultobj
;
5099 PyObject
* _argo0
= 0;
5100 PyObject
* _argo1
= 0;
5101 char *_kwnames
[] = { "self","other", NULL
};
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___cmp__",_kwnames
,&_argo0
,&_argo1
))
5107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5114 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5115 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5122 _result
= (int )wxDateTime___cmp__(_arg0
,_arg1
);
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) return NULL
;
5126 } _resultobj
= Py_BuildValue("i",_result
);
5130 #define wxDateTime_ParseRfc822Date(_swigobj,_swigarg0) (_swigobj->ParseRfc822Date(_swigarg0))
5131 static PyObject
*_wrap_wxDateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
* _resultobj
;
5136 PyObject
* _argo0
= 0;
5137 PyObject
* _obj1
= 0;
5138 char *_kwnames
[] = { "self","date", NULL
};
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_ParseRfc822Date",_kwnames
,&_argo0
,&_obj1
))
5144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseRfc822Date. Expected _wxDateTime_p.");
5151 _arg1
= wxString_in_helper(_obj1
);
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 _result
= new wxString (wxDateTime_ParseRfc822Date(_arg0
,*_arg1
));
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) return NULL
;
5163 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5165 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5178 #define wxDateTime_ParseFormat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ParseFormat(_swigarg0,_swigarg1,_swigarg2))
5179 static PyObject
*_wrap_wxDateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5180 PyObject
* _resultobj
;
5184 wxString
* _arg2
= (wxString
*) &wxPyDateFormatStr
;
5185 wxDateTime
* _arg3
= (wxDateTime
*) &wxDefaultDateTime
;
5186 PyObject
* _argo0
= 0;
5187 PyObject
* _obj1
= 0;
5188 PyObject
* _obj2
= 0;
5189 PyObject
* _argo3
= 0;
5190 char *_kwnames
[] = { "self","date","format","dateDef", NULL
};
5193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxDateTime_ParseFormat",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_argo3
))
5196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5203 _arg1
= wxString_in_helper(_obj1
);
5209 _arg2
= wxString_in_helper(_obj2
);
5214 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5215 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime_p")) {
5216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5222 _result
= new wxString (wxDateTime_ParseFormat(_arg0
,*_arg1
,*_arg2
,*_arg3
));
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) return NULL
;
5228 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5230 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5247 #define wxDateTime_ParseDateTime(_swigobj,_swigarg0) (_swigobj->ParseDateTime(_swigarg0))
5248 static PyObject
*_wrap_wxDateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
* _resultobj
;
5253 PyObject
* _argo0
= 0;
5254 PyObject
* _obj1
= 0;
5255 char *_kwnames
[] = { "self","datetime", NULL
};
5258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_ParseDateTime",_kwnames
,&_argo0
,&_obj1
))
5261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDateTime. Expected _wxDateTime_p.");
5268 _arg1
= wxString_in_helper(_obj1
);
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 _result
= new wxString (wxDateTime_ParseDateTime(_arg0
,*_arg1
));
5276 wxPyEndAllowThreads(__tstate
);
5277 if (PyErr_Occurred()) return NULL
;
5280 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5282 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5295 #define wxDateTime_ParseDate(_swigobj,_swigarg0) (_swigobj->ParseDate(_swigarg0))
5296 static PyObject
*_wrap_wxDateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5297 PyObject
* _resultobj
;
5301 PyObject
* _argo0
= 0;
5302 PyObject
* _obj1
= 0;
5303 char *_kwnames
[] = { "self","date", NULL
};
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_ParseDate",_kwnames
,&_argo0
,&_obj1
))
5309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDate. Expected _wxDateTime_p.");
5316 _arg1
= wxString_in_helper(_obj1
);
5321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5322 _result
= new wxString (wxDateTime_ParseDate(_arg0
,*_arg1
));
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) return NULL
;
5328 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5330 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5343 #define wxDateTime_ParseTime(_swigobj,_swigarg0) (_swigobj->ParseTime(_swigarg0))
5344 static PyObject
*_wrap_wxDateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
* _resultobj
;
5349 PyObject
* _argo0
= 0;
5350 PyObject
* _obj1
= 0;
5351 char *_kwnames
[] = { "self","time", NULL
};
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_ParseTime",_kwnames
,&_argo0
,&_obj1
))
5357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseTime. Expected _wxDateTime_p.");
5364 _arg1
= wxString_in_helper(_obj1
);
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 _result
= new wxString (wxDateTime_ParseTime(_arg0
,*_arg1
));
5372 wxPyEndAllowThreads(__tstate
);
5373 if (PyErr_Occurred()) return NULL
;
5376 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5378 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5391 #define wxDateTime_Format(_swigobj,_swigarg0,_swigarg1) (_swigobj->Format(_swigarg0,_swigarg1))
5392 static PyObject
*_wrap_wxDateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
* _resultobj
;
5396 wxString
* _arg1
= (wxString
*) &wxPyDateFormatStr
;
5397 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
5398 PyObject
* _argo0
= 0;
5399 PyObject
* _obj1
= 0;
5400 PyObject
* _obj2
= 0;
5401 char *_kwnames
[] = { "self","format","tz", NULL
};
5404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxDateTime_Format",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Format. Expected _wxDateTime_p.");
5415 _arg1
= wxString_in_helper(_obj1
);
5421 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 _result
= new wxString (wxDateTime_Format(_arg0
,*_arg1
,*_arg2
));
5427 wxPyEndAllowThreads(__tstate
);
5428 if (PyErr_Occurred()) return NULL
;
5431 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5433 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5441 if (_arg2
) delete _arg2
;
5449 #define wxDateTime_FormatDate(_swigobj) (_swigobj->FormatDate())
5450 static PyObject
*_wrap_wxDateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
* _resultobj
;
5454 PyObject
* _argo0
= 0;
5455 char *_kwnames
[] = { "self", NULL
};
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatDate",_kwnames
,&_argo0
))
5461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatDate. Expected _wxDateTime_p.");
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 _result
= new wxString (wxDateTime_FormatDate(_arg0
));
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) return NULL
;
5475 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5477 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5486 #define wxDateTime_FormatTime(_swigobj) (_swigobj->FormatTime())
5487 static PyObject
*_wrap_wxDateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
* _resultobj
;
5491 PyObject
* _argo0
= 0;
5492 char *_kwnames
[] = { "self", NULL
};
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatTime",_kwnames
,&_argo0
))
5498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatTime. Expected _wxDateTime_p.");
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 _result
= new wxString (wxDateTime_FormatTime(_arg0
));
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) return NULL
;
5512 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5514 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5523 #define wxDateTime_FormatISODate(_swigobj) (_swigobj->FormatISODate())
5524 static PyObject
*_wrap_wxDateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
* _resultobj
;
5528 PyObject
* _argo0
= 0;
5529 char *_kwnames
[] = { "self", NULL
};
5532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISODate",_kwnames
,&_argo0
))
5535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISODate. Expected _wxDateTime_p.");
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 _result
= new wxString (wxDateTime_FormatISODate(_arg0
));
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) return NULL
;
5549 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5551 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5560 #define wxDateTime_FormatISOTime(_swigobj) (_swigobj->FormatISOTime())
5561 static PyObject
*_wrap_wxDateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
* _resultobj
;
5565 PyObject
* _argo0
= 0;
5566 char *_kwnames
[] = { "self", NULL
};
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISOTime",_kwnames
,&_argo0
))
5572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISOTime. Expected _wxDateTime_p.");
5579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5580 _result
= new wxString (wxDateTime_FormatISOTime(_arg0
));
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) return NULL
;
5586 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5588 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5597 static PyObject
*_wrap_wxTimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
* _resultobj
;
5599 wxTimeSpan
* _result
;
5601 char *_kwnames
[] = { "sec", NULL
};
5605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Seconds",_kwnames
,&_arg0
))
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5609 _result
= new wxTimeSpan (wxTimeSpan::Seconds(_arg0
));
5611 wxPyEndAllowThreads(__tstate
);
5612 if (PyErr_Occurred()) return NULL
;
5613 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5614 _resultobj
= Py_BuildValue("s",_ptemp
);
5618 static PyObject
*_wrap_wxTimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5619 PyObject
* _resultobj
;
5620 wxTimeSpan
* _result
;
5621 char *_kwnames
[] = { NULL
};
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Second",_kwnames
))
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 _result
= new wxTimeSpan (wxTimeSpan::Second());
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) return NULL
;
5633 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5634 _resultobj
= Py_BuildValue("s",_ptemp
);
5638 static PyObject
*_wrap_wxTimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
* _resultobj
;
5640 wxTimeSpan
* _result
;
5642 char *_kwnames
[] = { "min", NULL
};
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Minutes",_kwnames
,&_arg0
))
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 _result
= new wxTimeSpan (wxTimeSpan::Minutes(_arg0
));
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) return NULL
;
5654 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5655 _resultobj
= Py_BuildValue("s",_ptemp
);
5659 static PyObject
*_wrap_wxTimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
* _resultobj
;
5661 wxTimeSpan
* _result
;
5662 char *_kwnames
[] = { NULL
};
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Minute",_kwnames
))
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 _result
= new wxTimeSpan (wxTimeSpan::Minute());
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) return NULL
;
5674 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5675 _resultobj
= Py_BuildValue("s",_ptemp
);
5679 static PyObject
*_wrap_wxTimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5680 PyObject
* _resultobj
;
5681 wxTimeSpan
* _result
;
5683 char *_kwnames
[] = { "hours", NULL
};
5687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Hours",_kwnames
,&_arg0
))
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5691 _result
= new wxTimeSpan (wxTimeSpan::Hours(_arg0
));
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) return NULL
;
5695 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5696 _resultobj
= Py_BuildValue("s",_ptemp
);
5700 static PyObject
*_wrap_wxTimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
* _resultobj
;
5702 wxTimeSpan
* _result
;
5703 char *_kwnames
[] = { NULL
};
5707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Hour",_kwnames
))
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 _result
= new wxTimeSpan (wxTimeSpan::Hour());
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) return NULL
;
5715 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5716 _resultobj
= Py_BuildValue("s",_ptemp
);
5720 static PyObject
*_wrap_wxTimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
* _resultobj
;
5722 wxTimeSpan
* _result
;
5724 char *_kwnames
[] = { "days", NULL
};
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Days",_kwnames
,&_arg0
))
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 _result
= new wxTimeSpan (wxTimeSpan::Days(_arg0
));
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) return NULL
;
5736 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5737 _resultobj
= Py_BuildValue("s",_ptemp
);
5741 static PyObject
*_wrap_wxTimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5742 PyObject
* _resultobj
;
5743 wxTimeSpan
* _result
;
5744 char *_kwnames
[] = { NULL
};
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Day",_kwnames
))
5751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5752 _result
= new wxTimeSpan (wxTimeSpan::Day());
5754 wxPyEndAllowThreads(__tstate
);
5755 if (PyErr_Occurred()) return NULL
;
5756 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5757 _resultobj
= Py_BuildValue("s",_ptemp
);
5761 static PyObject
*_wrap_wxTimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
* _resultobj
;
5763 wxTimeSpan
* _result
;
5765 char *_kwnames
[] = { "days", NULL
};
5769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Weeks",_kwnames
,&_arg0
))
5772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5773 _result
= new wxTimeSpan (wxTimeSpan::Weeks(_arg0
));
5775 wxPyEndAllowThreads(__tstate
);
5776 if (PyErr_Occurred()) return NULL
;
5777 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5778 _resultobj
= Py_BuildValue("s",_ptemp
);
5782 static PyObject
*_wrap_wxTimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5783 PyObject
* _resultobj
;
5784 wxTimeSpan
* _result
;
5785 char *_kwnames
[] = { NULL
};
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Week",_kwnames
))
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 _result
= new wxTimeSpan (wxTimeSpan::Week());
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) return NULL
;
5797 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5798 _resultobj
= Py_BuildValue("s",_ptemp
);
5802 #define new_wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5803 static PyObject
*_wrap_new_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
* _resultobj
;
5805 wxTimeSpan
* _result
;
5806 long _arg0
= (long ) 0;
5807 long _arg1
= (long ) 0;
5808 long _arg2
= (long ) 0;
5809 long _arg3
= (long ) 0;
5810 char *_kwnames
[] = { "hours","minutes","seconds","milliseconds", NULL
};
5814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxTimeSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 _result
= (wxTimeSpan
*)new_wxTimeSpan(_arg0
,_arg1
,_arg2
,_arg3
);
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) return NULL
;
5823 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5824 _resultobj
= Py_BuildValue("s",_ptemp
);
5827 _resultobj
= Py_None
;
5832 #define delete_wxTimeSpan(_swigobj) (delete _swigobj)
5833 static PyObject
*_wrap_delete_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
* _resultobj
;
5836 PyObject
* _argo0
= 0;
5837 char *_kwnames
[] = { "self", NULL
};
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTimeSpan",_kwnames
,&_argo0
))
5843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTimeSpan. Expected _wxTimeSpan_p.");
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 delete_wxTimeSpan(_arg0
);
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) return NULL
;
5855 } Py_INCREF(Py_None
);
5856 _resultobj
= Py_None
;
5860 #define wxTimeSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
5861 static PyObject
*_wrap_wxTimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
* _resultobj
;
5863 wxTimeSpan
* _result
;
5866 PyObject
* _argo0
= 0;
5867 PyObject
* _argo1
= 0;
5868 char *_kwnames
[] = { "self","diff", NULL
};
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Add",_kwnames
,&_argo0
,&_argo1
))
5875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
5882 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5883 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 wxTimeSpan
& _result_ref
= wxTimeSpan_Add(_arg0
,*_arg1
);
5891 _result
= (wxTimeSpan
*) &_result_ref
;
5893 wxPyEndAllowThreads(__tstate
);
5894 if (PyErr_Occurred()) return NULL
;
5896 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5897 _resultobj
= Py_BuildValue("s",_ptemp
);
5900 _resultobj
= Py_None
;
5905 #define wxTimeSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5906 static PyObject
*_wrap_wxTimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5907 PyObject
* _resultobj
;
5908 wxTimeSpan
* _result
;
5911 PyObject
* _argo0
= 0;
5912 PyObject
* _argo1
= 0;
5913 char *_kwnames
[] = { "self","diff", NULL
};
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
5920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
5927 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5928 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 wxTimeSpan
& _result_ref
= wxTimeSpan_Subtract(_arg0
,*_arg1
);
5936 _result
= (wxTimeSpan
*) &_result_ref
;
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) return NULL
;
5941 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5942 _resultobj
= Py_BuildValue("s",_ptemp
);
5945 _resultobj
= Py_None
;
5950 #define wxTimeSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
5951 static PyObject
*_wrap_wxTimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5952 PyObject
* _resultobj
;
5953 wxTimeSpan
* _result
;
5956 PyObject
* _argo0
= 0;
5957 char *_kwnames
[] = { "self","n", NULL
};
5961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
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_Multiply. Expected _wxTimeSpan_p.");
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 wxTimeSpan
& _result_ref
= wxTimeSpan_Multiply(_arg0
,_arg1
);
5973 _result
= (wxTimeSpan
*) &_result_ref
;
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) return NULL
;
5978 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5979 _resultobj
= Py_BuildValue("s",_ptemp
);
5982 _resultobj
= Py_None
;
5987 #define wxTimeSpan_Neg(_swigobj) (_swigobj->Neg())
5988 static PyObject
*_wrap_wxTimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5989 PyObject
* _resultobj
;
5990 wxTimeSpan
* _result
;
5992 PyObject
* _argo0
= 0;
5993 char *_kwnames
[] = { "self", NULL
};
5997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Neg",_kwnames
,&_argo0
))
6000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Neg. Expected _wxTimeSpan_p.");
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 wxTimeSpan
& _result_ref
= wxTimeSpan_Neg(_arg0
);
6009 _result
= (wxTimeSpan
*) &_result_ref
;
6011 wxPyEndAllowThreads(__tstate
);
6012 if (PyErr_Occurred()) return NULL
;
6014 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6015 _resultobj
= Py_BuildValue("s",_ptemp
);
6018 _resultobj
= Py_None
;
6023 #define wxTimeSpan_Abs(_swigobj) (_swigobj->Abs())
6024 static PyObject
*_wrap_wxTimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
* _resultobj
;
6026 wxTimeSpan
* _result
;
6028 PyObject
* _argo0
= 0;
6029 char *_kwnames
[] = { "self", NULL
};
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Abs",_kwnames
,&_argo0
))
6036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Abs. Expected _wxTimeSpan_p.");
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6044 _result
= new wxTimeSpan (wxTimeSpan_Abs(_arg0
));
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) return NULL
;
6048 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6049 _resultobj
= Py_BuildValue("s",_ptemp
);
6053 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
6054 static PyObject
*_wrap_wxTimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
* _resultobj
;
6056 wxTimeSpan
* _result
;
6059 PyObject
* _argo0
= 0;
6060 PyObject
* _argo1
= 0;
6061 char *_kwnames
[] = { "self","other", NULL
};
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___add__",_kwnames
,&_argo0
,&_argo1
))
6068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6075 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6076 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6083 _result
= new wxTimeSpan (wxTimeSpan___add__(_arg0
,*_arg1
));
6085 wxPyEndAllowThreads(__tstate
);
6086 if (PyErr_Occurred()) return NULL
;
6087 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6088 _resultobj
= Py_BuildValue("s",_ptemp
);
6092 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
6093 static PyObject
*_wrap_wxTimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
* _resultobj
;
6095 wxTimeSpan
* _result
;
6098 PyObject
* _argo0
= 0;
6099 PyObject
* _argo1
= 0;
6100 char *_kwnames
[] = { "self","other", NULL
};
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
6107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6114 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6115 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 _result
= new wxTimeSpan (wxTimeSpan___sub__(_arg0
,*_arg1
));
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) return NULL
;
6126 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6127 _resultobj
= Py_BuildValue("s",_ptemp
);
6131 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
) { return *self
* n
; }
6132 static PyObject
*_wrap_wxTimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
* _resultobj
;
6134 wxTimeSpan
* _result
;
6137 PyObject
* _argo0
= 0;
6138 char *_kwnames
[] = { "self","n", NULL
};
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
6145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___mul__. Expected _wxTimeSpan_p.");
6152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 _result
= new wxTimeSpan (wxTimeSpan___mul__(_arg0
,_arg1
));
6155 wxPyEndAllowThreads(__tstate
);
6156 if (PyErr_Occurred()) return NULL
;
6157 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6158 _resultobj
= Py_BuildValue("s",_ptemp
);
6162 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
) { return n
* *self
; }
6163 static PyObject
*_wrap_wxTimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
* _resultobj
;
6165 wxTimeSpan
* _result
;
6168 PyObject
* _argo0
= 0;
6169 char *_kwnames
[] = { "self","n", NULL
};
6173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
6176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___rmul__. Expected _wxTimeSpan_p.");
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 _result
= new wxTimeSpan (wxTimeSpan___rmul__(_arg0
,_arg1
));
6186 wxPyEndAllowThreads(__tstate
);
6187 if (PyErr_Occurred()) return NULL
;
6188 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6189 _resultobj
= Py_BuildValue("s",_ptemp
);
6193 static wxTimeSpan
wxTimeSpan___neg__(wxTimeSpan
*self
) { return self
->Negate(); }
6194 static PyObject
*_wrap_wxTimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
* _resultobj
;
6196 wxTimeSpan
* _result
;
6198 PyObject
* _argo0
= 0;
6199 char *_kwnames
[] = { "self", NULL
};
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan___neg__",_kwnames
,&_argo0
))
6206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___neg__. Expected _wxTimeSpan_p.");
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 _result
= new wxTimeSpan (wxTimeSpan___neg__(_arg0
));
6216 wxPyEndAllowThreads(__tstate
);
6217 if (PyErr_Occurred()) return NULL
;
6218 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6219 _resultobj
= Py_BuildValue("s",_ptemp
);
6223 static int wxTimeSpan___cmp__(wxTimeSpan
*self
,const wxTimeSpan
* other
) {
6224 if (! other
) return -1;
6225 if (*self
< *other
) return -1;
6226 if (*self
== *other
) return 0;
6229 static PyObject
*_wrap_wxTimeSpan___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
* _resultobj
;
6234 PyObject
* _argo0
= 0;
6235 PyObject
* _argo1
= 0;
6236 char *_kwnames
[] = { "self","other", NULL
};
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___cmp__",_kwnames
,&_argo0
,&_argo1
))
6242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6249 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6250 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 _result
= (int )wxTimeSpan___cmp__(_arg0
,_arg1
);
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) return NULL
;
6261 } _resultobj
= Py_BuildValue("i",_result
);
6265 #define wxTimeSpan_IsNull(_swigobj) (_swigobj->IsNull())
6266 static PyObject
*_wrap_wxTimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
* _resultobj
;
6270 PyObject
* _argo0
= 0;
6271 char *_kwnames
[] = { "self", NULL
};
6274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNull",_kwnames
,&_argo0
))
6277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNull. Expected _wxTimeSpan_p.");
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 _result
= (bool )wxTimeSpan_IsNull(_arg0
);
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) return NULL
;
6289 } _resultobj
= Py_BuildValue("i",_result
);
6293 #define wxTimeSpan_IsPositive(_swigobj) (_swigobj->IsPositive())
6294 static PyObject
*_wrap_wxTimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
* _resultobj
;
6298 PyObject
* _argo0
= 0;
6299 char *_kwnames
[] = { "self", NULL
};
6302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsPositive",_kwnames
,&_argo0
))
6305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsPositive. Expected _wxTimeSpan_p.");
6312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 _result
= (bool )wxTimeSpan_IsPositive(_arg0
);
6315 wxPyEndAllowThreads(__tstate
);
6316 if (PyErr_Occurred()) return NULL
;
6317 } _resultobj
= Py_BuildValue("i",_result
);
6321 #define wxTimeSpan_IsNegative(_swigobj) (_swigobj->IsNegative())
6322 static PyObject
*_wrap_wxTimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
* _resultobj
;
6326 PyObject
* _argo0
= 0;
6327 char *_kwnames
[] = { "self", NULL
};
6330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNegative",_kwnames
,&_argo0
))
6333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNegative. Expected _wxTimeSpan_p.");
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6341 _result
= (bool )wxTimeSpan_IsNegative(_arg0
);
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) return NULL
;
6345 } _resultobj
= Py_BuildValue("i",_result
);
6349 #define wxTimeSpan_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
6350 static PyObject
*_wrap_wxTimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
* _resultobj
;
6355 PyObject
* _argo0
= 0;
6356 PyObject
* _argo1
= 0;
6357 char *_kwnames
[] = { "self","ts", NULL
};
6360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
6363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6370 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6371 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6378 _result
= (bool )wxTimeSpan_IsEqualTo(_arg0
,*_arg1
);
6380 wxPyEndAllowThreads(__tstate
);
6381 if (PyErr_Occurred()) return NULL
;
6382 } _resultobj
= Py_BuildValue("i",_result
);
6386 #define wxTimeSpan_IsLongerThan(_swigobj,_swigarg0) (_swigobj->IsLongerThan(_swigarg0))
6387 static PyObject
*_wrap_wxTimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
* _resultobj
;
6392 PyObject
* _argo0
= 0;
6393 PyObject
* _argo1
= 0;
6394 char *_kwnames
[] = { "self","ts", NULL
};
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsLongerThan",_kwnames
,&_argo0
,&_argo1
))
6400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6407 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6408 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 _result
= (bool )wxTimeSpan_IsLongerThan(_arg0
,*_arg1
);
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) return NULL
;
6419 } _resultobj
= Py_BuildValue("i",_result
);
6423 #define wxTimeSpan_IsShorterThan(_swigobj,_swigarg0) (_swigobj->IsShorterThan(_swigarg0))
6424 static PyObject
*_wrap_wxTimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6425 PyObject
* _resultobj
;
6429 PyObject
* _argo0
= 0;
6430 PyObject
* _argo1
= 0;
6431 char *_kwnames
[] = { "self","t", NULL
};
6434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsShorterThan",_kwnames
,&_argo0
,&_argo1
))
6437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6444 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6445 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 _result
= (bool )wxTimeSpan_IsShorterThan(_arg0
,*_arg1
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) return NULL
;
6456 } _resultobj
= Py_BuildValue("i",_result
);
6460 #define wxTimeSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
6461 static PyObject
*_wrap_wxTimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6462 PyObject
* _resultobj
;
6465 PyObject
* _argo0
= 0;
6466 char *_kwnames
[] = { "self", NULL
};
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetWeeks",_kwnames
,&_argo0
))
6472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetWeeks. Expected _wxTimeSpan_p.");
6479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6480 _result
= (int )wxTimeSpan_GetWeeks(_arg0
);
6482 wxPyEndAllowThreads(__tstate
);
6483 if (PyErr_Occurred()) return NULL
;
6484 } _resultobj
= Py_BuildValue("i",_result
);
6488 #define wxTimeSpan_GetDays(_swigobj) (_swigobj->GetDays())
6489 static PyObject
*_wrap_wxTimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6490 PyObject
* _resultobj
;
6493 PyObject
* _argo0
= 0;
6494 char *_kwnames
[] = { "self", NULL
};
6497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetDays",_kwnames
,&_argo0
))
6500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetDays. Expected _wxTimeSpan_p.");
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 _result
= (int )wxTimeSpan_GetDays(_arg0
);
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) return NULL
;
6512 } _resultobj
= Py_BuildValue("i",_result
);
6516 #define wxTimeSpan_GetHours(_swigobj) (_swigobj->GetHours())
6517 static PyObject
*_wrap_wxTimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
* _resultobj
;
6521 PyObject
* _argo0
= 0;
6522 char *_kwnames
[] = { "self", NULL
};
6525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetHours",_kwnames
,&_argo0
))
6528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetHours. Expected _wxTimeSpan_p.");
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 _result
= (int )wxTimeSpan_GetHours(_arg0
);
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) return NULL
;
6540 } _resultobj
= Py_BuildValue("i",_result
);
6544 #define wxTimeSpan_GetMinutes(_swigobj) (_swigobj->GetMinutes())
6545 static PyObject
*_wrap_wxTimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
* _resultobj
;
6549 PyObject
* _argo0
= 0;
6550 char *_kwnames
[] = { "self", NULL
};
6553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMinutes",_kwnames
,&_argo0
))
6556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMinutes. Expected _wxTimeSpan_p.");
6563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6564 _result
= (int )wxTimeSpan_GetMinutes(_arg0
);
6566 wxPyEndAllowThreads(__tstate
);
6567 if (PyErr_Occurred()) return NULL
;
6568 } _resultobj
= Py_BuildValue("i",_result
);
6572 #define wxTimeSpan_GetSeconds(_swigobj) (_swigobj->GetSeconds())
6573 static PyObject
*_wrap_wxTimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6574 PyObject
* _resultobj
;
6575 wxLongLong
* _result
;
6577 PyObject
* _argo0
= 0;
6578 char *_kwnames
[] = { "self", NULL
};
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetSeconds",_kwnames
,&_argo0
))
6584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetSeconds. Expected _wxTimeSpan_p.");
6591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6592 _result
= new wxLongLong (wxTimeSpan_GetSeconds(_arg0
));
6594 wxPyEndAllowThreads(__tstate
);
6595 if (PyErr_Occurred()) return NULL
;
6597 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6598 hi
= PyLong_FromLong(_result
->GetHi());
6599 lo
= PyLong_FromLong(_result
->GetLo());
6600 shifter
= PyLong_FromLong(32);
6601 shifted
= PyNumber_Lshift(hi
, shifter
);
6602 _resultobj
= PyNumber_Or(shifted
, lo
);
6611 #define wxTimeSpan_GetMilliseconds(_swigobj) (_swigobj->GetMilliseconds())
6612 static PyObject
*_wrap_wxTimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6613 PyObject
* _resultobj
;
6614 wxLongLong
* _result
;
6616 PyObject
* _argo0
= 0;
6617 char *_kwnames
[] = { "self", NULL
};
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMilliseconds",_kwnames
,&_argo0
))
6623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMilliseconds. Expected _wxTimeSpan_p.");
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 _result
= new wxLongLong (wxTimeSpan_GetMilliseconds(_arg0
));
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) return NULL
;
6636 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6637 hi
= PyLong_FromLong(_result
->GetHi());
6638 lo
= PyLong_FromLong(_result
->GetLo());
6639 shifter
= PyLong_FromLong(32);
6640 shifted
= PyNumber_Lshift(hi
, shifter
);
6641 _resultobj
= PyNumber_Or(shifted
, lo
);
6650 #define wxTimeSpan_Format(_swigobj,_swigarg0) (_swigobj->Format(_swigarg0))
6651 static PyObject
*_wrap_wxTimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
* _resultobj
;
6655 wxString
* _arg1
= (wxString
*) &wxPyDateFormatStr
;
6656 PyObject
* _argo0
= 0;
6657 PyObject
* _obj1
= 0;
6658 char *_kwnames
[] = { "self","format", NULL
};
6661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTimeSpan_Format",_kwnames
,&_argo0
,&_obj1
))
6664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Format. Expected _wxTimeSpan_p.");
6672 _arg1
= wxString_in_helper(_obj1
);
6677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6678 _result
= new wxString (wxTimeSpan_Format(_arg0
,*_arg1
));
6680 wxPyEndAllowThreads(__tstate
);
6681 if (PyErr_Occurred()) return NULL
;
6684 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6686 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6699 #define new_wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6700 static PyObject
*_wrap_new_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
* _resultobj
;
6702 wxDateSpan
* _result
;
6703 int _arg0
= (int ) 0;
6704 int _arg1
= (int ) 0;
6705 int _arg2
= (int ) 0;
6706 int _arg3
= (int ) 0;
6707 char *_kwnames
[] = { "years","months","weeks","days", NULL
};
6711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxDateSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
6714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 _result
= (wxDateSpan
*)new_wxDateSpan(_arg0
,_arg1
,_arg2
,_arg3
);
6717 wxPyEndAllowThreads(__tstate
);
6718 if (PyErr_Occurred()) return NULL
;
6720 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6721 _resultobj
= Py_BuildValue("s",_ptemp
);
6724 _resultobj
= Py_None
;
6729 #define delete_wxDateSpan(_swigobj) (delete _swigobj)
6730 static PyObject
*_wrap_delete_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
* _resultobj
;
6733 PyObject
* _argo0
= 0;
6734 char *_kwnames
[] = { "self", NULL
};
6737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateSpan",_kwnames
,&_argo0
))
6740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateSpan. Expected _wxDateSpan_p.");
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 delete_wxDateSpan(_arg0
);
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) return NULL
;
6752 } Py_INCREF(Py_None
);
6753 _resultobj
= Py_None
;
6757 static PyObject
*_wrap_wxDateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
* _resultobj
;
6759 wxDateSpan
* _result
;
6761 char *_kwnames
[] = { "days", NULL
};
6765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Days",_kwnames
,&_arg0
))
6768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6769 _result
= new wxDateSpan (wxDateSpan::Days(_arg0
));
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) return NULL
;
6773 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6774 _resultobj
= Py_BuildValue("s",_ptemp
);
6778 static PyObject
*_wrap_wxDateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
* _resultobj
;
6780 wxDateSpan
* _result
;
6781 char *_kwnames
[] = { NULL
};
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Day",_kwnames
))
6788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6789 _result
= new wxDateSpan (wxDateSpan::Day());
6791 wxPyEndAllowThreads(__tstate
);
6792 if (PyErr_Occurred()) return NULL
;
6793 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6794 _resultobj
= Py_BuildValue("s",_ptemp
);
6798 static PyObject
*_wrap_wxDateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
* _resultobj
;
6800 wxDateSpan
* _result
;
6802 char *_kwnames
[] = { "weeks", NULL
};
6806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Weeks",_kwnames
,&_arg0
))
6809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6810 _result
= new wxDateSpan (wxDateSpan::Weeks(_arg0
));
6812 wxPyEndAllowThreads(__tstate
);
6813 if (PyErr_Occurred()) return NULL
;
6814 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6815 _resultobj
= Py_BuildValue("s",_ptemp
);
6819 static PyObject
*_wrap_wxDateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
* _resultobj
;
6821 wxDateSpan
* _result
;
6822 char *_kwnames
[] = { NULL
};
6826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Week",_kwnames
))
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 _result
= new wxDateSpan (wxDateSpan::Week());
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) return NULL
;
6834 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6835 _resultobj
= Py_BuildValue("s",_ptemp
);
6839 static PyObject
*_wrap_wxDateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
* _resultobj
;
6841 wxDateSpan
* _result
;
6843 char *_kwnames
[] = { "mon", NULL
};
6847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Months",_kwnames
,&_arg0
))
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 _result
= new wxDateSpan (wxDateSpan::Months(_arg0
));
6853 wxPyEndAllowThreads(__tstate
);
6854 if (PyErr_Occurred()) return NULL
;
6855 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6856 _resultobj
= Py_BuildValue("s",_ptemp
);
6860 static PyObject
*_wrap_wxDateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
* _resultobj
;
6862 wxDateSpan
* _result
;
6863 char *_kwnames
[] = { NULL
};
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Month",_kwnames
))
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 _result
= new wxDateSpan (wxDateSpan::Month());
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) return NULL
;
6875 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6876 _resultobj
= Py_BuildValue("s",_ptemp
);
6880 static PyObject
*_wrap_wxDateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
* _resultobj
;
6882 wxDateSpan
* _result
;
6884 char *_kwnames
[] = { "years", NULL
};
6888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Years",_kwnames
,&_arg0
))
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 _result
= new wxDateSpan (wxDateSpan::Years(_arg0
));
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) return NULL
;
6896 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6897 _resultobj
= Py_BuildValue("s",_ptemp
);
6901 static PyObject
*_wrap_wxDateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6902 PyObject
* _resultobj
;
6903 wxDateSpan
* _result
;
6904 char *_kwnames
[] = { NULL
};
6908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Year",_kwnames
))
6911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6912 _result
= new wxDateSpan (wxDateSpan::Year());
6914 wxPyEndAllowThreads(__tstate
);
6915 if (PyErr_Occurred()) return NULL
;
6916 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6917 _resultobj
= Py_BuildValue("s",_ptemp
);
6921 #define wxDateSpan_SetYears(_swigobj,_swigarg0) (_swigobj->SetYears(_swigarg0))
6922 static PyObject
*_wrap_wxDateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
* _resultobj
;
6924 wxDateSpan
* _result
;
6927 PyObject
* _argo0
= 0;
6928 char *_kwnames
[] = { "self","n", NULL
};
6932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetYears",_kwnames
,&_argo0
,&_arg1
))
6935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetYears. Expected _wxDateSpan_p.");
6942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6943 wxDateSpan
& _result_ref
= wxDateSpan_SetYears(_arg0
,_arg1
);
6944 _result
= (wxDateSpan
*) &_result_ref
;
6946 wxPyEndAllowThreads(__tstate
);
6947 if (PyErr_Occurred()) return NULL
;
6949 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6950 _resultobj
= Py_BuildValue("s",_ptemp
);
6953 _resultobj
= Py_None
;
6958 #define wxDateSpan_SetMonths(_swigobj,_swigarg0) (_swigobj->SetMonths(_swigarg0))
6959 static PyObject
*_wrap_wxDateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
* _resultobj
;
6961 wxDateSpan
* _result
;
6964 PyObject
* _argo0
= 0;
6965 char *_kwnames
[] = { "self","n", NULL
};
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetMonths",_kwnames
,&_argo0
,&_arg1
))
6972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetMonths. Expected _wxDateSpan_p.");
6979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6980 wxDateSpan
& _result_ref
= wxDateSpan_SetMonths(_arg0
,_arg1
);
6981 _result
= (wxDateSpan
*) &_result_ref
;
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) return NULL
;
6986 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6987 _resultobj
= Py_BuildValue("s",_ptemp
);
6990 _resultobj
= Py_None
;
6995 #define wxDateSpan_SetWeeks(_swigobj,_swigarg0) (_swigobj->SetWeeks(_swigarg0))
6996 static PyObject
*_wrap_wxDateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
* _resultobj
;
6998 wxDateSpan
* _result
;
7001 PyObject
* _argo0
= 0;
7002 char *_kwnames
[] = { "self","n", NULL
};
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetWeeks",_kwnames
,&_argo0
,&_arg1
))
7009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetWeeks. Expected _wxDateSpan_p.");
7016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7017 wxDateSpan
& _result_ref
= wxDateSpan_SetWeeks(_arg0
,_arg1
);
7018 _result
= (wxDateSpan
*) &_result_ref
;
7020 wxPyEndAllowThreads(__tstate
);
7021 if (PyErr_Occurred()) return NULL
;
7023 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7024 _resultobj
= Py_BuildValue("s",_ptemp
);
7027 _resultobj
= Py_None
;
7032 #define wxDateSpan_SetDays(_swigobj,_swigarg0) (_swigobj->SetDays(_swigarg0))
7033 static PyObject
*_wrap_wxDateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7034 PyObject
* _resultobj
;
7035 wxDateSpan
* _result
;
7038 PyObject
* _argo0
= 0;
7039 char *_kwnames
[] = { "self","n", NULL
};
7043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetDays",_kwnames
,&_argo0
,&_arg1
))
7046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetDays. Expected _wxDateSpan_p.");
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 wxDateSpan
& _result_ref
= wxDateSpan_SetDays(_arg0
,_arg1
);
7055 _result
= (wxDateSpan
*) &_result_ref
;
7057 wxPyEndAllowThreads(__tstate
);
7058 if (PyErr_Occurred()) return NULL
;
7060 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7061 _resultobj
= Py_BuildValue("s",_ptemp
);
7064 _resultobj
= Py_None
;
7069 #define wxDateSpan_GetYears(_swigobj) (_swigobj->GetYears())
7070 static PyObject
*_wrap_wxDateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
* _resultobj
;
7074 PyObject
* _argo0
= 0;
7075 char *_kwnames
[] = { "self", NULL
};
7078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetYears",_kwnames
,&_argo0
))
7081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetYears. Expected _wxDateSpan_p.");
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 _result
= (int )wxDateSpan_GetYears(_arg0
);
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) return NULL
;
7093 } _resultobj
= Py_BuildValue("i",_result
);
7097 #define wxDateSpan_GetMonths(_swigobj) (_swigobj->GetMonths())
7098 static PyObject
*_wrap_wxDateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
* _resultobj
;
7102 PyObject
* _argo0
= 0;
7103 char *_kwnames
[] = { "self", NULL
};
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetMonths",_kwnames
,&_argo0
))
7109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetMonths. Expected _wxDateSpan_p.");
7116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7117 _result
= (int )wxDateSpan_GetMonths(_arg0
);
7119 wxPyEndAllowThreads(__tstate
);
7120 if (PyErr_Occurred()) return NULL
;
7121 } _resultobj
= Py_BuildValue("i",_result
);
7125 #define wxDateSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
7126 static PyObject
*_wrap_wxDateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
* _resultobj
;
7130 PyObject
* _argo0
= 0;
7131 char *_kwnames
[] = { "self", NULL
};
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetWeeks",_kwnames
,&_argo0
))
7137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetWeeks. Expected _wxDateSpan_p.");
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 _result
= (int )wxDateSpan_GetWeeks(_arg0
);
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) return NULL
;
7149 } _resultobj
= Py_BuildValue("i",_result
);
7153 #define wxDateSpan_GetDays(_swigobj) (_swigobj->GetDays())
7154 static PyObject
*_wrap_wxDateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
* _resultobj
;
7158 PyObject
* _argo0
= 0;
7159 char *_kwnames
[] = { "self", NULL
};
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetDays",_kwnames
,&_argo0
))
7165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetDays. Expected _wxDateSpan_p.");
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 _result
= (int )wxDateSpan_GetDays(_arg0
);
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) return NULL
;
7177 } _resultobj
= Py_BuildValue("i",_result
);
7181 #define wxDateSpan_GetTotalDays(_swigobj) (_swigobj->GetTotalDays())
7182 static PyObject
*_wrap_wxDateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7183 PyObject
* _resultobj
;
7186 PyObject
* _argo0
= 0;
7187 char *_kwnames
[] = { "self", NULL
};
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetTotalDays",_kwnames
,&_argo0
))
7193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetTotalDays. Expected _wxDateSpan_p.");
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 _result
= (int )wxDateSpan_GetTotalDays(_arg0
);
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) return NULL
;
7205 } _resultobj
= Py_BuildValue("i",_result
);
7209 #define wxDateSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
7210 static PyObject
*_wrap_wxDateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
* _resultobj
;
7212 wxDateSpan
* _result
;
7215 PyObject
* _argo0
= 0;
7216 PyObject
* _argo1
= 0;
7217 char *_kwnames
[] = { "self","other", NULL
};
7221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Add",_kwnames
,&_argo0
,&_argo1
))
7224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7231 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7232 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 wxDateSpan
& _result_ref
= wxDateSpan_Add(_arg0
,*_arg1
);
7240 _result
= (wxDateSpan
*) &_result_ref
;
7242 wxPyEndAllowThreads(__tstate
);
7243 if (PyErr_Occurred()) return NULL
;
7245 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7246 _resultobj
= Py_BuildValue("s",_ptemp
);
7249 _resultobj
= Py_None
;
7254 #define wxDateSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
7255 static PyObject
*_wrap_wxDateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
* _resultobj
;
7257 wxDateSpan
* _result
;
7260 PyObject
* _argo0
= 0;
7261 PyObject
* _argo1
= 0;
7262 char *_kwnames
[] = { "self","other", NULL
};
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
7269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7276 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7277 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7284 wxDateSpan
& _result_ref
= wxDateSpan_Subtract(_arg0
,*_arg1
);
7285 _result
= (wxDateSpan
*) &_result_ref
;
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) return NULL
;
7290 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7291 _resultobj
= Py_BuildValue("s",_ptemp
);
7294 _resultobj
= Py_None
;
7299 #define wxDateSpan_Neg(_swigobj) (_swigobj->Neg())
7300 static PyObject
*_wrap_wxDateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7301 PyObject
* _resultobj
;
7302 wxDateSpan
* _result
;
7304 PyObject
* _argo0
= 0;
7305 char *_kwnames
[] = { "self", NULL
};
7309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_Neg",_kwnames
,&_argo0
))
7312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Neg. Expected _wxDateSpan_p.");
7319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7320 wxDateSpan
& _result_ref
= wxDateSpan_Neg(_arg0
);
7321 _result
= (wxDateSpan
*) &_result_ref
;
7323 wxPyEndAllowThreads(__tstate
);
7324 if (PyErr_Occurred()) return NULL
;
7326 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7327 _resultobj
= Py_BuildValue("s",_ptemp
);
7330 _resultobj
= Py_None
;
7335 #define wxDateSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
7336 static PyObject
*_wrap_wxDateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7337 PyObject
* _resultobj
;
7338 wxDateSpan
* _result
;
7341 PyObject
* _argo0
= 0;
7342 char *_kwnames
[] = { "self","factor", NULL
};
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
7349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Multiply. Expected _wxDateSpan_p.");
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 wxDateSpan
& _result_ref
= wxDateSpan_Multiply(_arg0
,_arg1
);
7358 _result
= (wxDateSpan
*) &_result_ref
;
7360 wxPyEndAllowThreads(__tstate
);
7361 if (PyErr_Occurred()) return NULL
;
7363 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7364 _resultobj
= Py_BuildValue("s",_ptemp
);
7367 _resultobj
= Py_None
;
7372 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
7373 static PyObject
*_wrap_wxDateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
* _resultobj
;
7375 wxDateSpan
* _result
;
7378 PyObject
* _argo0
= 0;
7379 PyObject
* _argo1
= 0;
7380 char *_kwnames
[] = { "self","other", NULL
};
7384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___add__",_kwnames
,&_argo0
,&_argo1
))
7387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7394 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7395 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 _result
= new wxDateSpan (wxDateSpan___add__(_arg0
,*_arg1
));
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) return NULL
;
7406 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7407 _resultobj
= Py_BuildValue("s",_ptemp
);
7411 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
- other
; }
7412 static PyObject
*_wrap_wxDateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
* _resultobj
;
7414 wxDateSpan
* _result
;
7417 PyObject
* _argo0
= 0;
7418 PyObject
* _argo1
= 0;
7419 char *_kwnames
[] = { "self","other", NULL
};
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
7426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7433 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7434 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 _result
= new wxDateSpan (wxDateSpan___sub__(_arg0
,*_arg1
));
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) return NULL
;
7445 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7446 _resultobj
= Py_BuildValue("s",_ptemp
);
7450 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
) { return *self
* n
; }
7451 static PyObject
*_wrap_wxDateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7452 PyObject
* _resultobj
;
7453 wxDateSpan
* _result
;
7456 PyObject
* _argo0
= 0;
7457 char *_kwnames
[] = { "self","n", NULL
};
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
7464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___mul__. Expected _wxDateSpan_p.");
7471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7472 _result
= new wxDateSpan (wxDateSpan___mul__(_arg0
,_arg1
));
7474 wxPyEndAllowThreads(__tstate
);
7475 if (PyErr_Occurred()) return NULL
;
7476 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7477 _resultobj
= Py_BuildValue("s",_ptemp
);
7481 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
) { return n
* *self
; }
7482 static PyObject
*_wrap_wxDateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
* _resultobj
;
7484 wxDateSpan
* _result
;
7487 PyObject
* _argo0
= 0;
7488 char *_kwnames
[] = { "self","n", NULL
};
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
7495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___rmul__. Expected _wxDateSpan_p.");
7502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7503 _result
= new wxDateSpan (wxDateSpan___rmul__(_arg0
,_arg1
));
7505 wxPyEndAllowThreads(__tstate
);
7506 if (PyErr_Occurred()) return NULL
;
7507 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7508 _resultobj
= Py_BuildValue("s",_ptemp
);
7512 static wxDateSpan
wxDateSpan___neg__(wxDateSpan
*self
) { return self
->Negate(); }
7513 static PyObject
*_wrap_wxDateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7514 PyObject
* _resultobj
;
7515 wxDateSpan
* _result
;
7517 PyObject
* _argo0
= 0;
7518 char *_kwnames
[] = { "self", NULL
};
7522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan___neg__",_kwnames
,&_argo0
))
7525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___neg__. Expected _wxDateSpan_p.");
7532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7533 _result
= new wxDateSpan (wxDateSpan___neg__(_arg0
));
7535 wxPyEndAllowThreads(__tstate
);
7536 if (PyErr_Occurred()) return NULL
;
7537 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7538 _resultobj
= Py_BuildValue("s",_ptemp
);
7542 static PyMethodDef utilscMethods
[] = {
7543 { "wxDateSpan___neg__", (PyCFunction
) _wrap_wxDateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7544 { "wxDateSpan___rmul__", (PyCFunction
) _wrap_wxDateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7545 { "wxDateSpan___mul__", (PyCFunction
) _wrap_wxDateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7546 { "wxDateSpan___sub__", (PyCFunction
) _wrap_wxDateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7547 { "wxDateSpan___add__", (PyCFunction
) _wrap_wxDateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7548 { "wxDateSpan_Multiply", (PyCFunction
) _wrap_wxDateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7549 { "wxDateSpan_Neg", (PyCFunction
) _wrap_wxDateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7550 { "wxDateSpan_Subtract", (PyCFunction
) _wrap_wxDateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7551 { "wxDateSpan_Add", (PyCFunction
) _wrap_wxDateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7552 { "wxDateSpan_GetTotalDays", (PyCFunction
) _wrap_wxDateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
7553 { "wxDateSpan_GetDays", (PyCFunction
) _wrap_wxDateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7554 { "wxDateSpan_GetWeeks", (PyCFunction
) _wrap_wxDateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7555 { "wxDateSpan_GetMonths", (PyCFunction
) _wrap_wxDateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7556 { "wxDateSpan_GetYears", (PyCFunction
) _wrap_wxDateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
7557 { "wxDateSpan_SetDays", (PyCFunction
) _wrap_wxDateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
7558 { "wxDateSpan_SetWeeks", (PyCFunction
) _wrap_wxDateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7559 { "wxDateSpan_SetMonths", (PyCFunction
) _wrap_wxDateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7560 { "wxDateSpan_SetYears", (PyCFunction
) _wrap_wxDateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
7561 { "wxDateSpan_Year", (PyCFunction
) _wrap_wxDateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
7562 { "wxDateSpan_Years", (PyCFunction
) _wrap_wxDateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
7563 { "wxDateSpan_Month", (PyCFunction
) _wrap_wxDateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
7564 { "wxDateSpan_Months", (PyCFunction
) _wrap_wxDateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
7565 { "wxDateSpan_Week", (PyCFunction
) _wrap_wxDateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7566 { "wxDateSpan_Weeks", (PyCFunction
) _wrap_wxDateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7567 { "wxDateSpan_Day", (PyCFunction
) _wrap_wxDateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7568 { "wxDateSpan_Days", (PyCFunction
) _wrap_wxDateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7569 { "delete_wxDateSpan", (PyCFunction
) _wrap_delete_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7570 { "new_wxDateSpan", (PyCFunction
) _wrap_new_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7571 { "wxTimeSpan_Format", (PyCFunction
) _wrap_wxTimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
7572 { "wxTimeSpan_GetMilliseconds", (PyCFunction
) _wrap_wxTimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
7573 { "wxTimeSpan_GetSeconds", (PyCFunction
) _wrap_wxTimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
7574 { "wxTimeSpan_GetMinutes", (PyCFunction
) _wrap_wxTimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
7575 { "wxTimeSpan_GetHours", (PyCFunction
) _wrap_wxTimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
7576 { "wxTimeSpan_GetDays", (PyCFunction
) _wrap_wxTimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7577 { "wxTimeSpan_GetWeeks", (PyCFunction
) _wrap_wxTimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7578 { "wxTimeSpan_IsShorterThan", (PyCFunction
) _wrap_wxTimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
7579 { "wxTimeSpan_IsLongerThan", (PyCFunction
) _wrap_wxTimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
7580 { "wxTimeSpan_IsEqualTo", (PyCFunction
) _wrap_wxTimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7581 { "wxTimeSpan_IsNegative", (PyCFunction
) _wrap_wxTimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
7582 { "wxTimeSpan_IsPositive", (PyCFunction
) _wrap_wxTimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
7583 { "wxTimeSpan_IsNull", (PyCFunction
) _wrap_wxTimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
7584 { "wxTimeSpan___cmp__", (PyCFunction
) _wrap_wxTimeSpan___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7585 { "wxTimeSpan___neg__", (PyCFunction
) _wrap_wxTimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7586 { "wxTimeSpan___rmul__", (PyCFunction
) _wrap_wxTimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7587 { "wxTimeSpan___mul__", (PyCFunction
) _wrap_wxTimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7588 { "wxTimeSpan___sub__", (PyCFunction
) _wrap_wxTimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7589 { "wxTimeSpan___add__", (PyCFunction
) _wrap_wxTimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7590 { "wxTimeSpan_Abs", (PyCFunction
) _wrap_wxTimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
7591 { "wxTimeSpan_Neg", (PyCFunction
) _wrap_wxTimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7592 { "wxTimeSpan_Multiply", (PyCFunction
) _wrap_wxTimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7593 { "wxTimeSpan_Subtract", (PyCFunction
) _wrap_wxTimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7594 { "wxTimeSpan_Add", (PyCFunction
) _wrap_wxTimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7595 { "delete_wxTimeSpan", (PyCFunction
) _wrap_delete_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7596 { "new_wxTimeSpan", (PyCFunction
) _wrap_new_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7597 { "wxTimeSpan_Week", (PyCFunction
) _wrap_wxTimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7598 { "wxTimeSpan_Weeks", (PyCFunction
) _wrap_wxTimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7599 { "wxTimeSpan_Day", (PyCFunction
) _wrap_wxTimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7600 { "wxTimeSpan_Days", (PyCFunction
) _wrap_wxTimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7601 { "wxTimeSpan_Hour", (PyCFunction
) _wrap_wxTimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
7602 { "wxTimeSpan_Hours", (PyCFunction
) _wrap_wxTimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
7603 { "wxTimeSpan_Minute", (PyCFunction
) _wrap_wxTimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
7604 { "wxTimeSpan_Minutes", (PyCFunction
) _wrap_wxTimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
7605 { "wxTimeSpan_Second", (PyCFunction
) _wrap_wxTimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
7606 { "wxTimeSpan_Seconds", (PyCFunction
) _wrap_wxTimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
7607 { "wxDateTime_FormatISOTime", (PyCFunction
) _wrap_wxDateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
7608 { "wxDateTime_FormatISODate", (PyCFunction
) _wrap_wxDateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
7609 { "wxDateTime_FormatTime", (PyCFunction
) _wrap_wxDateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
7610 { "wxDateTime_FormatDate", (PyCFunction
) _wrap_wxDateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
7611 { "wxDateTime_Format", (PyCFunction
) _wrap_wxDateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
7612 { "wxDateTime_ParseTime", (PyCFunction
) _wrap_wxDateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
7613 { "wxDateTime_ParseDate", (PyCFunction
) _wrap_wxDateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
7614 { "wxDateTime_ParseDateTime", (PyCFunction
) _wrap_wxDateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7615 { "wxDateTime_ParseFormat", (PyCFunction
) _wrap_wxDateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
7616 { "wxDateTime_ParseRfc822Date", (PyCFunction
) _wrap_wxDateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
7617 { "wxDateTime___cmp__", (PyCFunction
) _wrap_wxDateTime___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7618 { "wxDateTime___sub__DS", (PyCFunction
) _wrap_wxDateTime___sub__DS
, METH_VARARGS
| METH_KEYWORDS
},
7619 { "wxDateTime___sub__TS", (PyCFunction
) _wrap_wxDateTime___sub__TS
, METH_VARARGS
| METH_KEYWORDS
},
7620 { "wxDateTime___sub__DT", (PyCFunction
) _wrap_wxDateTime___sub__DT
, METH_VARARGS
| METH_KEYWORDS
},
7621 { "wxDateTime___add__DS", (PyCFunction
) _wrap_wxDateTime___add__DS
, METH_VARARGS
| METH_KEYWORDS
},
7622 { "wxDateTime___add__TS", (PyCFunction
) _wrap_wxDateTime___add__TS
, METH_VARARGS
| METH_KEYWORDS
},
7623 { "wxDateTime_Subtract", (PyCFunction
) _wrap_wxDateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7624 { "wxDateTime_SubtractDS", (PyCFunction
) _wrap_wxDateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
7625 { "wxDateTime_SubtractTS", (PyCFunction
) _wrap_wxDateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
7626 { "wxDateTime_AddDS", (PyCFunction
) _wrap_wxDateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
7627 { "wxDateTime_AddTS", (PyCFunction
) _wrap_wxDateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
7628 { "wxDateTime_IsEqualUpTo", (PyCFunction
) _wrap_wxDateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
7629 { "wxDateTime_IsSameTime", (PyCFunction
) _wrap_wxDateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
7630 { "wxDateTime_IsSameDate", (PyCFunction
) _wrap_wxDateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
7631 { "wxDateTime_IsBetween", (PyCFunction
) _wrap_wxDateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
7632 { "wxDateTime_IsStrictlyBetween", (PyCFunction
) _wrap_wxDateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
7633 { "wxDateTime_IsLaterThan", (PyCFunction
) _wrap_wxDateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
7634 { "wxDateTime_IsEarlierThan", (PyCFunction
) _wrap_wxDateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
7635 { "wxDateTime_IsEqualTo", (PyCFunction
) _wrap_wxDateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7636 { "wxDateTime_IsWorkDay", (PyCFunction
) _wrap_wxDateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
7637 { "wxDateTime_GetWeekOfMonth", (PyCFunction
) _wrap_wxDateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
7638 { "wxDateTime_GetWeekOfYear", (PyCFunction
) _wrap_wxDateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7639 { "wxDateTime_GetDayOfYear", (PyCFunction
) _wrap_wxDateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7640 { "wxDateTime_GetMillisecond", (PyCFunction
) _wrap_wxDateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7641 { "wxDateTime_GetSecond", (PyCFunction
) _wrap_wxDateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7642 { "wxDateTime_GetMinute", (PyCFunction
) _wrap_wxDateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7643 { "wxDateTime_GetHour", (PyCFunction
) _wrap_wxDateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
7644 { "wxDateTime_GetWeekDay", (PyCFunction
) _wrap_wxDateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7645 { "wxDateTime_GetDay", (PyCFunction
) _wrap_wxDateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
7646 { "wxDateTime_GetMonth", (PyCFunction
) _wrap_wxDateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7647 { "wxDateTime_GetYear", (PyCFunction
) _wrap_wxDateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
7648 { "wxDateTime_GetTicks", (PyCFunction
) _wrap_wxDateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
7649 { "wxDateTime_IsValid", (PyCFunction
) _wrap_wxDateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
7650 { "wxDateTime_IsDST", (PyCFunction
) _wrap_wxDateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
7651 { "wxDateTime_MakeGMT", (PyCFunction
) _wrap_wxDateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
7652 { "wxDateTime_ToGMT", (PyCFunction
) _wrap_wxDateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
7653 { "wxDateTime_MakeTimezone", (PyCFunction
) _wrap_wxDateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7654 { "wxDateTime_ToTimezone", (PyCFunction
) _wrap_wxDateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7655 { "wxDateTime_GetRataDie", (PyCFunction
) _wrap_wxDateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
7656 { "wxDateTime_GetMJD", (PyCFunction
) _wrap_wxDateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
7657 { "wxDateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7658 { "wxDateTime_GetJDN", (PyCFunction
) _wrap_wxDateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7659 { "wxDateTime_GetJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7660 { "wxDateTime_GetYearDay", (PyCFunction
) _wrap_wxDateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7661 { "wxDateTime_SetToYearDay", (PyCFunction
) _wrap_wxDateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7662 { "wxDateTime_GetLastMonthDay", (PyCFunction
) _wrap_wxDateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7663 { "wxDateTime_SetToLastMonthDay", (PyCFunction
) _wrap_wxDateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7664 { "wxDateTime_GetWeek", (PyCFunction
) _wrap_wxDateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
7665 { "wxDateTime_SetToTheWeek", (PyCFunction
) _wrap_wxDateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
7666 { "wxDateTime_GetLastWeekDay", (PyCFunction
) _wrap_wxDateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7667 { "wxDateTime_SetToLastWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7668 { "wxDateTime_SetToWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7669 { "wxDateTime_GetPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7670 { "wxDateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7671 { "wxDateTime_GetNextWeekDay", (PyCFunction
) _wrap_wxDateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7672 { "wxDateTime_SetToNextWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7673 { "wxDateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7674 { "wxDateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7675 { "wxDateTime_SetMillisecond", (PyCFunction
) _wrap_wxDateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7676 { "wxDateTime_SetSecond", (PyCFunction
) _wrap_wxDateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7677 { "wxDateTime_SetMinute", (PyCFunction
) _wrap_wxDateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7678 { "wxDateTime_SetHour", (PyCFunction
) _wrap_wxDateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
7679 { "wxDateTime_SetDay", (PyCFunction
) _wrap_wxDateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
7680 { "wxDateTime_SetMonth", (PyCFunction
) _wrap_wxDateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7681 { "wxDateTime_SetYear", (PyCFunction
) _wrap_wxDateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
7682 { "wxDateTime_ResetTime", (PyCFunction
) _wrap_wxDateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
7683 { "wxDateTime_Set", (PyCFunction
) _wrap_wxDateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
7684 { "wxDateTime_SetHMS", (PyCFunction
) _wrap_wxDateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
7685 { "wxDateTime_SetJDN", (PyCFunction
) _wrap_wxDateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7686 { "wxDateTime_SetTimeT", (PyCFunction
) _wrap_wxDateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7687 { "wxDateTime_SetToCurrent", (PyCFunction
) _wrap_wxDateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
7688 { "delete_wxDateTime", (PyCFunction
) _wrap_delete_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7689 { "new_wxDateTimeFromDMY", (PyCFunction
) _wrap_new_wxDateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
7690 { "new_wxDateTimeFromHMS", (PyCFunction
) _wrap_new_wxDateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
7691 { "new_wxDateTimeFromJDN", (PyCFunction
) _wrap_new_wxDateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
7692 { "new_wxDateTimeFromTimeT", (PyCFunction
) _wrap_new_wxDateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7693 { "new_wxDateTime", (PyCFunction
) _wrap_new_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7694 { "wxDateTime_Today", (PyCFunction
) _wrap_wxDateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
7695 { "wxDateTime_Now", (PyCFunction
) _wrap_wxDateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
7696 { "wxDateTime_GetEndDST", (PyCFunction
) _wrap_wxDateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
7697 { "wxDateTime_GetBeginDST", (PyCFunction
) _wrap_wxDateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
7698 { "wxDateTime_IsDSTApplicable", (PyCFunction
) _wrap_wxDateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
7699 { "wxDateTime_GetAmPmStrings", (PyCFunction
) _wrap_wxDateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
7700 { "wxDateTime_GetWeekDayName", (PyCFunction
) _wrap_wxDateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
7701 { "wxDateTime_GetMonthName", (PyCFunction
) _wrap_wxDateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
7702 { "wxDateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
7703 { "wxDateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
7704 { "wxDateTime_GetCentury", (PyCFunction
) _wrap_wxDateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
7705 { "wxDateTime_IsLeapYear", (PyCFunction
) _wrap_wxDateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
7706 { "wxDateTime_GetCurrentMonth", (PyCFunction
) _wrap_wxDateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
7707 { "wxDateTime_ConvertYearToBC", (PyCFunction
) _wrap_wxDateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
7708 { "wxDateTime_GetCurrentYear", (PyCFunction
) _wrap_wxDateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
7709 { "wxDateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_wxDateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
7710 { "wxDateTime_GetCountry", (PyCFunction
) _wrap_wxDateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7711 { "wxDateTime_SetCountry", (PyCFunction
) _wrap_wxDateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7712 { "delete_wxFileConfig", (PyCFunction
) _wrap_delete_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7713 { "new_wxFileConfig", (PyCFunction
) _wrap_new_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7714 { "delete_wxConfig", (PyCFunction
) _wrap_delete_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7715 { "new_wxConfig", (PyCFunction
) _wrap_new_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7716 { "wxConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7717 { "wxConfigBase_RenameGroup", (PyCFunction
) _wrap_wxConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
7718 { "wxConfigBase_RenameEntry", (PyCFunction
) _wrap_wxConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
7719 { "wxConfigBase_GetEntryType", (PyCFunction
) _wrap_wxConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
7720 { "wxConfigBase_WriteBool", (PyCFunction
) _wrap_wxConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
7721 { "wxConfigBase_WriteFloat", (PyCFunction
) _wrap_wxConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
7722 { "wxConfigBase_WriteInt", (PyCFunction
) _wrap_wxConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
7723 { "wxConfigBase_Write", (PyCFunction
) _wrap_wxConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
7724 { "wxConfigBase_GetStyle", (PyCFunction
) _wrap_wxConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7725 { "wxConfigBase_SetStyle", (PyCFunction
) _wrap_wxConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7726 { "wxConfigBase_SetVendorName", (PyCFunction
) _wrap_wxConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7727 { "wxConfigBase_SetAppName", (PyCFunction
) _wrap_wxConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7728 { "wxConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_wxConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7729 { "wxConfigBase_SetPath", (PyCFunction
) _wrap_wxConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
7730 { "wxConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7731 { "wxConfigBase_ReadBool", (PyCFunction
) _wrap_wxConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
7732 { "wxConfigBase_ReadFloat", (PyCFunction
) _wrap_wxConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
7733 { "wxConfigBase_ReadInt", (PyCFunction
) _wrap_wxConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
7734 { "wxConfigBase_Read", (PyCFunction
) _wrap_wxConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
7735 { "wxConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_wxConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7736 { "wxConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_wxConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7737 { "wxConfigBase_HasGroup", (PyCFunction
) _wrap_wxConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
7738 { "wxConfigBase_HasEntry", (PyCFunction
) _wrap_wxConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
7739 { "wxConfigBase_GetVendorName", (PyCFunction
) _wrap_wxConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7740 { "wxConfigBase_GetPath", (PyCFunction
) _wrap_wxConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
7741 { "wxConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
7742 { "wxConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
7743 { "wxConfigBase_GetNextEntry", (PyCFunction
) _wrap_wxConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
7744 { "wxConfigBase_GetNextGroup", (PyCFunction
) _wrap_wxConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
7745 { "wxConfigBase_GetFirstEntry", (PyCFunction
) _wrap_wxConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
7746 { "wxConfigBase_GetFirstGroup", (PyCFunction
) _wrap_wxConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
7747 { "wxConfigBase_GetAppName", (PyCFunction
) _wrap_wxConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7748 { "wxConfigBase_Flush", (PyCFunction
) _wrap_wxConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
7749 { "wxConfigBase_Exists", (PyCFunction
) _wrap_wxConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
7750 { "wxConfigBase_DeleteGroup", (PyCFunction
) _wrap_wxConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
7751 { "wxConfigBase_DeleteEntry", (PyCFunction
) _wrap_wxConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
7752 { "wxConfigBase_DeleteAll", (PyCFunction
) _wrap_wxConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
7753 { "wxConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_wxConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
7754 { "wxConfigBase_Create", (PyCFunction
) _wrap_wxConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
7755 { "wxConfigBase_Get", (PyCFunction
) _wrap_wxConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
7756 { "wxConfigBase_Set", (PyCFunction
) _wrap_wxConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
7757 { "delete_wxConfigBase", (PyCFunction
) _wrap_delete_wxConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
7758 { "wxGetLocalTimeMillis", (PyCFunction
) _wrap_wxGetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
7759 { "wxGetCurrentTime", (PyCFunction
) _wrap_wxGetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
7760 { "wxGetUTCTime", (PyCFunction
) _wrap_wxGetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
7761 { "wxGetLocalTime", (PyCFunction
) _wrap_wxGetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
7768 * This table is used by the pointer type-checker
7770 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7771 { "_signed_long","_long",0},
7772 { "_wxPrintQuality","_wxCoord",0},
7773 { "_wxPrintQuality","_int",0},
7774 { "_wxPrintQuality","_signed_int",0},
7775 { "_wxPrintQuality","_unsigned_int",0},
7776 { "_wxPrintQuality","_wxWindowID",0},
7777 { "_wxPrintQuality","_uint",0},
7778 { "_wxPrintQuality","_EBool",0},
7779 { "_wxPrintQuality","_size_t",0},
7780 { "_wxPrintQuality","_time_t",0},
7781 { "_byte","_unsigned_char",0},
7782 { "_long","_unsigned_long",0},
7783 { "_long","_signed_long",0},
7784 { "_size_t","_wxCoord",0},
7785 { "_size_t","_wxPrintQuality",0},
7786 { "_size_t","_time_t",0},
7787 { "_size_t","_unsigned_int",0},
7788 { "_size_t","_int",0},
7789 { "_size_t","_wxWindowID",0},
7790 { "_size_t","_uint",0},
7791 { "_uint","_wxCoord",0},
7792 { "_uint","_wxPrintQuality",0},
7793 { "_uint","_time_t",0},
7794 { "_uint","_size_t",0},
7795 { "_uint","_unsigned_int",0},
7796 { "_uint","_int",0},
7797 { "_uint","_wxWindowID",0},
7798 { "_wxChar","_char",0},
7799 { "_char","_wxChar",0},
7800 { "_EBool","_wxCoord",0},
7801 { "_EBool","_wxPrintQuality",0},
7802 { "_EBool","_signed_int",0},
7803 { "_EBool","_int",0},
7804 { "_EBool","_wxWindowID",0},
7805 { "_unsigned_long","_long",0},
7806 { "_signed_int","_wxCoord",0},
7807 { "_signed_int","_wxPrintQuality",0},
7808 { "_signed_int","_EBool",0},
7809 { "_signed_int","_wxWindowID",0},
7810 { "_signed_int","_int",0},
7811 { "_WXTYPE","_wxDateTime_t",0},
7812 { "_WXTYPE","_short",0},
7813 { "_WXTYPE","_signed_short",0},
7814 { "_WXTYPE","_unsigned_short",0},
7815 { "_unsigned_short","_wxDateTime_t",0},
7816 { "_unsigned_short","_WXTYPE",0},
7817 { "_unsigned_short","_short",0},
7818 { "_signed_short","_WXTYPE",0},
7819 { "_signed_short","_short",0},
7820 { "_unsigned_char","_byte",0},
7821 { "_unsigned_int","_wxCoord",0},
7822 { "_unsigned_int","_wxPrintQuality",0},
7823 { "_unsigned_int","_time_t",0},
7824 { "_unsigned_int","_size_t",0},
7825 { "_unsigned_int","_uint",0},
7826 { "_unsigned_int","_wxWindowID",0},
7827 { "_unsigned_int","_int",0},
7828 { "_wxConfigBase","_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7829 { "_wxConfigBase","_wxConfig",SwigwxConfigTowxConfigBase
},
7830 { "_short","_wxDateTime_t",0},
7831 { "_short","_WXTYPE",0},
7832 { "_short","_unsigned_short",0},
7833 { "_short","_signed_short",0},
7834 { "_wxWindowID","_wxCoord",0},
7835 { "_wxWindowID","_wxPrintQuality",0},
7836 { "_wxWindowID","_time_t",0},
7837 { "_wxWindowID","_size_t",0},
7838 { "_wxWindowID","_EBool",0},
7839 { "_wxWindowID","_uint",0},
7840 { "_wxWindowID","_int",0},
7841 { "_wxWindowID","_signed_int",0},
7842 { "_wxWindowID","_unsigned_int",0},
7843 { "_int","_wxCoord",0},
7844 { "_int","_wxPrintQuality",0},
7845 { "_int","_time_t",0},
7846 { "_int","_size_t",0},
7847 { "_int","_EBool",0},
7848 { "_int","_uint",0},
7849 { "_int","_wxWindowID",0},
7850 { "_int","_unsigned_int",0},
7851 { "_int","_signed_int",0},
7852 { "_wxDateTime_t","_unsigned_short",0},
7853 { "_wxDateTime_t","_short",0},
7854 { "_wxDateTime_t","_WXTYPE",0},
7855 { "_time_t","_wxCoord",0},
7856 { "_time_t","_wxPrintQuality",0},
7857 { "_time_t","_unsigned_int",0},
7858 { "_time_t","_int",0},
7859 { "_time_t","_wxWindowID",0},
7860 { "_time_t","_uint",0},
7861 { "_time_t","_size_t",0},
7862 { "_wxCoord","_int",0},
7863 { "_wxCoord","_signed_int",0},
7864 { "_wxCoord","_unsigned_int",0},
7865 { "_wxCoord","_wxWindowID",0},
7866 { "_wxCoord","_uint",0},
7867 { "_wxCoord","_EBool",0},
7868 { "_wxCoord","_size_t",0},
7869 { "_wxCoord","_time_t",0},
7870 { "_wxCoord","_wxPrintQuality",0},
7873 static PyObject
*SWIG_globals
;
7877 SWIGEXPORT(void) initutilsc() {
7879 SWIG_globals
= SWIG_newvarlink();
7880 m
= Py_InitModule("utilsc", utilscMethods
);
7881 d
= PyModule_GetDict(m
);
7882 PyDict_SetItemString(d
,"wxCONFIG_USE_LOCAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_LOCAL_FILE
));
7883 PyDict_SetItemString(d
,"wxCONFIG_USE_GLOBAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_GLOBAL_FILE
));
7884 PyDict_SetItemString(d
,"wxCONFIG_USE_RELATIVE_PATH", PyInt_FromLong((long) wxCONFIG_USE_RELATIVE_PATH
));
7886 // These are no longer needed since utils is back in the core
7887 // wxClassInfo::CleanUpClasses();
7888 // wxClassInfo::InitializeClasses();
7889 PyDict_SetItemString(d
,"wxConfigBase_Type_Unknown", PyInt_FromLong((long) wxConfigBase::Type_Unknown
));
7890 PyDict_SetItemString(d
,"wxConfigBase_Type_String", PyInt_FromLong((long) wxConfigBase::Type_String
));
7891 PyDict_SetItemString(d
,"wxConfigBase_Type_Boolean", PyInt_FromLong((long) wxConfigBase::Type_Boolean
));
7892 PyDict_SetItemString(d
,"wxConfigBase_Type_Integer", PyInt_FromLong((long) wxConfigBase::Type_Integer
));
7893 PyDict_SetItemString(d
,"wxConfigBase_Type_Float", PyInt_FromLong((long) wxConfigBase::Type_Float
));
7894 PyDict_SetItemString(d
,"wxDateTime_Local", PyInt_FromLong((long) wxDateTime::Local
));
7895 PyDict_SetItemString(d
,"wxDateTime_GMT_12", PyInt_FromLong((long) wxDateTime::GMT_12
));
7896 PyDict_SetItemString(d
,"wxDateTime_GMT_11", PyInt_FromLong((long) wxDateTime::GMT_11
));
7897 PyDict_SetItemString(d
,"wxDateTime_GMT_10", PyInt_FromLong((long) wxDateTime::GMT_10
));
7898 PyDict_SetItemString(d
,"wxDateTime_GMT_9", PyInt_FromLong((long) wxDateTime::GMT_9
));
7899 PyDict_SetItemString(d
,"wxDateTime_GMT_8", PyInt_FromLong((long) wxDateTime::GMT_8
));
7900 PyDict_SetItemString(d
,"wxDateTime_GMT_7", PyInt_FromLong((long) wxDateTime::GMT_7
));
7901 PyDict_SetItemString(d
,"wxDateTime_GMT_6", PyInt_FromLong((long) wxDateTime::GMT_6
));
7902 PyDict_SetItemString(d
,"wxDateTime_GMT_5", PyInt_FromLong((long) wxDateTime::GMT_5
));
7903 PyDict_SetItemString(d
,"wxDateTime_GMT_4", PyInt_FromLong((long) wxDateTime::GMT_4
));
7904 PyDict_SetItemString(d
,"wxDateTime_GMT_3", PyInt_FromLong((long) wxDateTime::GMT_3
));
7905 PyDict_SetItemString(d
,"wxDateTime_GMT_2", PyInt_FromLong((long) wxDateTime::GMT_2
));
7906 PyDict_SetItemString(d
,"wxDateTime_GMT_1", PyInt_FromLong((long) wxDateTime::GMT_1
));
7907 PyDict_SetItemString(d
,"wxDateTime_GMT0", PyInt_FromLong((long) wxDateTime::GMT0
));
7908 PyDict_SetItemString(d
,"wxDateTime_GMT1", PyInt_FromLong((long) wxDateTime::GMT1
));
7909 PyDict_SetItemString(d
,"wxDateTime_GMT2", PyInt_FromLong((long) wxDateTime::GMT2
));
7910 PyDict_SetItemString(d
,"wxDateTime_GMT3", PyInt_FromLong((long) wxDateTime::GMT3
));
7911 PyDict_SetItemString(d
,"wxDateTime_GMT4", PyInt_FromLong((long) wxDateTime::GMT4
));
7912 PyDict_SetItemString(d
,"wxDateTime_GMT5", PyInt_FromLong((long) wxDateTime::GMT5
));
7913 PyDict_SetItemString(d
,"wxDateTime_GMT6", PyInt_FromLong((long) wxDateTime::GMT6
));
7914 PyDict_SetItemString(d
,"wxDateTime_GMT7", PyInt_FromLong((long) wxDateTime::GMT7
));
7915 PyDict_SetItemString(d
,"wxDateTime_GMT8", PyInt_FromLong((long) wxDateTime::GMT8
));
7916 PyDict_SetItemString(d
,"wxDateTime_GMT9", PyInt_FromLong((long) wxDateTime::GMT9
));
7917 PyDict_SetItemString(d
,"wxDateTime_GMT10", PyInt_FromLong((long) wxDateTime::GMT10
));
7918 PyDict_SetItemString(d
,"wxDateTime_GMT11", PyInt_FromLong((long) wxDateTime::GMT11
));
7919 PyDict_SetItemString(d
,"wxDateTime_GMT12", PyInt_FromLong((long) wxDateTime::GMT12
));
7920 PyDict_SetItemString(d
,"wxDateTime_WET", PyInt_FromLong((long) wxDateTime::WET
));
7921 PyDict_SetItemString(d
,"wxDateTime_WEST", PyInt_FromLong((long) wxDateTime::WEST
));
7922 PyDict_SetItemString(d
,"wxDateTime_CET", PyInt_FromLong((long) wxDateTime::CET
));
7923 PyDict_SetItemString(d
,"wxDateTime_CEST", PyInt_FromLong((long) wxDateTime::CEST
));
7924 PyDict_SetItemString(d
,"wxDateTime_EET", PyInt_FromLong((long) wxDateTime::EET
));
7925 PyDict_SetItemString(d
,"wxDateTime_EEST", PyInt_FromLong((long) wxDateTime::EEST
));
7926 PyDict_SetItemString(d
,"wxDateTime_MSK", PyInt_FromLong((long) wxDateTime::MSK
));
7927 PyDict_SetItemString(d
,"wxDateTime_MSD", PyInt_FromLong((long) wxDateTime::MSD
));
7928 PyDict_SetItemString(d
,"wxDateTime_AST", PyInt_FromLong((long) wxDateTime::AST
));
7929 PyDict_SetItemString(d
,"wxDateTime_ADT", PyInt_FromLong((long) wxDateTime::ADT
));
7930 PyDict_SetItemString(d
,"wxDateTime_EST", PyInt_FromLong((long) wxDateTime::EST
));
7931 PyDict_SetItemString(d
,"wxDateTime_EDT", PyInt_FromLong((long) wxDateTime::EDT
));
7932 PyDict_SetItemString(d
,"wxDateTime_CST", PyInt_FromLong((long) wxDateTime::CST
));
7933 PyDict_SetItemString(d
,"wxDateTime_CDT", PyInt_FromLong((long) wxDateTime::CDT
));
7934 PyDict_SetItemString(d
,"wxDateTime_MST", PyInt_FromLong((long) wxDateTime::MST
));
7935 PyDict_SetItemString(d
,"wxDateTime_MDT", PyInt_FromLong((long) wxDateTime::MDT
));
7936 PyDict_SetItemString(d
,"wxDateTime_PST", PyInt_FromLong((long) wxDateTime::PST
));
7937 PyDict_SetItemString(d
,"wxDateTime_PDT", PyInt_FromLong((long) wxDateTime::PDT
));
7938 PyDict_SetItemString(d
,"wxDateTime_HST", PyInt_FromLong((long) wxDateTime::HST
));
7939 PyDict_SetItemString(d
,"wxDateTime_AKST", PyInt_FromLong((long) wxDateTime::AKST
));
7940 PyDict_SetItemString(d
,"wxDateTime_AKDT", PyInt_FromLong((long) wxDateTime::AKDT
));
7941 PyDict_SetItemString(d
,"wxDateTime_A_WST", PyInt_FromLong((long) wxDateTime::A_WST
));
7942 PyDict_SetItemString(d
,"wxDateTime_A_CST", PyInt_FromLong((long) wxDateTime::A_CST
));
7943 PyDict_SetItemString(d
,"wxDateTime_A_EST", PyInt_FromLong((long) wxDateTime::A_EST
));
7944 PyDict_SetItemString(d
,"wxDateTime_A_ESST", PyInt_FromLong((long) wxDateTime::A_ESST
));
7945 PyDict_SetItemString(d
,"wxDateTime_UTC", PyInt_FromLong((long) wxDateTime::UTC
));
7946 PyDict_SetItemString(d
,"wxDateTime_Gregorian", PyInt_FromLong((long) wxDateTime::Gregorian
));
7947 PyDict_SetItemString(d
,"wxDateTime_Julian", PyInt_FromLong((long) wxDateTime::Julian
));
7948 PyDict_SetItemString(d
,"wxDateTime_Country_Unknown", PyInt_FromLong((long) wxDateTime::Country_Unknown
));
7949 PyDict_SetItemString(d
,"wxDateTime_Country_Default", PyInt_FromLong((long) wxDateTime::Country_Default
));
7950 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_Start", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_Start
));
7951 PyDict_SetItemString(d
,"wxDateTime_Country_EEC", PyInt_FromLong((long) wxDateTime::Country_EEC
));
7952 PyDict_SetItemString(d
,"wxDateTime_France", PyInt_FromLong((long) wxDateTime::France
));
7953 PyDict_SetItemString(d
,"wxDateTime_Germany", PyInt_FromLong((long) wxDateTime::Germany
));
7954 PyDict_SetItemString(d
,"wxDateTime_UK", PyInt_FromLong((long) wxDateTime::UK
));
7955 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_End", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_End
));
7956 PyDict_SetItemString(d
,"wxDateTime_Russia", PyInt_FromLong((long) wxDateTime::Russia
));
7957 PyDict_SetItemString(d
,"wxDateTime_USA", PyInt_FromLong((long) wxDateTime::USA
));
7958 PyDict_SetItemString(d
,"wxDateTime_Jan", PyInt_FromLong((long) wxDateTime::Jan
));
7959 PyDict_SetItemString(d
,"wxDateTime_Feb", PyInt_FromLong((long) wxDateTime::Feb
));
7960 PyDict_SetItemString(d
,"wxDateTime_Mar", PyInt_FromLong((long) wxDateTime::Mar
));
7961 PyDict_SetItemString(d
,"wxDateTime_Apr", PyInt_FromLong((long) wxDateTime::Apr
));
7962 PyDict_SetItemString(d
,"wxDateTime_May", PyInt_FromLong((long) wxDateTime::May
));
7963 PyDict_SetItemString(d
,"wxDateTime_Jun", PyInt_FromLong((long) wxDateTime::Jun
));
7964 PyDict_SetItemString(d
,"wxDateTime_Jul", PyInt_FromLong((long) wxDateTime::Jul
));
7965 PyDict_SetItemString(d
,"wxDateTime_Aug", PyInt_FromLong((long) wxDateTime::Aug
));
7966 PyDict_SetItemString(d
,"wxDateTime_Sep", PyInt_FromLong((long) wxDateTime::Sep
));
7967 PyDict_SetItemString(d
,"wxDateTime_Oct", PyInt_FromLong((long) wxDateTime::Oct
));
7968 PyDict_SetItemString(d
,"wxDateTime_Nov", PyInt_FromLong((long) wxDateTime::Nov
));
7969 PyDict_SetItemString(d
,"wxDateTime_Dec", PyInt_FromLong((long) wxDateTime::Dec
));
7970 PyDict_SetItemString(d
,"wxDateTime_Inv_Month", PyInt_FromLong((long) wxDateTime::Inv_Month
));
7971 PyDict_SetItemString(d
,"wxDateTime_Sun", PyInt_FromLong((long) wxDateTime::Sun
));
7972 PyDict_SetItemString(d
,"wxDateTime_Mon", PyInt_FromLong((long) wxDateTime::Mon
));
7973 PyDict_SetItemString(d
,"wxDateTime_Tue", PyInt_FromLong((long) wxDateTime::Tue
));
7974 PyDict_SetItemString(d
,"wxDateTime_Wed", PyInt_FromLong((long) wxDateTime::Wed
));
7975 PyDict_SetItemString(d
,"wxDateTime_Thu", PyInt_FromLong((long) wxDateTime::Thu
));
7976 PyDict_SetItemString(d
,"wxDateTime_Fri", PyInt_FromLong((long) wxDateTime::Fri
));
7977 PyDict_SetItemString(d
,"wxDateTime_Sat", PyInt_FromLong((long) wxDateTime::Sat
));
7978 PyDict_SetItemString(d
,"wxDateTime_Inv_WeekDay", PyInt_FromLong((long) wxDateTime::Inv_WeekDay
));
7979 PyDict_SetItemString(d
,"wxDateTime_Inv_Year", PyInt_FromLong((long) wxDateTime::Inv_Year
));
7980 PyDict_SetItemString(d
,"wxDateTime_Name_Full", PyInt_FromLong((long) wxDateTime::Name_Full
));
7981 PyDict_SetItemString(d
,"wxDateTime_Name_Abbr", PyInt_FromLong((long) wxDateTime::Name_Abbr
));
7982 PyDict_SetItemString(d
,"wxDateTime_Default_First", PyInt_FromLong((long) wxDateTime::Default_First
));
7983 PyDict_SetItemString(d
,"wxDateTime_Monday_First", PyInt_FromLong((long) wxDateTime::Monday_First
));
7984 PyDict_SetItemString(d
,"wxDateTime_Sunday_First", PyInt_FromLong((long) wxDateTime::Sunday_First
));
7987 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7988 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);