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 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,const wxString
& date
) {
5132 const wxChar
* _date
= date
;
5133 rv
= self
->ParseRfc822Date(_date
);
5134 if (rv
== NULL
) return -1;
5137 static PyObject
*_wrap_wxDateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5138 PyObject
* _resultobj
;
5142 PyObject
* _argo0
= 0;
5143 PyObject
* _obj1
= 0;
5144 char *_kwnames
[] = { "self","date", NULL
};
5147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_ParseRfc822Date",_kwnames
,&_argo0
,&_obj1
))
5150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseRfc822Date. Expected _wxDateTime_p.");
5157 _arg1
= wxString_in_helper(_obj1
);
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 _result
= (int )wxDateTime_ParseRfc822Date(_arg0
,*_arg1
);
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) return NULL
;
5167 } _resultobj
= Py_BuildValue("i",_result
);
5175 static int wxDateTime_ParseFormat(wxDateTime
*self
,const wxString
& date
,const wxString
& format
,const wxDateTime
& dateDef
) {
5177 const wxChar
* _date
= date
;
5178 rv
= self
->ParseFormat(_date
, format
, dateDef
);
5179 if (rv
== NULL
) return -1;
5182 static PyObject
*_wrap_wxDateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
* _resultobj
;
5187 wxString
* _arg2
= (wxString
*) &wxPyDateFormatStr
;
5188 wxDateTime
* _arg3
= (wxDateTime
*) &wxDefaultDateTime
;
5189 PyObject
* _argo0
= 0;
5190 PyObject
* _obj1
= 0;
5191 PyObject
* _obj2
= 0;
5192 PyObject
* _argo3
= 0;
5193 char *_kwnames
[] = { "self","date","format","dateDef", NULL
};
5196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxDateTime_ParseFormat",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_argo3
))
5199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5206 _arg1
= wxString_in_helper(_obj1
);
5212 _arg2
= wxString_in_helper(_obj2
);
5217 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5218 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime_p")) {
5219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 _result
= (int )wxDateTime_ParseFormat(_arg0
,*_arg1
,*_arg2
,*_arg3
);
5227 wxPyEndAllowThreads(__tstate
);
5228 if (PyErr_Occurred()) return NULL
;
5229 } _resultobj
= Py_BuildValue("i",_result
);
5241 static int wxDateTime_ParseDateTime(wxDateTime
*self
,const wxString
& datetime
) {
5243 const wxChar
* _datetime
= datetime
;
5244 rv
= self
->ParseDateTime(_datetime
);
5245 if (rv
== NULL
) return -1;
5246 return rv
- _datetime
;
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
= (int )wxDateTime_ParseDateTime(_arg0
,*_arg1
);
5276 wxPyEndAllowThreads(__tstate
);
5277 if (PyErr_Occurred()) return NULL
;
5278 } _resultobj
= Py_BuildValue("i",_result
);
5286 static int wxDateTime_ParseDate(wxDateTime
*self
,const wxString
& date
) {
5288 const wxChar
* _date
= date
;
5289 rv
= self
->ParseDate(_date
);
5290 if (rv
== NULL
) return -1;
5293 static PyObject
*_wrap_wxDateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
* _resultobj
;
5298 PyObject
* _argo0
= 0;
5299 PyObject
* _obj1
= 0;
5300 char *_kwnames
[] = { "self","date", NULL
};
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_ParseDate",_kwnames
,&_argo0
,&_obj1
))
5306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDate. Expected _wxDateTime_p.");
5313 _arg1
= wxString_in_helper(_obj1
);
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 _result
= (int )wxDateTime_ParseDate(_arg0
,*_arg1
);
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) return NULL
;
5323 } _resultobj
= Py_BuildValue("i",_result
);
5331 static int wxDateTime_ParseTime(wxDateTime
*self
,const wxString
& time
) {
5333 const wxChar
* _time
= time
;
5334 rv
= self
->ParseTime(_time
);
5335 if (rv
== NULL
) return -1;
5338 static PyObject
*_wrap_wxDateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
* _resultobj
;
5343 PyObject
* _argo0
= 0;
5344 PyObject
* _obj1
= 0;
5345 char *_kwnames
[] = { "self","time", NULL
};
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_ParseTime",_kwnames
,&_argo0
,&_obj1
))
5351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseTime. Expected _wxDateTime_p.");
5358 _arg1
= wxString_in_helper(_obj1
);
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 _result
= (int )wxDateTime_ParseTime(_arg0
,*_arg1
);
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) return NULL
;
5368 } _resultobj
= Py_BuildValue("i",_result
);
5376 #define wxDateTime_Format(_swigobj,_swigarg0,_swigarg1) (_swigobj->Format(_swigarg0,_swigarg1))
5377 static PyObject
*_wrap_wxDateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
* _resultobj
;
5381 wxString
* _arg1
= (wxString
*) &wxPyDateFormatStr
;
5382 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
5383 PyObject
* _argo0
= 0;
5384 PyObject
* _obj1
= 0;
5385 PyObject
* _obj2
= 0;
5386 char *_kwnames
[] = { "self","format","tz", NULL
};
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxDateTime_Format",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Format. Expected _wxDateTime_p.");
5400 _arg1
= wxString_in_helper(_obj1
);
5406 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 _result
= new wxString (wxDateTime_Format(_arg0
,*_arg1
,*_arg2
));
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) return NULL
;
5416 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5418 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5426 if (_arg2
) delete _arg2
;
5434 #define wxDateTime_FormatDate(_swigobj) (_swigobj->FormatDate())
5435 static PyObject
*_wrap_wxDateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
* _resultobj
;
5439 PyObject
* _argo0
= 0;
5440 char *_kwnames
[] = { "self", NULL
};
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatDate",_kwnames
,&_argo0
))
5446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatDate. Expected _wxDateTime_p.");
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 _result
= new wxString (wxDateTime_FormatDate(_arg0
));
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) return NULL
;
5460 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5462 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5471 #define wxDateTime_FormatTime(_swigobj) (_swigobj->FormatTime())
5472 static PyObject
*_wrap_wxDateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
* _resultobj
;
5476 PyObject
* _argo0
= 0;
5477 char *_kwnames
[] = { "self", NULL
};
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatTime",_kwnames
,&_argo0
))
5483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatTime. Expected _wxDateTime_p.");
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 _result
= new wxString (wxDateTime_FormatTime(_arg0
));
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) return NULL
;
5497 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5499 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5508 #define wxDateTime_FormatISODate(_swigobj) (_swigobj->FormatISODate())
5509 static PyObject
*_wrap_wxDateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5510 PyObject
* _resultobj
;
5513 PyObject
* _argo0
= 0;
5514 char *_kwnames
[] = { "self", NULL
};
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISODate",_kwnames
,&_argo0
))
5520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISODate. Expected _wxDateTime_p.");
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 _result
= new wxString (wxDateTime_FormatISODate(_arg0
));
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) return NULL
;
5534 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5536 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5545 #define wxDateTime_FormatISOTime(_swigobj) (_swigobj->FormatISOTime())
5546 static PyObject
*_wrap_wxDateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
* _resultobj
;
5550 PyObject
* _argo0
= 0;
5551 char *_kwnames
[] = { "self", NULL
};
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISOTime",_kwnames
,&_argo0
))
5557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISOTime. Expected _wxDateTime_p.");
5564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5565 _result
= new wxString (wxDateTime_FormatISOTime(_arg0
));
5567 wxPyEndAllowThreads(__tstate
);
5568 if (PyErr_Occurred()) return NULL
;
5571 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5573 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5582 static PyObject
*_wrap_wxTimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
* _resultobj
;
5584 wxTimeSpan
* _result
;
5586 char *_kwnames
[] = { "sec", NULL
};
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Seconds",_kwnames
,&_arg0
))
5593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5594 _result
= new wxTimeSpan (wxTimeSpan::Seconds(_arg0
));
5596 wxPyEndAllowThreads(__tstate
);
5597 if (PyErr_Occurred()) return NULL
;
5598 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5599 _resultobj
= Py_BuildValue("s",_ptemp
);
5603 static PyObject
*_wrap_wxTimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
* _resultobj
;
5605 wxTimeSpan
* _result
;
5606 char *_kwnames
[] = { NULL
};
5610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Second",_kwnames
))
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 _result
= new wxTimeSpan (wxTimeSpan::Second());
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) return NULL
;
5618 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5619 _resultobj
= Py_BuildValue("s",_ptemp
);
5623 static PyObject
*_wrap_wxTimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
* _resultobj
;
5625 wxTimeSpan
* _result
;
5627 char *_kwnames
[] = { "min", NULL
};
5631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Minutes",_kwnames
,&_arg0
))
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 _result
= new wxTimeSpan (wxTimeSpan::Minutes(_arg0
));
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) return NULL
;
5639 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5640 _resultobj
= Py_BuildValue("s",_ptemp
);
5644 static PyObject
*_wrap_wxTimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5645 PyObject
* _resultobj
;
5646 wxTimeSpan
* _result
;
5647 char *_kwnames
[] = { NULL
};
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Minute",_kwnames
))
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 _result
= new wxTimeSpan (wxTimeSpan::Minute());
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) return NULL
;
5659 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5660 _resultobj
= Py_BuildValue("s",_ptemp
);
5664 static PyObject
*_wrap_wxTimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
* _resultobj
;
5666 wxTimeSpan
* _result
;
5668 char *_kwnames
[] = { "hours", NULL
};
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Hours",_kwnames
,&_arg0
))
5675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5676 _result
= new wxTimeSpan (wxTimeSpan::Hours(_arg0
));
5678 wxPyEndAllowThreads(__tstate
);
5679 if (PyErr_Occurred()) return NULL
;
5680 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5681 _resultobj
= Py_BuildValue("s",_ptemp
);
5685 static PyObject
*_wrap_wxTimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
* _resultobj
;
5687 wxTimeSpan
* _result
;
5688 char *_kwnames
[] = { NULL
};
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Hour",_kwnames
))
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 _result
= new wxTimeSpan (wxTimeSpan::Hour());
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) return NULL
;
5700 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5701 _resultobj
= Py_BuildValue("s",_ptemp
);
5705 static PyObject
*_wrap_wxTimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5706 PyObject
* _resultobj
;
5707 wxTimeSpan
* _result
;
5709 char *_kwnames
[] = { "days", NULL
};
5713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Days",_kwnames
,&_arg0
))
5716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5717 _result
= new wxTimeSpan (wxTimeSpan::Days(_arg0
));
5719 wxPyEndAllowThreads(__tstate
);
5720 if (PyErr_Occurred()) return NULL
;
5721 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5722 _resultobj
= Py_BuildValue("s",_ptemp
);
5726 static PyObject
*_wrap_wxTimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5727 PyObject
* _resultobj
;
5728 wxTimeSpan
* _result
;
5729 char *_kwnames
[] = { NULL
};
5733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Day",_kwnames
))
5736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5737 _result
= new wxTimeSpan (wxTimeSpan::Day());
5739 wxPyEndAllowThreads(__tstate
);
5740 if (PyErr_Occurred()) return NULL
;
5741 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5742 _resultobj
= Py_BuildValue("s",_ptemp
);
5746 static PyObject
*_wrap_wxTimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
* _resultobj
;
5748 wxTimeSpan
* _result
;
5750 char *_kwnames
[] = { "days", NULL
};
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Weeks",_kwnames
,&_arg0
))
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 _result
= new wxTimeSpan (wxTimeSpan::Weeks(_arg0
));
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) return NULL
;
5762 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5763 _resultobj
= Py_BuildValue("s",_ptemp
);
5767 static PyObject
*_wrap_wxTimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5768 PyObject
* _resultobj
;
5769 wxTimeSpan
* _result
;
5770 char *_kwnames
[] = { NULL
};
5774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Week",_kwnames
))
5777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5778 _result
= new wxTimeSpan (wxTimeSpan::Week());
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) return NULL
;
5782 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5783 _resultobj
= Py_BuildValue("s",_ptemp
);
5787 #define new_wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5788 static PyObject
*_wrap_new_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
* _resultobj
;
5790 wxTimeSpan
* _result
;
5791 long _arg0
= (long ) 0;
5792 long _arg1
= (long ) 0;
5793 long _arg2
= (long ) 0;
5794 long _arg3
= (long ) 0;
5795 char *_kwnames
[] = { "hours","minutes","seconds","milliseconds", NULL
};
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxTimeSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 _result
= (wxTimeSpan
*)new_wxTimeSpan(_arg0
,_arg1
,_arg2
,_arg3
);
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) return NULL
;
5808 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5809 _resultobj
= Py_BuildValue("s",_ptemp
);
5812 _resultobj
= Py_None
;
5817 #define delete_wxTimeSpan(_swigobj) (delete _swigobj)
5818 static PyObject
*_wrap_delete_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
* _resultobj
;
5821 PyObject
* _argo0
= 0;
5822 char *_kwnames
[] = { "self", NULL
};
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTimeSpan",_kwnames
,&_argo0
))
5828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTimeSpan. Expected _wxTimeSpan_p.");
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 delete_wxTimeSpan(_arg0
);
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) return NULL
;
5840 } Py_INCREF(Py_None
);
5841 _resultobj
= Py_None
;
5845 #define wxTimeSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
5846 static PyObject
*_wrap_wxTimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5847 PyObject
* _resultobj
;
5848 wxTimeSpan
* _result
;
5851 PyObject
* _argo0
= 0;
5852 PyObject
* _argo1
= 0;
5853 char *_kwnames
[] = { "self","diff", NULL
};
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Add",_kwnames
,&_argo0
,&_argo1
))
5860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
5867 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5868 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
5874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5875 wxTimeSpan
& _result_ref
= wxTimeSpan_Add(_arg0
,*_arg1
);
5876 _result
= (wxTimeSpan
*) &_result_ref
;
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) return NULL
;
5881 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5882 _resultobj
= Py_BuildValue("s",_ptemp
);
5885 _resultobj
= Py_None
;
5890 #define wxTimeSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5891 static PyObject
*_wrap_wxTimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5892 PyObject
* _resultobj
;
5893 wxTimeSpan
* _result
;
5896 PyObject
* _argo0
= 0;
5897 PyObject
* _argo1
= 0;
5898 char *_kwnames
[] = { "self","diff", NULL
};
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
5905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
5912 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5913 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 wxTimeSpan
& _result_ref
= wxTimeSpan_Subtract(_arg0
,*_arg1
);
5921 _result
= (wxTimeSpan
*) &_result_ref
;
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) return NULL
;
5926 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5927 _resultobj
= Py_BuildValue("s",_ptemp
);
5930 _resultobj
= Py_None
;
5935 #define wxTimeSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
5936 static PyObject
*_wrap_wxTimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5937 PyObject
* _resultobj
;
5938 wxTimeSpan
* _result
;
5941 PyObject
* _argo0
= 0;
5942 char *_kwnames
[] = { "self","n", NULL
};
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
5949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Multiply. Expected _wxTimeSpan_p.");
5956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5957 wxTimeSpan
& _result_ref
= wxTimeSpan_Multiply(_arg0
,_arg1
);
5958 _result
= (wxTimeSpan
*) &_result_ref
;
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) return NULL
;
5963 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5964 _resultobj
= Py_BuildValue("s",_ptemp
);
5967 _resultobj
= Py_None
;
5972 #define wxTimeSpan_Neg(_swigobj) (_swigobj->Neg())
5973 static PyObject
*_wrap_wxTimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
* _resultobj
;
5975 wxTimeSpan
* _result
;
5977 PyObject
* _argo0
= 0;
5978 char *_kwnames
[] = { "self", NULL
};
5982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Neg",_kwnames
,&_argo0
))
5985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Neg. Expected _wxTimeSpan_p.");
5992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 wxTimeSpan
& _result_ref
= wxTimeSpan_Neg(_arg0
);
5994 _result
= (wxTimeSpan
*) &_result_ref
;
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) return NULL
;
5999 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6000 _resultobj
= Py_BuildValue("s",_ptemp
);
6003 _resultobj
= Py_None
;
6008 #define wxTimeSpan_Abs(_swigobj) (_swigobj->Abs())
6009 static PyObject
*_wrap_wxTimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
* _resultobj
;
6011 wxTimeSpan
* _result
;
6013 PyObject
* _argo0
= 0;
6014 char *_kwnames
[] = { "self", NULL
};
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Abs",_kwnames
,&_argo0
))
6021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Abs. Expected _wxTimeSpan_p.");
6028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6029 _result
= new wxTimeSpan (wxTimeSpan_Abs(_arg0
));
6031 wxPyEndAllowThreads(__tstate
);
6032 if (PyErr_Occurred()) return NULL
;
6033 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6034 _resultobj
= Py_BuildValue("s",_ptemp
);
6038 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
6039 static PyObject
*_wrap_wxTimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6040 PyObject
* _resultobj
;
6041 wxTimeSpan
* _result
;
6044 PyObject
* _argo0
= 0;
6045 PyObject
* _argo1
= 0;
6046 char *_kwnames
[] = { "self","other", NULL
};
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___add__",_kwnames
,&_argo0
,&_argo1
))
6053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6060 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6061 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6068 _result
= new wxTimeSpan (wxTimeSpan___add__(_arg0
,*_arg1
));
6070 wxPyEndAllowThreads(__tstate
);
6071 if (PyErr_Occurred()) return NULL
;
6072 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6073 _resultobj
= Py_BuildValue("s",_ptemp
);
6077 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
6078 static PyObject
*_wrap_wxTimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
* _resultobj
;
6080 wxTimeSpan
* _result
;
6083 PyObject
* _argo0
= 0;
6084 PyObject
* _argo1
= 0;
6085 char *_kwnames
[] = { "self","other", NULL
};
6089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
6092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6099 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6100 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 _result
= new wxTimeSpan (wxTimeSpan___sub__(_arg0
,*_arg1
));
6109 wxPyEndAllowThreads(__tstate
);
6110 if (PyErr_Occurred()) return NULL
;
6111 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6112 _resultobj
= Py_BuildValue("s",_ptemp
);
6116 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
) { return *self
* n
; }
6117 static PyObject
*_wrap_wxTimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
* _resultobj
;
6119 wxTimeSpan
* _result
;
6122 PyObject
* _argo0
= 0;
6123 char *_kwnames
[] = { "self","n", NULL
};
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
6130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___mul__. Expected _wxTimeSpan_p.");
6137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6138 _result
= new wxTimeSpan (wxTimeSpan___mul__(_arg0
,_arg1
));
6140 wxPyEndAllowThreads(__tstate
);
6141 if (PyErr_Occurred()) return NULL
;
6142 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6143 _resultobj
= Py_BuildValue("s",_ptemp
);
6147 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
) { return n
* *self
; }
6148 static PyObject
*_wrap_wxTimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
* _resultobj
;
6150 wxTimeSpan
* _result
;
6153 PyObject
* _argo0
= 0;
6154 char *_kwnames
[] = { "self","n", NULL
};
6158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
6161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___rmul__. Expected _wxTimeSpan_p.");
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6169 _result
= new wxTimeSpan (wxTimeSpan___rmul__(_arg0
,_arg1
));
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) return NULL
;
6173 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6174 _resultobj
= Py_BuildValue("s",_ptemp
);
6178 static wxTimeSpan
wxTimeSpan___neg__(wxTimeSpan
*self
) { return self
->Negate(); }
6179 static PyObject
*_wrap_wxTimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
* _resultobj
;
6181 wxTimeSpan
* _result
;
6183 PyObject
* _argo0
= 0;
6184 char *_kwnames
[] = { "self", NULL
};
6188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan___neg__",_kwnames
,&_argo0
))
6191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___neg__. Expected _wxTimeSpan_p.");
6198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6199 _result
= new wxTimeSpan (wxTimeSpan___neg__(_arg0
));
6201 wxPyEndAllowThreads(__tstate
);
6202 if (PyErr_Occurred()) return NULL
;
6203 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6204 _resultobj
= Py_BuildValue("s",_ptemp
);
6208 static int wxTimeSpan___cmp__(wxTimeSpan
*self
,const wxTimeSpan
* other
) {
6209 if (! other
) return -1;
6210 if (*self
< *other
) return -1;
6211 if (*self
== *other
) return 0;
6214 static PyObject
*_wrap_wxTimeSpan___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6215 PyObject
* _resultobj
;
6219 PyObject
* _argo0
= 0;
6220 PyObject
* _argo1
= 0;
6221 char *_kwnames
[] = { "self","other", NULL
};
6224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___cmp__",_kwnames
,&_argo0
,&_argo1
))
6227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6234 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6235 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6242 _result
= (int )wxTimeSpan___cmp__(_arg0
,_arg1
);
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) return NULL
;
6246 } _resultobj
= Py_BuildValue("i",_result
);
6250 #define wxTimeSpan_IsNull(_swigobj) (_swigobj->IsNull())
6251 static PyObject
*_wrap_wxTimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
* _resultobj
;
6255 PyObject
* _argo0
= 0;
6256 char *_kwnames
[] = { "self", NULL
};
6259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNull",_kwnames
,&_argo0
))
6262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNull. Expected _wxTimeSpan_p.");
6269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6270 _result
= (bool )wxTimeSpan_IsNull(_arg0
);
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) return NULL
;
6274 } _resultobj
= Py_BuildValue("i",_result
);
6278 #define wxTimeSpan_IsPositive(_swigobj) (_swigobj->IsPositive())
6279 static PyObject
*_wrap_wxTimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
* _resultobj
;
6283 PyObject
* _argo0
= 0;
6284 char *_kwnames
[] = { "self", NULL
};
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsPositive",_kwnames
,&_argo0
))
6290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsPositive. Expected _wxTimeSpan_p.");
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 _result
= (bool )wxTimeSpan_IsPositive(_arg0
);
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) return NULL
;
6302 } _resultobj
= Py_BuildValue("i",_result
);
6306 #define wxTimeSpan_IsNegative(_swigobj) (_swigobj->IsNegative())
6307 static PyObject
*_wrap_wxTimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
* _resultobj
;
6311 PyObject
* _argo0
= 0;
6312 char *_kwnames
[] = { "self", NULL
};
6315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNegative",_kwnames
,&_argo0
))
6318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNegative. Expected _wxTimeSpan_p.");
6325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6326 _result
= (bool )wxTimeSpan_IsNegative(_arg0
);
6328 wxPyEndAllowThreads(__tstate
);
6329 if (PyErr_Occurred()) return NULL
;
6330 } _resultobj
= Py_BuildValue("i",_result
);
6334 #define wxTimeSpan_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
6335 static PyObject
*_wrap_wxTimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
* _resultobj
;
6340 PyObject
* _argo0
= 0;
6341 PyObject
* _argo1
= 0;
6342 char *_kwnames
[] = { "self","ts", NULL
};
6345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
6348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6355 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6356 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 _result
= (bool )wxTimeSpan_IsEqualTo(_arg0
,*_arg1
);
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) return NULL
;
6367 } _resultobj
= Py_BuildValue("i",_result
);
6371 #define wxTimeSpan_IsLongerThan(_swigobj,_swigarg0) (_swigobj->IsLongerThan(_swigarg0))
6372 static PyObject
*_wrap_wxTimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6373 PyObject
* _resultobj
;
6377 PyObject
* _argo0
= 0;
6378 PyObject
* _argo1
= 0;
6379 char *_kwnames
[] = { "self","ts", NULL
};
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsLongerThan",_kwnames
,&_argo0
,&_argo1
))
6385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6392 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6393 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6400 _result
= (bool )wxTimeSpan_IsLongerThan(_arg0
,*_arg1
);
6402 wxPyEndAllowThreads(__tstate
);
6403 if (PyErr_Occurred()) return NULL
;
6404 } _resultobj
= Py_BuildValue("i",_result
);
6408 #define wxTimeSpan_IsShorterThan(_swigobj,_swigarg0) (_swigobj->IsShorterThan(_swigarg0))
6409 static PyObject
*_wrap_wxTimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6410 PyObject
* _resultobj
;
6414 PyObject
* _argo0
= 0;
6415 PyObject
* _argo1
= 0;
6416 char *_kwnames
[] = { "self","t", NULL
};
6419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsShorterThan",_kwnames
,&_argo0
,&_argo1
))
6422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6429 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6430 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 _result
= (bool )wxTimeSpan_IsShorterThan(_arg0
,*_arg1
);
6439 wxPyEndAllowThreads(__tstate
);
6440 if (PyErr_Occurred()) return NULL
;
6441 } _resultobj
= Py_BuildValue("i",_result
);
6445 #define wxTimeSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
6446 static PyObject
*_wrap_wxTimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
* _resultobj
;
6450 PyObject
* _argo0
= 0;
6451 char *_kwnames
[] = { "self", NULL
};
6454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetWeeks",_kwnames
,&_argo0
))
6457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetWeeks. Expected _wxTimeSpan_p.");
6464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6465 _result
= (int )wxTimeSpan_GetWeeks(_arg0
);
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) return NULL
;
6469 } _resultobj
= Py_BuildValue("i",_result
);
6473 #define wxTimeSpan_GetDays(_swigobj) (_swigobj->GetDays())
6474 static PyObject
*_wrap_wxTimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6475 PyObject
* _resultobj
;
6478 PyObject
* _argo0
= 0;
6479 char *_kwnames
[] = { "self", NULL
};
6482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetDays",_kwnames
,&_argo0
))
6485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetDays. Expected _wxTimeSpan_p.");
6492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6493 _result
= (int )wxTimeSpan_GetDays(_arg0
);
6495 wxPyEndAllowThreads(__tstate
);
6496 if (PyErr_Occurred()) return NULL
;
6497 } _resultobj
= Py_BuildValue("i",_result
);
6501 #define wxTimeSpan_GetHours(_swigobj) (_swigobj->GetHours())
6502 static PyObject
*_wrap_wxTimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
* _resultobj
;
6506 PyObject
* _argo0
= 0;
6507 char *_kwnames
[] = { "self", NULL
};
6510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetHours",_kwnames
,&_argo0
))
6513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetHours. Expected _wxTimeSpan_p.");
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 _result
= (int )wxTimeSpan_GetHours(_arg0
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) return NULL
;
6525 } _resultobj
= Py_BuildValue("i",_result
);
6529 #define wxTimeSpan_GetMinutes(_swigobj) (_swigobj->GetMinutes())
6530 static PyObject
*_wrap_wxTimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
* _resultobj
;
6534 PyObject
* _argo0
= 0;
6535 char *_kwnames
[] = { "self", NULL
};
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMinutes",_kwnames
,&_argo0
))
6541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMinutes. Expected _wxTimeSpan_p.");
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 _result
= (int )wxTimeSpan_GetMinutes(_arg0
);
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) return NULL
;
6553 } _resultobj
= Py_BuildValue("i",_result
);
6557 #define wxTimeSpan_GetSeconds(_swigobj) (_swigobj->GetSeconds())
6558 static PyObject
*_wrap_wxTimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
* _resultobj
;
6560 wxLongLong
* _result
;
6562 PyObject
* _argo0
= 0;
6563 char *_kwnames
[] = { "self", NULL
};
6566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetSeconds",_kwnames
,&_argo0
))
6569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetSeconds. Expected _wxTimeSpan_p.");
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 _result
= new wxLongLong (wxTimeSpan_GetSeconds(_arg0
));
6579 wxPyEndAllowThreads(__tstate
);
6580 if (PyErr_Occurred()) return NULL
;
6582 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6583 hi
= PyLong_FromLong(_result
->GetHi());
6584 lo
= PyLong_FromLong(_result
->GetLo());
6585 shifter
= PyLong_FromLong(32);
6586 shifted
= PyNumber_Lshift(hi
, shifter
);
6587 _resultobj
= PyNumber_Or(shifted
, lo
);
6596 #define wxTimeSpan_GetMilliseconds(_swigobj) (_swigobj->GetMilliseconds())
6597 static PyObject
*_wrap_wxTimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
* _resultobj
;
6599 wxLongLong
* _result
;
6601 PyObject
* _argo0
= 0;
6602 char *_kwnames
[] = { "self", NULL
};
6605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMilliseconds",_kwnames
,&_argo0
))
6608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMilliseconds. Expected _wxTimeSpan_p.");
6615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6616 _result
= new wxLongLong (wxTimeSpan_GetMilliseconds(_arg0
));
6618 wxPyEndAllowThreads(__tstate
);
6619 if (PyErr_Occurred()) return NULL
;
6621 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6622 hi
= PyLong_FromLong(_result
->GetHi());
6623 lo
= PyLong_FromLong(_result
->GetLo());
6624 shifter
= PyLong_FromLong(32);
6625 shifted
= PyNumber_Lshift(hi
, shifter
);
6626 _resultobj
= PyNumber_Or(shifted
, lo
);
6635 #define wxTimeSpan_Format(_swigobj,_swigarg0) (_swigobj->Format(_swigarg0))
6636 static PyObject
*_wrap_wxTimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
* _resultobj
;
6640 wxString
* _arg1
= (wxString
*) &wxPyDateFormatStr
;
6641 PyObject
* _argo0
= 0;
6642 PyObject
* _obj1
= 0;
6643 char *_kwnames
[] = { "self","format", NULL
};
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTimeSpan_Format",_kwnames
,&_argo0
,&_obj1
))
6649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Format. Expected _wxTimeSpan_p.");
6657 _arg1
= wxString_in_helper(_obj1
);
6662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 _result
= new wxString (wxTimeSpan_Format(_arg0
,*_arg1
));
6665 wxPyEndAllowThreads(__tstate
);
6666 if (PyErr_Occurred()) return NULL
;
6669 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6671 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6684 #define new_wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6685 static PyObject
*_wrap_new_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
* _resultobj
;
6687 wxDateSpan
* _result
;
6688 int _arg0
= (int ) 0;
6689 int _arg1
= (int ) 0;
6690 int _arg2
= (int ) 0;
6691 int _arg3
= (int ) 0;
6692 char *_kwnames
[] = { "years","months","weeks","days", NULL
};
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxDateSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
6699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6700 _result
= (wxDateSpan
*)new_wxDateSpan(_arg0
,_arg1
,_arg2
,_arg3
);
6702 wxPyEndAllowThreads(__tstate
);
6703 if (PyErr_Occurred()) return NULL
;
6705 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6706 _resultobj
= Py_BuildValue("s",_ptemp
);
6709 _resultobj
= Py_None
;
6714 #define delete_wxDateSpan(_swigobj) (delete _swigobj)
6715 static PyObject
*_wrap_delete_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6716 PyObject
* _resultobj
;
6718 PyObject
* _argo0
= 0;
6719 char *_kwnames
[] = { "self", NULL
};
6722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateSpan",_kwnames
,&_argo0
))
6725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateSpan. Expected _wxDateSpan_p.");
6732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6733 delete_wxDateSpan(_arg0
);
6735 wxPyEndAllowThreads(__tstate
);
6736 if (PyErr_Occurred()) return NULL
;
6737 } Py_INCREF(Py_None
);
6738 _resultobj
= Py_None
;
6742 static PyObject
*_wrap_wxDateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
* _resultobj
;
6744 wxDateSpan
* _result
;
6746 char *_kwnames
[] = { "days", NULL
};
6750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Days",_kwnames
,&_arg0
))
6753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6754 _result
= new wxDateSpan (wxDateSpan::Days(_arg0
));
6756 wxPyEndAllowThreads(__tstate
);
6757 if (PyErr_Occurred()) return NULL
;
6758 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6759 _resultobj
= Py_BuildValue("s",_ptemp
);
6763 static PyObject
*_wrap_wxDateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
* _resultobj
;
6765 wxDateSpan
* _result
;
6766 char *_kwnames
[] = { NULL
};
6770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Day",_kwnames
))
6773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 _result
= new wxDateSpan (wxDateSpan::Day());
6776 wxPyEndAllowThreads(__tstate
);
6777 if (PyErr_Occurred()) return NULL
;
6778 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6779 _resultobj
= Py_BuildValue("s",_ptemp
);
6783 static PyObject
*_wrap_wxDateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
* _resultobj
;
6785 wxDateSpan
* _result
;
6787 char *_kwnames
[] = { "weeks", NULL
};
6791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Weeks",_kwnames
,&_arg0
))
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 _result
= new wxDateSpan (wxDateSpan::Weeks(_arg0
));
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) return NULL
;
6799 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6800 _resultobj
= Py_BuildValue("s",_ptemp
);
6804 static PyObject
*_wrap_wxDateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
* _resultobj
;
6806 wxDateSpan
* _result
;
6807 char *_kwnames
[] = { NULL
};
6811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Week",_kwnames
))
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 _result
= new wxDateSpan (wxDateSpan::Week());
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) return NULL
;
6819 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6820 _resultobj
= Py_BuildValue("s",_ptemp
);
6824 static PyObject
*_wrap_wxDateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6825 PyObject
* _resultobj
;
6826 wxDateSpan
* _result
;
6828 char *_kwnames
[] = { "mon", NULL
};
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Months",_kwnames
,&_arg0
))
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 _result
= new wxDateSpan (wxDateSpan::Months(_arg0
));
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) return NULL
;
6840 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6841 _resultobj
= Py_BuildValue("s",_ptemp
);
6845 static PyObject
*_wrap_wxDateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
* _resultobj
;
6847 wxDateSpan
* _result
;
6848 char *_kwnames
[] = { NULL
};
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Month",_kwnames
))
6855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6856 _result
= new wxDateSpan (wxDateSpan::Month());
6858 wxPyEndAllowThreads(__tstate
);
6859 if (PyErr_Occurred()) return NULL
;
6860 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6861 _resultobj
= Py_BuildValue("s",_ptemp
);
6865 static PyObject
*_wrap_wxDateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6866 PyObject
* _resultobj
;
6867 wxDateSpan
* _result
;
6869 char *_kwnames
[] = { "years", NULL
};
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Years",_kwnames
,&_arg0
))
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 _result
= new wxDateSpan (wxDateSpan::Years(_arg0
));
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) return NULL
;
6881 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6882 _resultobj
= Py_BuildValue("s",_ptemp
);
6886 static PyObject
*_wrap_wxDateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
* _resultobj
;
6888 wxDateSpan
* _result
;
6889 char *_kwnames
[] = { NULL
};
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Year",_kwnames
))
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 _result
= new wxDateSpan (wxDateSpan::Year());
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) return NULL
;
6901 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6902 _resultobj
= Py_BuildValue("s",_ptemp
);
6906 #define wxDateSpan_SetYears(_swigobj,_swigarg0) (_swigobj->SetYears(_swigarg0))
6907 static PyObject
*_wrap_wxDateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
* _resultobj
;
6909 wxDateSpan
* _result
;
6912 PyObject
* _argo0
= 0;
6913 char *_kwnames
[] = { "self","n", NULL
};
6917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetYears",_kwnames
,&_argo0
,&_arg1
))
6920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetYears. Expected _wxDateSpan_p.");
6927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6928 wxDateSpan
& _result_ref
= wxDateSpan_SetYears(_arg0
,_arg1
);
6929 _result
= (wxDateSpan
*) &_result_ref
;
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) return NULL
;
6934 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6935 _resultobj
= Py_BuildValue("s",_ptemp
);
6938 _resultobj
= Py_None
;
6943 #define wxDateSpan_SetMonths(_swigobj,_swigarg0) (_swigobj->SetMonths(_swigarg0))
6944 static PyObject
*_wrap_wxDateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
* _resultobj
;
6946 wxDateSpan
* _result
;
6949 PyObject
* _argo0
= 0;
6950 char *_kwnames
[] = { "self","n", NULL
};
6954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetMonths",_kwnames
,&_argo0
,&_arg1
))
6957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetMonths. Expected _wxDateSpan_p.");
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 wxDateSpan
& _result_ref
= wxDateSpan_SetMonths(_arg0
,_arg1
);
6966 _result
= (wxDateSpan
*) &_result_ref
;
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) return NULL
;
6971 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6972 _resultobj
= Py_BuildValue("s",_ptemp
);
6975 _resultobj
= Py_None
;
6980 #define wxDateSpan_SetWeeks(_swigobj,_swigarg0) (_swigobj->SetWeeks(_swigarg0))
6981 static PyObject
*_wrap_wxDateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6982 PyObject
* _resultobj
;
6983 wxDateSpan
* _result
;
6986 PyObject
* _argo0
= 0;
6987 char *_kwnames
[] = { "self","n", NULL
};
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetWeeks",_kwnames
,&_argo0
,&_arg1
))
6994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetWeeks. Expected _wxDateSpan_p.");
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 wxDateSpan
& _result_ref
= wxDateSpan_SetWeeks(_arg0
,_arg1
);
7003 _result
= (wxDateSpan
*) &_result_ref
;
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) return NULL
;
7008 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7009 _resultobj
= Py_BuildValue("s",_ptemp
);
7012 _resultobj
= Py_None
;
7017 #define wxDateSpan_SetDays(_swigobj,_swigarg0) (_swigobj->SetDays(_swigarg0))
7018 static PyObject
*_wrap_wxDateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
* _resultobj
;
7020 wxDateSpan
* _result
;
7023 PyObject
* _argo0
= 0;
7024 char *_kwnames
[] = { "self","n", NULL
};
7028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetDays",_kwnames
,&_argo0
,&_arg1
))
7031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetDays. Expected _wxDateSpan_p.");
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 wxDateSpan
& _result_ref
= wxDateSpan_SetDays(_arg0
,_arg1
);
7040 _result
= (wxDateSpan
*) &_result_ref
;
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) return NULL
;
7045 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7046 _resultobj
= Py_BuildValue("s",_ptemp
);
7049 _resultobj
= Py_None
;
7054 #define wxDateSpan_GetYears(_swigobj) (_swigobj->GetYears())
7055 static PyObject
*_wrap_wxDateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
* _resultobj
;
7059 PyObject
* _argo0
= 0;
7060 char *_kwnames
[] = { "self", NULL
};
7063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetYears",_kwnames
,&_argo0
))
7066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetYears. Expected _wxDateSpan_p.");
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 _result
= (int )wxDateSpan_GetYears(_arg0
);
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) return NULL
;
7078 } _resultobj
= Py_BuildValue("i",_result
);
7082 #define wxDateSpan_GetMonths(_swigobj) (_swigobj->GetMonths())
7083 static PyObject
*_wrap_wxDateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
* _resultobj
;
7087 PyObject
* _argo0
= 0;
7088 char *_kwnames
[] = { "self", NULL
};
7091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetMonths",_kwnames
,&_argo0
))
7094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetMonths. Expected _wxDateSpan_p.");
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7102 _result
= (int )wxDateSpan_GetMonths(_arg0
);
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) return NULL
;
7106 } _resultobj
= Py_BuildValue("i",_result
);
7110 #define wxDateSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
7111 static PyObject
*_wrap_wxDateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
* _resultobj
;
7115 PyObject
* _argo0
= 0;
7116 char *_kwnames
[] = { "self", NULL
};
7119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetWeeks",_kwnames
,&_argo0
))
7122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetWeeks. Expected _wxDateSpan_p.");
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 _result
= (int )wxDateSpan_GetWeeks(_arg0
);
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) return NULL
;
7134 } _resultobj
= Py_BuildValue("i",_result
);
7138 #define wxDateSpan_GetDays(_swigobj) (_swigobj->GetDays())
7139 static PyObject
*_wrap_wxDateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
* _resultobj
;
7143 PyObject
* _argo0
= 0;
7144 char *_kwnames
[] = { "self", NULL
};
7147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetDays",_kwnames
,&_argo0
))
7150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetDays. Expected _wxDateSpan_p.");
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 _result
= (int )wxDateSpan_GetDays(_arg0
);
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) return NULL
;
7162 } _resultobj
= Py_BuildValue("i",_result
);
7166 #define wxDateSpan_GetTotalDays(_swigobj) (_swigobj->GetTotalDays())
7167 static PyObject
*_wrap_wxDateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
* _resultobj
;
7171 PyObject
* _argo0
= 0;
7172 char *_kwnames
[] = { "self", NULL
};
7175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetTotalDays",_kwnames
,&_argo0
))
7178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetTotalDays. Expected _wxDateSpan_p.");
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 _result
= (int )wxDateSpan_GetTotalDays(_arg0
);
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) return NULL
;
7190 } _resultobj
= Py_BuildValue("i",_result
);
7194 #define wxDateSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
7195 static PyObject
*_wrap_wxDateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
* _resultobj
;
7197 wxDateSpan
* _result
;
7200 PyObject
* _argo0
= 0;
7201 PyObject
* _argo1
= 0;
7202 char *_kwnames
[] = { "self","other", NULL
};
7206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Add",_kwnames
,&_argo0
,&_argo1
))
7209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7216 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7217 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 wxDateSpan
& _result_ref
= wxDateSpan_Add(_arg0
,*_arg1
);
7225 _result
= (wxDateSpan
*) &_result_ref
;
7227 wxPyEndAllowThreads(__tstate
);
7228 if (PyErr_Occurred()) return NULL
;
7230 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7231 _resultobj
= Py_BuildValue("s",_ptemp
);
7234 _resultobj
= Py_None
;
7239 #define wxDateSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
7240 static PyObject
*_wrap_wxDateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
* _resultobj
;
7242 wxDateSpan
* _result
;
7245 PyObject
* _argo0
= 0;
7246 PyObject
* _argo1
= 0;
7247 char *_kwnames
[] = { "self","other", NULL
};
7251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
7254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7261 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7262 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 wxDateSpan
& _result_ref
= wxDateSpan_Subtract(_arg0
,*_arg1
);
7270 _result
= (wxDateSpan
*) &_result_ref
;
7272 wxPyEndAllowThreads(__tstate
);
7273 if (PyErr_Occurred()) return NULL
;
7275 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7276 _resultobj
= Py_BuildValue("s",_ptemp
);
7279 _resultobj
= Py_None
;
7284 #define wxDateSpan_Neg(_swigobj) (_swigobj->Neg())
7285 static PyObject
*_wrap_wxDateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7286 PyObject
* _resultobj
;
7287 wxDateSpan
* _result
;
7289 PyObject
* _argo0
= 0;
7290 char *_kwnames
[] = { "self", NULL
};
7294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_Neg",_kwnames
,&_argo0
))
7297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Neg. Expected _wxDateSpan_p.");
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 wxDateSpan
& _result_ref
= wxDateSpan_Neg(_arg0
);
7306 _result
= (wxDateSpan
*) &_result_ref
;
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) return NULL
;
7311 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7312 _resultobj
= Py_BuildValue("s",_ptemp
);
7315 _resultobj
= Py_None
;
7320 #define wxDateSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
7321 static PyObject
*_wrap_wxDateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7322 PyObject
* _resultobj
;
7323 wxDateSpan
* _result
;
7326 PyObject
* _argo0
= 0;
7327 char *_kwnames
[] = { "self","factor", NULL
};
7331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
7334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Multiply. Expected _wxDateSpan_p.");
7341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7342 wxDateSpan
& _result_ref
= wxDateSpan_Multiply(_arg0
,_arg1
);
7343 _result
= (wxDateSpan
*) &_result_ref
;
7345 wxPyEndAllowThreads(__tstate
);
7346 if (PyErr_Occurred()) return NULL
;
7348 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7349 _resultobj
= Py_BuildValue("s",_ptemp
);
7352 _resultobj
= Py_None
;
7357 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
7358 static PyObject
*_wrap_wxDateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
* _resultobj
;
7360 wxDateSpan
* _result
;
7363 PyObject
* _argo0
= 0;
7364 PyObject
* _argo1
= 0;
7365 char *_kwnames
[] = { "self","other", NULL
};
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___add__",_kwnames
,&_argo0
,&_argo1
))
7372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7379 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7380 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 _result
= new wxDateSpan (wxDateSpan___add__(_arg0
,*_arg1
));
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) return NULL
;
7391 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7392 _resultobj
= Py_BuildValue("s",_ptemp
);
7396 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
- other
; }
7397 static PyObject
*_wrap_wxDateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
* _resultobj
;
7399 wxDateSpan
* _result
;
7402 PyObject
* _argo0
= 0;
7403 PyObject
* _argo1
= 0;
7404 char *_kwnames
[] = { "self","other", NULL
};
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
7411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7418 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7419 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 _result
= new wxDateSpan (wxDateSpan___sub__(_arg0
,*_arg1
));
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) return NULL
;
7430 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7431 _resultobj
= Py_BuildValue("s",_ptemp
);
7435 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
) { return *self
* n
; }
7436 static PyObject
*_wrap_wxDateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7437 PyObject
* _resultobj
;
7438 wxDateSpan
* _result
;
7441 PyObject
* _argo0
= 0;
7442 char *_kwnames
[] = { "self","n", NULL
};
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
7449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___mul__. Expected _wxDateSpan_p.");
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 _result
= new wxDateSpan (wxDateSpan___mul__(_arg0
,_arg1
));
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) return NULL
;
7461 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7462 _resultobj
= Py_BuildValue("s",_ptemp
);
7466 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
) { return n
* *self
; }
7467 static PyObject
*_wrap_wxDateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
* _resultobj
;
7469 wxDateSpan
* _result
;
7472 PyObject
* _argo0
= 0;
7473 char *_kwnames
[] = { "self","n", NULL
};
7477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
7480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___rmul__. Expected _wxDateSpan_p.");
7487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7488 _result
= new wxDateSpan (wxDateSpan___rmul__(_arg0
,_arg1
));
7490 wxPyEndAllowThreads(__tstate
);
7491 if (PyErr_Occurred()) return NULL
;
7492 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7493 _resultobj
= Py_BuildValue("s",_ptemp
);
7497 static wxDateSpan
wxDateSpan___neg__(wxDateSpan
*self
) { return self
->Negate(); }
7498 static PyObject
*_wrap_wxDateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
* _resultobj
;
7500 wxDateSpan
* _result
;
7502 PyObject
* _argo0
= 0;
7503 char *_kwnames
[] = { "self", NULL
};
7507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan___neg__",_kwnames
,&_argo0
))
7510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___neg__. Expected _wxDateSpan_p.");
7517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7518 _result
= new wxDateSpan (wxDateSpan___neg__(_arg0
));
7520 wxPyEndAllowThreads(__tstate
);
7521 if (PyErr_Occurred()) return NULL
;
7522 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7523 _resultobj
= Py_BuildValue("s",_ptemp
);
7527 static PyMethodDef utilscMethods
[] = {
7528 { "wxDateSpan___neg__", (PyCFunction
) _wrap_wxDateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7529 { "wxDateSpan___rmul__", (PyCFunction
) _wrap_wxDateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7530 { "wxDateSpan___mul__", (PyCFunction
) _wrap_wxDateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7531 { "wxDateSpan___sub__", (PyCFunction
) _wrap_wxDateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7532 { "wxDateSpan___add__", (PyCFunction
) _wrap_wxDateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7533 { "wxDateSpan_Multiply", (PyCFunction
) _wrap_wxDateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7534 { "wxDateSpan_Neg", (PyCFunction
) _wrap_wxDateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7535 { "wxDateSpan_Subtract", (PyCFunction
) _wrap_wxDateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7536 { "wxDateSpan_Add", (PyCFunction
) _wrap_wxDateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7537 { "wxDateSpan_GetTotalDays", (PyCFunction
) _wrap_wxDateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
7538 { "wxDateSpan_GetDays", (PyCFunction
) _wrap_wxDateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7539 { "wxDateSpan_GetWeeks", (PyCFunction
) _wrap_wxDateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7540 { "wxDateSpan_GetMonths", (PyCFunction
) _wrap_wxDateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7541 { "wxDateSpan_GetYears", (PyCFunction
) _wrap_wxDateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
7542 { "wxDateSpan_SetDays", (PyCFunction
) _wrap_wxDateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
7543 { "wxDateSpan_SetWeeks", (PyCFunction
) _wrap_wxDateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7544 { "wxDateSpan_SetMonths", (PyCFunction
) _wrap_wxDateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7545 { "wxDateSpan_SetYears", (PyCFunction
) _wrap_wxDateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
7546 { "wxDateSpan_Year", (PyCFunction
) _wrap_wxDateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
7547 { "wxDateSpan_Years", (PyCFunction
) _wrap_wxDateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
7548 { "wxDateSpan_Month", (PyCFunction
) _wrap_wxDateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
7549 { "wxDateSpan_Months", (PyCFunction
) _wrap_wxDateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
7550 { "wxDateSpan_Week", (PyCFunction
) _wrap_wxDateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7551 { "wxDateSpan_Weeks", (PyCFunction
) _wrap_wxDateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7552 { "wxDateSpan_Day", (PyCFunction
) _wrap_wxDateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7553 { "wxDateSpan_Days", (PyCFunction
) _wrap_wxDateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7554 { "delete_wxDateSpan", (PyCFunction
) _wrap_delete_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7555 { "new_wxDateSpan", (PyCFunction
) _wrap_new_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7556 { "wxTimeSpan_Format", (PyCFunction
) _wrap_wxTimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
7557 { "wxTimeSpan_GetMilliseconds", (PyCFunction
) _wrap_wxTimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
7558 { "wxTimeSpan_GetSeconds", (PyCFunction
) _wrap_wxTimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
7559 { "wxTimeSpan_GetMinutes", (PyCFunction
) _wrap_wxTimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
7560 { "wxTimeSpan_GetHours", (PyCFunction
) _wrap_wxTimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
7561 { "wxTimeSpan_GetDays", (PyCFunction
) _wrap_wxTimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7562 { "wxTimeSpan_GetWeeks", (PyCFunction
) _wrap_wxTimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7563 { "wxTimeSpan_IsShorterThan", (PyCFunction
) _wrap_wxTimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
7564 { "wxTimeSpan_IsLongerThan", (PyCFunction
) _wrap_wxTimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
7565 { "wxTimeSpan_IsEqualTo", (PyCFunction
) _wrap_wxTimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7566 { "wxTimeSpan_IsNegative", (PyCFunction
) _wrap_wxTimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
7567 { "wxTimeSpan_IsPositive", (PyCFunction
) _wrap_wxTimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
7568 { "wxTimeSpan_IsNull", (PyCFunction
) _wrap_wxTimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
7569 { "wxTimeSpan___cmp__", (PyCFunction
) _wrap_wxTimeSpan___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7570 { "wxTimeSpan___neg__", (PyCFunction
) _wrap_wxTimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7571 { "wxTimeSpan___rmul__", (PyCFunction
) _wrap_wxTimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7572 { "wxTimeSpan___mul__", (PyCFunction
) _wrap_wxTimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7573 { "wxTimeSpan___sub__", (PyCFunction
) _wrap_wxTimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7574 { "wxTimeSpan___add__", (PyCFunction
) _wrap_wxTimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7575 { "wxTimeSpan_Abs", (PyCFunction
) _wrap_wxTimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
7576 { "wxTimeSpan_Neg", (PyCFunction
) _wrap_wxTimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7577 { "wxTimeSpan_Multiply", (PyCFunction
) _wrap_wxTimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7578 { "wxTimeSpan_Subtract", (PyCFunction
) _wrap_wxTimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7579 { "wxTimeSpan_Add", (PyCFunction
) _wrap_wxTimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7580 { "delete_wxTimeSpan", (PyCFunction
) _wrap_delete_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7581 { "new_wxTimeSpan", (PyCFunction
) _wrap_new_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7582 { "wxTimeSpan_Week", (PyCFunction
) _wrap_wxTimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7583 { "wxTimeSpan_Weeks", (PyCFunction
) _wrap_wxTimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7584 { "wxTimeSpan_Day", (PyCFunction
) _wrap_wxTimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7585 { "wxTimeSpan_Days", (PyCFunction
) _wrap_wxTimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7586 { "wxTimeSpan_Hour", (PyCFunction
) _wrap_wxTimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
7587 { "wxTimeSpan_Hours", (PyCFunction
) _wrap_wxTimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
7588 { "wxTimeSpan_Minute", (PyCFunction
) _wrap_wxTimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
7589 { "wxTimeSpan_Minutes", (PyCFunction
) _wrap_wxTimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
7590 { "wxTimeSpan_Second", (PyCFunction
) _wrap_wxTimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
7591 { "wxTimeSpan_Seconds", (PyCFunction
) _wrap_wxTimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
7592 { "wxDateTime_FormatISOTime", (PyCFunction
) _wrap_wxDateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
7593 { "wxDateTime_FormatISODate", (PyCFunction
) _wrap_wxDateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
7594 { "wxDateTime_FormatTime", (PyCFunction
) _wrap_wxDateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
7595 { "wxDateTime_FormatDate", (PyCFunction
) _wrap_wxDateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
7596 { "wxDateTime_Format", (PyCFunction
) _wrap_wxDateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
7597 { "wxDateTime_ParseTime", (PyCFunction
) _wrap_wxDateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
7598 { "wxDateTime_ParseDate", (PyCFunction
) _wrap_wxDateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
7599 { "wxDateTime_ParseDateTime", (PyCFunction
) _wrap_wxDateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7600 { "wxDateTime_ParseFormat", (PyCFunction
) _wrap_wxDateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
7601 { "wxDateTime_ParseRfc822Date", (PyCFunction
) _wrap_wxDateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
7602 { "wxDateTime___cmp__", (PyCFunction
) _wrap_wxDateTime___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7603 { "wxDateTime___sub__DS", (PyCFunction
) _wrap_wxDateTime___sub__DS
, METH_VARARGS
| METH_KEYWORDS
},
7604 { "wxDateTime___sub__TS", (PyCFunction
) _wrap_wxDateTime___sub__TS
, METH_VARARGS
| METH_KEYWORDS
},
7605 { "wxDateTime___sub__DT", (PyCFunction
) _wrap_wxDateTime___sub__DT
, METH_VARARGS
| METH_KEYWORDS
},
7606 { "wxDateTime___add__DS", (PyCFunction
) _wrap_wxDateTime___add__DS
, METH_VARARGS
| METH_KEYWORDS
},
7607 { "wxDateTime___add__TS", (PyCFunction
) _wrap_wxDateTime___add__TS
, METH_VARARGS
| METH_KEYWORDS
},
7608 { "wxDateTime_Subtract", (PyCFunction
) _wrap_wxDateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7609 { "wxDateTime_SubtractDS", (PyCFunction
) _wrap_wxDateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
7610 { "wxDateTime_SubtractTS", (PyCFunction
) _wrap_wxDateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
7611 { "wxDateTime_AddDS", (PyCFunction
) _wrap_wxDateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
7612 { "wxDateTime_AddTS", (PyCFunction
) _wrap_wxDateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
7613 { "wxDateTime_IsEqualUpTo", (PyCFunction
) _wrap_wxDateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
7614 { "wxDateTime_IsSameTime", (PyCFunction
) _wrap_wxDateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
7615 { "wxDateTime_IsSameDate", (PyCFunction
) _wrap_wxDateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
7616 { "wxDateTime_IsBetween", (PyCFunction
) _wrap_wxDateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
7617 { "wxDateTime_IsStrictlyBetween", (PyCFunction
) _wrap_wxDateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
7618 { "wxDateTime_IsLaterThan", (PyCFunction
) _wrap_wxDateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
7619 { "wxDateTime_IsEarlierThan", (PyCFunction
) _wrap_wxDateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
7620 { "wxDateTime_IsEqualTo", (PyCFunction
) _wrap_wxDateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7621 { "wxDateTime_IsWorkDay", (PyCFunction
) _wrap_wxDateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
7622 { "wxDateTime_GetWeekOfMonth", (PyCFunction
) _wrap_wxDateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
7623 { "wxDateTime_GetWeekOfYear", (PyCFunction
) _wrap_wxDateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7624 { "wxDateTime_GetDayOfYear", (PyCFunction
) _wrap_wxDateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7625 { "wxDateTime_GetMillisecond", (PyCFunction
) _wrap_wxDateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7626 { "wxDateTime_GetSecond", (PyCFunction
) _wrap_wxDateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7627 { "wxDateTime_GetMinute", (PyCFunction
) _wrap_wxDateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7628 { "wxDateTime_GetHour", (PyCFunction
) _wrap_wxDateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
7629 { "wxDateTime_GetWeekDay", (PyCFunction
) _wrap_wxDateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7630 { "wxDateTime_GetDay", (PyCFunction
) _wrap_wxDateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
7631 { "wxDateTime_GetMonth", (PyCFunction
) _wrap_wxDateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7632 { "wxDateTime_GetYear", (PyCFunction
) _wrap_wxDateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
7633 { "wxDateTime_GetTicks", (PyCFunction
) _wrap_wxDateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
7634 { "wxDateTime_IsValid", (PyCFunction
) _wrap_wxDateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
7635 { "wxDateTime_IsDST", (PyCFunction
) _wrap_wxDateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
7636 { "wxDateTime_MakeGMT", (PyCFunction
) _wrap_wxDateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
7637 { "wxDateTime_ToGMT", (PyCFunction
) _wrap_wxDateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
7638 { "wxDateTime_MakeTimezone", (PyCFunction
) _wrap_wxDateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7639 { "wxDateTime_ToTimezone", (PyCFunction
) _wrap_wxDateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7640 { "wxDateTime_GetRataDie", (PyCFunction
) _wrap_wxDateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
7641 { "wxDateTime_GetMJD", (PyCFunction
) _wrap_wxDateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
7642 { "wxDateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7643 { "wxDateTime_GetJDN", (PyCFunction
) _wrap_wxDateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7644 { "wxDateTime_GetJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7645 { "wxDateTime_GetYearDay", (PyCFunction
) _wrap_wxDateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7646 { "wxDateTime_SetToYearDay", (PyCFunction
) _wrap_wxDateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7647 { "wxDateTime_GetLastMonthDay", (PyCFunction
) _wrap_wxDateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7648 { "wxDateTime_SetToLastMonthDay", (PyCFunction
) _wrap_wxDateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7649 { "wxDateTime_GetWeek", (PyCFunction
) _wrap_wxDateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
7650 { "wxDateTime_SetToTheWeek", (PyCFunction
) _wrap_wxDateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
7651 { "wxDateTime_GetLastWeekDay", (PyCFunction
) _wrap_wxDateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7652 { "wxDateTime_SetToLastWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7653 { "wxDateTime_SetToWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7654 { "wxDateTime_GetPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7655 { "wxDateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7656 { "wxDateTime_GetNextWeekDay", (PyCFunction
) _wrap_wxDateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7657 { "wxDateTime_SetToNextWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7658 { "wxDateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7659 { "wxDateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7660 { "wxDateTime_SetMillisecond", (PyCFunction
) _wrap_wxDateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7661 { "wxDateTime_SetSecond", (PyCFunction
) _wrap_wxDateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7662 { "wxDateTime_SetMinute", (PyCFunction
) _wrap_wxDateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7663 { "wxDateTime_SetHour", (PyCFunction
) _wrap_wxDateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
7664 { "wxDateTime_SetDay", (PyCFunction
) _wrap_wxDateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
7665 { "wxDateTime_SetMonth", (PyCFunction
) _wrap_wxDateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7666 { "wxDateTime_SetYear", (PyCFunction
) _wrap_wxDateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
7667 { "wxDateTime_ResetTime", (PyCFunction
) _wrap_wxDateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
7668 { "wxDateTime_Set", (PyCFunction
) _wrap_wxDateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
7669 { "wxDateTime_SetHMS", (PyCFunction
) _wrap_wxDateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
7670 { "wxDateTime_SetJDN", (PyCFunction
) _wrap_wxDateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7671 { "wxDateTime_SetTimeT", (PyCFunction
) _wrap_wxDateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7672 { "wxDateTime_SetToCurrent", (PyCFunction
) _wrap_wxDateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
7673 { "delete_wxDateTime", (PyCFunction
) _wrap_delete_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7674 { "new_wxDateTimeFromDMY", (PyCFunction
) _wrap_new_wxDateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
7675 { "new_wxDateTimeFromHMS", (PyCFunction
) _wrap_new_wxDateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
7676 { "new_wxDateTimeFromJDN", (PyCFunction
) _wrap_new_wxDateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
7677 { "new_wxDateTimeFromTimeT", (PyCFunction
) _wrap_new_wxDateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7678 { "new_wxDateTime", (PyCFunction
) _wrap_new_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7679 { "wxDateTime_Today", (PyCFunction
) _wrap_wxDateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
7680 { "wxDateTime_Now", (PyCFunction
) _wrap_wxDateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
7681 { "wxDateTime_GetEndDST", (PyCFunction
) _wrap_wxDateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
7682 { "wxDateTime_GetBeginDST", (PyCFunction
) _wrap_wxDateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
7683 { "wxDateTime_IsDSTApplicable", (PyCFunction
) _wrap_wxDateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
7684 { "wxDateTime_GetAmPmStrings", (PyCFunction
) _wrap_wxDateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
7685 { "wxDateTime_GetWeekDayName", (PyCFunction
) _wrap_wxDateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
7686 { "wxDateTime_GetMonthName", (PyCFunction
) _wrap_wxDateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
7687 { "wxDateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
7688 { "wxDateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
7689 { "wxDateTime_GetCentury", (PyCFunction
) _wrap_wxDateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
7690 { "wxDateTime_IsLeapYear", (PyCFunction
) _wrap_wxDateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
7691 { "wxDateTime_GetCurrentMonth", (PyCFunction
) _wrap_wxDateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
7692 { "wxDateTime_ConvertYearToBC", (PyCFunction
) _wrap_wxDateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
7693 { "wxDateTime_GetCurrentYear", (PyCFunction
) _wrap_wxDateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
7694 { "wxDateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_wxDateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
7695 { "wxDateTime_GetCountry", (PyCFunction
) _wrap_wxDateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7696 { "wxDateTime_SetCountry", (PyCFunction
) _wrap_wxDateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7697 { "delete_wxFileConfig", (PyCFunction
) _wrap_delete_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7698 { "new_wxFileConfig", (PyCFunction
) _wrap_new_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7699 { "delete_wxConfig", (PyCFunction
) _wrap_delete_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7700 { "new_wxConfig", (PyCFunction
) _wrap_new_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7701 { "wxConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7702 { "wxConfigBase_RenameGroup", (PyCFunction
) _wrap_wxConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
7703 { "wxConfigBase_RenameEntry", (PyCFunction
) _wrap_wxConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
7704 { "wxConfigBase_GetEntryType", (PyCFunction
) _wrap_wxConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
7705 { "wxConfigBase_WriteBool", (PyCFunction
) _wrap_wxConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
7706 { "wxConfigBase_WriteFloat", (PyCFunction
) _wrap_wxConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
7707 { "wxConfigBase_WriteInt", (PyCFunction
) _wrap_wxConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
7708 { "wxConfigBase_Write", (PyCFunction
) _wrap_wxConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
7709 { "wxConfigBase_GetStyle", (PyCFunction
) _wrap_wxConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7710 { "wxConfigBase_SetStyle", (PyCFunction
) _wrap_wxConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7711 { "wxConfigBase_SetVendorName", (PyCFunction
) _wrap_wxConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7712 { "wxConfigBase_SetAppName", (PyCFunction
) _wrap_wxConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7713 { "wxConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_wxConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7714 { "wxConfigBase_SetPath", (PyCFunction
) _wrap_wxConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
7715 { "wxConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7716 { "wxConfigBase_ReadBool", (PyCFunction
) _wrap_wxConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
7717 { "wxConfigBase_ReadFloat", (PyCFunction
) _wrap_wxConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
7718 { "wxConfigBase_ReadInt", (PyCFunction
) _wrap_wxConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
7719 { "wxConfigBase_Read", (PyCFunction
) _wrap_wxConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
7720 { "wxConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_wxConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7721 { "wxConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_wxConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7722 { "wxConfigBase_HasGroup", (PyCFunction
) _wrap_wxConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
7723 { "wxConfigBase_HasEntry", (PyCFunction
) _wrap_wxConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
7724 { "wxConfigBase_GetVendorName", (PyCFunction
) _wrap_wxConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7725 { "wxConfigBase_GetPath", (PyCFunction
) _wrap_wxConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
7726 { "wxConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
7727 { "wxConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
7728 { "wxConfigBase_GetNextEntry", (PyCFunction
) _wrap_wxConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
7729 { "wxConfigBase_GetNextGroup", (PyCFunction
) _wrap_wxConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
7730 { "wxConfigBase_GetFirstEntry", (PyCFunction
) _wrap_wxConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
7731 { "wxConfigBase_GetFirstGroup", (PyCFunction
) _wrap_wxConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
7732 { "wxConfigBase_GetAppName", (PyCFunction
) _wrap_wxConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7733 { "wxConfigBase_Flush", (PyCFunction
) _wrap_wxConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
7734 { "wxConfigBase_Exists", (PyCFunction
) _wrap_wxConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
7735 { "wxConfigBase_DeleteGroup", (PyCFunction
) _wrap_wxConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
7736 { "wxConfigBase_DeleteEntry", (PyCFunction
) _wrap_wxConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
7737 { "wxConfigBase_DeleteAll", (PyCFunction
) _wrap_wxConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
7738 { "wxConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_wxConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
7739 { "wxConfigBase_Create", (PyCFunction
) _wrap_wxConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
7740 { "wxConfigBase_Get", (PyCFunction
) _wrap_wxConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
7741 { "wxConfigBase_Set", (PyCFunction
) _wrap_wxConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
7742 { "delete_wxConfigBase", (PyCFunction
) _wrap_delete_wxConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
7743 { "wxGetLocalTimeMillis", (PyCFunction
) _wrap_wxGetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
7744 { "wxGetCurrentTime", (PyCFunction
) _wrap_wxGetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
7745 { "wxGetUTCTime", (PyCFunction
) _wrap_wxGetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
7746 { "wxGetLocalTime", (PyCFunction
) _wrap_wxGetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
7753 * This table is used by the pointer type-checker
7755 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7756 { "_signed_long","_long",0},
7757 { "_wxPrintQuality","_wxCoord",0},
7758 { "_wxPrintQuality","_int",0},
7759 { "_wxPrintQuality","_signed_int",0},
7760 { "_wxPrintQuality","_unsigned_int",0},
7761 { "_wxPrintQuality","_wxWindowID",0},
7762 { "_wxPrintQuality","_uint",0},
7763 { "_wxPrintQuality","_EBool",0},
7764 { "_wxPrintQuality","_size_t",0},
7765 { "_wxPrintQuality","_time_t",0},
7766 { "_byte","_unsigned_char",0},
7767 { "_long","_unsigned_long",0},
7768 { "_long","_signed_long",0},
7769 { "_size_t","_wxCoord",0},
7770 { "_size_t","_wxPrintQuality",0},
7771 { "_size_t","_time_t",0},
7772 { "_size_t","_unsigned_int",0},
7773 { "_size_t","_int",0},
7774 { "_size_t","_wxWindowID",0},
7775 { "_size_t","_uint",0},
7776 { "_uint","_wxCoord",0},
7777 { "_uint","_wxPrintQuality",0},
7778 { "_uint","_time_t",0},
7779 { "_uint","_size_t",0},
7780 { "_uint","_unsigned_int",0},
7781 { "_uint","_int",0},
7782 { "_uint","_wxWindowID",0},
7783 { "_wxChar","_char",0},
7784 { "_char","_wxChar",0},
7785 { "_EBool","_wxCoord",0},
7786 { "_EBool","_wxPrintQuality",0},
7787 { "_EBool","_signed_int",0},
7788 { "_EBool","_int",0},
7789 { "_EBool","_wxWindowID",0},
7790 { "_unsigned_long","_long",0},
7791 { "_signed_int","_wxCoord",0},
7792 { "_signed_int","_wxPrintQuality",0},
7793 { "_signed_int","_EBool",0},
7794 { "_signed_int","_wxWindowID",0},
7795 { "_signed_int","_int",0},
7796 { "_WXTYPE","_wxDateTime_t",0},
7797 { "_WXTYPE","_short",0},
7798 { "_WXTYPE","_signed_short",0},
7799 { "_WXTYPE","_unsigned_short",0},
7800 { "_unsigned_short","_wxDateTime_t",0},
7801 { "_unsigned_short","_WXTYPE",0},
7802 { "_unsigned_short","_short",0},
7803 { "_signed_short","_WXTYPE",0},
7804 { "_signed_short","_short",0},
7805 { "_unsigned_char","_byte",0},
7806 { "_unsigned_int","_wxCoord",0},
7807 { "_unsigned_int","_wxPrintQuality",0},
7808 { "_unsigned_int","_time_t",0},
7809 { "_unsigned_int","_size_t",0},
7810 { "_unsigned_int","_uint",0},
7811 { "_unsigned_int","_wxWindowID",0},
7812 { "_unsigned_int","_int",0},
7813 { "_wxConfigBase","_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7814 { "_wxConfigBase","_wxConfig",SwigwxConfigTowxConfigBase
},
7815 { "_short","_wxDateTime_t",0},
7816 { "_short","_WXTYPE",0},
7817 { "_short","_unsigned_short",0},
7818 { "_short","_signed_short",0},
7819 { "_wxWindowID","_wxCoord",0},
7820 { "_wxWindowID","_wxPrintQuality",0},
7821 { "_wxWindowID","_time_t",0},
7822 { "_wxWindowID","_size_t",0},
7823 { "_wxWindowID","_EBool",0},
7824 { "_wxWindowID","_uint",0},
7825 { "_wxWindowID","_int",0},
7826 { "_wxWindowID","_signed_int",0},
7827 { "_wxWindowID","_unsigned_int",0},
7828 { "_int","_wxCoord",0},
7829 { "_int","_wxPrintQuality",0},
7830 { "_int","_time_t",0},
7831 { "_int","_size_t",0},
7832 { "_int","_EBool",0},
7833 { "_int","_uint",0},
7834 { "_int","_wxWindowID",0},
7835 { "_int","_unsigned_int",0},
7836 { "_int","_signed_int",0},
7837 { "_wxDateTime_t","_unsigned_short",0},
7838 { "_wxDateTime_t","_short",0},
7839 { "_wxDateTime_t","_WXTYPE",0},
7840 { "_time_t","_wxCoord",0},
7841 { "_time_t","_wxPrintQuality",0},
7842 { "_time_t","_unsigned_int",0},
7843 { "_time_t","_int",0},
7844 { "_time_t","_wxWindowID",0},
7845 { "_time_t","_uint",0},
7846 { "_time_t","_size_t",0},
7847 { "_wxCoord","_int",0},
7848 { "_wxCoord","_signed_int",0},
7849 { "_wxCoord","_unsigned_int",0},
7850 { "_wxCoord","_wxWindowID",0},
7851 { "_wxCoord","_uint",0},
7852 { "_wxCoord","_EBool",0},
7853 { "_wxCoord","_size_t",0},
7854 { "_wxCoord","_time_t",0},
7855 { "_wxCoord","_wxPrintQuality",0},
7858 static PyObject
*SWIG_globals
;
7862 SWIGEXPORT(void) initutilsc() {
7864 SWIG_globals
= SWIG_newvarlink();
7865 m
= Py_InitModule("utilsc", utilscMethods
);
7866 d
= PyModule_GetDict(m
);
7867 PyDict_SetItemString(d
,"wxCONFIG_USE_LOCAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_LOCAL_FILE
));
7868 PyDict_SetItemString(d
,"wxCONFIG_USE_GLOBAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_GLOBAL_FILE
));
7869 PyDict_SetItemString(d
,"wxCONFIG_USE_RELATIVE_PATH", PyInt_FromLong((long) wxCONFIG_USE_RELATIVE_PATH
));
7870 PyDict_SetItemString(d
,"wxCONFIG_USE_NO_ESCAPE_CHARACTERS", PyInt_FromLong((long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
7872 // These are no longer needed since utils is back in the core
7873 // wxClassInfo::CleanUpClasses();
7874 // wxClassInfo::InitializeClasses();
7875 PyDict_SetItemString(d
,"wxConfigBase_Type_Unknown", PyInt_FromLong((long) wxConfigBase::Type_Unknown
));
7876 PyDict_SetItemString(d
,"wxConfigBase_Type_String", PyInt_FromLong((long) wxConfigBase::Type_String
));
7877 PyDict_SetItemString(d
,"wxConfigBase_Type_Boolean", PyInt_FromLong((long) wxConfigBase::Type_Boolean
));
7878 PyDict_SetItemString(d
,"wxConfigBase_Type_Integer", PyInt_FromLong((long) wxConfigBase::Type_Integer
));
7879 PyDict_SetItemString(d
,"wxConfigBase_Type_Float", PyInt_FromLong((long) wxConfigBase::Type_Float
));
7880 PyDict_SetItemString(d
,"wxDateTime_Local", PyInt_FromLong((long) wxDateTime::Local
));
7881 PyDict_SetItemString(d
,"wxDateTime_GMT_12", PyInt_FromLong((long) wxDateTime::GMT_12
));
7882 PyDict_SetItemString(d
,"wxDateTime_GMT_11", PyInt_FromLong((long) wxDateTime::GMT_11
));
7883 PyDict_SetItemString(d
,"wxDateTime_GMT_10", PyInt_FromLong((long) wxDateTime::GMT_10
));
7884 PyDict_SetItemString(d
,"wxDateTime_GMT_9", PyInt_FromLong((long) wxDateTime::GMT_9
));
7885 PyDict_SetItemString(d
,"wxDateTime_GMT_8", PyInt_FromLong((long) wxDateTime::GMT_8
));
7886 PyDict_SetItemString(d
,"wxDateTime_GMT_7", PyInt_FromLong((long) wxDateTime::GMT_7
));
7887 PyDict_SetItemString(d
,"wxDateTime_GMT_6", PyInt_FromLong((long) wxDateTime::GMT_6
));
7888 PyDict_SetItemString(d
,"wxDateTime_GMT_5", PyInt_FromLong((long) wxDateTime::GMT_5
));
7889 PyDict_SetItemString(d
,"wxDateTime_GMT_4", PyInt_FromLong((long) wxDateTime::GMT_4
));
7890 PyDict_SetItemString(d
,"wxDateTime_GMT_3", PyInt_FromLong((long) wxDateTime::GMT_3
));
7891 PyDict_SetItemString(d
,"wxDateTime_GMT_2", PyInt_FromLong((long) wxDateTime::GMT_2
));
7892 PyDict_SetItemString(d
,"wxDateTime_GMT_1", PyInt_FromLong((long) wxDateTime::GMT_1
));
7893 PyDict_SetItemString(d
,"wxDateTime_GMT0", PyInt_FromLong((long) wxDateTime::GMT0
));
7894 PyDict_SetItemString(d
,"wxDateTime_GMT1", PyInt_FromLong((long) wxDateTime::GMT1
));
7895 PyDict_SetItemString(d
,"wxDateTime_GMT2", PyInt_FromLong((long) wxDateTime::GMT2
));
7896 PyDict_SetItemString(d
,"wxDateTime_GMT3", PyInt_FromLong((long) wxDateTime::GMT3
));
7897 PyDict_SetItemString(d
,"wxDateTime_GMT4", PyInt_FromLong((long) wxDateTime::GMT4
));
7898 PyDict_SetItemString(d
,"wxDateTime_GMT5", PyInt_FromLong((long) wxDateTime::GMT5
));
7899 PyDict_SetItemString(d
,"wxDateTime_GMT6", PyInt_FromLong((long) wxDateTime::GMT6
));
7900 PyDict_SetItemString(d
,"wxDateTime_GMT7", PyInt_FromLong((long) wxDateTime::GMT7
));
7901 PyDict_SetItemString(d
,"wxDateTime_GMT8", PyInt_FromLong((long) wxDateTime::GMT8
));
7902 PyDict_SetItemString(d
,"wxDateTime_GMT9", PyInt_FromLong((long) wxDateTime::GMT9
));
7903 PyDict_SetItemString(d
,"wxDateTime_GMT10", PyInt_FromLong((long) wxDateTime::GMT10
));
7904 PyDict_SetItemString(d
,"wxDateTime_GMT11", PyInt_FromLong((long) wxDateTime::GMT11
));
7905 PyDict_SetItemString(d
,"wxDateTime_GMT12", PyInt_FromLong((long) wxDateTime::GMT12
));
7906 PyDict_SetItemString(d
,"wxDateTime_WET", PyInt_FromLong((long) wxDateTime::WET
));
7907 PyDict_SetItemString(d
,"wxDateTime_WEST", PyInt_FromLong((long) wxDateTime::WEST
));
7908 PyDict_SetItemString(d
,"wxDateTime_CET", PyInt_FromLong((long) wxDateTime::CET
));
7909 PyDict_SetItemString(d
,"wxDateTime_CEST", PyInt_FromLong((long) wxDateTime::CEST
));
7910 PyDict_SetItemString(d
,"wxDateTime_EET", PyInt_FromLong((long) wxDateTime::EET
));
7911 PyDict_SetItemString(d
,"wxDateTime_EEST", PyInt_FromLong((long) wxDateTime::EEST
));
7912 PyDict_SetItemString(d
,"wxDateTime_MSK", PyInt_FromLong((long) wxDateTime::MSK
));
7913 PyDict_SetItemString(d
,"wxDateTime_MSD", PyInt_FromLong((long) wxDateTime::MSD
));
7914 PyDict_SetItemString(d
,"wxDateTime_AST", PyInt_FromLong((long) wxDateTime::AST
));
7915 PyDict_SetItemString(d
,"wxDateTime_ADT", PyInt_FromLong((long) wxDateTime::ADT
));
7916 PyDict_SetItemString(d
,"wxDateTime_EST", PyInt_FromLong((long) wxDateTime::EST
));
7917 PyDict_SetItemString(d
,"wxDateTime_EDT", PyInt_FromLong((long) wxDateTime::EDT
));
7918 PyDict_SetItemString(d
,"wxDateTime_CST", PyInt_FromLong((long) wxDateTime::CST
));
7919 PyDict_SetItemString(d
,"wxDateTime_CDT", PyInt_FromLong((long) wxDateTime::CDT
));
7920 PyDict_SetItemString(d
,"wxDateTime_MST", PyInt_FromLong((long) wxDateTime::MST
));
7921 PyDict_SetItemString(d
,"wxDateTime_MDT", PyInt_FromLong((long) wxDateTime::MDT
));
7922 PyDict_SetItemString(d
,"wxDateTime_PST", PyInt_FromLong((long) wxDateTime::PST
));
7923 PyDict_SetItemString(d
,"wxDateTime_PDT", PyInt_FromLong((long) wxDateTime::PDT
));
7924 PyDict_SetItemString(d
,"wxDateTime_HST", PyInt_FromLong((long) wxDateTime::HST
));
7925 PyDict_SetItemString(d
,"wxDateTime_AKST", PyInt_FromLong((long) wxDateTime::AKST
));
7926 PyDict_SetItemString(d
,"wxDateTime_AKDT", PyInt_FromLong((long) wxDateTime::AKDT
));
7927 PyDict_SetItemString(d
,"wxDateTime_A_WST", PyInt_FromLong((long) wxDateTime::A_WST
));
7928 PyDict_SetItemString(d
,"wxDateTime_A_CST", PyInt_FromLong((long) wxDateTime::A_CST
));
7929 PyDict_SetItemString(d
,"wxDateTime_A_EST", PyInt_FromLong((long) wxDateTime::A_EST
));
7930 PyDict_SetItemString(d
,"wxDateTime_A_ESST", PyInt_FromLong((long) wxDateTime::A_ESST
));
7931 PyDict_SetItemString(d
,"wxDateTime_UTC", PyInt_FromLong((long) wxDateTime::UTC
));
7932 PyDict_SetItemString(d
,"wxDateTime_Gregorian", PyInt_FromLong((long) wxDateTime::Gregorian
));
7933 PyDict_SetItemString(d
,"wxDateTime_Julian", PyInt_FromLong((long) wxDateTime::Julian
));
7934 PyDict_SetItemString(d
,"wxDateTime_Country_Unknown", PyInt_FromLong((long) wxDateTime::Country_Unknown
));
7935 PyDict_SetItemString(d
,"wxDateTime_Country_Default", PyInt_FromLong((long) wxDateTime::Country_Default
));
7936 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_Start", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_Start
));
7937 PyDict_SetItemString(d
,"wxDateTime_Country_EEC", PyInt_FromLong((long) wxDateTime::Country_EEC
));
7938 PyDict_SetItemString(d
,"wxDateTime_France", PyInt_FromLong((long) wxDateTime::France
));
7939 PyDict_SetItemString(d
,"wxDateTime_Germany", PyInt_FromLong((long) wxDateTime::Germany
));
7940 PyDict_SetItemString(d
,"wxDateTime_UK", PyInt_FromLong((long) wxDateTime::UK
));
7941 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_End", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_End
));
7942 PyDict_SetItemString(d
,"wxDateTime_Russia", PyInt_FromLong((long) wxDateTime::Russia
));
7943 PyDict_SetItemString(d
,"wxDateTime_USA", PyInt_FromLong((long) wxDateTime::USA
));
7944 PyDict_SetItemString(d
,"wxDateTime_Jan", PyInt_FromLong((long) wxDateTime::Jan
));
7945 PyDict_SetItemString(d
,"wxDateTime_Feb", PyInt_FromLong((long) wxDateTime::Feb
));
7946 PyDict_SetItemString(d
,"wxDateTime_Mar", PyInt_FromLong((long) wxDateTime::Mar
));
7947 PyDict_SetItemString(d
,"wxDateTime_Apr", PyInt_FromLong((long) wxDateTime::Apr
));
7948 PyDict_SetItemString(d
,"wxDateTime_May", PyInt_FromLong((long) wxDateTime::May
));
7949 PyDict_SetItemString(d
,"wxDateTime_Jun", PyInt_FromLong((long) wxDateTime::Jun
));
7950 PyDict_SetItemString(d
,"wxDateTime_Jul", PyInt_FromLong((long) wxDateTime::Jul
));
7951 PyDict_SetItemString(d
,"wxDateTime_Aug", PyInt_FromLong((long) wxDateTime::Aug
));
7952 PyDict_SetItemString(d
,"wxDateTime_Sep", PyInt_FromLong((long) wxDateTime::Sep
));
7953 PyDict_SetItemString(d
,"wxDateTime_Oct", PyInt_FromLong((long) wxDateTime::Oct
));
7954 PyDict_SetItemString(d
,"wxDateTime_Nov", PyInt_FromLong((long) wxDateTime::Nov
));
7955 PyDict_SetItemString(d
,"wxDateTime_Dec", PyInt_FromLong((long) wxDateTime::Dec
));
7956 PyDict_SetItemString(d
,"wxDateTime_Inv_Month", PyInt_FromLong((long) wxDateTime::Inv_Month
));
7957 PyDict_SetItemString(d
,"wxDateTime_Sun", PyInt_FromLong((long) wxDateTime::Sun
));
7958 PyDict_SetItemString(d
,"wxDateTime_Mon", PyInt_FromLong((long) wxDateTime::Mon
));
7959 PyDict_SetItemString(d
,"wxDateTime_Tue", PyInt_FromLong((long) wxDateTime::Tue
));
7960 PyDict_SetItemString(d
,"wxDateTime_Wed", PyInt_FromLong((long) wxDateTime::Wed
));
7961 PyDict_SetItemString(d
,"wxDateTime_Thu", PyInt_FromLong((long) wxDateTime::Thu
));
7962 PyDict_SetItemString(d
,"wxDateTime_Fri", PyInt_FromLong((long) wxDateTime::Fri
));
7963 PyDict_SetItemString(d
,"wxDateTime_Sat", PyInt_FromLong((long) wxDateTime::Sat
));
7964 PyDict_SetItemString(d
,"wxDateTime_Inv_WeekDay", PyInt_FromLong((long) wxDateTime::Inv_WeekDay
));
7965 PyDict_SetItemString(d
,"wxDateTime_Inv_Year", PyInt_FromLong((long) wxDateTime::Inv_Year
));
7966 PyDict_SetItemString(d
,"wxDateTime_Name_Full", PyInt_FromLong((long) wxDateTime::Name_Full
));
7967 PyDict_SetItemString(d
,"wxDateTime_Name_Abbr", PyInt_FromLong((long) wxDateTime::Name_Abbr
));
7968 PyDict_SetItemString(d
,"wxDateTime_Default_First", PyInt_FromLong((long) wxDateTime::Default_First
));
7969 PyDict_SetItemString(d
,"wxDateTime_Monday_First", PyInt_FromLong((long) wxDateTime::Monday_First
));
7970 PyDict_SetItemString(d
,"wxDateTime_Sunday_First", PyInt_FromLong((long) wxDateTime::Sunday_First
));
7973 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7974 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);