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 static const wxChar
* wxDateFormatStr
= wxT("sashWindow");
65 DECLARE_DEF_STRING(DateFormatStr
);
66 static const wxString
wxPyEmptyString(wxT(""));
70 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
76 } else if (target
== Py_None
) {
80 if (!PyTuple_Check(target
)) {
82 target
= PyTuple_New(1);
83 PyTuple_SetItem(target
, 0, o2
);
86 PyTuple_SetItem(o3
, 0, o
);
89 target
= PySequence_Concat(o2
, o3
);
96 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
97 PyObject
* ret
= PyTuple_New(3);
99 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
101 PyTuple_SET_ITEM(ret
, 1, PyUnicode_FromUnicode(str
.c_str(), str
.Len()));
103 PyTuple_SET_ITEM(ret
, 1, PyString_FromStringAndSize(str
.c_str(), str
.Len()));
105 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
110 #define LOCAL *(new wxDateTime::TimeZone(wxDateTime::Local))
114 static PyObject
*_wrap_wxGetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
115 PyObject
* _resultobj
;
117 char *_kwnames
[] = { NULL
};
120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocalTime",_kwnames
))
123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
124 _result
= (long )wxGetLocalTime();
126 wxPyEndAllowThreads(__tstate
);
127 if (PyErr_Occurred()) return NULL
;
128 } _resultobj
= Py_BuildValue("l",_result
);
132 static PyObject
*_wrap_wxGetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
133 PyObject
* _resultobj
;
135 char *_kwnames
[] = { NULL
};
138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUTCTime",_kwnames
))
141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
142 _result
= (long )wxGetUTCTime();
144 wxPyEndAllowThreads(__tstate
);
145 if (PyErr_Occurred()) return NULL
;
146 } _resultobj
= Py_BuildValue("l",_result
);
150 static PyObject
*_wrap_wxGetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
151 PyObject
* _resultobj
;
153 char *_kwnames
[] = { NULL
};
156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentTime",_kwnames
))
159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
160 _result
= (long )wxGetCurrentTime();
162 wxPyEndAllowThreads(__tstate
);
163 if (PyErr_Occurred()) return NULL
;
164 } _resultobj
= Py_BuildValue("l",_result
);
168 static PyObject
*_wrap_wxGetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
169 PyObject
* _resultobj
;
170 wxLongLong
* _result
;
171 char *_kwnames
[] = { NULL
};
174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocalTimeMillis",_kwnames
))
177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
178 _result
= new wxLongLong (wxGetLocalTimeMillis());
180 wxPyEndAllowThreads(__tstate
);
181 if (PyErr_Occurred()) return NULL
;
183 PyObject
*hi
, *lo
, *shifter
, *shifted
;
184 hi
= PyLong_FromLong(_result
->GetHi());
185 lo
= PyLong_FromLong(_result
->GetLo());
186 shifter
= PyLong_FromLong(32);
187 shifted
= PyNumber_Lshift(hi
, shifter
);
188 _resultobj
= PyNumber_Or(shifted
, lo
);
197 #define delete_wxConfigBase(_swigobj) (delete _swigobj)
198 static PyObject
*_wrap_delete_wxConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
199 PyObject
* _resultobj
;
200 wxConfigBase
* _arg0
;
201 PyObject
* _argo0
= 0;
202 char *_kwnames
[] = { "self", NULL
};
205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxConfigBase",_kwnames
,&_argo0
))
208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxConfigBase. Expected _wxConfigBase_p.");
215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
216 delete_wxConfigBase(_arg0
);
218 wxPyEndAllowThreads(__tstate
);
219 if (PyErr_Occurred()) return NULL
;
220 } Py_INCREF(Py_None
);
221 _resultobj
= Py_None
;
225 static PyObject
*_wrap_wxConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
226 PyObject
* _resultobj
;
227 wxConfigBase
* _result
;
228 wxConfigBase
* _arg0
;
229 PyObject
* _argo0
= 0;
230 char *_kwnames
[] = { "pConfig", NULL
};
234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_Set",_kwnames
,&_argo0
))
237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Set. Expected _wxConfigBase_p.");
244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
245 _result
= (wxConfigBase
*)wxConfigBase::Set(_arg0
);
247 wxPyEndAllowThreads(__tstate
);
248 if (PyErr_Occurred()) return NULL
;
250 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
251 _resultobj
= Py_BuildValue("s",_ptemp
);
254 _resultobj
= Py_None
;
259 static PyObject
*_wrap_wxConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
260 PyObject
* _resultobj
;
261 wxConfigBase
* _result
;
262 bool _arg0
= (bool ) TRUE
;
263 int tempbool0
= (int) TRUE
;
264 char *_kwnames
[] = { "createOnDemand", NULL
};
268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxConfigBase_Get",_kwnames
,&tempbool0
))
270 _arg0
= (bool ) tempbool0
;
272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
273 _result
= (wxConfigBase
*)wxConfigBase::Get(_arg0
);
275 wxPyEndAllowThreads(__tstate
);
276 if (PyErr_Occurred()) return NULL
;
278 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
279 _resultobj
= Py_BuildValue("s",_ptemp
);
282 _resultobj
= Py_None
;
287 static PyObject
*_wrap_wxConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
288 PyObject
* _resultobj
;
289 wxConfigBase
* _result
;
290 char *_kwnames
[] = { NULL
};
294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxConfigBase_Create",_kwnames
))
297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
298 _result
= (wxConfigBase
*)wxConfigBase::Create();
300 wxPyEndAllowThreads(__tstate
);
301 if (PyErr_Occurred()) return NULL
;
303 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
304 _resultobj
= Py_BuildValue("s",_ptemp
);
307 _resultobj
= Py_None
;
312 static PyObject
*_wrap_wxConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
313 PyObject
* _resultobj
;
314 char *_kwnames
[] = { NULL
};
317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxConfigBase_DontCreateOnDemand",_kwnames
))
320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
321 wxConfigBase::DontCreateOnDemand();
323 wxPyEndAllowThreads(__tstate
);
324 if (PyErr_Occurred()) return NULL
;
325 } Py_INCREF(Py_None
);
326 _resultobj
= Py_None
;
330 #define wxConfigBase_DeleteAll(_swigobj) (_swigobj->DeleteAll())
331 static PyObject
*_wrap_wxConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
332 PyObject
* _resultobj
;
334 wxConfigBase
* _arg0
;
335 PyObject
* _argo0
= 0;
336 char *_kwnames
[] = { "self", NULL
};
339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_DeleteAll",_kwnames
,&_argo0
))
342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteAll. Expected _wxConfigBase_p.");
349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
350 _result
= (bool )wxConfigBase_DeleteAll(_arg0
);
352 wxPyEndAllowThreads(__tstate
);
353 if (PyErr_Occurred()) return NULL
;
354 } _resultobj
= Py_BuildValue("i",_result
);
358 #define wxConfigBase_DeleteEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteEntry(_swigarg0,_swigarg1))
359 static PyObject
*_wrap_wxConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
360 PyObject
* _resultobj
;
362 wxConfigBase
* _arg0
;
364 bool _arg2
= (bool ) TRUE
;
365 PyObject
* _argo0
= 0;
366 PyObject
* _obj1
= 0;
367 int tempbool2
= (int) TRUE
;
368 char *_kwnames
[] = { "self","key","bDeleteGroupIfEmpty", NULL
};
371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxConfigBase_DeleteEntry",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteEntry. Expected _wxConfigBase_p.");
381 _arg1
= wxString_in_helper(_obj1
);
385 _arg2
= (bool ) tempbool2
;
387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
388 _result
= (bool )wxConfigBase_DeleteEntry(_arg0
,*_arg1
,_arg2
);
390 wxPyEndAllowThreads(__tstate
);
391 if (PyErr_Occurred()) return NULL
;
392 } _resultobj
= Py_BuildValue("i",_result
);
400 #define wxConfigBase_DeleteGroup(_swigobj,_swigarg0) (_swigobj->DeleteGroup(_swigarg0))
401 static PyObject
*_wrap_wxConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
402 PyObject
* _resultobj
;
404 wxConfigBase
* _arg0
;
406 PyObject
* _argo0
= 0;
407 PyObject
* _obj1
= 0;
408 char *_kwnames
[] = { "self","key", NULL
};
411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_DeleteGroup",_kwnames
,&_argo0
,&_obj1
))
414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteGroup. Expected _wxConfigBase_p.");
421 _arg1
= wxString_in_helper(_obj1
);
426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
427 _result
= (bool )wxConfigBase_DeleteGroup(_arg0
,*_arg1
);
429 wxPyEndAllowThreads(__tstate
);
430 if (PyErr_Occurred()) return NULL
;
431 } _resultobj
= Py_BuildValue("i",_result
);
439 #define wxConfigBase_Exists(_swigobj,_swigarg0) (_swigobj->Exists(_swigarg0))
440 static PyObject
*_wrap_wxConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
441 PyObject
* _resultobj
;
443 wxConfigBase
* _arg0
;
445 PyObject
* _argo0
= 0;
446 PyObject
* _obj1
= 0;
447 char *_kwnames
[] = { "self","strName", NULL
};
450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_Exists",_kwnames
,&_argo0
,&_obj1
))
453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Exists. Expected _wxConfigBase_p.");
460 _arg1
= wxString_in_helper(_obj1
);
465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
466 _result
= (bool )wxConfigBase_Exists(_arg0
,*_arg1
);
468 wxPyEndAllowThreads(__tstate
);
469 if (PyErr_Occurred()) return NULL
;
470 } _resultobj
= Py_BuildValue("i",_result
);
478 #define wxConfigBase_Flush(_swigobj,_swigarg0) (_swigobj->Flush(_swigarg0))
479 static PyObject
*_wrap_wxConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
480 PyObject
* _resultobj
;
482 wxConfigBase
* _arg0
;
483 bool _arg1
= (bool ) FALSE
;
484 PyObject
* _argo0
= 0;
485 int tempbool1
= (int) FALSE
;
486 char *_kwnames
[] = { "self","bCurrentOnly", NULL
};
489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_Flush",_kwnames
,&_argo0
,&tempbool1
))
492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Flush. Expected _wxConfigBase_p.");
498 _arg1
= (bool ) tempbool1
;
500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
501 _result
= (bool )wxConfigBase_Flush(_arg0
,_arg1
);
503 wxPyEndAllowThreads(__tstate
);
504 if (PyErr_Occurred()) return NULL
;
505 } _resultobj
= Py_BuildValue("i",_result
);
509 #define wxConfigBase_GetAppName(_swigobj) (_swigobj->GetAppName())
510 static PyObject
*_wrap_wxConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
511 PyObject
* _resultobj
;
513 wxConfigBase
* _arg0
;
514 PyObject
* _argo0
= 0;
515 char *_kwnames
[] = { "self", NULL
};
518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetAppName",_kwnames
,&_argo0
))
521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetAppName. Expected _wxConfigBase_p.");
528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
529 _result
= new wxString (wxConfigBase_GetAppName(_arg0
));
531 wxPyEndAllowThreads(__tstate
);
532 if (PyErr_Occurred()) return NULL
;
535 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
537 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
546 static PyObject
* wxConfigBase_GetFirstGroup(wxConfigBase
*self
) {
551 cont
= self
->GetFirstGroup(value
, index
);
552 return __EnumerationHelper(cont
, value
, index
);
554 static PyObject
*_wrap_wxConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
555 PyObject
* _resultobj
;
557 wxConfigBase
* _arg0
;
558 PyObject
* _argo0
= 0;
559 char *_kwnames
[] = { "self", NULL
};
562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetFirstGroup",_kwnames
,&_argo0
))
565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetFirstGroup. Expected _wxConfigBase_p.");
572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
573 _result
= (PyObject
*)wxConfigBase_GetFirstGroup(_arg0
);
575 wxPyEndAllowThreads(__tstate
);
576 if (PyErr_Occurred()) return NULL
;
578 _resultobj
= _result
;
583 static PyObject
* wxConfigBase_GetFirstEntry(wxConfigBase
*self
) {
588 cont
= self
->GetFirstEntry(value
, index
);
589 return __EnumerationHelper(cont
, value
, index
);
591 static PyObject
*_wrap_wxConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
592 PyObject
* _resultobj
;
594 wxConfigBase
* _arg0
;
595 PyObject
* _argo0
= 0;
596 char *_kwnames
[] = { "self", NULL
};
599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetFirstEntry",_kwnames
,&_argo0
))
602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetFirstEntry. Expected _wxConfigBase_p.");
609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
610 _result
= (PyObject
*)wxConfigBase_GetFirstEntry(_arg0
);
612 wxPyEndAllowThreads(__tstate
);
613 if (PyErr_Occurred()) return NULL
;
615 _resultobj
= _result
;
620 static PyObject
* wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
) {
624 cont
= self
->GetNextGroup(value
, index
);
625 return __EnumerationHelper(cont
, value
, index
);
627 static PyObject
*_wrap_wxConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
628 PyObject
* _resultobj
;
630 wxConfigBase
* _arg0
;
632 PyObject
* _argo0
= 0;
633 char *_kwnames
[] = { "self","index", NULL
};
636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_GetNextGroup",_kwnames
,&_argo0
,&_arg1
))
639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNextGroup. Expected _wxConfigBase_p.");
646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
647 _result
= (PyObject
*)wxConfigBase_GetNextGroup(_arg0
,_arg1
);
649 wxPyEndAllowThreads(__tstate
);
650 if (PyErr_Occurred()) return NULL
;
652 _resultobj
= _result
;
657 static PyObject
* wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
) {
661 cont
= self
->GetNextEntry(value
, index
);
662 return __EnumerationHelper(cont
, value
, index
);
664 static PyObject
*_wrap_wxConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
665 PyObject
* _resultobj
;
667 wxConfigBase
* _arg0
;
669 PyObject
* _argo0
= 0;
670 char *_kwnames
[] = { "self","index", NULL
};
673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_GetNextEntry",_kwnames
,&_argo0
,&_arg1
))
676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNextEntry. Expected _wxConfigBase_p.");
683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
684 _result
= (PyObject
*)wxConfigBase_GetNextEntry(_arg0
,_arg1
);
686 wxPyEndAllowThreads(__tstate
);
687 if (PyErr_Occurred()) return NULL
;
689 _resultobj
= _result
;
694 #define wxConfigBase_GetNumberOfEntries(_swigobj,_swigarg0) (_swigobj->GetNumberOfEntries(_swigarg0))
695 static PyObject
*_wrap_wxConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
696 PyObject
* _resultobj
;
698 wxConfigBase
* _arg0
;
699 bool _arg1
= (bool ) FALSE
;
700 PyObject
* _argo0
= 0;
701 int tempbool1
= (int) FALSE
;
702 char *_kwnames
[] = { "self","bRecursive", NULL
};
705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_GetNumberOfEntries",_kwnames
,&_argo0
,&tempbool1
))
708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNumberOfEntries. Expected _wxConfigBase_p.");
714 _arg1
= (bool ) tempbool1
;
716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
717 _result
= (int )wxConfigBase_GetNumberOfEntries(_arg0
,_arg1
);
719 wxPyEndAllowThreads(__tstate
);
720 if (PyErr_Occurred()) return NULL
;
721 } _resultobj
= Py_BuildValue("i",_result
);
725 #define wxConfigBase_GetNumberOfGroups(_swigobj,_swigarg0) (_swigobj->GetNumberOfGroups(_swigarg0))
726 static PyObject
*_wrap_wxConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
727 PyObject
* _resultobj
;
729 wxConfigBase
* _arg0
;
730 bool _arg1
= (bool ) FALSE
;
731 PyObject
* _argo0
= 0;
732 int tempbool1
= (int) FALSE
;
733 char *_kwnames
[] = { "self","bRecursive", NULL
};
736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_GetNumberOfGroups",_kwnames
,&_argo0
,&tempbool1
))
739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNumberOfGroups. Expected _wxConfigBase_p.");
745 _arg1
= (bool ) tempbool1
;
747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
748 _result
= (int )wxConfigBase_GetNumberOfGroups(_arg0
,_arg1
);
750 wxPyEndAllowThreads(__tstate
);
751 if (PyErr_Occurred()) return NULL
;
752 } _resultobj
= Py_BuildValue("i",_result
);
756 #define wxConfigBase_GetPath(_swigobj) (_swigobj->GetPath())
757 static PyObject
*_wrap_wxConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
758 PyObject
* _resultobj
;
760 wxConfigBase
* _arg0
;
761 PyObject
* _argo0
= 0;
762 char *_kwnames
[] = { "self", NULL
};
765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetPath",_kwnames
,&_argo0
))
768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetPath. Expected _wxConfigBase_p.");
775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
776 _result
= new wxString (wxConfigBase_GetPath(_arg0
));
778 wxPyEndAllowThreads(__tstate
);
779 if (PyErr_Occurred()) return NULL
;
782 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
784 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
793 #define wxConfigBase_GetVendorName(_swigobj) (_swigobj->GetVendorName())
794 static PyObject
*_wrap_wxConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
795 PyObject
* _resultobj
;
797 wxConfigBase
* _arg0
;
798 PyObject
* _argo0
= 0;
799 char *_kwnames
[] = { "self", NULL
};
802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetVendorName",_kwnames
,&_argo0
))
805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetVendorName. Expected _wxConfigBase_p.");
812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
813 _result
= new wxString (wxConfigBase_GetVendorName(_arg0
));
815 wxPyEndAllowThreads(__tstate
);
816 if (PyErr_Occurred()) return NULL
;
819 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
821 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
830 #define wxConfigBase_HasEntry(_swigobj,_swigarg0) (_swigobj->HasEntry(_swigarg0))
831 static PyObject
*_wrap_wxConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
832 PyObject
* _resultobj
;
834 wxConfigBase
* _arg0
;
836 PyObject
* _argo0
= 0;
837 PyObject
* _obj1
= 0;
838 char *_kwnames
[] = { "self","strName", NULL
};
841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_HasEntry",_kwnames
,&_argo0
,&_obj1
))
844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_HasEntry. Expected _wxConfigBase_p.");
851 _arg1
= wxString_in_helper(_obj1
);
856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
857 _result
= (bool )wxConfigBase_HasEntry(_arg0
,*_arg1
);
859 wxPyEndAllowThreads(__tstate
);
860 if (PyErr_Occurred()) return NULL
;
861 } _resultobj
= Py_BuildValue("i",_result
);
869 #define wxConfigBase_HasGroup(_swigobj,_swigarg0) (_swigobj->HasGroup(_swigarg0))
870 static PyObject
*_wrap_wxConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
871 PyObject
* _resultobj
;
873 wxConfigBase
* _arg0
;
875 PyObject
* _argo0
= 0;
876 PyObject
* _obj1
= 0;
877 char *_kwnames
[] = { "self","strName", NULL
};
880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_HasGroup",_kwnames
,&_argo0
,&_obj1
))
883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_HasGroup. Expected _wxConfigBase_p.");
890 _arg1
= wxString_in_helper(_obj1
);
895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
896 _result
= (bool )wxConfigBase_HasGroup(_arg0
,*_arg1
);
898 wxPyEndAllowThreads(__tstate
);
899 if (PyErr_Occurred()) return NULL
;
900 } _resultobj
= Py_BuildValue("i",_result
);
908 #define wxConfigBase_IsExpandingEnvVars(_swigobj) (_swigobj->IsExpandingEnvVars())
909 static PyObject
*_wrap_wxConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
910 PyObject
* _resultobj
;
912 wxConfigBase
* _arg0
;
913 PyObject
* _argo0
= 0;
914 char *_kwnames
[] = { "self", NULL
};
917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_IsExpandingEnvVars",_kwnames
,&_argo0
))
920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_IsExpandingEnvVars. Expected _wxConfigBase_p.");
927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
928 _result
= (bool )wxConfigBase_IsExpandingEnvVars(_arg0
);
930 wxPyEndAllowThreads(__tstate
);
931 if (PyErr_Occurred()) return NULL
;
932 } _resultobj
= Py_BuildValue("i",_result
);
936 #define wxConfigBase_IsRecordingDefaults(_swigobj) (_swigobj->IsRecordingDefaults())
937 static PyObject
*_wrap_wxConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
938 PyObject
* _resultobj
;
940 wxConfigBase
* _arg0
;
941 PyObject
* _argo0
= 0;
942 char *_kwnames
[] = { "self", NULL
};
945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_IsRecordingDefaults",_kwnames
,&_argo0
))
948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_IsRecordingDefaults. Expected _wxConfigBase_p.");
955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
956 _result
= (bool )wxConfigBase_IsRecordingDefaults(_arg0
);
958 wxPyEndAllowThreads(__tstate
);
959 if (PyErr_Occurred()) return NULL
;
960 } _resultobj
= Py_BuildValue("i",_result
);
964 #define wxConfigBase_Read(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
965 static PyObject
*_wrap_wxConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
966 PyObject
* _resultobj
;
968 wxConfigBase
* _arg0
;
970 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
971 PyObject
* _argo0
= 0;
972 PyObject
* _obj1
= 0;
973 PyObject
* _obj2
= 0;
974 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxConfigBase_Read",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Read. Expected _wxConfigBase_p.");
987 _arg1
= wxString_in_helper(_obj1
);
993 _arg2
= wxString_in_helper(_obj2
);
998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
999 _result
= new wxString (wxConfigBase_Read(_arg0
,*_arg1
,*_arg2
));
1001 wxPyEndAllowThreads(__tstate
);
1002 if (PyErr_Occurred()) return NULL
;
1005 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1007 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1024 static long wxConfigBase_ReadInt(wxConfigBase
*self
,const wxString
& key
,long defaultVal
) {
1026 self
->Read(key
, &rv
, defaultVal
);
1029 static PyObject
*_wrap_wxConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1030 PyObject
* _resultobj
;
1032 wxConfigBase
* _arg0
;
1034 long _arg2
= (long ) 0;
1035 PyObject
* _argo0
= 0;
1036 PyObject
* _obj1
= 0;
1037 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|l:wxConfigBase_ReadInt",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadInt. Expected _wxConfigBase_p.");
1050 _arg1
= wxString_in_helper(_obj1
);
1055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1056 _result
= (long )wxConfigBase_ReadInt(_arg0
,*_arg1
,_arg2
);
1058 wxPyEndAllowThreads(__tstate
);
1059 if (PyErr_Occurred()) return NULL
;
1060 } _resultobj
= Py_BuildValue("l",_result
);
1068 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,const wxString
& key
,double defaultVal
) {
1070 self
->Read(key
, &rv
, defaultVal
);
1073 static PyObject
*_wrap_wxConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1074 PyObject
* _resultobj
;
1076 wxConfigBase
* _arg0
;
1078 double _arg2
= (double ) 0.0;
1079 PyObject
* _argo0
= 0;
1080 PyObject
* _obj1
= 0;
1081 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|d:wxConfigBase_ReadFloat",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadFloat. Expected _wxConfigBase_p.");
1094 _arg1
= wxString_in_helper(_obj1
);
1099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1100 _result
= (double )wxConfigBase_ReadFloat(_arg0
,*_arg1
,_arg2
);
1102 wxPyEndAllowThreads(__tstate
);
1103 if (PyErr_Occurred()) return NULL
;
1104 } _resultobj
= Py_BuildValue("d",_result
);
1112 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,const wxString
& key
,bool defaultVal
) {
1114 self
->Read(key
, &rv
, defaultVal
);
1117 static PyObject
*_wrap_wxConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1118 PyObject
* _resultobj
;
1120 wxConfigBase
* _arg0
;
1122 bool _arg2
= (bool ) FALSE
;
1123 PyObject
* _argo0
= 0;
1124 PyObject
* _obj1
= 0;
1125 int tempbool2
= (int) FALSE
;
1126 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxConfigBase_ReadBool",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadBool. Expected _wxConfigBase_p.");
1139 _arg1
= wxString_in_helper(_obj1
);
1143 _arg2
= (bool ) tempbool2
;
1145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1146 _result
= (bool )wxConfigBase_ReadBool(_arg0
,*_arg1
,_arg2
);
1148 wxPyEndAllowThreads(__tstate
);
1149 if (PyErr_Occurred()) return NULL
;
1150 } _resultobj
= Py_BuildValue("i",_result
);
1158 #define wxConfigBase_SetExpandEnvVars(_swigobj,_swigarg0) (_swigobj->SetExpandEnvVars(_swigarg0))
1159 static PyObject
*_wrap_wxConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1160 PyObject
* _resultobj
;
1161 wxConfigBase
* _arg0
;
1162 bool _arg1
= (bool ) TRUE
;
1163 PyObject
* _argo0
= 0;
1164 int tempbool1
= (int) TRUE
;
1165 char *_kwnames
[] = { "self","bDoIt", NULL
};
1168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_SetExpandEnvVars",_kwnames
,&_argo0
,&tempbool1
))
1171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetExpandEnvVars. Expected _wxConfigBase_p.");
1177 _arg1
= (bool ) tempbool1
;
1179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1180 wxConfigBase_SetExpandEnvVars(_arg0
,_arg1
);
1182 wxPyEndAllowThreads(__tstate
);
1183 if (PyErr_Occurred()) return NULL
;
1184 } Py_INCREF(Py_None
);
1185 _resultobj
= Py_None
;
1189 #define wxConfigBase_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1190 static PyObject
*_wrap_wxConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1191 PyObject
* _resultobj
;
1192 wxConfigBase
* _arg0
;
1194 PyObject
* _argo0
= 0;
1195 PyObject
* _obj1
= 0;
1196 char *_kwnames
[] = { "self","strPath", NULL
};
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetPath",_kwnames
,&_argo0
,&_obj1
))
1202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetPath. Expected _wxConfigBase_p.");
1209 _arg1
= wxString_in_helper(_obj1
);
1214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1215 wxConfigBase_SetPath(_arg0
,*_arg1
);
1217 wxPyEndAllowThreads(__tstate
);
1218 if (PyErr_Occurred()) return NULL
;
1219 } Py_INCREF(Py_None
);
1220 _resultobj
= Py_None
;
1228 #define wxConfigBase_SetRecordDefaults(_swigobj,_swigarg0) (_swigobj->SetRecordDefaults(_swigarg0))
1229 static PyObject
*_wrap_wxConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1230 PyObject
* _resultobj
;
1231 wxConfigBase
* _arg0
;
1232 bool _arg1
= (bool ) TRUE
;
1233 PyObject
* _argo0
= 0;
1234 int tempbool1
= (int) TRUE
;
1235 char *_kwnames
[] = { "self","bDoIt", NULL
};
1238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_SetRecordDefaults",_kwnames
,&_argo0
,&tempbool1
))
1241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetRecordDefaults. Expected _wxConfigBase_p.");
1247 _arg1
= (bool ) tempbool1
;
1249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1250 wxConfigBase_SetRecordDefaults(_arg0
,_arg1
);
1252 wxPyEndAllowThreads(__tstate
);
1253 if (PyErr_Occurred()) return NULL
;
1254 } Py_INCREF(Py_None
);
1255 _resultobj
= Py_None
;
1259 #define wxConfigBase_SetAppName(_swigobj,_swigarg0) (_swigobj->SetAppName(_swigarg0))
1260 static PyObject
*_wrap_wxConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1261 PyObject
* _resultobj
;
1262 wxConfigBase
* _arg0
;
1264 PyObject
* _argo0
= 0;
1265 PyObject
* _obj1
= 0;
1266 char *_kwnames
[] = { "self","appName", NULL
};
1269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetAppName",_kwnames
,&_argo0
,&_obj1
))
1272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetAppName. Expected _wxConfigBase_p.");
1279 _arg1
= wxString_in_helper(_obj1
);
1284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1285 wxConfigBase_SetAppName(_arg0
,*_arg1
);
1287 wxPyEndAllowThreads(__tstate
);
1288 if (PyErr_Occurred()) return NULL
;
1289 } Py_INCREF(Py_None
);
1290 _resultobj
= Py_None
;
1298 #define wxConfigBase_SetVendorName(_swigobj,_swigarg0) (_swigobj->SetVendorName(_swigarg0))
1299 static PyObject
*_wrap_wxConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
* _resultobj
;
1301 wxConfigBase
* _arg0
;
1303 PyObject
* _argo0
= 0;
1304 PyObject
* _obj1
= 0;
1305 char *_kwnames
[] = { "self","vendorName", NULL
};
1308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetVendorName",_kwnames
,&_argo0
,&_obj1
))
1311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetVendorName. Expected _wxConfigBase_p.");
1318 _arg1
= wxString_in_helper(_obj1
);
1323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1324 wxConfigBase_SetVendorName(_arg0
,*_arg1
);
1326 wxPyEndAllowThreads(__tstate
);
1327 if (PyErr_Occurred()) return NULL
;
1328 } Py_INCREF(Py_None
);
1329 _resultobj
= Py_None
;
1337 #define wxConfigBase_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1338 static PyObject
*_wrap_wxConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1339 PyObject
* _resultobj
;
1340 wxConfigBase
* _arg0
;
1342 PyObject
* _argo0
= 0;
1343 char *_kwnames
[] = { "self","style", NULL
};
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetStyle. Expected _wxConfigBase_p.");
1356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1357 wxConfigBase_SetStyle(_arg0
,_arg1
);
1359 wxPyEndAllowThreads(__tstate
);
1360 if (PyErr_Occurred()) return NULL
;
1361 } Py_INCREF(Py_None
);
1362 _resultobj
= Py_None
;
1366 #define wxConfigBase_GetStyle(_swigobj) (_swigobj->GetStyle())
1367 static PyObject
*_wrap_wxConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
* _resultobj
;
1370 wxConfigBase
* _arg0
;
1371 PyObject
* _argo0
= 0;
1372 char *_kwnames
[] = { "self", NULL
};
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetStyle",_kwnames
,&_argo0
))
1378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetStyle. Expected _wxConfigBase_p.");
1385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1386 _result
= (long )wxConfigBase_GetStyle(_arg0
);
1388 wxPyEndAllowThreads(__tstate
);
1389 if (PyErr_Occurred()) return NULL
;
1390 } _resultobj
= Py_BuildValue("l",_result
);
1394 #define wxConfigBase_Write(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1395 static PyObject
*_wrap_wxConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1396 PyObject
* _resultobj
;
1398 wxConfigBase
* _arg0
;
1401 PyObject
* _argo0
= 0;
1402 PyObject
* _obj1
= 0;
1403 PyObject
* _obj2
= 0;
1404 char *_kwnames
[] = { "self","key","value", NULL
};
1407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_Write",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Write. Expected _wxConfigBase_p.");
1417 _arg1
= wxString_in_helper(_obj1
);
1422 _arg2
= wxString_in_helper(_obj2
);
1427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1428 _result
= (bool )wxConfigBase_Write(_arg0
,*_arg1
,*_arg2
);
1430 wxPyEndAllowThreads(__tstate
);
1431 if (PyErr_Occurred()) return NULL
;
1432 } _resultobj
= Py_BuildValue("i",_result
);
1444 #define wxConfigBase_WriteInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1445 static PyObject
*_wrap_wxConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
* _resultobj
;
1448 wxConfigBase
* _arg0
;
1451 PyObject
* _argo0
= 0;
1452 PyObject
* _obj1
= 0;
1453 char *_kwnames
[] = { "self","key","value", NULL
};
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxConfigBase_WriteInt",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteInt. Expected _wxConfigBase_p.");
1466 _arg1
= wxString_in_helper(_obj1
);
1471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1472 _result
= (bool )wxConfigBase_WriteInt(_arg0
,*_arg1
,_arg2
);
1474 wxPyEndAllowThreads(__tstate
);
1475 if (PyErr_Occurred()) return NULL
;
1476 } _resultobj
= Py_BuildValue("i",_result
);
1484 #define wxConfigBase_WriteFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1485 static PyObject
*_wrap_wxConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1486 PyObject
* _resultobj
;
1488 wxConfigBase
* _arg0
;
1491 PyObject
* _argo0
= 0;
1492 PyObject
* _obj1
= 0;
1493 char *_kwnames
[] = { "self","key","value", NULL
};
1496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOd:wxConfigBase_WriteFloat",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteFloat. Expected _wxConfigBase_p.");
1506 _arg1
= wxString_in_helper(_obj1
);
1511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1512 _result
= (bool )wxConfigBase_WriteFloat(_arg0
,*_arg1
,_arg2
);
1514 wxPyEndAllowThreads(__tstate
);
1515 if (PyErr_Occurred()) return NULL
;
1516 } _resultobj
= Py_BuildValue("i",_result
);
1524 #define wxConfigBase_WriteBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1525 static PyObject
*_wrap_wxConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1526 PyObject
* _resultobj
;
1528 wxConfigBase
* _arg0
;
1531 PyObject
* _argo0
= 0;
1532 PyObject
* _obj1
= 0;
1534 char *_kwnames
[] = { "self","key","value", NULL
};
1537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxConfigBase_WriteBool",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteBool. Expected _wxConfigBase_p.");
1547 _arg1
= wxString_in_helper(_obj1
);
1551 _arg2
= (bool ) tempbool2
;
1553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1554 _result
= (bool )wxConfigBase_WriteBool(_arg0
,*_arg1
,_arg2
);
1556 wxPyEndAllowThreads(__tstate
);
1557 if (PyErr_Occurred()) return NULL
;
1558 } _resultobj
= Py_BuildValue("i",_result
);
1566 #define wxConfigBase_GetEntryType(_swigobj,_swigarg0) (_swigobj->GetEntryType(_swigarg0))
1567 static PyObject
*_wrap_wxConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1568 PyObject
* _resultobj
;
1569 wxConfigBase::EntryType _result
;
1570 wxConfigBase
* _arg0
;
1572 PyObject
* _argo0
= 0;
1573 PyObject
* _obj1
= 0;
1574 char *_kwnames
[] = { "self","name", NULL
};
1577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_GetEntryType",_kwnames
,&_argo0
,&_obj1
))
1580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetEntryType. Expected _wxConfigBase_p.");
1587 _arg1
= wxString_in_helper(_obj1
);
1592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1593 _result
= (wxConfigBase::EntryType
)wxConfigBase_GetEntryType(_arg0
,*_arg1
);
1595 wxPyEndAllowThreads(__tstate
);
1596 if (PyErr_Occurred()) return NULL
;
1597 } _resultobj
= Py_BuildValue("i",_result
);
1605 #define wxConfigBase_RenameEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameEntry(_swigarg0,_swigarg1))
1606 static PyObject
*_wrap_wxConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1607 PyObject
* _resultobj
;
1609 wxConfigBase
* _arg0
;
1612 PyObject
* _argo0
= 0;
1613 PyObject
* _obj1
= 0;
1614 PyObject
* _obj2
= 0;
1615 char *_kwnames
[] = { "self","oldName","newName", NULL
};
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_RenameEntry",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_RenameEntry. Expected _wxConfigBase_p.");
1628 _arg1
= wxString_in_helper(_obj1
);
1633 _arg2
= wxString_in_helper(_obj2
);
1638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1639 _result
= (bool )wxConfigBase_RenameEntry(_arg0
,*_arg1
,*_arg2
);
1641 wxPyEndAllowThreads(__tstate
);
1642 if (PyErr_Occurred()) return NULL
;
1643 } _resultobj
= Py_BuildValue("i",_result
);
1655 #define wxConfigBase_RenameGroup(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameGroup(_swigarg0,_swigarg1))
1656 static PyObject
*_wrap_wxConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
* _resultobj
;
1659 wxConfigBase
* _arg0
;
1662 PyObject
* _argo0
= 0;
1663 PyObject
* _obj1
= 0;
1664 PyObject
* _obj2
= 0;
1665 char *_kwnames
[] = { "self","oldName","newName", NULL
};
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_RenameGroup",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_RenameGroup. Expected _wxConfigBase_p.");
1678 _arg1
= wxString_in_helper(_obj1
);
1683 _arg2
= wxString_in_helper(_obj2
);
1688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1689 _result
= (bool )wxConfigBase_RenameGroup(_arg0
,*_arg1
,*_arg2
);
1691 wxPyEndAllowThreads(__tstate
);
1692 if (PyErr_Occurred()) return NULL
;
1693 } _resultobj
= Py_BuildValue("i",_result
);
1705 #define wxConfigBase_ExpandEnvVars(_swigobj,_swigarg0) (_swigobj->ExpandEnvVars(_swigarg0))
1706 static PyObject
*_wrap_wxConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
* _resultobj
;
1709 wxConfigBase
* _arg0
;
1711 PyObject
* _argo0
= 0;
1712 PyObject
* _obj1
= 0;
1713 char *_kwnames
[] = { "self","str", NULL
};
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_ExpandEnvVars",_kwnames
,&_argo0
,&_obj1
))
1719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ExpandEnvVars. Expected _wxConfigBase_p.");
1726 _arg1
= wxString_in_helper(_obj1
);
1731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1732 _result
= new wxString (wxConfigBase_ExpandEnvVars(_arg0
,*_arg1
));
1734 wxPyEndAllowThreads(__tstate
);
1735 if (PyErr_Occurred()) return NULL
;
1738 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1740 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1753 static void *SwigwxConfigTowxConfigBase(void *ptr
) {
1756 src
= (wxConfig
*) ptr
;
1757 dest
= (wxConfigBase
*) src
;
1758 return (void *) dest
;
1761 #define new_wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1762 static PyObject
*_wrap_new_wxConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1763 PyObject
* _resultobj
;
1765 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
1766 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
1767 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1768 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
1769 long _arg4
= (long ) 0;
1770 PyObject
* _obj0
= 0;
1771 PyObject
* _obj1
= 0;
1772 PyObject
* _obj2
= 0;
1773 PyObject
* _obj3
= 0;
1774 char *_kwnames
[] = { "appName","vendorName","localFilename","globalFilename","style", NULL
};
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOl:new_wxConfig",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
))
1782 _arg0
= wxString_in_helper(_obj0
);
1788 _arg1
= wxString_in_helper(_obj1
);
1794 _arg2
= wxString_in_helper(_obj2
);
1800 _arg3
= wxString_in_helper(_obj3
);
1805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1806 _result
= (wxConfig
*)new_wxConfig(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
1808 wxPyEndAllowThreads(__tstate
);
1809 if (PyErr_Occurred()) return NULL
;
1811 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfig_p");
1812 _resultobj
= Py_BuildValue("s",_ptemp
);
1815 _resultobj
= Py_None
;
1836 #define delete_wxConfig(_swigobj) (delete _swigobj)
1837 static PyObject
*_wrap_delete_wxConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
* _resultobj
;
1840 PyObject
* _argo0
= 0;
1841 char *_kwnames
[] = { "self", NULL
};
1844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxConfig",_kwnames
,&_argo0
))
1847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfig_p")) {
1849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxConfig. Expected _wxConfig_p.");
1854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1855 delete_wxConfig(_arg0
);
1857 wxPyEndAllowThreads(__tstate
);
1858 if (PyErr_Occurred()) return NULL
;
1859 } Py_INCREF(Py_None
);
1860 _resultobj
= Py_None
;
1864 static void *SwigwxFileConfigTowxConfigBase(void *ptr
) {
1867 src
= (wxFileConfig
*) ptr
;
1868 dest
= (wxConfigBase
*) src
;
1869 return (void *) dest
;
1872 #define new_wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1873 static PyObject
*_wrap_new_wxFileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
* _resultobj
;
1875 wxFileConfig
* _result
;
1876 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
1877 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
1878 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1879 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
1880 long _arg4
= (long ) 0;
1881 PyObject
* _obj0
= 0;
1882 PyObject
* _obj1
= 0;
1883 PyObject
* _obj2
= 0;
1884 PyObject
* _obj3
= 0;
1885 char *_kwnames
[] = { "appName","vendorName","localFilename","globalFilename","style", NULL
};
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOl:new_wxFileConfig",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
))
1893 _arg0
= wxString_in_helper(_obj0
);
1899 _arg1
= wxString_in_helper(_obj1
);
1905 _arg2
= wxString_in_helper(_obj2
);
1911 _arg3
= wxString_in_helper(_obj3
);
1916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1917 _result
= (wxFileConfig
*)new_wxFileConfig(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
1919 wxPyEndAllowThreads(__tstate
);
1920 if (PyErr_Occurred()) return NULL
;
1922 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileConfig_p");
1923 _resultobj
= Py_BuildValue("s",_ptemp
);
1926 _resultobj
= Py_None
;
1947 #define delete_wxFileConfig(_swigobj) (delete _swigobj)
1948 static PyObject
*_wrap_delete_wxFileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1949 PyObject
* _resultobj
;
1950 wxFileConfig
* _arg0
;
1951 PyObject
* _argo0
= 0;
1952 char *_kwnames
[] = { "self", NULL
};
1955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileConfig",_kwnames
,&_argo0
))
1958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileConfig_p")) {
1960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileConfig. Expected _wxFileConfig_p.");
1965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1966 delete_wxFileConfig(_arg0
);
1968 wxPyEndAllowThreads(__tstate
);
1969 if (PyErr_Occurred()) return NULL
;
1970 } Py_INCREF(Py_None
);
1971 _resultobj
= Py_None
;
1975 static PyObject
*_wrap_wxDateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1976 PyObject
* _resultobj
;
1977 wxDateTime::Country _arg0
;
1978 char *_kwnames
[] = { "country", NULL
};
1981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateTime_SetCountry",_kwnames
,&_arg0
))
1984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1985 wxDateTime::SetCountry(_arg0
);
1987 wxPyEndAllowThreads(__tstate
);
1988 if (PyErr_Occurred()) return NULL
;
1989 } Py_INCREF(Py_None
);
1990 _resultobj
= Py_None
;
1994 static PyObject
*_wrap_wxDateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
* _resultobj
;
1996 wxDateTime::Country _result
;
1997 char *_kwnames
[] = { NULL
};
2000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_GetCountry",_kwnames
))
2003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2004 _result
= (wxDateTime::Country
)wxDateTime::GetCountry();
2006 wxPyEndAllowThreads(__tstate
);
2007 if (PyErr_Occurred()) return NULL
;
2008 } _resultobj
= Py_BuildValue("i",_result
);
2012 static PyObject
*_wrap_wxDateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
* _resultobj
;
2015 wxDateTime::Country _arg0
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2016 char *_kwnames
[] = { "country", NULL
};
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_IsWestEuropeanCountry",_kwnames
,&_arg0
))
2022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2023 _result
= (bool )wxDateTime::IsWestEuropeanCountry(_arg0
);
2025 wxPyEndAllowThreads(__tstate
);
2026 if (PyErr_Occurred()) return NULL
;
2027 } _resultobj
= Py_BuildValue("i",_result
);
2031 static PyObject
*_wrap_wxDateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
* _resultobj
;
2034 wxDateTime::Calendar _arg0
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2035 char *_kwnames
[] = { "cal", NULL
};
2038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCurrentYear",_kwnames
,&_arg0
))
2041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2042 _result
= (int )wxDateTime::GetCurrentYear(_arg0
);
2044 wxPyEndAllowThreads(__tstate
);
2045 if (PyErr_Occurred()) return NULL
;
2046 } _resultobj
= Py_BuildValue("i",_result
);
2050 static PyObject
*_wrap_wxDateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2051 PyObject
* _resultobj
;
2054 char *_kwnames
[] = { "year", NULL
};
2057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateTime_ConvertYearToBC",_kwnames
,&_arg0
))
2060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2061 _result
= (int )wxDateTime::ConvertYearToBC(_arg0
);
2063 wxPyEndAllowThreads(__tstate
);
2064 if (PyErr_Occurred()) return NULL
;
2065 } _resultobj
= Py_BuildValue("i",_result
);
2069 static PyObject
*_wrap_wxDateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
* _resultobj
;
2071 wxDateTime::Month _result
;
2072 wxDateTime::Calendar _arg0
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2073 char *_kwnames
[] = { "cal", NULL
};
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCurrentMonth",_kwnames
,&_arg0
))
2079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2080 _result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(_arg0
);
2082 wxPyEndAllowThreads(__tstate
);
2083 if (PyErr_Occurred()) return NULL
;
2084 } _resultobj
= Py_BuildValue("i",_result
);
2088 static PyObject
*_wrap_wxDateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2089 PyObject
* _resultobj
;
2091 int _arg0
= (int ) wxDateTime::Inv_Year
;
2092 wxDateTime::Calendar _arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2093 char *_kwnames
[] = { "year","cal", NULL
};
2096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_IsLeapYear",_kwnames
,&_arg0
,&_arg1
))
2099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2100 _result
= (bool )wxDateTime::IsLeapYear(_arg0
,_arg1
);
2102 wxPyEndAllowThreads(__tstate
);
2103 if (PyErr_Occurred()) return NULL
;
2104 } _resultobj
= Py_BuildValue("i",_result
);
2108 static PyObject
*_wrap_wxDateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2109 PyObject
* _resultobj
;
2111 int _arg0
= (int ) wxDateTime::Inv_Year
;
2112 char *_kwnames
[] = { "year", NULL
};
2115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCentury",_kwnames
,&_arg0
))
2118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2119 _result
= (int )wxDateTime::GetCentury(_arg0
);
2121 wxPyEndAllowThreads(__tstate
);
2122 if (PyErr_Occurred()) return NULL
;
2123 } _resultobj
= Py_BuildValue("i",_result
);
2127 static PyObject
*_wrap_wxDateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2128 PyObject
* _resultobj
;
2129 wxDateTime::wxDateTime_t _result
;
2131 wxDateTime::Calendar _arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2132 char *_kwnames
[] = { "year","cal", NULL
};
2135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetNumberOfDaysinYear",_kwnames
,&_arg0
,&_arg1
))
2138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2139 _result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(_arg0
,_arg1
);
2141 wxPyEndAllowThreads(__tstate
);
2142 if (PyErr_Occurred()) return NULL
;
2143 } _resultobj
= Py_BuildValue("h",_result
);
2147 static PyObject
*_wrap_wxDateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
* _resultobj
;
2149 wxDateTime::wxDateTime_t _result
;
2150 wxDateTime::Month _arg0
;
2151 int _arg1
= (int ) wxDateTime::Inv_Year
;
2152 wxDateTime::Calendar _arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2153 char *_kwnames
[] = { "month","year","cal", NULL
};
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|ii:wxDateTime_GetNumberOfDaysInMonth",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2160 _result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(_arg0
,_arg1
,_arg2
);
2162 wxPyEndAllowThreads(__tstate
);
2163 if (PyErr_Occurred()) return NULL
;
2164 } _resultobj
= Py_BuildValue("h",_result
);
2168 static PyObject
*_wrap_wxDateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
* _resultobj
;
2171 wxDateTime::Month _arg0
;
2172 wxDateTime::NameFlags _arg1
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
2173 char *_kwnames
[] = { "month","flags", NULL
};
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetMonthName",_kwnames
,&_arg0
,&_arg1
))
2179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2180 _result
= new wxString (wxDateTime::GetMonthName(_arg0
,_arg1
));
2182 wxPyEndAllowThreads(__tstate
);
2183 if (PyErr_Occurred()) return NULL
;
2186 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2188 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2197 static PyObject
*_wrap_wxDateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
* _resultobj
;
2200 wxDateTime::WeekDay _arg0
;
2201 wxDateTime::NameFlags _arg1
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
2202 char *_kwnames
[] = { "weekday","flags", NULL
};
2205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetWeekDayName",_kwnames
,&_arg0
,&_arg1
))
2208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2209 _result
= new wxString (wxDateTime::GetWeekDayName(_arg0
,_arg1
));
2211 wxPyEndAllowThreads(__tstate
);
2212 if (PyErr_Occurred()) return NULL
;
2215 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2217 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2226 static PyObject
*_wrap_wxDateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
* _resultobj
;
2230 PyObject
* _obj0
= 0;
2231 PyObject
* _obj1
= 0;
2232 char *_kwnames
[] = { "OUTPUT","OUTPUT", NULL
};
2235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_GetAmPmStrings",_kwnames
,&_obj0
,&_obj1
))
2238 _arg0
= wxString_in_helper(_obj0
);
2243 _arg1
= wxString_in_helper(_obj1
);
2248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2249 wxDateTime::GetAmPmStrings(_arg0
,_arg1
);
2251 wxPyEndAllowThreads(__tstate
);
2252 if (PyErr_Occurred()) return NULL
;
2253 } Py_INCREF(Py_None
);
2254 _resultobj
= Py_None
;
2266 static PyObject
*_wrap_wxDateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
* _resultobj
;
2269 int _arg0
= (int ) wxDateTime::Inv_Year
;
2270 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2271 char *_kwnames
[] = { "year","country", NULL
};
2274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_IsDSTApplicable",_kwnames
,&_arg0
,&_arg1
))
2277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2278 _result
= (bool )wxDateTime::IsDSTApplicable(_arg0
,_arg1
);
2280 wxPyEndAllowThreads(__tstate
);
2281 if (PyErr_Occurred()) return NULL
;
2282 } _resultobj
= Py_BuildValue("i",_result
);
2286 static PyObject
*_wrap_wxDateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2287 PyObject
* _resultobj
;
2288 wxDateTime
* _result
;
2289 int _arg0
= (int ) wxDateTime::Inv_Year
;
2290 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2291 char *_kwnames
[] = { "year","country", NULL
};
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_GetBeginDST",_kwnames
,&_arg0
,&_arg1
))
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2299 _result
= new wxDateTime (wxDateTime::GetBeginDST(_arg0
,_arg1
));
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) return NULL
;
2303 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2304 _resultobj
= Py_BuildValue("s",_ptemp
);
2308 static PyObject
*_wrap_wxDateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
* _resultobj
;
2310 wxDateTime
* _result
;
2311 int _arg0
= (int ) wxDateTime::Inv_Year
;
2312 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2313 char *_kwnames
[] = { "year","country", NULL
};
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_GetEndDST",_kwnames
,&_arg0
,&_arg1
))
2320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2321 _result
= new wxDateTime (wxDateTime::GetEndDST(_arg0
,_arg1
));
2323 wxPyEndAllowThreads(__tstate
);
2324 if (PyErr_Occurred()) return NULL
;
2325 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2326 _resultobj
= Py_BuildValue("s",_ptemp
);
2330 static PyObject
*_wrap_wxDateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2331 PyObject
* _resultobj
;
2332 wxDateTime
* _result
;
2333 char *_kwnames
[] = { NULL
};
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_Now",_kwnames
))
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 _result
= new wxDateTime (wxDateTime::Now());
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) return NULL
;
2345 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2346 _resultobj
= Py_BuildValue("s",_ptemp
);
2350 static PyObject
*_wrap_wxDateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
* _resultobj
;
2352 wxDateTime
* _result
;
2353 char *_kwnames
[] = { NULL
};
2357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_Today",_kwnames
))
2360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2361 _result
= new wxDateTime (wxDateTime::Today());
2363 wxPyEndAllowThreads(__tstate
);
2364 if (PyErr_Occurred()) return NULL
;
2365 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2366 _resultobj
= Py_BuildValue("s",_ptemp
);
2370 #define new_wxDateTime() (new wxDateTime())
2371 static PyObject
*_wrap_new_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
* _resultobj
;
2373 wxDateTime
* _result
;
2374 char *_kwnames
[] = { NULL
};
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDateTime",_kwnames
))
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 _result
= (wxDateTime
*)new_wxDateTime();
2384 wxPyEndAllowThreads(__tstate
);
2385 if (PyErr_Occurred()) return NULL
;
2387 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2388 _resultobj
= Py_BuildValue("s",_ptemp
);
2391 _resultobj
= Py_None
;
2396 #define new_wxDateTimeFromTimeT(_swigarg0) (new wxDateTime(_swigarg0))
2397 static PyObject
*_wrap_new_wxDateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
* _resultobj
;
2399 wxDateTime
* _result
;
2401 char *_kwnames
[] = { "timet", NULL
};
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxDateTimeFromTimeT",_kwnames
,&_arg0
))
2408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2409 _result
= (wxDateTime
*)new_wxDateTimeFromTimeT(_arg0
);
2411 wxPyEndAllowThreads(__tstate
);
2412 if (PyErr_Occurred()) return NULL
;
2414 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2415 _resultobj
= Py_BuildValue("s",_ptemp
);
2418 _resultobj
= Py_None
;
2423 #define new_wxDateTimeFromJDN(_swigarg0) (new wxDateTime(_swigarg0))
2424 static PyObject
*_wrap_new_wxDateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
* _resultobj
;
2426 wxDateTime
* _result
;
2428 char *_kwnames
[] = { "jdn", NULL
};
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"d:new_wxDateTimeFromJDN",_kwnames
,&_arg0
))
2435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2436 _result
= (wxDateTime
*)new_wxDateTimeFromJDN(_arg0
);
2438 wxPyEndAllowThreads(__tstate
);
2439 if (PyErr_Occurred()) return NULL
;
2441 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2442 _resultobj
= Py_BuildValue("s",_ptemp
);
2445 _resultobj
= Py_None
;
2450 #define new_wxDateTimeFromHMS(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2451 static PyObject
*_wrap_new_wxDateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2452 PyObject
* _resultobj
;
2453 wxDateTime
* _result
;
2454 wxDateTime::wxDateTime_t _arg0
;
2455 wxDateTime::wxDateTime_t _arg1
= (wxDateTime::wxDateTime_t
) 0;
2456 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
2457 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2458 char *_kwnames
[] = { "hour","minute","second","millisec", NULL
};
2462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|hhh:new_wxDateTimeFromHMS",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2466 _result
= (wxDateTime
*)new_wxDateTimeFromHMS(_arg0
,_arg1
,_arg2
,_arg3
);
2468 wxPyEndAllowThreads(__tstate
);
2469 if (PyErr_Occurred()) return NULL
;
2471 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2472 _resultobj
= Py_BuildValue("s",_ptemp
);
2475 _resultobj
= Py_None
;
2480 #define new_wxDateTimeFromDMY(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2481 static PyObject
*_wrap_new_wxDateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2482 PyObject
* _resultobj
;
2483 wxDateTime
* _result
;
2484 wxDateTime::wxDateTime_t _arg0
;
2485 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
2486 int _arg2
= (int ) wxDateTime::Inv_Year
;
2487 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2488 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2489 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
2490 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
2491 char *_kwnames
[] = { "day","month","year","hour","minute","second","millisec", NULL
};
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|iihhhh:new_wxDateTimeFromDMY",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2499 _result
= (wxDateTime
*)new_wxDateTimeFromDMY(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2501 wxPyEndAllowThreads(__tstate
);
2502 if (PyErr_Occurred()) return NULL
;
2504 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2505 _resultobj
= Py_BuildValue("s",_ptemp
);
2508 _resultobj
= Py_None
;
2513 #define delete_wxDateTime(_swigobj) (delete _swigobj)
2514 static PyObject
*_wrap_delete_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
* _resultobj
;
2517 PyObject
* _argo0
= 0;
2518 char *_kwnames
[] = { "self", NULL
};
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateTime",_kwnames
,&_argo0
))
2524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateTime. Expected _wxDateTime_p.");
2531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2532 delete_wxDateTime(_arg0
);
2534 wxPyEndAllowThreads(__tstate
);
2535 if (PyErr_Occurred()) return NULL
;
2536 } Py_INCREF(Py_None
);
2537 _resultobj
= Py_None
;
2541 #define wxDateTime_SetToCurrent(_swigobj) (_swigobj->SetToCurrent())
2542 static PyObject
*_wrap_wxDateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2543 PyObject
* _resultobj
;
2544 wxDateTime
* _result
;
2546 PyObject
* _argo0
= 0;
2547 char *_kwnames
[] = { "self", NULL
};
2551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_SetToCurrent",_kwnames
,&_argo0
))
2554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToCurrent. Expected _wxDateTime_p.");
2561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2562 wxDateTime
& _result_ref
= wxDateTime_SetToCurrent(_arg0
);
2563 _result
= (wxDateTime
*) &_result_ref
;
2565 wxPyEndAllowThreads(__tstate
);
2566 if (PyErr_Occurred()) return NULL
;
2568 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2569 _resultobj
= Py_BuildValue("s",_ptemp
);
2572 _resultobj
= Py_None
;
2577 #define wxDateTime_SetTimeT(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2578 static PyObject
*_wrap_wxDateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
* _resultobj
;
2580 wxDateTime
* _result
;
2583 PyObject
* _argo0
= 0;
2584 char *_kwnames
[] = { "self","timet", NULL
};
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetTimeT",_kwnames
,&_argo0
,&_arg1
))
2591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetTimeT. Expected _wxDateTime_p.");
2598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2599 wxDateTime
& _result_ref
= wxDateTime_SetTimeT(_arg0
,_arg1
);
2600 _result
= (wxDateTime
*) &_result_ref
;
2602 wxPyEndAllowThreads(__tstate
);
2603 if (PyErr_Occurred()) return NULL
;
2605 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2606 _resultobj
= Py_BuildValue("s",_ptemp
);
2609 _resultobj
= Py_None
;
2614 #define wxDateTime_SetJDN(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2615 static PyObject
*_wrap_wxDateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
* _resultobj
;
2617 wxDateTime
* _result
;
2620 PyObject
* _argo0
= 0;
2621 char *_kwnames
[] = { "self","jdn", NULL
};
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxDateTime_SetJDN",_kwnames
,&_argo0
,&_arg1
))
2628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetJDN. Expected _wxDateTime_p.");
2635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2636 wxDateTime
& _result_ref
= wxDateTime_SetJDN(_arg0
,_arg1
);
2637 _result
= (wxDateTime
*) &_result_ref
;
2639 wxPyEndAllowThreads(__tstate
);
2640 if (PyErr_Occurred()) return NULL
;
2642 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2643 _resultobj
= Py_BuildValue("s",_ptemp
);
2646 _resultobj
= Py_None
;
2651 #define wxDateTime_SetHMS(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2652 static PyObject
*_wrap_wxDateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2653 PyObject
* _resultobj
;
2654 wxDateTime
* _result
;
2656 wxDateTime::wxDateTime_t _arg1
;
2657 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
2658 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2659 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2660 PyObject
* _argo0
= 0;
2661 char *_kwnames
[] = { "self","hour","minute","second","millisec", NULL
};
2665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|hhh:wxDateTime_SetHMS",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHMS. Expected _wxDateTime_p.");
2675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2676 wxDateTime
& _result_ref
= wxDateTime_SetHMS(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2677 _result
= (wxDateTime
*) &_result_ref
;
2679 wxPyEndAllowThreads(__tstate
);
2680 if (PyErr_Occurred()) return NULL
;
2682 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2683 _resultobj
= Py_BuildValue("s",_ptemp
);
2686 _resultobj
= Py_None
;
2691 #define wxDateTime_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2692 static PyObject
*_wrap_wxDateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
* _resultobj
;
2694 wxDateTime
* _result
;
2696 wxDateTime::wxDateTime_t _arg1
;
2697 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
2698 int _arg3
= (int ) wxDateTime::Inv_Year
;
2699 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2700 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
2701 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
2702 wxDateTime::wxDateTime_t _arg7
= (wxDateTime::wxDateTime_t
) 0;
2703 PyObject
* _argo0
= 0;
2704 char *_kwnames
[] = { "self","day","month","year","hour","minute","second","millisec", NULL
};
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|iihhhh:wxDateTime_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
2711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Set. Expected _wxDateTime_p.");
2718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2719 wxDateTime
& _result_ref
= wxDateTime_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
2720 _result
= (wxDateTime
*) &_result_ref
;
2722 wxPyEndAllowThreads(__tstate
);
2723 if (PyErr_Occurred()) return NULL
;
2725 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2726 _resultobj
= Py_BuildValue("s",_ptemp
);
2729 _resultobj
= Py_None
;
2734 #define wxDateTime_ResetTime(_swigobj) (_swigobj->ResetTime())
2735 static PyObject
*_wrap_wxDateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
* _resultobj
;
2737 wxDateTime
* _result
;
2739 PyObject
* _argo0
= 0;
2740 char *_kwnames
[] = { "self", NULL
};
2744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_ResetTime",_kwnames
,&_argo0
))
2747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ResetTime. Expected _wxDateTime_p.");
2754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2755 wxDateTime
& _result_ref
= wxDateTime_ResetTime(_arg0
);
2756 _result
= (wxDateTime
*) &_result_ref
;
2758 wxPyEndAllowThreads(__tstate
);
2759 if (PyErr_Occurred()) return NULL
;
2761 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2762 _resultobj
= Py_BuildValue("s",_ptemp
);
2765 _resultobj
= Py_None
;
2770 #define wxDateTime_SetYear(_swigobj,_swigarg0) (_swigobj->SetYear(_swigarg0))
2771 static PyObject
*_wrap_wxDateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
* _resultobj
;
2773 wxDateTime
* _result
;
2776 PyObject
* _argo0
= 0;
2777 char *_kwnames
[] = { "self","year", NULL
};
2781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetYear",_kwnames
,&_argo0
,&_arg1
))
2784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetYear. Expected _wxDateTime_p.");
2791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2792 wxDateTime
& _result_ref
= wxDateTime_SetYear(_arg0
,_arg1
);
2793 _result
= (wxDateTime
*) &_result_ref
;
2795 wxPyEndAllowThreads(__tstate
);
2796 if (PyErr_Occurred()) return NULL
;
2798 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2799 _resultobj
= Py_BuildValue("s",_ptemp
);
2802 _resultobj
= Py_None
;
2807 #define wxDateTime_SetMonth(_swigobj,_swigarg0) (_swigobj->SetMonth(_swigarg0))
2808 static PyObject
*_wrap_wxDateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
* _resultobj
;
2810 wxDateTime
* _result
;
2812 wxDateTime::Month _arg1
;
2813 PyObject
* _argo0
= 0;
2814 char *_kwnames
[] = { "self","month", NULL
};
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetMonth",_kwnames
,&_argo0
,&_arg1
))
2821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMonth. Expected _wxDateTime_p.");
2828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2829 wxDateTime
& _result_ref
= wxDateTime_SetMonth(_arg0
,_arg1
);
2830 _result
= (wxDateTime
*) &_result_ref
;
2832 wxPyEndAllowThreads(__tstate
);
2833 if (PyErr_Occurred()) return NULL
;
2835 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2836 _resultobj
= Py_BuildValue("s",_ptemp
);
2839 _resultobj
= Py_None
;
2844 #define wxDateTime_SetDay(_swigobj,_swigarg0) (_swigobj->SetDay(_swigarg0))
2845 static PyObject
*_wrap_wxDateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2846 PyObject
* _resultobj
;
2847 wxDateTime
* _result
;
2849 wxDateTime::wxDateTime_t _arg1
;
2850 PyObject
* _argo0
= 0;
2851 char *_kwnames
[] = { "self","day", NULL
};
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetDay",_kwnames
,&_argo0
,&_arg1
))
2858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetDay. Expected _wxDateTime_p.");
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 wxDateTime
& _result_ref
= wxDateTime_SetDay(_arg0
,_arg1
);
2867 _result
= (wxDateTime
*) &_result_ref
;
2869 wxPyEndAllowThreads(__tstate
);
2870 if (PyErr_Occurred()) return NULL
;
2872 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2873 _resultobj
= Py_BuildValue("s",_ptemp
);
2876 _resultobj
= Py_None
;
2881 #define wxDateTime_SetHour(_swigobj,_swigarg0) (_swigobj->SetHour(_swigarg0))
2882 static PyObject
*_wrap_wxDateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
* _resultobj
;
2884 wxDateTime
* _result
;
2886 wxDateTime::wxDateTime_t _arg1
;
2887 PyObject
* _argo0
= 0;
2888 char *_kwnames
[] = { "self","hour", NULL
};
2892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetHour",_kwnames
,&_argo0
,&_arg1
))
2895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHour. Expected _wxDateTime_p.");
2902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2903 wxDateTime
& _result_ref
= wxDateTime_SetHour(_arg0
,_arg1
);
2904 _result
= (wxDateTime
*) &_result_ref
;
2906 wxPyEndAllowThreads(__tstate
);
2907 if (PyErr_Occurred()) return NULL
;
2909 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2910 _resultobj
= Py_BuildValue("s",_ptemp
);
2913 _resultobj
= Py_None
;
2918 #define wxDateTime_SetMinute(_swigobj,_swigarg0) (_swigobj->SetMinute(_swigarg0))
2919 static PyObject
*_wrap_wxDateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
* _resultobj
;
2921 wxDateTime
* _result
;
2923 wxDateTime::wxDateTime_t _arg1
;
2924 PyObject
* _argo0
= 0;
2925 char *_kwnames
[] = { "self","minute", NULL
};
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMinute",_kwnames
,&_argo0
,&_arg1
))
2932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMinute. Expected _wxDateTime_p.");
2939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2940 wxDateTime
& _result_ref
= wxDateTime_SetMinute(_arg0
,_arg1
);
2941 _result
= (wxDateTime
*) &_result_ref
;
2943 wxPyEndAllowThreads(__tstate
);
2944 if (PyErr_Occurred()) return NULL
;
2946 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2947 _resultobj
= Py_BuildValue("s",_ptemp
);
2950 _resultobj
= Py_None
;
2955 #define wxDateTime_SetSecond(_swigobj,_swigarg0) (_swigobj->SetSecond(_swigarg0))
2956 static PyObject
*_wrap_wxDateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2957 PyObject
* _resultobj
;
2958 wxDateTime
* _result
;
2960 wxDateTime::wxDateTime_t _arg1
;
2961 PyObject
* _argo0
= 0;
2962 char *_kwnames
[] = { "self","second", NULL
};
2966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetSecond",_kwnames
,&_argo0
,&_arg1
))
2969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetSecond. Expected _wxDateTime_p.");
2976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2977 wxDateTime
& _result_ref
= wxDateTime_SetSecond(_arg0
,_arg1
);
2978 _result
= (wxDateTime
*) &_result_ref
;
2980 wxPyEndAllowThreads(__tstate
);
2981 if (PyErr_Occurred()) return NULL
;
2983 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2984 _resultobj
= Py_BuildValue("s",_ptemp
);
2987 _resultobj
= Py_None
;
2992 #define wxDateTime_SetMillisecond(_swigobj,_swigarg0) (_swigobj->SetMillisecond(_swigarg0))
2993 static PyObject
*_wrap_wxDateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2994 PyObject
* _resultobj
;
2995 wxDateTime
* _result
;
2997 wxDateTime::wxDateTime_t _arg1
;
2998 PyObject
* _argo0
= 0;
2999 char *_kwnames
[] = { "self","millisecond", NULL
};
3003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMillisecond",_kwnames
,&_argo0
,&_arg1
))
3006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMillisecond. Expected _wxDateTime_p.");
3013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3014 wxDateTime
& _result_ref
= wxDateTime_SetMillisecond(_arg0
,_arg1
);
3015 _result
= (wxDateTime
*) &_result_ref
;
3017 wxPyEndAllowThreads(__tstate
);
3018 if (PyErr_Occurred()) return NULL
;
3020 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3021 _resultobj
= Py_BuildValue("s",_ptemp
);
3024 _resultobj
= Py_None
;
3029 #define wxDateTime_SetToWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->SetToWeekDayInSameWeek(_swigarg0))
3030 static PyObject
*_wrap_wxDateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3031 PyObject
* _resultobj
;
3032 wxDateTime
* _result
;
3034 wxDateTime::WeekDay _arg1
;
3035 PyObject
* _argo0
= 0;
3036 char *_kwnames
[] = { "self","weekday", NULL
};
3040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
))
3043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDayInSameWeek. Expected _wxDateTime_p.");
3050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3051 wxDateTime
& _result_ref
= wxDateTime_SetToWeekDayInSameWeek(_arg0
,_arg1
);
3052 _result
= (wxDateTime
*) &_result_ref
;
3054 wxPyEndAllowThreads(__tstate
);
3055 if (PyErr_Occurred()) return NULL
;
3057 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3058 _resultobj
= Py_BuildValue("s",_ptemp
);
3061 _resultobj
= Py_None
;
3066 #define wxDateTime_GetWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->GetWeekDayInSameWeek(_swigarg0))
3067 static PyObject
*_wrap_wxDateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3068 PyObject
* _resultobj
;
3069 wxDateTime
* _result
;
3071 wxDateTime::WeekDay _arg1
;
3072 PyObject
* _argo0
= 0;
3073 char *_kwnames
[] = { "self","weekday", NULL
};
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
))
3080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDayInSameWeek. Expected _wxDateTime_p.");
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 _result
= new wxDateTime (wxDateTime_GetWeekDayInSameWeek(_arg0
,_arg1
));
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) return NULL
;
3092 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3093 _resultobj
= Py_BuildValue("s",_ptemp
);
3097 #define wxDateTime_SetToNextWeekDay(_swigobj,_swigarg0) (_swigobj->SetToNextWeekDay(_swigarg0))
3098 static PyObject
*_wrap_wxDateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
* _resultobj
;
3100 wxDateTime
* _result
;
3102 wxDateTime::WeekDay _arg1
;
3103 PyObject
* _argo0
= 0;
3104 char *_kwnames
[] = { "self","weekday", NULL
};
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
3111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToNextWeekDay. Expected _wxDateTime_p.");
3118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3119 wxDateTime
& _result_ref
= wxDateTime_SetToNextWeekDay(_arg0
,_arg1
);
3120 _result
= (wxDateTime
*) &_result_ref
;
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) return NULL
;
3125 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3126 _resultobj
= Py_BuildValue("s",_ptemp
);
3129 _resultobj
= Py_None
;
3134 #define wxDateTime_GetNextWeekDay(_swigobj,_swigarg0) (_swigobj->GetNextWeekDay(_swigarg0))
3135 static PyObject
*_wrap_wxDateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
* _resultobj
;
3137 wxDateTime
* _result
;
3139 wxDateTime::WeekDay _arg1
;
3140 PyObject
* _argo0
= 0;
3141 char *_kwnames
[] = { "self","weekday", NULL
};
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
3148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetNextWeekDay. Expected _wxDateTime_p.");
3155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3156 _result
= new wxDateTime (wxDateTime_GetNextWeekDay(_arg0
,_arg1
));
3158 wxPyEndAllowThreads(__tstate
);
3159 if (PyErr_Occurred()) return NULL
;
3160 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3161 _resultobj
= Py_BuildValue("s",_ptemp
);
3165 #define wxDateTime_SetToPrevWeekDay(_swigobj,_swigarg0) (_swigobj->SetToPrevWeekDay(_swigarg0))
3166 static PyObject
*_wrap_wxDateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
* _resultobj
;
3168 wxDateTime
* _result
;
3170 wxDateTime::WeekDay _arg1
;
3171 PyObject
* _argo0
= 0;
3172 char *_kwnames
[] = { "self","weekday", NULL
};
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToPrevWeekDay. Expected _wxDateTime_p.");
3186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3187 wxDateTime
& _result_ref
= wxDateTime_SetToPrevWeekDay(_arg0
,_arg1
);
3188 _result
= (wxDateTime
*) &_result_ref
;
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) return NULL
;
3193 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3194 _resultobj
= Py_BuildValue("s",_ptemp
);
3197 _resultobj
= Py_None
;
3202 #define wxDateTime_GetPrevWeekDay(_swigobj,_swigarg0) (_swigobj->GetPrevWeekDay(_swigarg0))
3203 static PyObject
*_wrap_wxDateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
* _resultobj
;
3205 wxDateTime
* _result
;
3207 wxDateTime::WeekDay _arg1
;
3208 PyObject
* _argo0
= 0;
3209 char *_kwnames
[] = { "self","weekday", NULL
};
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetPrevWeekDay. Expected _wxDateTime_p.");
3223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3224 _result
= new wxDateTime (wxDateTime_GetPrevWeekDay(_arg0
,_arg1
));
3226 wxPyEndAllowThreads(__tstate
);
3227 if (PyErr_Occurred()) return NULL
;
3228 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3229 _resultobj
= Py_BuildValue("s",_ptemp
);
3233 #define wxDateTime_SetToWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetToWeekDay(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3234 static PyObject
*_wrap_wxDateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
* _resultobj
;
3238 wxDateTime::WeekDay _arg1
;
3239 int _arg2
= (int ) 1;
3240 wxDateTime::Month _arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3241 int _arg4
= (int ) wxDateTime::Inv_Year
;
3242 PyObject
* _argo0
= 0;
3243 char *_kwnames
[] = { "self","weekday","n","month","year", NULL
};
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iii:wxDateTime_SetToWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDay. Expected _wxDateTime_p.");
3256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3257 _result
= (bool )wxDateTime_SetToWeekDay(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3259 wxPyEndAllowThreads(__tstate
);
3260 if (PyErr_Occurred()) return NULL
;
3261 } _resultobj
= Py_BuildValue("i",_result
);
3265 #define wxDateTime_SetToLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetToLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3266 static PyObject
*_wrap_wxDateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
* _resultobj
;
3270 wxDateTime::WeekDay _arg1
;
3271 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3272 int _arg3
= (int ) wxDateTime::Inv_Year
;
3273 PyObject
* _argo0
= 0;
3274 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_SetToLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastWeekDay. Expected _wxDateTime_p.");
3287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3288 _result
= (bool )wxDateTime_SetToLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
);
3290 wxPyEndAllowThreads(__tstate
);
3291 if (PyErr_Occurred()) return NULL
;
3292 } _resultobj
= Py_BuildValue("i",_result
);
3296 #define wxDateTime_GetLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3297 static PyObject
*_wrap_wxDateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3298 PyObject
* _resultobj
;
3299 wxDateTime
* _result
;
3301 wxDateTime::WeekDay _arg1
;
3302 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3303 int _arg3
= (int ) wxDateTime::Inv_Year
;
3304 PyObject
* _argo0
= 0;
3305 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_GetLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastWeekDay. Expected _wxDateTime_p.");
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 _result
= new wxDateTime (wxDateTime_GetLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
));
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) return NULL
;
3324 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3325 _resultobj
= Py_BuildValue("s",_ptemp
);
3329 #define wxDateTime_SetToTheWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToTheWeek(_swigarg0,_swigarg1))
3330 static PyObject
*_wrap_wxDateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3331 PyObject
* _resultobj
;
3334 wxDateTime::wxDateTime_t _arg1
;
3335 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3336 PyObject
* _argo0
= 0;
3337 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_SetToTheWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToTheWeek. Expected _wxDateTime_p.");
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 _result
= (bool )wxDateTime_SetToTheWeek(_arg0
,_arg1
,_arg2
);
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) return NULL
;
3355 } _resultobj
= Py_BuildValue("i",_result
);
3359 #define wxDateTime_GetWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeek(_swigarg0,_swigarg1))
3360 static PyObject
*_wrap_wxDateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
* _resultobj
;
3362 wxDateTime
* _result
;
3364 wxDateTime::wxDateTime_t _arg1
;
3365 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3366 PyObject
* _argo0
= 0;
3367 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_GetWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeek. Expected _wxDateTime_p.");
3381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3382 _result
= new wxDateTime (wxDateTime_GetWeek(_arg0
,_arg1
,_arg2
));
3384 wxPyEndAllowThreads(__tstate
);
3385 if (PyErr_Occurred()) return NULL
;
3386 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3387 _resultobj
= Py_BuildValue("s",_ptemp
);
3391 #define wxDateTime_SetToLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToLastMonthDay(_swigarg0,_swigarg1))
3392 static PyObject
*_wrap_wxDateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3393 PyObject
* _resultobj
;
3394 wxDateTime
* _result
;
3396 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3397 int _arg2
= (int ) wxDateTime::Inv_Year
;
3398 PyObject
* _argo0
= 0;
3399 char *_kwnames
[] = { "self","month","year", NULL
};
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_SetToLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastMonthDay. Expected _wxDateTime_p.");
3413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3414 wxDateTime
& _result_ref
= wxDateTime_SetToLastMonthDay(_arg0
,_arg1
,_arg2
);
3415 _result
= (wxDateTime
*) &_result_ref
;
3417 wxPyEndAllowThreads(__tstate
);
3418 if (PyErr_Occurred()) return NULL
;
3420 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3421 _resultobj
= Py_BuildValue("s",_ptemp
);
3424 _resultobj
= Py_None
;
3429 #define wxDateTime_GetLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastMonthDay(_swigarg0,_swigarg1))
3430 static PyObject
*_wrap_wxDateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3431 PyObject
* _resultobj
;
3432 wxDateTime
* _result
;
3434 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3435 int _arg2
= (int ) wxDateTime::Inv_Year
;
3436 PyObject
* _argo0
= 0;
3437 char *_kwnames
[] = { "self","month","year", NULL
};
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_GetLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastMonthDay. Expected _wxDateTime_p.");
3451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3452 _result
= new wxDateTime (wxDateTime_GetLastMonthDay(_arg0
,_arg1
,_arg2
));
3454 wxPyEndAllowThreads(__tstate
);
3455 if (PyErr_Occurred()) return NULL
;
3456 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3457 _resultobj
= Py_BuildValue("s",_ptemp
);
3461 #define wxDateTime_SetToYearDay(_swigobj,_swigarg0) (_swigobj->SetToYearDay(_swigarg0))
3462 static PyObject
*_wrap_wxDateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3463 PyObject
* _resultobj
;
3464 wxDateTime
* _result
;
3466 wxDateTime::wxDateTime_t _arg1
;
3467 PyObject
* _argo0
= 0;
3468 char *_kwnames
[] = { "self","yday", NULL
};
3472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetToYearDay",_kwnames
,&_argo0
,&_arg1
))
3475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToYearDay. Expected _wxDateTime_p.");
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3483 wxDateTime
& _result_ref
= wxDateTime_SetToYearDay(_arg0
,_arg1
);
3484 _result
= (wxDateTime
*) &_result_ref
;
3486 wxPyEndAllowThreads(__tstate
);
3487 if (PyErr_Occurred()) return NULL
;
3489 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3490 _resultobj
= Py_BuildValue("s",_ptemp
);
3493 _resultobj
= Py_None
;
3498 #define wxDateTime_GetYearDay(_swigobj,_swigarg0) (_swigobj->GetYearDay(_swigarg0))
3499 static PyObject
*_wrap_wxDateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
* _resultobj
;
3501 wxDateTime
* _result
;
3503 wxDateTime::wxDateTime_t _arg1
;
3504 PyObject
* _argo0
= 0;
3505 char *_kwnames
[] = { "self","yday", NULL
};
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_GetYearDay",_kwnames
,&_argo0
,&_arg1
))
3512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYearDay. Expected _wxDateTime_p.");
3519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3520 _result
= new wxDateTime (wxDateTime_GetYearDay(_arg0
,_arg1
));
3522 wxPyEndAllowThreads(__tstate
);
3523 if (PyErr_Occurred()) return NULL
;
3524 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3525 _resultobj
= Py_BuildValue("s",_ptemp
);
3529 #define wxDateTime_GetJulianDayNumber(_swigobj) (_swigobj->GetJulianDayNumber())
3530 static PyObject
*_wrap_wxDateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3531 PyObject
* _resultobj
;
3534 PyObject
* _argo0
= 0;
3535 char *_kwnames
[] = { "self", NULL
};
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJulianDayNumber",_kwnames
,&_argo0
))
3541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJulianDayNumber. Expected _wxDateTime_p.");
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 _result
= (double )wxDateTime_GetJulianDayNumber(_arg0
);
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) return NULL
;
3553 } _resultobj
= Py_BuildValue("d",_result
);
3557 #define wxDateTime_GetJDN(_swigobj) (_swigobj->GetJDN())
3558 static PyObject
*_wrap_wxDateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
* _resultobj
;
3562 PyObject
* _argo0
= 0;
3563 char *_kwnames
[] = { "self", NULL
};
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJDN",_kwnames
,&_argo0
))
3569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJDN. Expected _wxDateTime_p.");
3576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3577 _result
= (double )wxDateTime_GetJDN(_arg0
);
3579 wxPyEndAllowThreads(__tstate
);
3580 if (PyErr_Occurred()) return NULL
;
3581 } _resultobj
= Py_BuildValue("d",_result
);
3585 #define wxDateTime_GetModifiedJulianDayNumber(_swigobj) (_swigobj->GetModifiedJulianDayNumber())
3586 static PyObject
*_wrap_wxDateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
* _resultobj
;
3590 PyObject
* _argo0
= 0;
3591 char *_kwnames
[] = { "self", NULL
};
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetModifiedJulianDayNumber",_kwnames
,&_argo0
))
3597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetModifiedJulianDayNumber. Expected _wxDateTime_p.");
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 _result
= (double )wxDateTime_GetModifiedJulianDayNumber(_arg0
);
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) return NULL
;
3609 } _resultobj
= Py_BuildValue("d",_result
);
3613 #define wxDateTime_GetMJD(_swigobj) (_swigobj->GetMJD())
3614 static PyObject
*_wrap_wxDateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
* _resultobj
;
3618 PyObject
* _argo0
= 0;
3619 char *_kwnames
[] = { "self", NULL
};
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetMJD",_kwnames
,&_argo0
))
3625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMJD. Expected _wxDateTime_p.");
3632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3633 _result
= (double )wxDateTime_GetMJD(_arg0
);
3635 wxPyEndAllowThreads(__tstate
);
3636 if (PyErr_Occurred()) return NULL
;
3637 } _resultobj
= Py_BuildValue("d",_result
);
3641 #define wxDateTime_GetRataDie(_swigobj) (_swigobj->GetRataDie())
3642 static PyObject
*_wrap_wxDateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
* _resultobj
;
3646 PyObject
* _argo0
= 0;
3647 char *_kwnames
[] = { "self", NULL
};
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetRataDie",_kwnames
,&_argo0
))
3653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetRataDie. Expected _wxDateTime_p.");
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 _result
= (double )wxDateTime_GetRataDie(_arg0
);
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) return NULL
;
3665 } _resultobj
= Py_BuildValue("d",_result
);
3669 #define wxDateTime_ToTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToTimezone(_swigarg0,_swigarg1))
3670 static PyObject
*_wrap_wxDateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
* _resultobj
;
3672 wxDateTime
* _result
;
3674 wxDateTime::TimeZone
* _arg1
;
3675 bool _arg2
= (bool ) FALSE
;
3676 PyObject
* _argo0
= 0;
3677 PyObject
* _obj1
= 0;
3678 int tempbool2
= (int) FALSE
;
3679 char *_kwnames
[] = { "self","tz","noDST", NULL
};
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_ToTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToTimezone. Expected _wxDateTime_p.");
3693 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3695 _arg2
= (bool ) tempbool2
;
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 _result
= new wxDateTime (wxDateTime_ToTimezone(_arg0
,*_arg1
,_arg2
));
3700 wxPyEndAllowThreads(__tstate
);
3701 if (PyErr_Occurred()) return NULL
;
3702 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3703 _resultobj
= Py_BuildValue("s",_ptemp
);
3705 if (_arg1
) delete _arg1
;
3710 #define wxDateTime_MakeTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeTimezone(_swigarg0,_swigarg1))
3711 static PyObject
*_wrap_wxDateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
* _resultobj
;
3713 wxDateTime
* _result
;
3715 wxDateTime::TimeZone
* _arg1
;
3716 bool _arg2
= (bool ) FALSE
;
3717 PyObject
* _argo0
= 0;
3718 PyObject
* _obj1
= 0;
3719 int tempbool2
= (int) FALSE
;
3720 char *_kwnames
[] = { "self","tz","noDST", NULL
};
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_MakeTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeTimezone. Expected _wxDateTime_p.");
3734 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3736 _arg2
= (bool ) tempbool2
;
3738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3739 wxDateTime
& _result_ref
= wxDateTime_MakeTimezone(_arg0
,*_arg1
,_arg2
);
3740 _result
= (wxDateTime
*) &_result_ref
;
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) return NULL
;
3745 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3746 _resultobj
= Py_BuildValue("s",_ptemp
);
3749 _resultobj
= Py_None
;
3752 if (_arg1
) delete _arg1
;
3757 #define wxDateTime_ToGMT(_swigobj,_swigarg0) (_swigobj->ToGMT(_swigarg0))
3758 static PyObject
*_wrap_wxDateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
* _resultobj
;
3760 wxDateTime
* _result
;
3762 bool _arg1
= (bool ) FALSE
;
3763 PyObject
* _argo0
= 0;
3764 int tempbool1
= (int) FALSE
;
3765 char *_kwnames
[] = { "self","noDST", NULL
};
3769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_ToGMT",_kwnames
,&_argo0
,&tempbool1
))
3772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToGMT. Expected _wxDateTime_p.");
3778 _arg1
= (bool ) tempbool1
;
3780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 _result
= new wxDateTime (wxDateTime_ToGMT(_arg0
,_arg1
));
3783 wxPyEndAllowThreads(__tstate
);
3784 if (PyErr_Occurred()) return NULL
;
3785 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3786 _resultobj
= Py_BuildValue("s",_ptemp
);
3790 #define wxDateTime_MakeGMT(_swigobj,_swigarg0) (_swigobj->MakeGMT(_swigarg0))
3791 static PyObject
*_wrap_wxDateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
* _resultobj
;
3793 wxDateTime
* _result
;
3795 bool _arg1
= (bool ) FALSE
;
3796 PyObject
* _argo0
= 0;
3797 int tempbool1
= (int) FALSE
;
3798 char *_kwnames
[] = { "self","noDST", NULL
};
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_MakeGMT",_kwnames
,&_argo0
,&tempbool1
))
3805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeGMT. Expected _wxDateTime_p.");
3811 _arg1
= (bool ) tempbool1
;
3813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3814 wxDateTime
& _result_ref
= wxDateTime_MakeGMT(_arg0
,_arg1
);
3815 _result
= (wxDateTime
*) &_result_ref
;
3817 wxPyEndAllowThreads(__tstate
);
3818 if (PyErr_Occurred()) return NULL
;
3820 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3821 _resultobj
= Py_BuildValue("s",_ptemp
);
3824 _resultobj
= Py_None
;
3829 #define wxDateTime_IsDST(_swigobj,_swigarg0) (_swigobj->IsDST(_swigarg0))
3830 static PyObject
*_wrap_wxDateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
* _resultobj
;
3834 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
3835 PyObject
* _argo0
= 0;
3836 char *_kwnames
[] = { "self","country", NULL
};
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsDST",_kwnames
,&_argo0
,&_arg1
))
3842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsDST. Expected _wxDateTime_p.");
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 _result
= (int )wxDateTime_IsDST(_arg0
,_arg1
);
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) return NULL
;
3854 } _resultobj
= Py_BuildValue("i",_result
);
3858 #define wxDateTime_IsValid(_swigobj) (_swigobj->IsValid())
3859 static PyObject
*_wrap_wxDateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
* _resultobj
;
3863 PyObject
* _argo0
= 0;
3864 char *_kwnames
[] = { "self", NULL
};
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_IsValid",_kwnames
,&_argo0
))
3870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsValid. Expected _wxDateTime_p.");
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 _result
= (bool )wxDateTime_IsValid(_arg0
);
3880 wxPyEndAllowThreads(__tstate
);
3881 if (PyErr_Occurred()) return NULL
;
3882 } _resultobj
= Py_BuildValue("i",_result
);
3886 #define wxDateTime_GetTicks(_swigobj) (_swigobj->GetTicks())
3887 static PyObject
*_wrap_wxDateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
* _resultobj
;
3891 PyObject
* _argo0
= 0;
3892 char *_kwnames
[] = { "self", NULL
};
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetTicks",_kwnames
,&_argo0
))
3898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetTicks. Expected _wxDateTime_p.");
3905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 _result
= (time_t )wxDateTime_GetTicks(_arg0
);
3908 wxPyEndAllowThreads(__tstate
);
3909 if (PyErr_Occurred()) return NULL
;
3910 } _resultobj
= Py_BuildValue("i",_result
);
3914 #define wxDateTime_GetYear(_swigobj,_swigarg0) (_swigobj->GetYear(_swigarg0))
3915 static PyObject
*_wrap_wxDateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
* _resultobj
;
3919 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3920 PyObject
* _argo0
= 0;
3921 PyObject
* _obj1
= 0;
3922 char *_kwnames
[] = { "self","tz", NULL
};
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetYear",_kwnames
,&_argo0
,&_obj1
))
3928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYear. Expected _wxDateTime_p.");
3936 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3940 _result
= (int )wxDateTime_GetYear(_arg0
,*_arg1
);
3942 wxPyEndAllowThreads(__tstate
);
3943 if (PyErr_Occurred()) return NULL
;
3944 } _resultobj
= Py_BuildValue("i",_result
);
3946 if (_arg1
) delete _arg1
;
3951 #define wxDateTime_GetMonth(_swigobj,_swigarg0) (_swigobj->GetMonth(_swigarg0))
3952 static PyObject
*_wrap_wxDateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
* _resultobj
;
3954 wxDateTime::Month _result
;
3956 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3957 PyObject
* _argo0
= 0;
3958 PyObject
* _obj1
= 0;
3959 char *_kwnames
[] = { "self","tz", NULL
};
3962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMonth",_kwnames
,&_argo0
,&_obj1
))
3965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMonth. Expected _wxDateTime_p.");
3973 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 _result
= (wxDateTime::Month
)wxDateTime_GetMonth(_arg0
,*_arg1
);
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) return NULL
;
3981 } _resultobj
= Py_BuildValue("i",_result
);
3983 if (_arg1
) delete _arg1
;
3988 #define wxDateTime_GetDay(_swigobj,_swigarg0) (_swigobj->GetDay(_swigarg0))
3989 static PyObject
*_wrap_wxDateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3990 PyObject
* _resultobj
;
3991 wxDateTime::wxDateTime_t _result
;
3993 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3994 PyObject
* _argo0
= 0;
3995 PyObject
* _obj1
= 0;
3996 char *_kwnames
[] = { "self","tz", NULL
};
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDay",_kwnames
,&_argo0
,&_obj1
))
4002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDay. Expected _wxDateTime_p.");
4010 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4014 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDay(_arg0
,*_arg1
);
4016 wxPyEndAllowThreads(__tstate
);
4017 if (PyErr_Occurred()) return NULL
;
4018 } _resultobj
= Py_BuildValue("h",_result
);
4020 if (_arg1
) delete _arg1
;
4025 #define wxDateTime_GetWeekDay(_swigobj,_swigarg0) (_swigobj->GetWeekDay(_swigarg0))
4026 static PyObject
*_wrap_wxDateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
* _resultobj
;
4028 wxDateTime::WeekDay _result
;
4030 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4031 PyObject
* _argo0
= 0;
4032 PyObject
* _obj1
= 0;
4033 char *_kwnames
[] = { "self","tz", NULL
};
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetWeekDay",_kwnames
,&_argo0
,&_obj1
))
4039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDay. Expected _wxDateTime_p.");
4047 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4051 _result
= (wxDateTime::WeekDay
)wxDateTime_GetWeekDay(_arg0
,*_arg1
);
4053 wxPyEndAllowThreads(__tstate
);
4054 if (PyErr_Occurred()) return NULL
;
4055 } _resultobj
= Py_BuildValue("i",_result
);
4057 if (_arg1
) delete _arg1
;
4062 #define wxDateTime_GetHour(_swigobj,_swigarg0) (_swigobj->GetHour(_swigarg0))
4063 static PyObject
*_wrap_wxDateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4064 PyObject
* _resultobj
;
4065 wxDateTime::wxDateTime_t _result
;
4067 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4068 PyObject
* _argo0
= 0;
4069 PyObject
* _obj1
= 0;
4070 char *_kwnames
[] = { "self","tz", NULL
};
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetHour",_kwnames
,&_argo0
,&_obj1
))
4076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetHour. Expected _wxDateTime_p.");
4084 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetHour(_arg0
,*_arg1
);
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) return NULL
;
4092 } _resultobj
= Py_BuildValue("h",_result
);
4094 if (_arg1
) delete _arg1
;
4099 #define wxDateTime_GetMinute(_swigobj,_swigarg0) (_swigobj->GetMinute(_swigarg0))
4100 static PyObject
*_wrap_wxDateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
* _resultobj
;
4102 wxDateTime::wxDateTime_t _result
;
4104 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4105 PyObject
* _argo0
= 0;
4106 PyObject
* _obj1
= 0;
4107 char *_kwnames
[] = { "self","tz", NULL
};
4110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMinute",_kwnames
,&_argo0
,&_obj1
))
4113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMinute. Expected _wxDateTime_p.");
4121 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMinute(_arg0
,*_arg1
);
4127 wxPyEndAllowThreads(__tstate
);
4128 if (PyErr_Occurred()) return NULL
;
4129 } _resultobj
= Py_BuildValue("h",_result
);
4131 if (_arg1
) delete _arg1
;
4136 #define wxDateTime_GetSecond(_swigobj,_swigarg0) (_swigobj->GetSecond(_swigarg0))
4137 static PyObject
*_wrap_wxDateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4138 PyObject
* _resultobj
;
4139 wxDateTime::wxDateTime_t _result
;
4141 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4142 PyObject
* _argo0
= 0;
4143 PyObject
* _obj1
= 0;
4144 char *_kwnames
[] = { "self","tz", NULL
};
4147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetSecond",_kwnames
,&_argo0
,&_obj1
))
4150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetSecond. Expected _wxDateTime_p.");
4158 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetSecond(_arg0
,*_arg1
);
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) return NULL
;
4166 } _resultobj
= Py_BuildValue("h",_result
);
4168 if (_arg1
) delete _arg1
;
4173 #define wxDateTime_GetMillisecond(_swigobj,_swigarg0) (_swigobj->GetMillisecond(_swigarg0))
4174 static PyObject
*_wrap_wxDateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
* _resultobj
;
4176 wxDateTime::wxDateTime_t _result
;
4178 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4179 PyObject
* _argo0
= 0;
4180 PyObject
* _obj1
= 0;
4181 char *_kwnames
[] = { "self","tz", NULL
};
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMillisecond",_kwnames
,&_argo0
,&_obj1
))
4187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMillisecond. Expected _wxDateTime_p.");
4195 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMillisecond(_arg0
,*_arg1
);
4201 wxPyEndAllowThreads(__tstate
);
4202 if (PyErr_Occurred()) return NULL
;
4203 } _resultobj
= Py_BuildValue("h",_result
);
4205 if (_arg1
) delete _arg1
;
4210 #define wxDateTime_GetDayOfYear(_swigobj,_swigarg0) (_swigobj->GetDayOfYear(_swigarg0))
4211 static PyObject
*_wrap_wxDateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
* _resultobj
;
4213 wxDateTime::wxDateTime_t _result
;
4215 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4216 PyObject
* _argo0
= 0;
4217 PyObject
* _obj1
= 0;
4218 char *_kwnames
[] = { "self","tz", NULL
};
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDayOfYear",_kwnames
,&_argo0
,&_obj1
))
4224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDayOfYear. Expected _wxDateTime_p.");
4232 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDayOfYear(_arg0
,*_arg1
);
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) return NULL
;
4240 } _resultobj
= Py_BuildValue("h",_result
);
4242 if (_arg1
) delete _arg1
;
4247 #define wxDateTime_GetWeekOfYear(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfYear(_swigarg0,_swigarg1))
4248 static PyObject
*_wrap_wxDateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
* _resultobj
;
4250 wxDateTime::wxDateTime_t _result
;
4252 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4253 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4254 PyObject
* _argo0
= 0;
4255 PyObject
* _obj2
= 0;
4256 char *_kwnames
[] = { "self","flags","tz", NULL
};
4259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfYear",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfYear. Expected _wxDateTime_p.");
4270 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4274 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfYear(_arg0
,_arg1
,*_arg2
);
4276 wxPyEndAllowThreads(__tstate
);
4277 if (PyErr_Occurred()) return NULL
;
4278 } _resultobj
= Py_BuildValue("h",_result
);
4280 if (_arg2
) delete _arg2
;
4285 #define wxDateTime_GetWeekOfMonth(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfMonth(_swigarg0,_swigarg1))
4286 static PyObject
*_wrap_wxDateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
* _resultobj
;
4288 wxDateTime::wxDateTime_t _result
;
4290 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4291 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4292 PyObject
* _argo0
= 0;
4293 PyObject
* _obj2
= 0;
4294 char *_kwnames
[] = { "self","flags","tz", NULL
};
4297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfMonth",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfMonth. Expected _wxDateTime_p.");
4308 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfMonth(_arg0
,_arg1
,*_arg2
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) return NULL
;
4316 } _resultobj
= Py_BuildValue("h",_result
);
4318 if (_arg2
) delete _arg2
;
4323 #define wxDateTime_IsWorkDay(_swigobj,_swigarg0) (_swigobj->IsWorkDay(_swigarg0))
4324 static PyObject
*_wrap_wxDateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4325 PyObject
* _resultobj
;
4328 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
4329 PyObject
* _argo0
= 0;
4330 char *_kwnames
[] = { "self","country", NULL
};
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsWorkDay",_kwnames
,&_argo0
,&_arg1
))
4336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsWorkDay. Expected _wxDateTime_p.");
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 _result
= (bool )wxDateTime_IsWorkDay(_arg0
,_arg1
);
4346 wxPyEndAllowThreads(__tstate
);
4347 if (PyErr_Occurred()) return NULL
;
4348 } _resultobj
= Py_BuildValue("i",_result
);
4352 #define wxDateTime_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
4353 static PyObject
*_wrap_wxDateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
* _resultobj
;
4358 PyObject
* _argo0
= 0;
4359 PyObject
* _argo1
= 0;
4360 char *_kwnames
[] = { "self","datetime", NULL
};
4363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
4366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4373 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4374 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 _result
= (bool )wxDateTime_IsEqualTo(_arg0
,*_arg1
);
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) return NULL
;
4385 } _resultobj
= Py_BuildValue("i",_result
);
4389 #define wxDateTime_IsEarlierThan(_swigobj,_swigarg0) (_swigobj->IsEarlierThan(_swigarg0))
4390 static PyObject
*_wrap_wxDateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
* _resultobj
;
4395 PyObject
* _argo0
= 0;
4396 PyObject
* _argo1
= 0;
4397 char *_kwnames
[] = { "self","datetime", NULL
};
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEarlierThan",_kwnames
,&_argo0
,&_argo1
))
4403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4410 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4411 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 _result
= (bool )wxDateTime_IsEarlierThan(_arg0
,*_arg1
);
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) return NULL
;
4422 } _resultobj
= Py_BuildValue("i",_result
);
4426 #define wxDateTime_IsLaterThan(_swigobj,_swigarg0) (_swigobj->IsLaterThan(_swigarg0))
4427 static PyObject
*_wrap_wxDateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
* _resultobj
;
4432 PyObject
* _argo0
= 0;
4433 PyObject
* _argo1
= 0;
4434 char *_kwnames
[] = { "self","datetime", NULL
};
4437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsLaterThan",_kwnames
,&_argo0
,&_argo1
))
4440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4447 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4448 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4455 _result
= (bool )wxDateTime_IsLaterThan(_arg0
,*_arg1
);
4457 wxPyEndAllowThreads(__tstate
);
4458 if (PyErr_Occurred()) return NULL
;
4459 } _resultobj
= Py_BuildValue("i",_result
);
4463 #define wxDateTime_IsStrictlyBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsStrictlyBetween(_swigarg0,_swigarg1))
4464 static PyObject
*_wrap_wxDateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
* _resultobj
;
4470 PyObject
* _argo0
= 0;
4471 PyObject
* _argo1
= 0;
4472 PyObject
* _argo2
= 0;
4473 char *_kwnames
[] = { "self","t1","t2", NULL
};
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsStrictlyBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4486 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4487 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4493 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4494 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 _result
= (bool )wxDateTime_IsStrictlyBetween(_arg0
,*_arg1
,*_arg2
);
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) return NULL
;
4505 } _resultobj
= Py_BuildValue("i",_result
);
4509 #define wxDateTime_IsBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsBetween(_swigarg0,_swigarg1))
4510 static PyObject
*_wrap_wxDateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4511 PyObject
* _resultobj
;
4516 PyObject
* _argo0
= 0;
4517 PyObject
* _argo1
= 0;
4518 PyObject
* _argo2
= 0;
4519 char *_kwnames
[] = { "self","t1","t2", NULL
};
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4532 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4533 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4539 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4540 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 _result
= (bool )wxDateTime_IsBetween(_arg0
,*_arg1
,*_arg2
);
4549 wxPyEndAllowThreads(__tstate
);
4550 if (PyErr_Occurred()) return NULL
;
4551 } _resultobj
= Py_BuildValue("i",_result
);
4555 #define wxDateTime_IsSameDate(_swigobj,_swigarg0) (_swigobj->IsSameDate(_swigarg0))
4556 static PyObject
*_wrap_wxDateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
* _resultobj
;
4561 PyObject
* _argo0
= 0;
4562 PyObject
* _argo1
= 0;
4563 char *_kwnames
[] = { "self","dt", NULL
};
4566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameDate",_kwnames
,&_argo0
,&_argo1
))
4569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4576 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4577 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 _result
= (bool )wxDateTime_IsSameDate(_arg0
,*_arg1
);
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) return NULL
;
4588 } _resultobj
= Py_BuildValue("i",_result
);
4592 #define wxDateTime_IsSameTime(_swigobj,_swigarg0) (_swigobj->IsSameTime(_swigarg0))
4593 static PyObject
*_wrap_wxDateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
* _resultobj
;
4598 PyObject
* _argo0
= 0;
4599 PyObject
* _argo1
= 0;
4600 char *_kwnames
[] = { "self","dt", NULL
};
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameTime",_kwnames
,&_argo0
,&_argo1
))
4606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
4613 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4614 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 _result
= (bool )wxDateTime_IsSameTime(_arg0
,*_arg1
);
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) return NULL
;
4625 } _resultobj
= Py_BuildValue("i",_result
);
4629 #define wxDateTime_IsEqualUpTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEqualUpTo(_swigarg0,_swigarg1))
4630 static PyObject
*_wrap_wxDateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
* _resultobj
;
4636 PyObject
* _argo0
= 0;
4637 PyObject
* _argo1
= 0;
4638 PyObject
* _argo2
= 0;
4639 char *_kwnames
[] = { "self","dt","ts", NULL
};
4642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsEqualUpTo",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4652 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4653 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4659 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4660 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTimeSpan_p")) {
4661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsEqualUpTo. Expected _wxTimeSpan_p.");
4666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4667 _result
= (bool )wxDateTime_IsEqualUpTo(_arg0
,*_arg1
,*_arg2
);
4669 wxPyEndAllowThreads(__tstate
);
4670 if (PyErr_Occurred()) return NULL
;
4671 } _resultobj
= Py_BuildValue("i",_result
);
4675 #define wxDateTime_AddTS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4676 static PyObject
*_wrap_wxDateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4677 PyObject
* _resultobj
;
4678 wxDateTime
* _result
;
4681 PyObject
* _argo0
= 0;
4682 PyObject
* _argo1
= 0;
4683 char *_kwnames
[] = { "self","diff", NULL
};
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddTS",_kwnames
,&_argo0
,&_argo1
))
4690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddTS. Expected _wxDateTime_p.");
4697 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4698 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddTS. Expected _wxTimeSpan_p.");
4704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4705 wxDateTime
& _result_ref
= wxDateTime_AddTS(_arg0
,*_arg1
);
4706 _result
= (wxDateTime
*) &_result_ref
;
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) return NULL
;
4711 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4712 _resultobj
= Py_BuildValue("s",_ptemp
);
4715 _resultobj
= Py_None
;
4720 #define wxDateTime_AddDS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4721 static PyObject
*_wrap_wxDateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4722 PyObject
* _resultobj
;
4723 wxDateTime
* _result
;
4726 PyObject
* _argo0
= 0;
4727 PyObject
* _argo1
= 0;
4728 char *_kwnames
[] = { "self","diff", NULL
};
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddDS",_kwnames
,&_argo0
,&_argo1
))
4735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddDS. Expected _wxDateTime_p.");
4742 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4743 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddDS. Expected _wxDateSpan_p.");
4749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4750 wxDateTime
& _result_ref
= wxDateTime_AddDS(_arg0
,*_arg1
);
4751 _result
= (wxDateTime
*) &_result_ref
;
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) return NULL
;
4756 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4757 _resultobj
= Py_BuildValue("s",_ptemp
);
4760 _resultobj
= Py_None
;
4765 #define wxDateTime_SubtractTS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4766 static PyObject
*_wrap_wxDateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4767 PyObject
* _resultobj
;
4768 wxDateTime
* _result
;
4771 PyObject
* _argo0
= 0;
4772 PyObject
* _argo1
= 0;
4773 char *_kwnames
[] = { "self","diff", NULL
};
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractTS",_kwnames
,&_argo0
,&_argo1
))
4780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractTS. Expected _wxDateTime_p.");
4787 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4788 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractTS. Expected _wxTimeSpan_p.");
4794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4795 wxDateTime
& _result_ref
= wxDateTime_SubtractTS(_arg0
,*_arg1
);
4796 _result
= (wxDateTime
*) &_result_ref
;
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) return NULL
;
4801 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4802 _resultobj
= Py_BuildValue("s",_ptemp
);
4805 _resultobj
= Py_None
;
4810 #define wxDateTime_SubtractDS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4811 static PyObject
*_wrap_wxDateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
* _resultobj
;
4813 wxDateTime
* _result
;
4816 PyObject
* _argo0
= 0;
4817 PyObject
* _argo1
= 0;
4818 char *_kwnames
[] = { "self","diff", NULL
};
4822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractDS",_kwnames
,&_argo0
,&_argo1
))
4825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractDS. Expected _wxDateTime_p.");
4832 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4833 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractDS. Expected _wxDateSpan_p.");
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 wxDateTime
& _result_ref
= wxDateTime_SubtractDS(_arg0
,*_arg1
);
4841 _result
= (wxDateTime
*) &_result_ref
;
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) return NULL
;
4846 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4847 _resultobj
= Py_BuildValue("s",_ptemp
);
4850 _resultobj
= Py_None
;
4855 #define wxDateTime_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4856 static PyObject
*_wrap_wxDateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
* _resultobj
;
4858 wxTimeSpan
* _result
;
4861 PyObject
* _argo0
= 0;
4862 PyObject
* _argo1
= 0;
4863 char *_kwnames
[] = { "self","dt", NULL
};
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_Subtract",_kwnames
,&_argo0
,&_argo1
))
4870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Subtract. Expected _wxDateTime_p.");
4877 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4878 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_Subtract. Expected _wxDateTime_p.");
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4885 _result
= new wxTimeSpan (wxDateTime_Subtract(_arg0
,*_arg1
));
4887 wxPyEndAllowThreads(__tstate
);
4888 if (PyErr_Occurred()) return NULL
;
4889 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
4890 _resultobj
= Py_BuildValue("s",_ptemp
);
4894 static wxDateTime
wxDateTime___add__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
4895 static PyObject
*_wrap_wxDateTime___add__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
* _resultobj
;
4897 wxDateTime
* _result
;
4900 PyObject
* _argo0
= 0;
4901 PyObject
* _argo1
= 0;
4902 char *_kwnames
[] = { "self","other", NULL
};
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__TS",_kwnames
,&_argo0
,&_argo1
))
4909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__TS. Expected _wxDateTime_p.");
4916 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4917 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__TS. Expected _wxTimeSpan_p.");
4923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4924 _result
= new wxDateTime (wxDateTime___add__TS(_arg0
,*_arg1
));
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) return NULL
;
4928 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4929 _resultobj
= Py_BuildValue("s",_ptemp
);
4933 static wxDateTime
wxDateTime___add__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
4934 static PyObject
*_wrap_wxDateTime___add__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
* _resultobj
;
4936 wxDateTime
* _result
;
4939 PyObject
* _argo0
= 0;
4940 PyObject
* _argo1
= 0;
4941 char *_kwnames
[] = { "self","other", NULL
};
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__DS",_kwnames
,&_argo0
,&_argo1
))
4948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__DS. Expected _wxDateTime_p.");
4955 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4956 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__DS. Expected _wxDateSpan_p.");
4962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4963 _result
= new wxDateTime (wxDateTime___add__DS(_arg0
,*_arg1
));
4965 wxPyEndAllowThreads(__tstate
);
4966 if (PyErr_Occurred()) return NULL
;
4967 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4968 _resultobj
= Py_BuildValue("s",_ptemp
);
4972 static wxTimeSpan
wxDateTime___sub__DT(wxDateTime
*self
,const wxDateTime
& other
) { return *self
- other
; }
4973 static PyObject
*_wrap_wxDateTime___sub__DT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
* _resultobj
;
4975 wxTimeSpan
* _result
;
4978 PyObject
* _argo0
= 0;
4979 PyObject
* _argo1
= 0;
4980 char *_kwnames
[] = { "self","other", NULL
};
4984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DT",_kwnames
,&_argo0
,&_argo1
))
4987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
4994 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4995 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
5001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5002 _result
= new wxTimeSpan (wxDateTime___sub__DT(_arg0
,*_arg1
));
5004 wxPyEndAllowThreads(__tstate
);
5005 if (PyErr_Occurred()) return NULL
;
5006 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5007 _resultobj
= Py_BuildValue("s",_ptemp
);
5011 static wxDateTime
wxDateTime___sub__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
5012 static PyObject
*_wrap_wxDateTime___sub__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5013 PyObject
* _resultobj
;
5014 wxDateTime
* _result
;
5017 PyObject
* _argo0
= 0;
5018 PyObject
* _argo1
= 0;
5019 char *_kwnames
[] = { "self","other", NULL
};
5023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__TS",_kwnames
,&_argo0
,&_argo1
))
5026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__TS. Expected _wxDateTime_p.");
5033 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5034 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__TS. Expected _wxTimeSpan_p.");
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 _result
= new wxDateTime (wxDateTime___sub__TS(_arg0
,*_arg1
));
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) return NULL
;
5045 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5046 _resultobj
= Py_BuildValue("s",_ptemp
);
5050 static wxDateTime
wxDateTime___sub__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
- other
; }
5051 static PyObject
*_wrap_wxDateTime___sub__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
* _resultobj
;
5053 wxDateTime
* _result
;
5056 PyObject
* _argo0
= 0;
5057 PyObject
* _argo1
= 0;
5058 char *_kwnames
[] = { "self","other", NULL
};
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DS",_kwnames
,&_argo0
,&_argo1
))
5065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DS. Expected _wxDateTime_p.");
5072 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5073 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DS. Expected _wxDateSpan_p.");
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 _result
= new wxDateTime (wxDateTime___sub__DS(_arg0
,*_arg1
));
5082 wxPyEndAllowThreads(__tstate
);
5083 if (PyErr_Occurred()) return NULL
;
5084 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5085 _resultobj
= Py_BuildValue("s",_ptemp
);
5089 static int wxDateTime___cmp__(wxDateTime
*self
,const wxDateTime
* other
) {
5090 if (! other
) return -1;
5091 if (*self
< *other
) return -1;
5092 if (*self
== *other
) return 0;
5095 static PyObject
*_wrap_wxDateTime___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
* _resultobj
;
5100 PyObject
* _argo0
= 0;
5101 PyObject
* _argo1
= 0;
5102 char *_kwnames
[] = { "self","other", NULL
};
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___cmp__",_kwnames
,&_argo0
,&_argo1
))
5108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5115 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5116 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5123 _result
= (int )wxDateTime___cmp__(_arg0
,_arg1
);
5125 wxPyEndAllowThreads(__tstate
);
5126 if (PyErr_Occurred()) return NULL
;
5127 } _resultobj
= Py_BuildValue("i",_result
);
5131 #define wxDateTime_ParseRfc822Date(_swigobj,_swigarg0) (_swigobj->ParseRfc822Date(_swigarg0))
5132 static PyObject
*_wrap_wxDateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
* _resultobj
;
5137 PyObject
* _argo0
= 0;
5138 PyObject
* _obj1
= 0;
5139 char *_kwnames
[] = { "self","date", NULL
};
5142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_ParseRfc822Date",_kwnames
,&_argo0
,&_obj1
))
5145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseRfc822Date. Expected _wxDateTime_p.");
5152 _arg1
= wxString_in_helper(_obj1
);
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 _result
= new wxString (wxDateTime_ParseRfc822Date(_arg0
,*_arg1
));
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) return NULL
;
5164 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5166 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5179 #define wxDateTime_ParseFormat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ParseFormat(_swigarg0,_swigarg1,_swigarg2))
5180 static PyObject
*_wrap_wxDateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
* _resultobj
;
5185 wxString
* _arg2
= (wxString
*) &wxPyDateFormatStr
;
5186 wxDateTime
* _arg3
= (wxDateTime
*) &wxDefaultDateTime
;
5187 PyObject
* _argo0
= 0;
5188 PyObject
* _obj1
= 0;
5189 PyObject
* _obj2
= 0;
5190 PyObject
* _argo3
= 0;
5191 char *_kwnames
[] = { "self","date","format","dateDef", NULL
};
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxDateTime_ParseFormat",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_argo3
))
5197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5204 _arg1
= wxString_in_helper(_obj1
);
5210 _arg2
= wxString_in_helper(_obj2
);
5215 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5216 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime_p")) {
5217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 _result
= new wxString (wxDateTime_ParseFormat(_arg0
,*_arg1
,*_arg2
,*_arg3
));
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) return NULL
;
5229 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5231 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5248 #define wxDateTime_ParseDateTime(_swigobj,_swigarg0) (_swigobj->ParseDateTime(_swigarg0))
5249 static PyObject
*_wrap_wxDateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
* _resultobj
;
5254 PyObject
* _argo0
= 0;
5255 PyObject
* _obj1
= 0;
5256 char *_kwnames
[] = { "self","datetime", NULL
};
5259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_ParseDateTime",_kwnames
,&_argo0
,&_obj1
))
5262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDateTime. Expected _wxDateTime_p.");
5269 _arg1
= wxString_in_helper(_obj1
);
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 _result
= new wxString (wxDateTime_ParseDateTime(_arg0
,*_arg1
));
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) return NULL
;
5281 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5283 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5296 #define wxDateTime_ParseDate(_swigobj,_swigarg0) (_swigobj->ParseDate(_swigarg0))
5297 static PyObject
*_wrap_wxDateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
* _resultobj
;
5302 PyObject
* _argo0
= 0;
5303 PyObject
* _obj1
= 0;
5304 char *_kwnames
[] = { "self","date", NULL
};
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_ParseDate",_kwnames
,&_argo0
,&_obj1
))
5310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDate. Expected _wxDateTime_p.");
5317 _arg1
= wxString_in_helper(_obj1
);
5322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5323 _result
= new wxString (wxDateTime_ParseDate(_arg0
,*_arg1
));
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) return NULL
;
5329 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5331 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5344 #define wxDateTime_ParseTime(_swigobj,_swigarg0) (_swigobj->ParseTime(_swigarg0))
5345 static PyObject
*_wrap_wxDateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5346 PyObject
* _resultobj
;
5350 PyObject
* _argo0
= 0;
5351 PyObject
* _obj1
= 0;
5352 char *_kwnames
[] = { "self","time", NULL
};
5355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_ParseTime",_kwnames
,&_argo0
,&_obj1
))
5358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseTime. Expected _wxDateTime_p.");
5365 _arg1
= wxString_in_helper(_obj1
);
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 _result
= new wxString (wxDateTime_ParseTime(_arg0
,*_arg1
));
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) return NULL
;
5377 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5379 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5392 #define wxDateTime_Format(_swigobj,_swigarg0,_swigarg1) (_swigobj->Format(_swigarg0,_swigarg1))
5393 static PyObject
*_wrap_wxDateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
* _resultobj
;
5397 wxString
* _arg1
= (wxString
*) &wxPyDateFormatStr
;
5398 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
5399 PyObject
* _argo0
= 0;
5400 PyObject
* _obj1
= 0;
5401 PyObject
* _obj2
= 0;
5402 char *_kwnames
[] = { "self","format","tz", NULL
};
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxDateTime_Format",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Format. Expected _wxDateTime_p.");
5416 _arg1
= wxString_in_helper(_obj1
);
5422 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
5425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5426 _result
= new wxString (wxDateTime_Format(_arg0
,*_arg1
,*_arg2
));
5428 wxPyEndAllowThreads(__tstate
);
5429 if (PyErr_Occurred()) return NULL
;
5432 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5434 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5442 if (_arg2
) delete _arg2
;
5450 #define wxDateTime_FormatDate(_swigobj) (_swigobj->FormatDate())
5451 static PyObject
*_wrap_wxDateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5452 PyObject
* _resultobj
;
5455 PyObject
* _argo0
= 0;
5456 char *_kwnames
[] = { "self", NULL
};
5459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatDate",_kwnames
,&_argo0
))
5462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatDate. Expected _wxDateTime_p.");
5469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5470 _result
= new wxString (wxDateTime_FormatDate(_arg0
));
5472 wxPyEndAllowThreads(__tstate
);
5473 if (PyErr_Occurred()) return NULL
;
5476 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5478 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5487 #define wxDateTime_FormatTime(_swigobj) (_swigobj->FormatTime())
5488 static PyObject
*_wrap_wxDateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
* _resultobj
;
5492 PyObject
* _argo0
= 0;
5493 char *_kwnames
[] = { "self", NULL
};
5496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatTime",_kwnames
,&_argo0
))
5499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatTime. Expected _wxDateTime_p.");
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 _result
= new wxString (wxDateTime_FormatTime(_arg0
));
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) return NULL
;
5513 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5515 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5524 #define wxDateTime_FormatISODate(_swigobj) (_swigobj->FormatISODate())
5525 static PyObject
*_wrap_wxDateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
* _resultobj
;
5529 PyObject
* _argo0
= 0;
5530 char *_kwnames
[] = { "self", NULL
};
5533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISODate",_kwnames
,&_argo0
))
5536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISODate. Expected _wxDateTime_p.");
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 _result
= new wxString (wxDateTime_FormatISODate(_arg0
));
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) return NULL
;
5550 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5552 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5561 #define wxDateTime_FormatISOTime(_swigobj) (_swigobj->FormatISOTime())
5562 static PyObject
*_wrap_wxDateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
* _resultobj
;
5566 PyObject
* _argo0
= 0;
5567 char *_kwnames
[] = { "self", NULL
};
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISOTime",_kwnames
,&_argo0
))
5573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISOTime. Expected _wxDateTime_p.");
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 _result
= new wxString (wxDateTime_FormatISOTime(_arg0
));
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) return NULL
;
5587 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5589 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5598 static PyObject
*_wrap_wxTimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
* _resultobj
;
5600 wxTimeSpan
* _result
;
5602 char *_kwnames
[] = { "sec", NULL
};
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Seconds",_kwnames
,&_arg0
))
5609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5610 _result
= new wxTimeSpan (wxTimeSpan::Seconds(_arg0
));
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) return NULL
;
5614 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5615 _resultobj
= Py_BuildValue("s",_ptemp
);
5619 static PyObject
*_wrap_wxTimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
* _resultobj
;
5621 wxTimeSpan
* _result
;
5622 char *_kwnames
[] = { NULL
};
5626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Second",_kwnames
))
5629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 _result
= new wxTimeSpan (wxTimeSpan::Second());
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) return NULL
;
5634 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5635 _resultobj
= Py_BuildValue("s",_ptemp
);
5639 static PyObject
*_wrap_wxTimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
* _resultobj
;
5641 wxTimeSpan
* _result
;
5643 char *_kwnames
[] = { "min", NULL
};
5647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Minutes",_kwnames
,&_arg0
))
5650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5651 _result
= new wxTimeSpan (wxTimeSpan::Minutes(_arg0
));
5653 wxPyEndAllowThreads(__tstate
);
5654 if (PyErr_Occurred()) return NULL
;
5655 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5656 _resultobj
= Py_BuildValue("s",_ptemp
);
5660 static PyObject
*_wrap_wxTimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
* _resultobj
;
5662 wxTimeSpan
* _result
;
5663 char *_kwnames
[] = { NULL
};
5667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Minute",_kwnames
))
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 _result
= new wxTimeSpan (wxTimeSpan::Minute());
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) return NULL
;
5675 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5676 _resultobj
= Py_BuildValue("s",_ptemp
);
5680 static PyObject
*_wrap_wxTimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
* _resultobj
;
5682 wxTimeSpan
* _result
;
5684 char *_kwnames
[] = { "hours", NULL
};
5688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Hours",_kwnames
,&_arg0
))
5691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5692 _result
= new wxTimeSpan (wxTimeSpan::Hours(_arg0
));
5694 wxPyEndAllowThreads(__tstate
);
5695 if (PyErr_Occurred()) return NULL
;
5696 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5697 _resultobj
= Py_BuildValue("s",_ptemp
);
5701 static PyObject
*_wrap_wxTimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5702 PyObject
* _resultobj
;
5703 wxTimeSpan
* _result
;
5704 char *_kwnames
[] = { NULL
};
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Hour",_kwnames
))
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 _result
= new wxTimeSpan (wxTimeSpan::Hour());
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) return NULL
;
5716 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5717 _resultobj
= Py_BuildValue("s",_ptemp
);
5721 static PyObject
*_wrap_wxTimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
* _resultobj
;
5723 wxTimeSpan
* _result
;
5725 char *_kwnames
[] = { "days", NULL
};
5729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Days",_kwnames
,&_arg0
))
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 _result
= new wxTimeSpan (wxTimeSpan::Days(_arg0
));
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) return NULL
;
5737 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5738 _resultobj
= Py_BuildValue("s",_ptemp
);
5742 static PyObject
*_wrap_wxTimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
* _resultobj
;
5744 wxTimeSpan
* _result
;
5745 char *_kwnames
[] = { NULL
};
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Day",_kwnames
))
5752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5753 _result
= new wxTimeSpan (wxTimeSpan::Day());
5755 wxPyEndAllowThreads(__tstate
);
5756 if (PyErr_Occurred()) return NULL
;
5757 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5758 _resultobj
= Py_BuildValue("s",_ptemp
);
5762 static PyObject
*_wrap_wxTimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5763 PyObject
* _resultobj
;
5764 wxTimeSpan
* _result
;
5766 char *_kwnames
[] = { "days", NULL
};
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Weeks",_kwnames
,&_arg0
))
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 _result
= new wxTimeSpan (wxTimeSpan::Weeks(_arg0
));
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) return NULL
;
5778 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5779 _resultobj
= Py_BuildValue("s",_ptemp
);
5783 static PyObject
*_wrap_wxTimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
* _resultobj
;
5785 wxTimeSpan
* _result
;
5786 char *_kwnames
[] = { NULL
};
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Week",_kwnames
))
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 _result
= new wxTimeSpan (wxTimeSpan::Week());
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) return NULL
;
5798 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5799 _resultobj
= Py_BuildValue("s",_ptemp
);
5803 #define new_wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5804 static PyObject
*_wrap_new_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
* _resultobj
;
5806 wxTimeSpan
* _result
;
5807 long _arg0
= (long ) 0;
5808 long _arg1
= (long ) 0;
5809 long _arg2
= (long ) 0;
5810 long _arg3
= (long ) 0;
5811 char *_kwnames
[] = { "hours","minutes","seconds","milliseconds", NULL
};
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxTimeSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 _result
= (wxTimeSpan
*)new_wxTimeSpan(_arg0
,_arg1
,_arg2
,_arg3
);
5821 wxPyEndAllowThreads(__tstate
);
5822 if (PyErr_Occurred()) return NULL
;
5824 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5825 _resultobj
= Py_BuildValue("s",_ptemp
);
5828 _resultobj
= Py_None
;
5833 #define delete_wxTimeSpan(_swigobj) (delete _swigobj)
5834 static PyObject
*_wrap_delete_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
* _resultobj
;
5837 PyObject
* _argo0
= 0;
5838 char *_kwnames
[] = { "self", NULL
};
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTimeSpan",_kwnames
,&_argo0
))
5844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTimeSpan. Expected _wxTimeSpan_p.");
5851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5852 delete_wxTimeSpan(_arg0
);
5854 wxPyEndAllowThreads(__tstate
);
5855 if (PyErr_Occurred()) return NULL
;
5856 } Py_INCREF(Py_None
);
5857 _resultobj
= Py_None
;
5861 #define wxTimeSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
5862 static PyObject
*_wrap_wxTimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
* _resultobj
;
5864 wxTimeSpan
* _result
;
5867 PyObject
* _argo0
= 0;
5868 PyObject
* _argo1
= 0;
5869 char *_kwnames
[] = { "self","diff", NULL
};
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Add",_kwnames
,&_argo0
,&_argo1
))
5876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
5883 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5884 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 wxTimeSpan
& _result_ref
= wxTimeSpan_Add(_arg0
,*_arg1
);
5892 _result
= (wxTimeSpan
*) &_result_ref
;
5894 wxPyEndAllowThreads(__tstate
);
5895 if (PyErr_Occurred()) return NULL
;
5897 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5898 _resultobj
= Py_BuildValue("s",_ptemp
);
5901 _resultobj
= Py_None
;
5906 #define wxTimeSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5907 static PyObject
*_wrap_wxTimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
* _resultobj
;
5909 wxTimeSpan
* _result
;
5912 PyObject
* _argo0
= 0;
5913 PyObject
* _argo1
= 0;
5914 char *_kwnames
[] = { "self","diff", NULL
};
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
5921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
5928 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5929 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
5935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5936 wxTimeSpan
& _result_ref
= wxTimeSpan_Subtract(_arg0
,*_arg1
);
5937 _result
= (wxTimeSpan
*) &_result_ref
;
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) return NULL
;
5942 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5943 _resultobj
= Py_BuildValue("s",_ptemp
);
5946 _resultobj
= Py_None
;
5951 #define wxTimeSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
5952 static PyObject
*_wrap_wxTimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
* _resultobj
;
5954 wxTimeSpan
* _result
;
5957 PyObject
* _argo0
= 0;
5958 char *_kwnames
[] = { "self","n", NULL
};
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
5965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Multiply. Expected _wxTimeSpan_p.");
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 wxTimeSpan
& _result_ref
= wxTimeSpan_Multiply(_arg0
,_arg1
);
5974 _result
= (wxTimeSpan
*) &_result_ref
;
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) return NULL
;
5979 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5980 _resultobj
= Py_BuildValue("s",_ptemp
);
5983 _resultobj
= Py_None
;
5988 #define wxTimeSpan_Neg(_swigobj) (_swigobj->Neg())
5989 static PyObject
*_wrap_wxTimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
* _resultobj
;
5991 wxTimeSpan
* _result
;
5993 PyObject
* _argo0
= 0;
5994 char *_kwnames
[] = { "self", NULL
};
5998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Neg",_kwnames
,&_argo0
))
6001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Neg. Expected _wxTimeSpan_p.");
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 wxTimeSpan
& _result_ref
= wxTimeSpan_Neg(_arg0
);
6010 _result
= (wxTimeSpan
*) &_result_ref
;
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) return NULL
;
6015 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6016 _resultobj
= Py_BuildValue("s",_ptemp
);
6019 _resultobj
= Py_None
;
6024 #define wxTimeSpan_Abs(_swigobj) (_swigobj->Abs())
6025 static PyObject
*_wrap_wxTimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
* _resultobj
;
6027 wxTimeSpan
* _result
;
6029 PyObject
* _argo0
= 0;
6030 char *_kwnames
[] = { "self", NULL
};
6034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Abs",_kwnames
,&_argo0
))
6037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Abs. Expected _wxTimeSpan_p.");
6044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6045 _result
= new wxTimeSpan (wxTimeSpan_Abs(_arg0
));
6047 wxPyEndAllowThreads(__tstate
);
6048 if (PyErr_Occurred()) return NULL
;
6049 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6050 _resultobj
= Py_BuildValue("s",_ptemp
);
6054 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
6055 static PyObject
*_wrap_wxTimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6056 PyObject
* _resultobj
;
6057 wxTimeSpan
* _result
;
6060 PyObject
* _argo0
= 0;
6061 PyObject
* _argo1
= 0;
6062 char *_kwnames
[] = { "self","other", NULL
};
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___add__",_kwnames
,&_argo0
,&_argo1
))
6069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6076 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6077 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6084 _result
= new wxTimeSpan (wxTimeSpan___add__(_arg0
,*_arg1
));
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) return NULL
;
6088 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6089 _resultobj
= Py_BuildValue("s",_ptemp
);
6093 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
6094 static PyObject
*_wrap_wxTimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
* _resultobj
;
6096 wxTimeSpan
* _result
;
6099 PyObject
* _argo0
= 0;
6100 PyObject
* _argo1
= 0;
6101 char *_kwnames
[] = { "self","other", NULL
};
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
6108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6115 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6116 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 _result
= new wxTimeSpan (wxTimeSpan___sub__(_arg0
,*_arg1
));
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) return NULL
;
6127 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6128 _resultobj
= Py_BuildValue("s",_ptemp
);
6132 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
) { return *self
* n
; }
6133 static PyObject
*_wrap_wxTimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6134 PyObject
* _resultobj
;
6135 wxTimeSpan
* _result
;
6138 PyObject
* _argo0
= 0;
6139 char *_kwnames
[] = { "self","n", NULL
};
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
6146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___mul__. Expected _wxTimeSpan_p.");
6153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6154 _result
= new wxTimeSpan (wxTimeSpan___mul__(_arg0
,_arg1
));
6156 wxPyEndAllowThreads(__tstate
);
6157 if (PyErr_Occurred()) return NULL
;
6158 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6159 _resultobj
= Py_BuildValue("s",_ptemp
);
6163 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
) { return n
* *self
; }
6164 static PyObject
*_wrap_wxTimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
* _resultobj
;
6166 wxTimeSpan
* _result
;
6169 PyObject
* _argo0
= 0;
6170 char *_kwnames
[] = { "self","n", NULL
};
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
6177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___rmul__. Expected _wxTimeSpan_p.");
6184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6185 _result
= new wxTimeSpan (wxTimeSpan___rmul__(_arg0
,_arg1
));
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) return NULL
;
6189 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6190 _resultobj
= Py_BuildValue("s",_ptemp
);
6194 static wxTimeSpan
wxTimeSpan___neg__(wxTimeSpan
*self
) { return self
->Negate(); }
6195 static PyObject
*_wrap_wxTimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
* _resultobj
;
6197 wxTimeSpan
* _result
;
6199 PyObject
* _argo0
= 0;
6200 char *_kwnames
[] = { "self", NULL
};
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan___neg__",_kwnames
,&_argo0
))
6207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___neg__. Expected _wxTimeSpan_p.");
6214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6215 _result
= new wxTimeSpan (wxTimeSpan___neg__(_arg0
));
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) return NULL
;
6219 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6220 _resultobj
= Py_BuildValue("s",_ptemp
);
6224 static int wxTimeSpan___cmp__(wxTimeSpan
*self
,const wxTimeSpan
* other
) {
6225 if (! other
) return -1;
6226 if (*self
< *other
) return -1;
6227 if (*self
== *other
) return 0;
6230 static PyObject
*_wrap_wxTimeSpan___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
* _resultobj
;
6235 PyObject
* _argo0
= 0;
6236 PyObject
* _argo1
= 0;
6237 char *_kwnames
[] = { "self","other", NULL
};
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___cmp__",_kwnames
,&_argo0
,&_argo1
))
6243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6250 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6251 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6258 _result
= (int )wxTimeSpan___cmp__(_arg0
,_arg1
);
6260 wxPyEndAllowThreads(__tstate
);
6261 if (PyErr_Occurred()) return NULL
;
6262 } _resultobj
= Py_BuildValue("i",_result
);
6266 #define wxTimeSpan_IsNull(_swigobj) (_swigobj->IsNull())
6267 static PyObject
*_wrap_wxTimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
* _resultobj
;
6271 PyObject
* _argo0
= 0;
6272 char *_kwnames
[] = { "self", NULL
};
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNull",_kwnames
,&_argo0
))
6278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNull. Expected _wxTimeSpan_p.");
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 _result
= (bool )wxTimeSpan_IsNull(_arg0
);
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) return NULL
;
6290 } _resultobj
= Py_BuildValue("i",_result
);
6294 #define wxTimeSpan_IsPositive(_swigobj) (_swigobj->IsPositive())
6295 static PyObject
*_wrap_wxTimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
* _resultobj
;
6299 PyObject
* _argo0
= 0;
6300 char *_kwnames
[] = { "self", NULL
};
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsPositive",_kwnames
,&_argo0
))
6306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsPositive. Expected _wxTimeSpan_p.");
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 _result
= (bool )wxTimeSpan_IsPositive(_arg0
);
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) return NULL
;
6318 } _resultobj
= Py_BuildValue("i",_result
);
6322 #define wxTimeSpan_IsNegative(_swigobj) (_swigobj->IsNegative())
6323 static PyObject
*_wrap_wxTimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
* _resultobj
;
6327 PyObject
* _argo0
= 0;
6328 char *_kwnames
[] = { "self", NULL
};
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNegative",_kwnames
,&_argo0
))
6334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNegative. Expected _wxTimeSpan_p.");
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 _result
= (bool )wxTimeSpan_IsNegative(_arg0
);
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) return NULL
;
6346 } _resultobj
= Py_BuildValue("i",_result
);
6350 #define wxTimeSpan_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
6351 static PyObject
*_wrap_wxTimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6352 PyObject
* _resultobj
;
6356 PyObject
* _argo0
= 0;
6357 PyObject
* _argo1
= 0;
6358 char *_kwnames
[] = { "self","ts", NULL
};
6361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
6364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6371 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6372 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6379 _result
= (bool )wxTimeSpan_IsEqualTo(_arg0
,*_arg1
);
6381 wxPyEndAllowThreads(__tstate
);
6382 if (PyErr_Occurred()) return NULL
;
6383 } _resultobj
= Py_BuildValue("i",_result
);
6387 #define wxTimeSpan_IsLongerThan(_swigobj,_swigarg0) (_swigobj->IsLongerThan(_swigarg0))
6388 static PyObject
*_wrap_wxTimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
* _resultobj
;
6393 PyObject
* _argo0
= 0;
6394 PyObject
* _argo1
= 0;
6395 char *_kwnames
[] = { "self","ts", NULL
};
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsLongerThan",_kwnames
,&_argo0
,&_argo1
))
6401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6408 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6409 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 _result
= (bool )wxTimeSpan_IsLongerThan(_arg0
,*_arg1
);
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) return NULL
;
6420 } _resultobj
= Py_BuildValue("i",_result
);
6424 #define wxTimeSpan_IsShorterThan(_swigobj,_swigarg0) (_swigobj->IsShorterThan(_swigarg0))
6425 static PyObject
*_wrap_wxTimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
* _resultobj
;
6430 PyObject
* _argo0
= 0;
6431 PyObject
* _argo1
= 0;
6432 char *_kwnames
[] = { "self","t", NULL
};
6435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsShorterThan",_kwnames
,&_argo0
,&_argo1
))
6438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6445 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6446 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 _result
= (bool )wxTimeSpan_IsShorterThan(_arg0
,*_arg1
);
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) return NULL
;
6457 } _resultobj
= Py_BuildValue("i",_result
);
6461 #define wxTimeSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
6462 static PyObject
*_wrap_wxTimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6463 PyObject
* _resultobj
;
6466 PyObject
* _argo0
= 0;
6467 char *_kwnames
[] = { "self", NULL
};
6470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetWeeks",_kwnames
,&_argo0
))
6473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetWeeks. Expected _wxTimeSpan_p.");
6480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6481 _result
= (int )wxTimeSpan_GetWeeks(_arg0
);
6483 wxPyEndAllowThreads(__tstate
);
6484 if (PyErr_Occurred()) return NULL
;
6485 } _resultobj
= Py_BuildValue("i",_result
);
6489 #define wxTimeSpan_GetDays(_swigobj) (_swigobj->GetDays())
6490 static PyObject
*_wrap_wxTimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
* _resultobj
;
6494 PyObject
* _argo0
= 0;
6495 char *_kwnames
[] = { "self", NULL
};
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetDays",_kwnames
,&_argo0
))
6501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetDays. Expected _wxTimeSpan_p.");
6508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6509 _result
= (int )wxTimeSpan_GetDays(_arg0
);
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) return NULL
;
6513 } _resultobj
= Py_BuildValue("i",_result
);
6517 #define wxTimeSpan_GetHours(_swigobj) (_swigobj->GetHours())
6518 static PyObject
*_wrap_wxTimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
* _resultobj
;
6522 PyObject
* _argo0
= 0;
6523 char *_kwnames
[] = { "self", NULL
};
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetHours",_kwnames
,&_argo0
))
6529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetHours. Expected _wxTimeSpan_p.");
6536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6537 _result
= (int )wxTimeSpan_GetHours(_arg0
);
6539 wxPyEndAllowThreads(__tstate
);
6540 if (PyErr_Occurred()) return NULL
;
6541 } _resultobj
= Py_BuildValue("i",_result
);
6545 #define wxTimeSpan_GetMinutes(_swigobj) (_swigobj->GetMinutes())
6546 static PyObject
*_wrap_wxTimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6547 PyObject
* _resultobj
;
6550 PyObject
* _argo0
= 0;
6551 char *_kwnames
[] = { "self", NULL
};
6554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMinutes",_kwnames
,&_argo0
))
6557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMinutes. Expected _wxTimeSpan_p.");
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 _result
= (int )wxTimeSpan_GetMinutes(_arg0
);
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) return NULL
;
6569 } _resultobj
= Py_BuildValue("i",_result
);
6573 #define wxTimeSpan_GetSeconds(_swigobj) (_swigobj->GetSeconds())
6574 static PyObject
*_wrap_wxTimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
* _resultobj
;
6576 wxLongLong
* _result
;
6578 PyObject
* _argo0
= 0;
6579 char *_kwnames
[] = { "self", NULL
};
6582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetSeconds",_kwnames
,&_argo0
))
6585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetSeconds. Expected _wxTimeSpan_p.");
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 _result
= new wxLongLong (wxTimeSpan_GetSeconds(_arg0
));
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) return NULL
;
6598 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6599 hi
= PyLong_FromLong(_result
->GetHi());
6600 lo
= PyLong_FromLong(_result
->GetLo());
6601 shifter
= PyLong_FromLong(32);
6602 shifted
= PyNumber_Lshift(hi
, shifter
);
6603 _resultobj
= PyNumber_Or(shifted
, lo
);
6612 #define wxTimeSpan_GetMilliseconds(_swigobj) (_swigobj->GetMilliseconds())
6613 static PyObject
*_wrap_wxTimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6614 PyObject
* _resultobj
;
6615 wxLongLong
* _result
;
6617 PyObject
* _argo0
= 0;
6618 char *_kwnames
[] = { "self", NULL
};
6621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMilliseconds",_kwnames
,&_argo0
))
6624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMilliseconds. Expected _wxTimeSpan_p.");
6631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 _result
= new wxLongLong (wxTimeSpan_GetMilliseconds(_arg0
));
6634 wxPyEndAllowThreads(__tstate
);
6635 if (PyErr_Occurred()) return NULL
;
6637 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6638 hi
= PyLong_FromLong(_result
->GetHi());
6639 lo
= PyLong_FromLong(_result
->GetLo());
6640 shifter
= PyLong_FromLong(32);
6641 shifted
= PyNumber_Lshift(hi
, shifter
);
6642 _resultobj
= PyNumber_Or(shifted
, lo
);
6651 #define wxTimeSpan_Format(_swigobj,_swigarg0) (_swigobj->Format(_swigarg0))
6652 static PyObject
*_wrap_wxTimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6653 PyObject
* _resultobj
;
6656 wxString
* _arg1
= (wxString
*) &wxPyDateFormatStr
;
6657 PyObject
* _argo0
= 0;
6658 PyObject
* _obj1
= 0;
6659 char *_kwnames
[] = { "self","format", NULL
};
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTimeSpan_Format",_kwnames
,&_argo0
,&_obj1
))
6665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Format. Expected _wxTimeSpan_p.");
6673 _arg1
= wxString_in_helper(_obj1
);
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 _result
= new wxString (wxTimeSpan_Format(_arg0
,*_arg1
));
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) return NULL
;
6685 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6687 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6700 #define new_wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6701 static PyObject
*_wrap_new_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
* _resultobj
;
6703 wxDateSpan
* _result
;
6704 int _arg0
= (int ) 0;
6705 int _arg1
= (int ) 0;
6706 int _arg2
= (int ) 0;
6707 int _arg3
= (int ) 0;
6708 char *_kwnames
[] = { "years","months","weeks","days", NULL
};
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxDateSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6716 _result
= (wxDateSpan
*)new_wxDateSpan(_arg0
,_arg1
,_arg2
,_arg3
);
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) return NULL
;
6721 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6722 _resultobj
= Py_BuildValue("s",_ptemp
);
6725 _resultobj
= Py_None
;
6730 #define delete_wxDateSpan(_swigobj) (delete _swigobj)
6731 static PyObject
*_wrap_delete_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
* _resultobj
;
6734 PyObject
* _argo0
= 0;
6735 char *_kwnames
[] = { "self", NULL
};
6738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateSpan",_kwnames
,&_argo0
))
6741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateSpan. Expected _wxDateSpan_p.");
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6749 delete_wxDateSpan(_arg0
);
6751 wxPyEndAllowThreads(__tstate
);
6752 if (PyErr_Occurred()) return NULL
;
6753 } Py_INCREF(Py_None
);
6754 _resultobj
= Py_None
;
6758 static PyObject
*_wrap_wxDateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
* _resultobj
;
6760 wxDateSpan
* _result
;
6762 char *_kwnames
[] = { "days", NULL
};
6766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Days",_kwnames
,&_arg0
))
6769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6770 _result
= new wxDateSpan (wxDateSpan::Days(_arg0
));
6772 wxPyEndAllowThreads(__tstate
);
6773 if (PyErr_Occurred()) return NULL
;
6774 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6775 _resultobj
= Py_BuildValue("s",_ptemp
);
6779 static PyObject
*_wrap_wxDateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
* _resultobj
;
6781 wxDateSpan
* _result
;
6782 char *_kwnames
[] = { NULL
};
6786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Day",_kwnames
))
6789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6790 _result
= new wxDateSpan (wxDateSpan::Day());
6792 wxPyEndAllowThreads(__tstate
);
6793 if (PyErr_Occurred()) return NULL
;
6794 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6795 _resultobj
= Py_BuildValue("s",_ptemp
);
6799 static PyObject
*_wrap_wxDateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
* _resultobj
;
6801 wxDateSpan
* _result
;
6803 char *_kwnames
[] = { "weeks", NULL
};
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Weeks",_kwnames
,&_arg0
))
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 _result
= new wxDateSpan (wxDateSpan::Weeks(_arg0
));
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) return NULL
;
6815 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6816 _resultobj
= Py_BuildValue("s",_ptemp
);
6820 static PyObject
*_wrap_wxDateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
* _resultobj
;
6822 wxDateSpan
* _result
;
6823 char *_kwnames
[] = { NULL
};
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Week",_kwnames
))
6830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6831 _result
= new wxDateSpan (wxDateSpan::Week());
6833 wxPyEndAllowThreads(__tstate
);
6834 if (PyErr_Occurred()) return NULL
;
6835 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6836 _resultobj
= Py_BuildValue("s",_ptemp
);
6840 static PyObject
*_wrap_wxDateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
* _resultobj
;
6842 wxDateSpan
* _result
;
6844 char *_kwnames
[] = { "mon", NULL
};
6848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Months",_kwnames
,&_arg0
))
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 _result
= new wxDateSpan (wxDateSpan::Months(_arg0
));
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) return NULL
;
6856 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6857 _resultobj
= Py_BuildValue("s",_ptemp
);
6861 static PyObject
*_wrap_wxDateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6862 PyObject
* _resultobj
;
6863 wxDateSpan
* _result
;
6864 char *_kwnames
[] = { NULL
};
6868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Month",_kwnames
))
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 _result
= new wxDateSpan (wxDateSpan::Month());
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) return NULL
;
6876 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6877 _resultobj
= Py_BuildValue("s",_ptemp
);
6881 static PyObject
*_wrap_wxDateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
* _resultobj
;
6883 wxDateSpan
* _result
;
6885 char *_kwnames
[] = { "years", NULL
};
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Years",_kwnames
,&_arg0
))
6892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6893 _result
= new wxDateSpan (wxDateSpan::Years(_arg0
));
6895 wxPyEndAllowThreads(__tstate
);
6896 if (PyErr_Occurred()) return NULL
;
6897 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6898 _resultobj
= Py_BuildValue("s",_ptemp
);
6902 static PyObject
*_wrap_wxDateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
* _resultobj
;
6904 wxDateSpan
* _result
;
6905 char *_kwnames
[] = { NULL
};
6909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Year",_kwnames
))
6912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6913 _result
= new wxDateSpan (wxDateSpan::Year());
6915 wxPyEndAllowThreads(__tstate
);
6916 if (PyErr_Occurred()) return NULL
;
6917 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6918 _resultobj
= Py_BuildValue("s",_ptemp
);
6922 #define wxDateSpan_SetYears(_swigobj,_swigarg0) (_swigobj->SetYears(_swigarg0))
6923 static PyObject
*_wrap_wxDateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
* _resultobj
;
6925 wxDateSpan
* _result
;
6928 PyObject
* _argo0
= 0;
6929 char *_kwnames
[] = { "self","n", NULL
};
6933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetYears",_kwnames
,&_argo0
,&_arg1
))
6936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetYears. Expected _wxDateSpan_p.");
6943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6944 wxDateSpan
& _result_ref
= wxDateSpan_SetYears(_arg0
,_arg1
);
6945 _result
= (wxDateSpan
*) &_result_ref
;
6947 wxPyEndAllowThreads(__tstate
);
6948 if (PyErr_Occurred()) return NULL
;
6950 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6951 _resultobj
= Py_BuildValue("s",_ptemp
);
6954 _resultobj
= Py_None
;
6959 #define wxDateSpan_SetMonths(_swigobj,_swigarg0) (_swigobj->SetMonths(_swigarg0))
6960 static PyObject
*_wrap_wxDateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
* _resultobj
;
6962 wxDateSpan
* _result
;
6965 PyObject
* _argo0
= 0;
6966 char *_kwnames
[] = { "self","n", NULL
};
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetMonths",_kwnames
,&_argo0
,&_arg1
))
6973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetMonths. Expected _wxDateSpan_p.");
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 wxDateSpan
& _result_ref
= wxDateSpan_SetMonths(_arg0
,_arg1
);
6982 _result
= (wxDateSpan
*) &_result_ref
;
6984 wxPyEndAllowThreads(__tstate
);
6985 if (PyErr_Occurred()) return NULL
;
6987 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6988 _resultobj
= Py_BuildValue("s",_ptemp
);
6991 _resultobj
= Py_None
;
6996 #define wxDateSpan_SetWeeks(_swigobj,_swigarg0) (_swigobj->SetWeeks(_swigarg0))
6997 static PyObject
*_wrap_wxDateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
* _resultobj
;
6999 wxDateSpan
* _result
;
7002 PyObject
* _argo0
= 0;
7003 char *_kwnames
[] = { "self","n", NULL
};
7007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetWeeks",_kwnames
,&_argo0
,&_arg1
))
7010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetWeeks. Expected _wxDateSpan_p.");
7017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7018 wxDateSpan
& _result_ref
= wxDateSpan_SetWeeks(_arg0
,_arg1
);
7019 _result
= (wxDateSpan
*) &_result_ref
;
7021 wxPyEndAllowThreads(__tstate
);
7022 if (PyErr_Occurred()) return NULL
;
7024 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7025 _resultobj
= Py_BuildValue("s",_ptemp
);
7028 _resultobj
= Py_None
;
7033 #define wxDateSpan_SetDays(_swigobj,_swigarg0) (_swigobj->SetDays(_swigarg0))
7034 static PyObject
*_wrap_wxDateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
* _resultobj
;
7036 wxDateSpan
* _result
;
7039 PyObject
* _argo0
= 0;
7040 char *_kwnames
[] = { "self","n", NULL
};
7044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetDays",_kwnames
,&_argo0
,&_arg1
))
7047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetDays. Expected _wxDateSpan_p.");
7054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7055 wxDateSpan
& _result_ref
= wxDateSpan_SetDays(_arg0
,_arg1
);
7056 _result
= (wxDateSpan
*) &_result_ref
;
7058 wxPyEndAllowThreads(__tstate
);
7059 if (PyErr_Occurred()) return NULL
;
7061 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7062 _resultobj
= Py_BuildValue("s",_ptemp
);
7065 _resultobj
= Py_None
;
7070 #define wxDateSpan_GetYears(_swigobj) (_swigobj->GetYears())
7071 static PyObject
*_wrap_wxDateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7072 PyObject
* _resultobj
;
7075 PyObject
* _argo0
= 0;
7076 char *_kwnames
[] = { "self", NULL
};
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetYears",_kwnames
,&_argo0
))
7082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetYears. Expected _wxDateSpan_p.");
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 _result
= (int )wxDateSpan_GetYears(_arg0
);
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) return NULL
;
7094 } _resultobj
= Py_BuildValue("i",_result
);
7098 #define wxDateSpan_GetMonths(_swigobj) (_swigobj->GetMonths())
7099 static PyObject
*_wrap_wxDateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7100 PyObject
* _resultobj
;
7103 PyObject
* _argo0
= 0;
7104 char *_kwnames
[] = { "self", NULL
};
7107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetMonths",_kwnames
,&_argo0
))
7110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetMonths. Expected _wxDateSpan_p.");
7117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7118 _result
= (int )wxDateSpan_GetMonths(_arg0
);
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) return NULL
;
7122 } _resultobj
= Py_BuildValue("i",_result
);
7126 #define wxDateSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
7127 static PyObject
*_wrap_wxDateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7128 PyObject
* _resultobj
;
7131 PyObject
* _argo0
= 0;
7132 char *_kwnames
[] = { "self", NULL
};
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetWeeks",_kwnames
,&_argo0
))
7138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetWeeks. Expected _wxDateSpan_p.");
7145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7146 _result
= (int )wxDateSpan_GetWeeks(_arg0
);
7148 wxPyEndAllowThreads(__tstate
);
7149 if (PyErr_Occurred()) return NULL
;
7150 } _resultobj
= Py_BuildValue("i",_result
);
7154 #define wxDateSpan_GetDays(_swigobj) (_swigobj->GetDays())
7155 static PyObject
*_wrap_wxDateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
* _resultobj
;
7159 PyObject
* _argo0
= 0;
7160 char *_kwnames
[] = { "self", NULL
};
7163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetDays",_kwnames
,&_argo0
))
7166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetDays. Expected _wxDateSpan_p.");
7173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7174 _result
= (int )wxDateSpan_GetDays(_arg0
);
7176 wxPyEndAllowThreads(__tstate
);
7177 if (PyErr_Occurred()) return NULL
;
7178 } _resultobj
= Py_BuildValue("i",_result
);
7182 #define wxDateSpan_GetTotalDays(_swigobj) (_swigobj->GetTotalDays())
7183 static PyObject
*_wrap_wxDateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
* _resultobj
;
7187 PyObject
* _argo0
= 0;
7188 char *_kwnames
[] = { "self", NULL
};
7191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetTotalDays",_kwnames
,&_argo0
))
7194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetTotalDays. Expected _wxDateSpan_p.");
7201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7202 _result
= (int )wxDateSpan_GetTotalDays(_arg0
);
7204 wxPyEndAllowThreads(__tstate
);
7205 if (PyErr_Occurred()) return NULL
;
7206 } _resultobj
= Py_BuildValue("i",_result
);
7210 #define wxDateSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
7211 static PyObject
*_wrap_wxDateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
* _resultobj
;
7213 wxDateSpan
* _result
;
7216 PyObject
* _argo0
= 0;
7217 PyObject
* _argo1
= 0;
7218 char *_kwnames
[] = { "self","other", NULL
};
7222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Add",_kwnames
,&_argo0
,&_argo1
))
7225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7232 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7233 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 wxDateSpan
& _result_ref
= wxDateSpan_Add(_arg0
,*_arg1
);
7241 _result
= (wxDateSpan
*) &_result_ref
;
7243 wxPyEndAllowThreads(__tstate
);
7244 if (PyErr_Occurred()) return NULL
;
7246 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7247 _resultobj
= Py_BuildValue("s",_ptemp
);
7250 _resultobj
= Py_None
;
7255 #define wxDateSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
7256 static PyObject
*_wrap_wxDateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
* _resultobj
;
7258 wxDateSpan
* _result
;
7261 PyObject
* _argo0
= 0;
7262 PyObject
* _argo1
= 0;
7263 char *_kwnames
[] = { "self","other", NULL
};
7267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
7270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7277 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7278 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 wxDateSpan
& _result_ref
= wxDateSpan_Subtract(_arg0
,*_arg1
);
7286 _result
= (wxDateSpan
*) &_result_ref
;
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) return NULL
;
7291 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7292 _resultobj
= Py_BuildValue("s",_ptemp
);
7295 _resultobj
= Py_None
;
7300 #define wxDateSpan_Neg(_swigobj) (_swigobj->Neg())
7301 static PyObject
*_wrap_wxDateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
* _resultobj
;
7303 wxDateSpan
* _result
;
7305 PyObject
* _argo0
= 0;
7306 char *_kwnames
[] = { "self", NULL
};
7310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_Neg",_kwnames
,&_argo0
))
7313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Neg. Expected _wxDateSpan_p.");
7320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7321 wxDateSpan
& _result_ref
= wxDateSpan_Neg(_arg0
);
7322 _result
= (wxDateSpan
*) &_result_ref
;
7324 wxPyEndAllowThreads(__tstate
);
7325 if (PyErr_Occurred()) return NULL
;
7327 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7328 _resultobj
= Py_BuildValue("s",_ptemp
);
7331 _resultobj
= Py_None
;
7336 #define wxDateSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
7337 static PyObject
*_wrap_wxDateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
* _resultobj
;
7339 wxDateSpan
* _result
;
7342 PyObject
* _argo0
= 0;
7343 char *_kwnames
[] = { "self","factor", NULL
};
7347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
7350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Multiply. Expected _wxDateSpan_p.");
7357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7358 wxDateSpan
& _result_ref
= wxDateSpan_Multiply(_arg0
,_arg1
);
7359 _result
= (wxDateSpan
*) &_result_ref
;
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) return NULL
;
7364 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7365 _resultobj
= Py_BuildValue("s",_ptemp
);
7368 _resultobj
= Py_None
;
7373 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
7374 static PyObject
*_wrap_wxDateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
* _resultobj
;
7376 wxDateSpan
* _result
;
7379 PyObject
* _argo0
= 0;
7380 PyObject
* _argo1
= 0;
7381 char *_kwnames
[] = { "self","other", NULL
};
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___add__",_kwnames
,&_argo0
,&_argo1
))
7388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7395 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7396 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 _result
= new wxDateSpan (wxDateSpan___add__(_arg0
,*_arg1
));
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) return NULL
;
7407 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7408 _resultobj
= Py_BuildValue("s",_ptemp
);
7412 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
- other
; }
7413 static PyObject
*_wrap_wxDateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
* _resultobj
;
7415 wxDateSpan
* _result
;
7418 PyObject
* _argo0
= 0;
7419 PyObject
* _argo1
= 0;
7420 char *_kwnames
[] = { "self","other", NULL
};
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
7427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7434 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7435 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7442 _result
= new wxDateSpan (wxDateSpan___sub__(_arg0
,*_arg1
));
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) return NULL
;
7446 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7447 _resultobj
= Py_BuildValue("s",_ptemp
);
7451 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
) { return *self
* n
; }
7452 static PyObject
*_wrap_wxDateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
* _resultobj
;
7454 wxDateSpan
* _result
;
7457 PyObject
* _argo0
= 0;
7458 char *_kwnames
[] = { "self","n", NULL
};
7462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
7465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___mul__. Expected _wxDateSpan_p.");
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 _result
= new wxDateSpan (wxDateSpan___mul__(_arg0
,_arg1
));
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) return NULL
;
7477 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7478 _resultobj
= Py_BuildValue("s",_ptemp
);
7482 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
) { return n
* *self
; }
7483 static PyObject
*_wrap_wxDateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
* _resultobj
;
7485 wxDateSpan
* _result
;
7488 PyObject
* _argo0
= 0;
7489 char *_kwnames
[] = { "self","n", NULL
};
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
7496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___rmul__. Expected _wxDateSpan_p.");
7503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7504 _result
= new wxDateSpan (wxDateSpan___rmul__(_arg0
,_arg1
));
7506 wxPyEndAllowThreads(__tstate
);
7507 if (PyErr_Occurred()) return NULL
;
7508 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7509 _resultobj
= Py_BuildValue("s",_ptemp
);
7513 static wxDateSpan
wxDateSpan___neg__(wxDateSpan
*self
) { return self
->Negate(); }
7514 static PyObject
*_wrap_wxDateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
* _resultobj
;
7516 wxDateSpan
* _result
;
7518 PyObject
* _argo0
= 0;
7519 char *_kwnames
[] = { "self", NULL
};
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan___neg__",_kwnames
,&_argo0
))
7526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___neg__. Expected _wxDateSpan_p.");
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 _result
= new wxDateSpan (wxDateSpan___neg__(_arg0
));
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) return NULL
;
7538 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7539 _resultobj
= Py_BuildValue("s",_ptemp
);
7543 static PyMethodDef utilscMethods
[] = {
7544 { "wxDateSpan___neg__", (PyCFunction
) _wrap_wxDateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7545 { "wxDateSpan___rmul__", (PyCFunction
) _wrap_wxDateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7546 { "wxDateSpan___mul__", (PyCFunction
) _wrap_wxDateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7547 { "wxDateSpan___sub__", (PyCFunction
) _wrap_wxDateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7548 { "wxDateSpan___add__", (PyCFunction
) _wrap_wxDateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7549 { "wxDateSpan_Multiply", (PyCFunction
) _wrap_wxDateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7550 { "wxDateSpan_Neg", (PyCFunction
) _wrap_wxDateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7551 { "wxDateSpan_Subtract", (PyCFunction
) _wrap_wxDateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7552 { "wxDateSpan_Add", (PyCFunction
) _wrap_wxDateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7553 { "wxDateSpan_GetTotalDays", (PyCFunction
) _wrap_wxDateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
7554 { "wxDateSpan_GetDays", (PyCFunction
) _wrap_wxDateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7555 { "wxDateSpan_GetWeeks", (PyCFunction
) _wrap_wxDateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7556 { "wxDateSpan_GetMonths", (PyCFunction
) _wrap_wxDateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7557 { "wxDateSpan_GetYears", (PyCFunction
) _wrap_wxDateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
7558 { "wxDateSpan_SetDays", (PyCFunction
) _wrap_wxDateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
7559 { "wxDateSpan_SetWeeks", (PyCFunction
) _wrap_wxDateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7560 { "wxDateSpan_SetMonths", (PyCFunction
) _wrap_wxDateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7561 { "wxDateSpan_SetYears", (PyCFunction
) _wrap_wxDateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
7562 { "wxDateSpan_Year", (PyCFunction
) _wrap_wxDateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
7563 { "wxDateSpan_Years", (PyCFunction
) _wrap_wxDateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
7564 { "wxDateSpan_Month", (PyCFunction
) _wrap_wxDateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
7565 { "wxDateSpan_Months", (PyCFunction
) _wrap_wxDateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
7566 { "wxDateSpan_Week", (PyCFunction
) _wrap_wxDateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7567 { "wxDateSpan_Weeks", (PyCFunction
) _wrap_wxDateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7568 { "wxDateSpan_Day", (PyCFunction
) _wrap_wxDateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7569 { "wxDateSpan_Days", (PyCFunction
) _wrap_wxDateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7570 { "delete_wxDateSpan", (PyCFunction
) _wrap_delete_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7571 { "new_wxDateSpan", (PyCFunction
) _wrap_new_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7572 { "wxTimeSpan_Format", (PyCFunction
) _wrap_wxTimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
7573 { "wxTimeSpan_GetMilliseconds", (PyCFunction
) _wrap_wxTimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
7574 { "wxTimeSpan_GetSeconds", (PyCFunction
) _wrap_wxTimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
7575 { "wxTimeSpan_GetMinutes", (PyCFunction
) _wrap_wxTimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
7576 { "wxTimeSpan_GetHours", (PyCFunction
) _wrap_wxTimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
7577 { "wxTimeSpan_GetDays", (PyCFunction
) _wrap_wxTimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7578 { "wxTimeSpan_GetWeeks", (PyCFunction
) _wrap_wxTimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7579 { "wxTimeSpan_IsShorterThan", (PyCFunction
) _wrap_wxTimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
7580 { "wxTimeSpan_IsLongerThan", (PyCFunction
) _wrap_wxTimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
7581 { "wxTimeSpan_IsEqualTo", (PyCFunction
) _wrap_wxTimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7582 { "wxTimeSpan_IsNegative", (PyCFunction
) _wrap_wxTimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
7583 { "wxTimeSpan_IsPositive", (PyCFunction
) _wrap_wxTimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
7584 { "wxTimeSpan_IsNull", (PyCFunction
) _wrap_wxTimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
7585 { "wxTimeSpan___cmp__", (PyCFunction
) _wrap_wxTimeSpan___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7586 { "wxTimeSpan___neg__", (PyCFunction
) _wrap_wxTimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7587 { "wxTimeSpan___rmul__", (PyCFunction
) _wrap_wxTimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7588 { "wxTimeSpan___mul__", (PyCFunction
) _wrap_wxTimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7589 { "wxTimeSpan___sub__", (PyCFunction
) _wrap_wxTimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7590 { "wxTimeSpan___add__", (PyCFunction
) _wrap_wxTimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7591 { "wxTimeSpan_Abs", (PyCFunction
) _wrap_wxTimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
7592 { "wxTimeSpan_Neg", (PyCFunction
) _wrap_wxTimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7593 { "wxTimeSpan_Multiply", (PyCFunction
) _wrap_wxTimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7594 { "wxTimeSpan_Subtract", (PyCFunction
) _wrap_wxTimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7595 { "wxTimeSpan_Add", (PyCFunction
) _wrap_wxTimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7596 { "delete_wxTimeSpan", (PyCFunction
) _wrap_delete_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7597 { "new_wxTimeSpan", (PyCFunction
) _wrap_new_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7598 { "wxTimeSpan_Week", (PyCFunction
) _wrap_wxTimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7599 { "wxTimeSpan_Weeks", (PyCFunction
) _wrap_wxTimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7600 { "wxTimeSpan_Day", (PyCFunction
) _wrap_wxTimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7601 { "wxTimeSpan_Days", (PyCFunction
) _wrap_wxTimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7602 { "wxTimeSpan_Hour", (PyCFunction
) _wrap_wxTimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
7603 { "wxTimeSpan_Hours", (PyCFunction
) _wrap_wxTimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
7604 { "wxTimeSpan_Minute", (PyCFunction
) _wrap_wxTimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
7605 { "wxTimeSpan_Minutes", (PyCFunction
) _wrap_wxTimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
7606 { "wxTimeSpan_Second", (PyCFunction
) _wrap_wxTimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
7607 { "wxTimeSpan_Seconds", (PyCFunction
) _wrap_wxTimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
7608 { "wxDateTime_FormatISOTime", (PyCFunction
) _wrap_wxDateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
7609 { "wxDateTime_FormatISODate", (PyCFunction
) _wrap_wxDateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
7610 { "wxDateTime_FormatTime", (PyCFunction
) _wrap_wxDateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
7611 { "wxDateTime_FormatDate", (PyCFunction
) _wrap_wxDateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
7612 { "wxDateTime_Format", (PyCFunction
) _wrap_wxDateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
7613 { "wxDateTime_ParseTime", (PyCFunction
) _wrap_wxDateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
7614 { "wxDateTime_ParseDate", (PyCFunction
) _wrap_wxDateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
7615 { "wxDateTime_ParseDateTime", (PyCFunction
) _wrap_wxDateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7616 { "wxDateTime_ParseFormat", (PyCFunction
) _wrap_wxDateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
7617 { "wxDateTime_ParseRfc822Date", (PyCFunction
) _wrap_wxDateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
7618 { "wxDateTime___cmp__", (PyCFunction
) _wrap_wxDateTime___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7619 { "wxDateTime___sub__DS", (PyCFunction
) _wrap_wxDateTime___sub__DS
, METH_VARARGS
| METH_KEYWORDS
},
7620 { "wxDateTime___sub__TS", (PyCFunction
) _wrap_wxDateTime___sub__TS
, METH_VARARGS
| METH_KEYWORDS
},
7621 { "wxDateTime___sub__DT", (PyCFunction
) _wrap_wxDateTime___sub__DT
, METH_VARARGS
| METH_KEYWORDS
},
7622 { "wxDateTime___add__DS", (PyCFunction
) _wrap_wxDateTime___add__DS
, METH_VARARGS
| METH_KEYWORDS
},
7623 { "wxDateTime___add__TS", (PyCFunction
) _wrap_wxDateTime___add__TS
, METH_VARARGS
| METH_KEYWORDS
},
7624 { "wxDateTime_Subtract", (PyCFunction
) _wrap_wxDateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7625 { "wxDateTime_SubtractDS", (PyCFunction
) _wrap_wxDateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
7626 { "wxDateTime_SubtractTS", (PyCFunction
) _wrap_wxDateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
7627 { "wxDateTime_AddDS", (PyCFunction
) _wrap_wxDateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
7628 { "wxDateTime_AddTS", (PyCFunction
) _wrap_wxDateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
7629 { "wxDateTime_IsEqualUpTo", (PyCFunction
) _wrap_wxDateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
7630 { "wxDateTime_IsSameTime", (PyCFunction
) _wrap_wxDateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
7631 { "wxDateTime_IsSameDate", (PyCFunction
) _wrap_wxDateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
7632 { "wxDateTime_IsBetween", (PyCFunction
) _wrap_wxDateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
7633 { "wxDateTime_IsStrictlyBetween", (PyCFunction
) _wrap_wxDateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
7634 { "wxDateTime_IsLaterThan", (PyCFunction
) _wrap_wxDateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
7635 { "wxDateTime_IsEarlierThan", (PyCFunction
) _wrap_wxDateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
7636 { "wxDateTime_IsEqualTo", (PyCFunction
) _wrap_wxDateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7637 { "wxDateTime_IsWorkDay", (PyCFunction
) _wrap_wxDateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
7638 { "wxDateTime_GetWeekOfMonth", (PyCFunction
) _wrap_wxDateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
7639 { "wxDateTime_GetWeekOfYear", (PyCFunction
) _wrap_wxDateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7640 { "wxDateTime_GetDayOfYear", (PyCFunction
) _wrap_wxDateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7641 { "wxDateTime_GetMillisecond", (PyCFunction
) _wrap_wxDateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7642 { "wxDateTime_GetSecond", (PyCFunction
) _wrap_wxDateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7643 { "wxDateTime_GetMinute", (PyCFunction
) _wrap_wxDateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7644 { "wxDateTime_GetHour", (PyCFunction
) _wrap_wxDateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
7645 { "wxDateTime_GetWeekDay", (PyCFunction
) _wrap_wxDateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7646 { "wxDateTime_GetDay", (PyCFunction
) _wrap_wxDateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
7647 { "wxDateTime_GetMonth", (PyCFunction
) _wrap_wxDateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7648 { "wxDateTime_GetYear", (PyCFunction
) _wrap_wxDateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
7649 { "wxDateTime_GetTicks", (PyCFunction
) _wrap_wxDateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
7650 { "wxDateTime_IsValid", (PyCFunction
) _wrap_wxDateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
7651 { "wxDateTime_IsDST", (PyCFunction
) _wrap_wxDateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
7652 { "wxDateTime_MakeGMT", (PyCFunction
) _wrap_wxDateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
7653 { "wxDateTime_ToGMT", (PyCFunction
) _wrap_wxDateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
7654 { "wxDateTime_MakeTimezone", (PyCFunction
) _wrap_wxDateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7655 { "wxDateTime_ToTimezone", (PyCFunction
) _wrap_wxDateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7656 { "wxDateTime_GetRataDie", (PyCFunction
) _wrap_wxDateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
7657 { "wxDateTime_GetMJD", (PyCFunction
) _wrap_wxDateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
7658 { "wxDateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7659 { "wxDateTime_GetJDN", (PyCFunction
) _wrap_wxDateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7660 { "wxDateTime_GetJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7661 { "wxDateTime_GetYearDay", (PyCFunction
) _wrap_wxDateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7662 { "wxDateTime_SetToYearDay", (PyCFunction
) _wrap_wxDateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7663 { "wxDateTime_GetLastMonthDay", (PyCFunction
) _wrap_wxDateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7664 { "wxDateTime_SetToLastMonthDay", (PyCFunction
) _wrap_wxDateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7665 { "wxDateTime_GetWeek", (PyCFunction
) _wrap_wxDateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
7666 { "wxDateTime_SetToTheWeek", (PyCFunction
) _wrap_wxDateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
7667 { "wxDateTime_GetLastWeekDay", (PyCFunction
) _wrap_wxDateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7668 { "wxDateTime_SetToLastWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7669 { "wxDateTime_SetToWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7670 { "wxDateTime_GetPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7671 { "wxDateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7672 { "wxDateTime_GetNextWeekDay", (PyCFunction
) _wrap_wxDateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7673 { "wxDateTime_SetToNextWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7674 { "wxDateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7675 { "wxDateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7676 { "wxDateTime_SetMillisecond", (PyCFunction
) _wrap_wxDateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7677 { "wxDateTime_SetSecond", (PyCFunction
) _wrap_wxDateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7678 { "wxDateTime_SetMinute", (PyCFunction
) _wrap_wxDateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7679 { "wxDateTime_SetHour", (PyCFunction
) _wrap_wxDateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
7680 { "wxDateTime_SetDay", (PyCFunction
) _wrap_wxDateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
7681 { "wxDateTime_SetMonth", (PyCFunction
) _wrap_wxDateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7682 { "wxDateTime_SetYear", (PyCFunction
) _wrap_wxDateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
7683 { "wxDateTime_ResetTime", (PyCFunction
) _wrap_wxDateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
7684 { "wxDateTime_Set", (PyCFunction
) _wrap_wxDateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
7685 { "wxDateTime_SetHMS", (PyCFunction
) _wrap_wxDateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
7686 { "wxDateTime_SetJDN", (PyCFunction
) _wrap_wxDateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7687 { "wxDateTime_SetTimeT", (PyCFunction
) _wrap_wxDateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7688 { "wxDateTime_SetToCurrent", (PyCFunction
) _wrap_wxDateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
7689 { "delete_wxDateTime", (PyCFunction
) _wrap_delete_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7690 { "new_wxDateTimeFromDMY", (PyCFunction
) _wrap_new_wxDateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
7691 { "new_wxDateTimeFromHMS", (PyCFunction
) _wrap_new_wxDateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
7692 { "new_wxDateTimeFromJDN", (PyCFunction
) _wrap_new_wxDateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
7693 { "new_wxDateTimeFromTimeT", (PyCFunction
) _wrap_new_wxDateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7694 { "new_wxDateTime", (PyCFunction
) _wrap_new_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7695 { "wxDateTime_Today", (PyCFunction
) _wrap_wxDateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
7696 { "wxDateTime_Now", (PyCFunction
) _wrap_wxDateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
7697 { "wxDateTime_GetEndDST", (PyCFunction
) _wrap_wxDateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
7698 { "wxDateTime_GetBeginDST", (PyCFunction
) _wrap_wxDateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
7699 { "wxDateTime_IsDSTApplicable", (PyCFunction
) _wrap_wxDateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
7700 { "wxDateTime_GetAmPmStrings", (PyCFunction
) _wrap_wxDateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
7701 { "wxDateTime_GetWeekDayName", (PyCFunction
) _wrap_wxDateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
7702 { "wxDateTime_GetMonthName", (PyCFunction
) _wrap_wxDateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
7703 { "wxDateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
7704 { "wxDateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
7705 { "wxDateTime_GetCentury", (PyCFunction
) _wrap_wxDateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
7706 { "wxDateTime_IsLeapYear", (PyCFunction
) _wrap_wxDateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
7707 { "wxDateTime_GetCurrentMonth", (PyCFunction
) _wrap_wxDateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
7708 { "wxDateTime_ConvertYearToBC", (PyCFunction
) _wrap_wxDateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
7709 { "wxDateTime_GetCurrentYear", (PyCFunction
) _wrap_wxDateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
7710 { "wxDateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_wxDateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
7711 { "wxDateTime_GetCountry", (PyCFunction
) _wrap_wxDateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7712 { "wxDateTime_SetCountry", (PyCFunction
) _wrap_wxDateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7713 { "delete_wxFileConfig", (PyCFunction
) _wrap_delete_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7714 { "new_wxFileConfig", (PyCFunction
) _wrap_new_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7715 { "delete_wxConfig", (PyCFunction
) _wrap_delete_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7716 { "new_wxConfig", (PyCFunction
) _wrap_new_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7717 { "wxConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7718 { "wxConfigBase_RenameGroup", (PyCFunction
) _wrap_wxConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
7719 { "wxConfigBase_RenameEntry", (PyCFunction
) _wrap_wxConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
7720 { "wxConfigBase_GetEntryType", (PyCFunction
) _wrap_wxConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
7721 { "wxConfigBase_WriteBool", (PyCFunction
) _wrap_wxConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
7722 { "wxConfigBase_WriteFloat", (PyCFunction
) _wrap_wxConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
7723 { "wxConfigBase_WriteInt", (PyCFunction
) _wrap_wxConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
7724 { "wxConfigBase_Write", (PyCFunction
) _wrap_wxConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
7725 { "wxConfigBase_GetStyle", (PyCFunction
) _wrap_wxConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7726 { "wxConfigBase_SetStyle", (PyCFunction
) _wrap_wxConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7727 { "wxConfigBase_SetVendorName", (PyCFunction
) _wrap_wxConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7728 { "wxConfigBase_SetAppName", (PyCFunction
) _wrap_wxConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7729 { "wxConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_wxConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7730 { "wxConfigBase_SetPath", (PyCFunction
) _wrap_wxConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
7731 { "wxConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7732 { "wxConfigBase_ReadBool", (PyCFunction
) _wrap_wxConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
7733 { "wxConfigBase_ReadFloat", (PyCFunction
) _wrap_wxConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
7734 { "wxConfigBase_ReadInt", (PyCFunction
) _wrap_wxConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
7735 { "wxConfigBase_Read", (PyCFunction
) _wrap_wxConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
7736 { "wxConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_wxConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7737 { "wxConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_wxConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7738 { "wxConfigBase_HasGroup", (PyCFunction
) _wrap_wxConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
7739 { "wxConfigBase_HasEntry", (PyCFunction
) _wrap_wxConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
7740 { "wxConfigBase_GetVendorName", (PyCFunction
) _wrap_wxConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7741 { "wxConfigBase_GetPath", (PyCFunction
) _wrap_wxConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
7742 { "wxConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
7743 { "wxConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
7744 { "wxConfigBase_GetNextEntry", (PyCFunction
) _wrap_wxConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
7745 { "wxConfigBase_GetNextGroup", (PyCFunction
) _wrap_wxConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
7746 { "wxConfigBase_GetFirstEntry", (PyCFunction
) _wrap_wxConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
7747 { "wxConfigBase_GetFirstGroup", (PyCFunction
) _wrap_wxConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
7748 { "wxConfigBase_GetAppName", (PyCFunction
) _wrap_wxConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7749 { "wxConfigBase_Flush", (PyCFunction
) _wrap_wxConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
7750 { "wxConfigBase_Exists", (PyCFunction
) _wrap_wxConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
7751 { "wxConfigBase_DeleteGroup", (PyCFunction
) _wrap_wxConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
7752 { "wxConfigBase_DeleteEntry", (PyCFunction
) _wrap_wxConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
7753 { "wxConfigBase_DeleteAll", (PyCFunction
) _wrap_wxConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
7754 { "wxConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_wxConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
7755 { "wxConfigBase_Create", (PyCFunction
) _wrap_wxConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
7756 { "wxConfigBase_Get", (PyCFunction
) _wrap_wxConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
7757 { "wxConfigBase_Set", (PyCFunction
) _wrap_wxConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
7758 { "delete_wxConfigBase", (PyCFunction
) _wrap_delete_wxConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
7759 { "wxGetLocalTimeMillis", (PyCFunction
) _wrap_wxGetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
7760 { "wxGetCurrentTime", (PyCFunction
) _wrap_wxGetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
7761 { "wxGetUTCTime", (PyCFunction
) _wrap_wxGetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
7762 { "wxGetLocalTime", (PyCFunction
) _wrap_wxGetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
7769 * This table is used by the pointer type-checker
7771 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7772 { "_signed_long","_long",0},
7773 { "_wxPrintQuality","_wxCoord",0},
7774 { "_wxPrintQuality","_int",0},
7775 { "_wxPrintQuality","_signed_int",0},
7776 { "_wxPrintQuality","_unsigned_int",0},
7777 { "_wxPrintQuality","_wxWindowID",0},
7778 { "_wxPrintQuality","_uint",0},
7779 { "_wxPrintQuality","_EBool",0},
7780 { "_wxPrintQuality","_size_t",0},
7781 { "_wxPrintQuality","_time_t",0},
7782 { "_byte","_unsigned_char",0},
7783 { "_long","_unsigned_long",0},
7784 { "_long","_signed_long",0},
7785 { "_size_t","_wxCoord",0},
7786 { "_size_t","_wxPrintQuality",0},
7787 { "_size_t","_time_t",0},
7788 { "_size_t","_unsigned_int",0},
7789 { "_size_t","_int",0},
7790 { "_size_t","_wxWindowID",0},
7791 { "_size_t","_uint",0},
7792 { "_uint","_wxCoord",0},
7793 { "_uint","_wxPrintQuality",0},
7794 { "_uint","_time_t",0},
7795 { "_uint","_size_t",0},
7796 { "_uint","_unsigned_int",0},
7797 { "_uint","_int",0},
7798 { "_uint","_wxWindowID",0},
7799 { "_wxChar","_char",0},
7800 { "_char","_wxChar",0},
7801 { "_EBool","_wxCoord",0},
7802 { "_EBool","_wxPrintQuality",0},
7803 { "_EBool","_signed_int",0},
7804 { "_EBool","_int",0},
7805 { "_EBool","_wxWindowID",0},
7806 { "_unsigned_long","_long",0},
7807 { "_signed_int","_wxCoord",0},
7808 { "_signed_int","_wxPrintQuality",0},
7809 { "_signed_int","_EBool",0},
7810 { "_signed_int","_wxWindowID",0},
7811 { "_signed_int","_int",0},
7812 { "_WXTYPE","_wxDateTime_t",0},
7813 { "_WXTYPE","_short",0},
7814 { "_WXTYPE","_signed_short",0},
7815 { "_WXTYPE","_unsigned_short",0},
7816 { "_unsigned_short","_wxDateTime_t",0},
7817 { "_unsigned_short","_WXTYPE",0},
7818 { "_unsigned_short","_short",0},
7819 { "_signed_short","_WXTYPE",0},
7820 { "_signed_short","_short",0},
7821 { "_unsigned_char","_byte",0},
7822 { "_unsigned_int","_wxCoord",0},
7823 { "_unsigned_int","_wxPrintQuality",0},
7824 { "_unsigned_int","_time_t",0},
7825 { "_unsigned_int","_size_t",0},
7826 { "_unsigned_int","_uint",0},
7827 { "_unsigned_int","_wxWindowID",0},
7828 { "_unsigned_int","_int",0},
7829 { "_wxConfigBase","_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7830 { "_wxConfigBase","_wxConfig",SwigwxConfigTowxConfigBase
},
7831 { "_short","_wxDateTime_t",0},
7832 { "_short","_WXTYPE",0},
7833 { "_short","_unsigned_short",0},
7834 { "_short","_signed_short",0},
7835 { "_wxWindowID","_wxCoord",0},
7836 { "_wxWindowID","_wxPrintQuality",0},
7837 { "_wxWindowID","_time_t",0},
7838 { "_wxWindowID","_size_t",0},
7839 { "_wxWindowID","_EBool",0},
7840 { "_wxWindowID","_uint",0},
7841 { "_wxWindowID","_int",0},
7842 { "_wxWindowID","_signed_int",0},
7843 { "_wxWindowID","_unsigned_int",0},
7844 { "_int","_wxCoord",0},
7845 { "_int","_wxPrintQuality",0},
7846 { "_int","_time_t",0},
7847 { "_int","_size_t",0},
7848 { "_int","_EBool",0},
7849 { "_int","_uint",0},
7850 { "_int","_wxWindowID",0},
7851 { "_int","_unsigned_int",0},
7852 { "_int","_signed_int",0},
7853 { "_wxDateTime_t","_unsigned_short",0},
7854 { "_wxDateTime_t","_short",0},
7855 { "_wxDateTime_t","_WXTYPE",0},
7856 { "_time_t","_wxCoord",0},
7857 { "_time_t","_wxPrintQuality",0},
7858 { "_time_t","_unsigned_int",0},
7859 { "_time_t","_int",0},
7860 { "_time_t","_wxWindowID",0},
7861 { "_time_t","_uint",0},
7862 { "_time_t","_size_t",0},
7863 { "_wxCoord","_int",0},
7864 { "_wxCoord","_signed_int",0},
7865 { "_wxCoord","_unsigned_int",0},
7866 { "_wxCoord","_wxWindowID",0},
7867 { "_wxCoord","_uint",0},
7868 { "_wxCoord","_EBool",0},
7869 { "_wxCoord","_size_t",0},
7870 { "_wxCoord","_time_t",0},
7871 { "_wxCoord","_wxPrintQuality",0},
7874 static PyObject
*SWIG_globals
;
7878 SWIGEXPORT(void) initutilsc() {
7880 SWIG_globals
= SWIG_newvarlink();
7881 m
= Py_InitModule("utilsc", utilscMethods
);
7882 d
= PyModule_GetDict(m
);
7883 PyDict_SetItemString(d
,"wxCONFIG_USE_LOCAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_LOCAL_FILE
));
7884 PyDict_SetItemString(d
,"wxCONFIG_USE_GLOBAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_GLOBAL_FILE
));
7885 PyDict_SetItemString(d
,"wxCONFIG_USE_RELATIVE_PATH", PyInt_FromLong((long) wxCONFIG_USE_RELATIVE_PATH
));
7887 wxClassInfo::CleanUpClasses();
7888 wxClassInfo::InitializeClasses();
7889 PyDict_SetItemString(d
,"wxConfigBase_Type_Unknown", PyInt_FromLong((long) wxConfigBase::Type_Unknown
));
7890 PyDict_SetItemString(d
,"wxConfigBase_Type_String", PyInt_FromLong((long) wxConfigBase::Type_String
));
7891 PyDict_SetItemString(d
,"wxConfigBase_Type_Boolean", PyInt_FromLong((long) wxConfigBase::Type_Boolean
));
7892 PyDict_SetItemString(d
,"wxConfigBase_Type_Integer", PyInt_FromLong((long) wxConfigBase::Type_Integer
));
7893 PyDict_SetItemString(d
,"wxConfigBase_Type_Float", PyInt_FromLong((long) wxConfigBase::Type_Float
));
7894 PyDict_SetItemString(d
,"wxDateTime_Local", PyInt_FromLong((long) wxDateTime::Local
));
7895 PyDict_SetItemString(d
,"wxDateTime_GMT_12", PyInt_FromLong((long) wxDateTime::GMT_12
));
7896 PyDict_SetItemString(d
,"wxDateTime_GMT_11", PyInt_FromLong((long) wxDateTime::GMT_11
));
7897 PyDict_SetItemString(d
,"wxDateTime_GMT_10", PyInt_FromLong((long) wxDateTime::GMT_10
));
7898 PyDict_SetItemString(d
,"wxDateTime_GMT_9", PyInt_FromLong((long) wxDateTime::GMT_9
));
7899 PyDict_SetItemString(d
,"wxDateTime_GMT_8", PyInt_FromLong((long) wxDateTime::GMT_8
));
7900 PyDict_SetItemString(d
,"wxDateTime_GMT_7", PyInt_FromLong((long) wxDateTime::GMT_7
));
7901 PyDict_SetItemString(d
,"wxDateTime_GMT_6", PyInt_FromLong((long) wxDateTime::GMT_6
));
7902 PyDict_SetItemString(d
,"wxDateTime_GMT_5", PyInt_FromLong((long) wxDateTime::GMT_5
));
7903 PyDict_SetItemString(d
,"wxDateTime_GMT_4", PyInt_FromLong((long) wxDateTime::GMT_4
));
7904 PyDict_SetItemString(d
,"wxDateTime_GMT_3", PyInt_FromLong((long) wxDateTime::GMT_3
));
7905 PyDict_SetItemString(d
,"wxDateTime_GMT_2", PyInt_FromLong((long) wxDateTime::GMT_2
));
7906 PyDict_SetItemString(d
,"wxDateTime_GMT_1", PyInt_FromLong((long) wxDateTime::GMT_1
));
7907 PyDict_SetItemString(d
,"wxDateTime_GMT0", PyInt_FromLong((long) wxDateTime::GMT0
));
7908 PyDict_SetItemString(d
,"wxDateTime_GMT1", PyInt_FromLong((long) wxDateTime::GMT1
));
7909 PyDict_SetItemString(d
,"wxDateTime_GMT2", PyInt_FromLong((long) wxDateTime::GMT2
));
7910 PyDict_SetItemString(d
,"wxDateTime_GMT3", PyInt_FromLong((long) wxDateTime::GMT3
));
7911 PyDict_SetItemString(d
,"wxDateTime_GMT4", PyInt_FromLong((long) wxDateTime::GMT4
));
7912 PyDict_SetItemString(d
,"wxDateTime_GMT5", PyInt_FromLong((long) wxDateTime::GMT5
));
7913 PyDict_SetItemString(d
,"wxDateTime_GMT6", PyInt_FromLong((long) wxDateTime::GMT6
));
7914 PyDict_SetItemString(d
,"wxDateTime_GMT7", PyInt_FromLong((long) wxDateTime::GMT7
));
7915 PyDict_SetItemString(d
,"wxDateTime_GMT8", PyInt_FromLong((long) wxDateTime::GMT8
));
7916 PyDict_SetItemString(d
,"wxDateTime_GMT9", PyInt_FromLong((long) wxDateTime::GMT9
));
7917 PyDict_SetItemString(d
,"wxDateTime_GMT10", PyInt_FromLong((long) wxDateTime::GMT10
));
7918 PyDict_SetItemString(d
,"wxDateTime_GMT11", PyInt_FromLong((long) wxDateTime::GMT11
));
7919 PyDict_SetItemString(d
,"wxDateTime_GMT12", PyInt_FromLong((long) wxDateTime::GMT12
));
7920 PyDict_SetItemString(d
,"wxDateTime_WET", PyInt_FromLong((long) wxDateTime::WET
));
7921 PyDict_SetItemString(d
,"wxDateTime_WEST", PyInt_FromLong((long) wxDateTime::WEST
));
7922 PyDict_SetItemString(d
,"wxDateTime_CET", PyInt_FromLong((long) wxDateTime::CET
));
7923 PyDict_SetItemString(d
,"wxDateTime_CEST", PyInt_FromLong((long) wxDateTime::CEST
));
7924 PyDict_SetItemString(d
,"wxDateTime_EET", PyInt_FromLong((long) wxDateTime::EET
));
7925 PyDict_SetItemString(d
,"wxDateTime_EEST", PyInt_FromLong((long) wxDateTime::EEST
));
7926 PyDict_SetItemString(d
,"wxDateTime_MSK", PyInt_FromLong((long) wxDateTime::MSK
));
7927 PyDict_SetItemString(d
,"wxDateTime_MSD", PyInt_FromLong((long) wxDateTime::MSD
));
7928 PyDict_SetItemString(d
,"wxDateTime_AST", PyInt_FromLong((long) wxDateTime::AST
));
7929 PyDict_SetItemString(d
,"wxDateTime_ADT", PyInt_FromLong((long) wxDateTime::ADT
));
7930 PyDict_SetItemString(d
,"wxDateTime_EST", PyInt_FromLong((long) wxDateTime::EST
));
7931 PyDict_SetItemString(d
,"wxDateTime_EDT", PyInt_FromLong((long) wxDateTime::EDT
));
7932 PyDict_SetItemString(d
,"wxDateTime_CST", PyInt_FromLong((long) wxDateTime::CST
));
7933 PyDict_SetItemString(d
,"wxDateTime_CDT", PyInt_FromLong((long) wxDateTime::CDT
));
7934 PyDict_SetItemString(d
,"wxDateTime_MST", PyInt_FromLong((long) wxDateTime::MST
));
7935 PyDict_SetItemString(d
,"wxDateTime_MDT", PyInt_FromLong((long) wxDateTime::MDT
));
7936 PyDict_SetItemString(d
,"wxDateTime_PST", PyInt_FromLong((long) wxDateTime::PST
));
7937 PyDict_SetItemString(d
,"wxDateTime_PDT", PyInt_FromLong((long) wxDateTime::PDT
));
7938 PyDict_SetItemString(d
,"wxDateTime_HST", PyInt_FromLong((long) wxDateTime::HST
));
7939 PyDict_SetItemString(d
,"wxDateTime_AKST", PyInt_FromLong((long) wxDateTime::AKST
));
7940 PyDict_SetItemString(d
,"wxDateTime_AKDT", PyInt_FromLong((long) wxDateTime::AKDT
));
7941 PyDict_SetItemString(d
,"wxDateTime_A_WST", PyInt_FromLong((long) wxDateTime::A_WST
));
7942 PyDict_SetItemString(d
,"wxDateTime_A_CST", PyInt_FromLong((long) wxDateTime::A_CST
));
7943 PyDict_SetItemString(d
,"wxDateTime_A_EST", PyInt_FromLong((long) wxDateTime::A_EST
));
7944 PyDict_SetItemString(d
,"wxDateTime_A_ESST", PyInt_FromLong((long) wxDateTime::A_ESST
));
7945 PyDict_SetItemString(d
,"wxDateTime_UTC", PyInt_FromLong((long) wxDateTime::UTC
));
7946 PyDict_SetItemString(d
,"wxDateTime_Gregorian", PyInt_FromLong((long) wxDateTime::Gregorian
));
7947 PyDict_SetItemString(d
,"wxDateTime_Julian", PyInt_FromLong((long) wxDateTime::Julian
));
7948 PyDict_SetItemString(d
,"wxDateTime_Country_Unknown", PyInt_FromLong((long) wxDateTime::Country_Unknown
));
7949 PyDict_SetItemString(d
,"wxDateTime_Country_Default", PyInt_FromLong((long) wxDateTime::Country_Default
));
7950 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_Start", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_Start
));
7951 PyDict_SetItemString(d
,"wxDateTime_Country_EEC", PyInt_FromLong((long) wxDateTime::Country_EEC
));
7952 PyDict_SetItemString(d
,"wxDateTime_France", PyInt_FromLong((long) wxDateTime::France
));
7953 PyDict_SetItemString(d
,"wxDateTime_Germany", PyInt_FromLong((long) wxDateTime::Germany
));
7954 PyDict_SetItemString(d
,"wxDateTime_UK", PyInt_FromLong((long) wxDateTime::UK
));
7955 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_End", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_End
));
7956 PyDict_SetItemString(d
,"wxDateTime_Russia", PyInt_FromLong((long) wxDateTime::Russia
));
7957 PyDict_SetItemString(d
,"wxDateTime_USA", PyInt_FromLong((long) wxDateTime::USA
));
7958 PyDict_SetItemString(d
,"wxDateTime_Jan", PyInt_FromLong((long) wxDateTime::Jan
));
7959 PyDict_SetItemString(d
,"wxDateTime_Feb", PyInt_FromLong((long) wxDateTime::Feb
));
7960 PyDict_SetItemString(d
,"wxDateTime_Mar", PyInt_FromLong((long) wxDateTime::Mar
));
7961 PyDict_SetItemString(d
,"wxDateTime_Apr", PyInt_FromLong((long) wxDateTime::Apr
));
7962 PyDict_SetItemString(d
,"wxDateTime_May", PyInt_FromLong((long) wxDateTime::May
));
7963 PyDict_SetItemString(d
,"wxDateTime_Jun", PyInt_FromLong((long) wxDateTime::Jun
));
7964 PyDict_SetItemString(d
,"wxDateTime_Jul", PyInt_FromLong((long) wxDateTime::Jul
));
7965 PyDict_SetItemString(d
,"wxDateTime_Aug", PyInt_FromLong((long) wxDateTime::Aug
));
7966 PyDict_SetItemString(d
,"wxDateTime_Sep", PyInt_FromLong((long) wxDateTime::Sep
));
7967 PyDict_SetItemString(d
,"wxDateTime_Oct", PyInt_FromLong((long) wxDateTime::Oct
));
7968 PyDict_SetItemString(d
,"wxDateTime_Nov", PyInt_FromLong((long) wxDateTime::Nov
));
7969 PyDict_SetItemString(d
,"wxDateTime_Dec", PyInt_FromLong((long) wxDateTime::Dec
));
7970 PyDict_SetItemString(d
,"wxDateTime_Inv_Month", PyInt_FromLong((long) wxDateTime::Inv_Month
));
7971 PyDict_SetItemString(d
,"wxDateTime_Sun", PyInt_FromLong((long) wxDateTime::Sun
));
7972 PyDict_SetItemString(d
,"wxDateTime_Mon", PyInt_FromLong((long) wxDateTime::Mon
));
7973 PyDict_SetItemString(d
,"wxDateTime_Tue", PyInt_FromLong((long) wxDateTime::Tue
));
7974 PyDict_SetItemString(d
,"wxDateTime_Wed", PyInt_FromLong((long) wxDateTime::Wed
));
7975 PyDict_SetItemString(d
,"wxDateTime_Thu", PyInt_FromLong((long) wxDateTime::Thu
));
7976 PyDict_SetItemString(d
,"wxDateTime_Fri", PyInt_FromLong((long) wxDateTime::Fri
));
7977 PyDict_SetItemString(d
,"wxDateTime_Sat", PyInt_FromLong((long) wxDateTime::Sat
));
7978 PyDict_SetItemString(d
,"wxDateTime_Inv_WeekDay", PyInt_FromLong((long) wxDateTime::Inv_WeekDay
));
7979 PyDict_SetItemString(d
,"wxDateTime_Inv_Year", PyInt_FromLong((long) wxDateTime::Inv_Year
));
7980 PyDict_SetItemString(d
,"wxDateTime_Name_Full", PyInt_FromLong((long) wxDateTime::Name_Full
));
7981 PyDict_SetItemString(d
,"wxDateTime_Name_Abbr", PyInt_FromLong((long) wxDateTime::Name_Abbr
));
7982 PyDict_SetItemString(d
,"wxDateTime_Default_First", PyInt_FromLong((long) wxDateTime::Default_First
));
7983 PyDict_SetItemString(d
,"wxDateTime_Monday_First", PyInt_FromLong((long) wxDateTime::Monday_First
));
7984 PyDict_SetItemString(d
,"wxDateTime_Sunday_First", PyInt_FromLong((long) wxDateTime::Sunday_First
));
7987 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7988 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);