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>
64 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
70 } else if (target
== Py_None
) {
74 if (!PyTuple_Check(target
)) {
76 target
= PyTuple_New(1);
77 PyTuple_SetItem(target
, 0, o2
);
80 PyTuple_SetItem(o3
, 0, o
);
83 target
= PySequence_Concat(o2
, o3
);
90 #if PYTHON_API_VERSION >= 1009
91 static char* wxStringErrorMsg
= "String or Unicode type required";
93 static char* wxStringErrorMsg
= "String type required";
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
));
100 PyTuple_SET_ITEM(ret
, 1, PyString_FromString(str
));
101 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
106 #define LOCAL *(new wxDateTime::TimeZone(wxDateTime::Local))
110 static PyObject
*_wrap_wxGetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
111 PyObject
* _resultobj
;
113 char *_kwnames
[] = { NULL
};
116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocalTime",_kwnames
))
119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
120 _result
= (long )wxGetLocalTime();
122 wxPyEndAllowThreads(__tstate
);
123 if (PyErr_Occurred()) return NULL
;
124 } _resultobj
= Py_BuildValue("l",_result
);
128 static PyObject
*_wrap_wxGetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
129 PyObject
* _resultobj
;
131 char *_kwnames
[] = { NULL
};
134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUTCTime",_kwnames
))
137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
138 _result
= (long )wxGetUTCTime();
140 wxPyEndAllowThreads(__tstate
);
141 if (PyErr_Occurred()) return NULL
;
142 } _resultobj
= Py_BuildValue("l",_result
);
146 static PyObject
*_wrap_wxGetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
147 PyObject
* _resultobj
;
149 char *_kwnames
[] = { NULL
};
152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentTime",_kwnames
))
155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
156 _result
= (long )wxGetCurrentTime();
158 wxPyEndAllowThreads(__tstate
);
159 if (PyErr_Occurred()) return NULL
;
160 } _resultobj
= Py_BuildValue("l",_result
);
164 static PyObject
*_wrap_wxGetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
165 PyObject
* _resultobj
;
166 wxLongLong
* _result
;
167 char *_kwnames
[] = { NULL
};
170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocalTimeMillis",_kwnames
))
173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
174 _result
= new wxLongLong (wxGetLocalTimeMillis());
176 wxPyEndAllowThreads(__tstate
);
177 if (PyErr_Occurred()) return NULL
;
179 PyObject
*hi
, *lo
, *shifter
, *shifted
;
180 hi
= PyLong_FromLong(_result
->GetHi());
181 lo
= PyLong_FromLong(_result
->GetLo());
182 shifter
= PyLong_FromLong(32);
183 shifted
= PyNumber_Lshift(hi
, shifter
);
184 _resultobj
= PyNumber_Or(shifted
, lo
);
193 #define delete_wxConfigBase(_swigobj) (delete _swigobj)
194 static PyObject
*_wrap_delete_wxConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
195 PyObject
* _resultobj
;
196 wxConfigBase
* _arg0
;
197 PyObject
* _argo0
= 0;
198 char *_kwnames
[] = { "self", NULL
};
201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxConfigBase",_kwnames
,&_argo0
))
204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxConfigBase. Expected _wxConfigBase_p.");
211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
212 delete_wxConfigBase(_arg0
);
214 wxPyEndAllowThreads(__tstate
);
215 if (PyErr_Occurred()) return NULL
;
216 } Py_INCREF(Py_None
);
217 _resultobj
= Py_None
;
221 static PyObject
*_wrap_wxConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
222 PyObject
* _resultobj
;
223 wxConfigBase
* _result
;
224 wxConfigBase
* _arg0
;
225 PyObject
* _argo0
= 0;
226 char *_kwnames
[] = { "pConfig", NULL
};
230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_Set",_kwnames
,&_argo0
))
233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Set. Expected _wxConfigBase_p.");
240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
241 _result
= (wxConfigBase
*)wxConfigBase::Set(_arg0
);
243 wxPyEndAllowThreads(__tstate
);
244 if (PyErr_Occurred()) return NULL
;
246 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
247 _resultobj
= Py_BuildValue("s",_ptemp
);
250 _resultobj
= Py_None
;
255 static PyObject
*_wrap_wxConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
256 PyObject
* _resultobj
;
257 wxConfigBase
* _result
;
258 bool _arg0
= (bool ) TRUE
;
259 int tempbool0
= (int) TRUE
;
260 char *_kwnames
[] = { "createOnDemand", NULL
};
264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxConfigBase_Get",_kwnames
,&tempbool0
))
266 _arg0
= (bool ) tempbool0
;
268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
269 _result
= (wxConfigBase
*)wxConfigBase::Get(_arg0
);
271 wxPyEndAllowThreads(__tstate
);
272 if (PyErr_Occurred()) return NULL
;
274 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
275 _resultobj
= Py_BuildValue("s",_ptemp
);
278 _resultobj
= Py_None
;
283 static PyObject
*_wrap_wxConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
284 PyObject
* _resultobj
;
285 wxConfigBase
* _result
;
286 char *_kwnames
[] = { NULL
};
290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxConfigBase_Create",_kwnames
))
293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
294 _result
= (wxConfigBase
*)wxConfigBase::Create();
296 wxPyEndAllowThreads(__tstate
);
297 if (PyErr_Occurred()) return NULL
;
299 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
300 _resultobj
= Py_BuildValue("s",_ptemp
);
303 _resultobj
= Py_None
;
308 static PyObject
*_wrap_wxConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
309 PyObject
* _resultobj
;
310 char *_kwnames
[] = { NULL
};
313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxConfigBase_DontCreateOnDemand",_kwnames
))
316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
317 wxConfigBase::DontCreateOnDemand();
319 wxPyEndAllowThreads(__tstate
);
320 if (PyErr_Occurred()) return NULL
;
321 } Py_INCREF(Py_None
);
322 _resultobj
= Py_None
;
326 #define wxConfigBase_DeleteAll(_swigobj) (_swigobj->DeleteAll())
327 static PyObject
*_wrap_wxConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
328 PyObject
* _resultobj
;
330 wxConfigBase
* _arg0
;
331 PyObject
* _argo0
= 0;
332 char *_kwnames
[] = { "self", NULL
};
335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_DeleteAll",_kwnames
,&_argo0
))
338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteAll. Expected _wxConfigBase_p.");
345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
346 _result
= (bool )wxConfigBase_DeleteAll(_arg0
);
348 wxPyEndAllowThreads(__tstate
);
349 if (PyErr_Occurred()) return NULL
;
350 } _resultobj
= Py_BuildValue("i",_result
);
354 #define wxConfigBase_DeleteEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteEntry(_swigarg0,_swigarg1))
355 static PyObject
*_wrap_wxConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
356 PyObject
* _resultobj
;
358 wxConfigBase
* _arg0
;
360 bool _arg2
= (bool ) TRUE
;
361 PyObject
* _argo0
= 0;
362 PyObject
* _obj1
= 0;
363 int tempbool2
= (int) TRUE
;
364 char *_kwnames
[] = { "self","key","bDeleteGroupIfEmpty", NULL
};
367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxConfigBase_DeleteEntry",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteEntry. Expected _wxConfigBase_p.");
377 #if PYTHON_API_VERSION >= 1009
378 char* tmpPtr
; int tmpSize
;
379 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
380 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
383 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
385 _arg1
= new wxString(tmpPtr
, tmpSize
);
387 if (!PyString_Check(_obj1
)) {
388 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
391 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
394 _arg2
= (bool ) tempbool2
;
396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
397 _result
= (bool )wxConfigBase_DeleteEntry(_arg0
,*_arg1
,_arg2
);
399 wxPyEndAllowThreads(__tstate
);
400 if (PyErr_Occurred()) return NULL
;
401 } _resultobj
= Py_BuildValue("i",_result
);
409 #define wxConfigBase_DeleteGroup(_swigobj,_swigarg0) (_swigobj->DeleteGroup(_swigarg0))
410 static PyObject
*_wrap_wxConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
411 PyObject
* _resultobj
;
413 wxConfigBase
* _arg0
;
415 PyObject
* _argo0
= 0;
416 PyObject
* _obj1
= 0;
417 char *_kwnames
[] = { "self","key", NULL
};
420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_DeleteGroup",_kwnames
,&_argo0
,&_obj1
))
423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteGroup. Expected _wxConfigBase_p.");
430 #if PYTHON_API_VERSION >= 1009
431 char* tmpPtr
; int tmpSize
;
432 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
433 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
436 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
438 _arg1
= new wxString(tmpPtr
, tmpSize
);
440 if (!PyString_Check(_obj1
)) {
441 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
444 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
449 _result
= (bool )wxConfigBase_DeleteGroup(_arg0
,*_arg1
);
451 wxPyEndAllowThreads(__tstate
);
452 if (PyErr_Occurred()) return NULL
;
453 } _resultobj
= Py_BuildValue("i",_result
);
461 #define wxConfigBase_Exists(_swigobj,_swigarg0) (_swigobj->Exists(_swigarg0))
462 static PyObject
*_wrap_wxConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
463 PyObject
* _resultobj
;
465 wxConfigBase
* _arg0
;
467 PyObject
* _argo0
= 0;
468 PyObject
* _obj1
= 0;
469 char *_kwnames
[] = { "self","strName", NULL
};
472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_Exists",_kwnames
,&_argo0
,&_obj1
))
475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Exists. Expected _wxConfigBase_p.");
482 #if PYTHON_API_VERSION >= 1009
483 char* tmpPtr
; int tmpSize
;
484 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
485 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
488 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
490 _arg1
= new wxString(tmpPtr
, tmpSize
);
492 if (!PyString_Check(_obj1
)) {
493 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
496 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
501 _result
= (bool )wxConfigBase_Exists(_arg0
,*_arg1
);
503 wxPyEndAllowThreads(__tstate
);
504 if (PyErr_Occurred()) return NULL
;
505 } _resultobj
= Py_BuildValue("i",_result
);
513 #define wxConfigBase_Flush(_swigobj,_swigarg0) (_swigobj->Flush(_swigarg0))
514 static PyObject
*_wrap_wxConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
515 PyObject
* _resultobj
;
517 wxConfigBase
* _arg0
;
518 bool _arg1
= (bool ) FALSE
;
519 PyObject
* _argo0
= 0;
520 int tempbool1
= (int) FALSE
;
521 char *_kwnames
[] = { "self","bCurrentOnly", NULL
};
524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_Flush",_kwnames
,&_argo0
,&tempbool1
))
527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Flush. Expected _wxConfigBase_p.");
533 _arg1
= (bool ) tempbool1
;
535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
536 _result
= (bool )wxConfigBase_Flush(_arg0
,_arg1
);
538 wxPyEndAllowThreads(__tstate
);
539 if (PyErr_Occurred()) return NULL
;
540 } _resultobj
= Py_BuildValue("i",_result
);
544 #define wxConfigBase_GetAppName(_swigobj) (_swigobj->GetAppName())
545 static PyObject
*_wrap_wxConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
546 PyObject
* _resultobj
;
548 wxConfigBase
* _arg0
;
549 PyObject
* _argo0
= 0;
550 char *_kwnames
[] = { "self", NULL
};
553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetAppName",_kwnames
,&_argo0
))
556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetAppName. Expected _wxConfigBase_p.");
563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
564 _result
= new wxString (wxConfigBase_GetAppName(_arg0
));
566 wxPyEndAllowThreads(__tstate
);
567 if (PyErr_Occurred()) return NULL
;
569 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
577 static PyObject
* wxConfigBase_GetFirstGroup(wxConfigBase
*self
) {
582 cont
= self
->GetFirstGroup(value
, index
);
583 return __EnumerationHelper(cont
, value
, index
);
585 static PyObject
*_wrap_wxConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
586 PyObject
* _resultobj
;
588 wxConfigBase
* _arg0
;
589 PyObject
* _argo0
= 0;
590 char *_kwnames
[] = { "self", NULL
};
593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetFirstGroup",_kwnames
,&_argo0
))
596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetFirstGroup. Expected _wxConfigBase_p.");
603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
604 _result
= (PyObject
*)wxConfigBase_GetFirstGroup(_arg0
);
606 wxPyEndAllowThreads(__tstate
);
607 if (PyErr_Occurred()) return NULL
;
609 _resultobj
= _result
;
614 static PyObject
* wxConfigBase_GetFirstEntry(wxConfigBase
*self
) {
619 cont
= self
->GetFirstEntry(value
, index
);
620 return __EnumerationHelper(cont
, value
, index
);
622 static PyObject
*_wrap_wxConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
623 PyObject
* _resultobj
;
625 wxConfigBase
* _arg0
;
626 PyObject
* _argo0
= 0;
627 char *_kwnames
[] = { "self", NULL
};
630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetFirstEntry",_kwnames
,&_argo0
))
633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetFirstEntry. Expected _wxConfigBase_p.");
640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
641 _result
= (PyObject
*)wxConfigBase_GetFirstEntry(_arg0
);
643 wxPyEndAllowThreads(__tstate
);
644 if (PyErr_Occurred()) return NULL
;
646 _resultobj
= _result
;
651 static PyObject
* wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
) {
655 cont
= self
->GetNextGroup(value
, index
);
656 return __EnumerationHelper(cont
, value
, index
);
658 static PyObject
*_wrap_wxConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
659 PyObject
* _resultobj
;
661 wxConfigBase
* _arg0
;
663 PyObject
* _argo0
= 0;
664 char *_kwnames
[] = { "self","index", NULL
};
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_GetNextGroup",_kwnames
,&_argo0
,&_arg1
))
670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNextGroup. Expected _wxConfigBase_p.");
677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
678 _result
= (PyObject
*)wxConfigBase_GetNextGroup(_arg0
,_arg1
);
680 wxPyEndAllowThreads(__tstate
);
681 if (PyErr_Occurred()) return NULL
;
683 _resultobj
= _result
;
688 static PyObject
* wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
) {
692 cont
= self
->GetNextEntry(value
, index
);
693 return __EnumerationHelper(cont
, value
, index
);
695 static PyObject
*_wrap_wxConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
696 PyObject
* _resultobj
;
698 wxConfigBase
* _arg0
;
700 PyObject
* _argo0
= 0;
701 char *_kwnames
[] = { "self","index", NULL
};
704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_GetNextEntry",_kwnames
,&_argo0
,&_arg1
))
707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNextEntry. Expected _wxConfigBase_p.");
714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
715 _result
= (PyObject
*)wxConfigBase_GetNextEntry(_arg0
,_arg1
);
717 wxPyEndAllowThreads(__tstate
);
718 if (PyErr_Occurred()) return NULL
;
720 _resultobj
= _result
;
725 #define wxConfigBase_GetNumberOfEntries(_swigobj,_swigarg0) (_swigobj->GetNumberOfEntries(_swigarg0))
726 static PyObject
*_wrap_wxConfigBase_GetNumberOfEntries(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_GetNumberOfEntries",_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_GetNumberOfEntries. Expected _wxConfigBase_p.");
745 _arg1
= (bool ) tempbool1
;
747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
748 _result
= (int )wxConfigBase_GetNumberOfEntries(_arg0
,_arg1
);
750 wxPyEndAllowThreads(__tstate
);
751 if (PyErr_Occurred()) return NULL
;
752 } _resultobj
= Py_BuildValue("i",_result
);
756 #define wxConfigBase_GetNumberOfGroups(_swigobj,_swigarg0) (_swigobj->GetNumberOfGroups(_swigarg0))
757 static PyObject
*_wrap_wxConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
758 PyObject
* _resultobj
;
760 wxConfigBase
* _arg0
;
761 bool _arg1
= (bool ) FALSE
;
762 PyObject
* _argo0
= 0;
763 int tempbool1
= (int) FALSE
;
764 char *_kwnames
[] = { "self","bRecursive", NULL
};
767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_GetNumberOfGroups",_kwnames
,&_argo0
,&tempbool1
))
770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNumberOfGroups. Expected _wxConfigBase_p.");
776 _arg1
= (bool ) tempbool1
;
778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
779 _result
= (int )wxConfigBase_GetNumberOfGroups(_arg0
,_arg1
);
781 wxPyEndAllowThreads(__tstate
);
782 if (PyErr_Occurred()) return NULL
;
783 } _resultobj
= Py_BuildValue("i",_result
);
787 #define wxConfigBase_GetPath(_swigobj) (_swigobj->GetPath())
788 static PyObject
*_wrap_wxConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
789 PyObject
* _resultobj
;
791 wxConfigBase
* _arg0
;
792 PyObject
* _argo0
= 0;
793 char *_kwnames
[] = { "self", NULL
};
796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetPath",_kwnames
,&_argo0
))
799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetPath. Expected _wxConfigBase_p.");
806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
807 _result
= new wxString (wxConfigBase_GetPath(_arg0
));
809 wxPyEndAllowThreads(__tstate
);
810 if (PyErr_Occurred()) return NULL
;
812 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
820 #define wxConfigBase_GetVendorName(_swigobj) (_swigobj->GetVendorName())
821 static PyObject
*_wrap_wxConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
822 PyObject
* _resultobj
;
824 wxConfigBase
* _arg0
;
825 PyObject
* _argo0
= 0;
826 char *_kwnames
[] = { "self", NULL
};
829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetVendorName",_kwnames
,&_argo0
))
832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetVendorName. Expected _wxConfigBase_p.");
839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
840 _result
= new wxString (wxConfigBase_GetVendorName(_arg0
));
842 wxPyEndAllowThreads(__tstate
);
843 if (PyErr_Occurred()) return NULL
;
845 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
853 #define wxConfigBase_HasEntry(_swigobj,_swigarg0) (_swigobj->HasEntry(_swigarg0))
854 static PyObject
*_wrap_wxConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
855 PyObject
* _resultobj
;
857 wxConfigBase
* _arg0
;
859 PyObject
* _argo0
= 0;
860 PyObject
* _obj1
= 0;
861 char *_kwnames
[] = { "self","strName", NULL
};
864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_HasEntry",_kwnames
,&_argo0
,&_obj1
))
867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_HasEntry. Expected _wxConfigBase_p.");
874 #if PYTHON_API_VERSION >= 1009
875 char* tmpPtr
; int tmpSize
;
876 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
877 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
880 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
882 _arg1
= new wxString(tmpPtr
, tmpSize
);
884 if (!PyString_Check(_obj1
)) {
885 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
888 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
893 _result
= (bool )wxConfigBase_HasEntry(_arg0
,*_arg1
);
895 wxPyEndAllowThreads(__tstate
);
896 if (PyErr_Occurred()) return NULL
;
897 } _resultobj
= Py_BuildValue("i",_result
);
905 #define wxConfigBase_HasGroup(_swigobj,_swigarg0) (_swigobj->HasGroup(_swigarg0))
906 static PyObject
*_wrap_wxConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
907 PyObject
* _resultobj
;
909 wxConfigBase
* _arg0
;
911 PyObject
* _argo0
= 0;
912 PyObject
* _obj1
= 0;
913 char *_kwnames
[] = { "self","strName", NULL
};
916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_HasGroup",_kwnames
,&_argo0
,&_obj1
))
919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_HasGroup. Expected _wxConfigBase_p.");
926 #if PYTHON_API_VERSION >= 1009
927 char* tmpPtr
; int tmpSize
;
928 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
929 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
932 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
934 _arg1
= new wxString(tmpPtr
, tmpSize
);
936 if (!PyString_Check(_obj1
)) {
937 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
940 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
945 _result
= (bool )wxConfigBase_HasGroup(_arg0
,*_arg1
);
947 wxPyEndAllowThreads(__tstate
);
948 if (PyErr_Occurred()) return NULL
;
949 } _resultobj
= Py_BuildValue("i",_result
);
957 #define wxConfigBase_IsExpandingEnvVars(_swigobj) (_swigobj->IsExpandingEnvVars())
958 static PyObject
*_wrap_wxConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
959 PyObject
* _resultobj
;
961 wxConfigBase
* _arg0
;
962 PyObject
* _argo0
= 0;
963 char *_kwnames
[] = { "self", NULL
};
966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_IsExpandingEnvVars",_kwnames
,&_argo0
))
969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_IsExpandingEnvVars. Expected _wxConfigBase_p.");
976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
977 _result
= (bool )wxConfigBase_IsExpandingEnvVars(_arg0
);
979 wxPyEndAllowThreads(__tstate
);
980 if (PyErr_Occurred()) return NULL
;
981 } _resultobj
= Py_BuildValue("i",_result
);
985 #define wxConfigBase_IsRecordingDefaults(_swigobj) (_swigobj->IsRecordingDefaults())
986 static PyObject
*_wrap_wxConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
987 PyObject
* _resultobj
;
989 wxConfigBase
* _arg0
;
990 PyObject
* _argo0
= 0;
991 char *_kwnames
[] = { "self", NULL
};
994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_IsRecordingDefaults",_kwnames
,&_argo0
))
997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_IsRecordingDefaults. Expected _wxConfigBase_p.");
1004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1005 _result
= (bool )wxConfigBase_IsRecordingDefaults(_arg0
);
1007 wxPyEndAllowThreads(__tstate
);
1008 if (PyErr_Occurred()) return NULL
;
1009 } _resultobj
= Py_BuildValue("i",_result
);
1013 #define wxConfigBase_Read(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
1014 static PyObject
*_wrap_wxConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1015 PyObject
* _resultobj
;
1017 wxConfigBase
* _arg0
;
1019 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1020 PyObject
* _argo0
= 0;
1021 PyObject
* _obj1
= 0;
1022 PyObject
* _obj2
= 0;
1023 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxConfigBase_Read",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Read. Expected _wxConfigBase_p.");
1036 #if PYTHON_API_VERSION >= 1009
1037 char* tmpPtr
; int tmpSize
;
1038 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1039 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1042 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1044 _arg1
= new wxString(tmpPtr
, tmpSize
);
1046 if (!PyString_Check(_obj1
)) {
1047 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1050 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1055 #if PYTHON_API_VERSION >= 1009
1056 char* tmpPtr
; int tmpSize
;
1057 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1058 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1061 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1063 _arg2
= new wxString(tmpPtr
, tmpSize
);
1065 if (!PyString_Check(_obj2
)) {
1066 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1069 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1074 _result
= new wxString (wxConfigBase_Read(_arg0
,*_arg1
,*_arg2
));
1076 wxPyEndAllowThreads(__tstate
);
1077 if (PyErr_Occurred()) return NULL
;
1079 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1095 static long wxConfigBase_ReadInt(wxConfigBase
*self
,const wxString
& key
,long defaultVal
) {
1097 self
->Read(key
, &rv
, defaultVal
);
1100 static PyObject
*_wrap_wxConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1101 PyObject
* _resultobj
;
1103 wxConfigBase
* _arg0
;
1105 long _arg2
= (long ) 0;
1106 PyObject
* _argo0
= 0;
1107 PyObject
* _obj1
= 0;
1108 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|l:wxConfigBase_ReadInt",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadInt. Expected _wxConfigBase_p.");
1121 #if PYTHON_API_VERSION >= 1009
1122 char* tmpPtr
; int tmpSize
;
1123 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1124 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1127 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1129 _arg1
= new wxString(tmpPtr
, tmpSize
);
1131 if (!PyString_Check(_obj1
)) {
1132 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1135 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1140 _result
= (long )wxConfigBase_ReadInt(_arg0
,*_arg1
,_arg2
);
1142 wxPyEndAllowThreads(__tstate
);
1143 if (PyErr_Occurred()) return NULL
;
1144 } _resultobj
= Py_BuildValue("l",_result
);
1152 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,const wxString
& key
,double defaultVal
) {
1154 self
->Read(key
, &rv
, defaultVal
);
1157 static PyObject
*_wrap_wxConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1158 PyObject
* _resultobj
;
1160 wxConfigBase
* _arg0
;
1162 double _arg2
= (double ) 0.0;
1163 PyObject
* _argo0
= 0;
1164 PyObject
* _obj1
= 0;
1165 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|d:wxConfigBase_ReadFloat",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
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_ReadFloat. Expected _wxConfigBase_p.");
1178 #if PYTHON_API_VERSION >= 1009
1179 char* tmpPtr
; int tmpSize
;
1180 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1181 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1184 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1186 _arg1
= new wxString(tmpPtr
, tmpSize
);
1188 if (!PyString_Check(_obj1
)) {
1189 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1192 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1197 _result
= (double )wxConfigBase_ReadFloat(_arg0
,*_arg1
,_arg2
);
1199 wxPyEndAllowThreads(__tstate
);
1200 if (PyErr_Occurred()) return NULL
;
1201 } _resultobj
= Py_BuildValue("d",_result
);
1209 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,const wxString
& key
,bool defaultVal
) {
1211 self
->Read(key
, &rv
, defaultVal
);
1214 static PyObject
*_wrap_wxConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1215 PyObject
* _resultobj
;
1217 wxConfigBase
* _arg0
;
1219 bool _arg2
= (bool ) FALSE
;
1220 PyObject
* _argo0
= 0;
1221 PyObject
* _obj1
= 0;
1222 int tempbool2
= (int) FALSE
;
1223 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxConfigBase_ReadBool",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadBool. Expected _wxConfigBase_p.");
1236 #if PYTHON_API_VERSION >= 1009
1237 char* tmpPtr
; int tmpSize
;
1238 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1239 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1242 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1244 _arg1
= new wxString(tmpPtr
, tmpSize
);
1246 if (!PyString_Check(_obj1
)) {
1247 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1250 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1253 _arg2
= (bool ) tempbool2
;
1255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1256 _result
= (bool )wxConfigBase_ReadBool(_arg0
,*_arg1
,_arg2
);
1258 wxPyEndAllowThreads(__tstate
);
1259 if (PyErr_Occurred()) return NULL
;
1260 } _resultobj
= Py_BuildValue("i",_result
);
1268 #define wxConfigBase_SetExpandEnvVars(_swigobj,_swigarg0) (_swigobj->SetExpandEnvVars(_swigarg0))
1269 static PyObject
*_wrap_wxConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1270 PyObject
* _resultobj
;
1271 wxConfigBase
* _arg0
;
1272 bool _arg1
= (bool ) TRUE
;
1273 PyObject
* _argo0
= 0;
1274 int tempbool1
= (int) TRUE
;
1275 char *_kwnames
[] = { "self","bDoIt", NULL
};
1278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_SetExpandEnvVars",_kwnames
,&_argo0
,&tempbool1
))
1281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetExpandEnvVars. Expected _wxConfigBase_p.");
1287 _arg1
= (bool ) tempbool1
;
1289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1290 wxConfigBase_SetExpandEnvVars(_arg0
,_arg1
);
1292 wxPyEndAllowThreads(__tstate
);
1293 if (PyErr_Occurred()) return NULL
;
1294 } Py_INCREF(Py_None
);
1295 _resultobj
= Py_None
;
1299 #define wxConfigBase_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1300 static PyObject
*_wrap_wxConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1301 PyObject
* _resultobj
;
1302 wxConfigBase
* _arg0
;
1304 PyObject
* _argo0
= 0;
1305 PyObject
* _obj1
= 0;
1306 char *_kwnames
[] = { "self","strPath", NULL
};
1309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetPath",_kwnames
,&_argo0
,&_obj1
))
1312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetPath. Expected _wxConfigBase_p.");
1319 #if PYTHON_API_VERSION >= 1009
1320 char* tmpPtr
; int tmpSize
;
1321 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1322 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1325 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1327 _arg1
= new wxString(tmpPtr
, tmpSize
);
1329 if (!PyString_Check(_obj1
)) {
1330 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1333 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1338 wxConfigBase_SetPath(_arg0
,*_arg1
);
1340 wxPyEndAllowThreads(__tstate
);
1341 if (PyErr_Occurred()) return NULL
;
1342 } Py_INCREF(Py_None
);
1343 _resultobj
= Py_None
;
1351 #define wxConfigBase_SetRecordDefaults(_swigobj,_swigarg0) (_swigobj->SetRecordDefaults(_swigarg0))
1352 static PyObject
*_wrap_wxConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1353 PyObject
* _resultobj
;
1354 wxConfigBase
* _arg0
;
1355 bool _arg1
= (bool ) TRUE
;
1356 PyObject
* _argo0
= 0;
1357 int tempbool1
= (int) TRUE
;
1358 char *_kwnames
[] = { "self","bDoIt", NULL
};
1361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_SetRecordDefaults",_kwnames
,&_argo0
,&tempbool1
))
1364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetRecordDefaults. Expected _wxConfigBase_p.");
1370 _arg1
= (bool ) tempbool1
;
1372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1373 wxConfigBase_SetRecordDefaults(_arg0
,_arg1
);
1375 wxPyEndAllowThreads(__tstate
);
1376 if (PyErr_Occurred()) return NULL
;
1377 } Py_INCREF(Py_None
);
1378 _resultobj
= Py_None
;
1382 #define wxConfigBase_SetAppName(_swigobj,_swigarg0) (_swigobj->SetAppName(_swigarg0))
1383 static PyObject
*_wrap_wxConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1384 PyObject
* _resultobj
;
1385 wxConfigBase
* _arg0
;
1387 PyObject
* _argo0
= 0;
1388 PyObject
* _obj1
= 0;
1389 char *_kwnames
[] = { "self","appName", NULL
};
1392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetAppName",_kwnames
,&_argo0
,&_obj1
))
1395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetAppName. Expected _wxConfigBase_p.");
1402 #if PYTHON_API_VERSION >= 1009
1403 char* tmpPtr
; int tmpSize
;
1404 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1405 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1408 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1410 _arg1
= new wxString(tmpPtr
, tmpSize
);
1412 if (!PyString_Check(_obj1
)) {
1413 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1416 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1421 wxConfigBase_SetAppName(_arg0
,*_arg1
);
1423 wxPyEndAllowThreads(__tstate
);
1424 if (PyErr_Occurred()) return NULL
;
1425 } Py_INCREF(Py_None
);
1426 _resultobj
= Py_None
;
1434 #define wxConfigBase_SetVendorName(_swigobj,_swigarg0) (_swigobj->SetVendorName(_swigarg0))
1435 static PyObject
*_wrap_wxConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1437 wxConfigBase
* _arg0
;
1439 PyObject
* _argo0
= 0;
1440 PyObject
* _obj1
= 0;
1441 char *_kwnames
[] = { "self","vendorName", NULL
};
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetVendorName",_kwnames
,&_argo0
,&_obj1
))
1447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetVendorName. Expected _wxConfigBase_p.");
1454 #if PYTHON_API_VERSION >= 1009
1455 char* tmpPtr
; int tmpSize
;
1456 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1457 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1460 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1462 _arg1
= new wxString(tmpPtr
, tmpSize
);
1464 if (!PyString_Check(_obj1
)) {
1465 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1468 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1473 wxConfigBase_SetVendorName(_arg0
,*_arg1
);
1475 wxPyEndAllowThreads(__tstate
);
1476 if (PyErr_Occurred()) return NULL
;
1477 } Py_INCREF(Py_None
);
1478 _resultobj
= Py_None
;
1486 #define wxConfigBase_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1487 static PyObject
*_wrap_wxConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1488 PyObject
* _resultobj
;
1489 wxConfigBase
* _arg0
;
1491 PyObject
* _argo0
= 0;
1492 char *_kwnames
[] = { "self","style", NULL
};
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetStyle. Expected _wxConfigBase_p.");
1505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1506 wxConfigBase_SetStyle(_arg0
,_arg1
);
1508 wxPyEndAllowThreads(__tstate
);
1509 if (PyErr_Occurred()) return NULL
;
1510 } Py_INCREF(Py_None
);
1511 _resultobj
= Py_None
;
1515 #define wxConfigBase_GetStyle(_swigobj) (_swigobj->GetStyle())
1516 static PyObject
*_wrap_wxConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
* _resultobj
;
1519 wxConfigBase
* _arg0
;
1520 PyObject
* _argo0
= 0;
1521 char *_kwnames
[] = { "self", NULL
};
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetStyle",_kwnames
,&_argo0
))
1527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetStyle. Expected _wxConfigBase_p.");
1534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 _result
= (long )wxConfigBase_GetStyle(_arg0
);
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) return NULL
;
1539 } _resultobj
= Py_BuildValue("l",_result
);
1543 #define wxConfigBase_Write(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1544 static PyObject
*_wrap_wxConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1545 PyObject
* _resultobj
;
1547 wxConfigBase
* _arg0
;
1550 PyObject
* _argo0
= 0;
1551 PyObject
* _obj1
= 0;
1552 PyObject
* _obj2
= 0;
1553 char *_kwnames
[] = { "self","key","value", NULL
};
1556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_Write",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Write. Expected _wxConfigBase_p.");
1566 #if PYTHON_API_VERSION >= 1009
1567 char* tmpPtr
; int tmpSize
;
1568 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1569 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1572 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1574 _arg1
= new wxString(tmpPtr
, tmpSize
);
1576 if (!PyString_Check(_obj1
)) {
1577 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1580 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1584 #if PYTHON_API_VERSION >= 1009
1585 char* tmpPtr
; int tmpSize
;
1586 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1587 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1590 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1592 _arg2
= new wxString(tmpPtr
, tmpSize
);
1594 if (!PyString_Check(_obj2
)) {
1595 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1598 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1603 _result
= (bool )wxConfigBase_Write(_arg0
,*_arg1
,*_arg2
);
1605 wxPyEndAllowThreads(__tstate
);
1606 if (PyErr_Occurred()) return NULL
;
1607 } _resultobj
= Py_BuildValue("i",_result
);
1619 #define wxConfigBase_WriteInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1620 static PyObject
*_wrap_wxConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
* _resultobj
;
1623 wxConfigBase
* _arg0
;
1626 PyObject
* _argo0
= 0;
1627 PyObject
* _obj1
= 0;
1628 char *_kwnames
[] = { "self","key","value", NULL
};
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxConfigBase_WriteInt",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteInt. Expected _wxConfigBase_p.");
1641 #if PYTHON_API_VERSION >= 1009
1642 char* tmpPtr
; int tmpSize
;
1643 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1644 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1647 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1649 _arg1
= new wxString(tmpPtr
, tmpSize
);
1651 if (!PyString_Check(_obj1
)) {
1652 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1655 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1660 _result
= (bool )wxConfigBase_WriteInt(_arg0
,*_arg1
,_arg2
);
1662 wxPyEndAllowThreads(__tstate
);
1663 if (PyErr_Occurred()) return NULL
;
1664 } _resultobj
= Py_BuildValue("i",_result
);
1672 #define wxConfigBase_WriteFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1673 static PyObject
*_wrap_wxConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1674 PyObject
* _resultobj
;
1676 wxConfigBase
* _arg0
;
1679 PyObject
* _argo0
= 0;
1680 PyObject
* _obj1
= 0;
1681 char *_kwnames
[] = { "self","key","value", NULL
};
1684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOd:wxConfigBase_WriteFloat",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteFloat. Expected _wxConfigBase_p.");
1694 #if PYTHON_API_VERSION >= 1009
1695 char* tmpPtr
; int tmpSize
;
1696 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1697 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1700 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1702 _arg1
= new wxString(tmpPtr
, tmpSize
);
1704 if (!PyString_Check(_obj1
)) {
1705 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1708 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1713 _result
= (bool )wxConfigBase_WriteFloat(_arg0
,*_arg1
,_arg2
);
1715 wxPyEndAllowThreads(__tstate
);
1716 if (PyErr_Occurred()) return NULL
;
1717 } _resultobj
= Py_BuildValue("i",_result
);
1725 #define wxConfigBase_WriteBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1726 static PyObject
*_wrap_wxConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1727 PyObject
* _resultobj
;
1729 wxConfigBase
* _arg0
;
1732 PyObject
* _argo0
= 0;
1733 PyObject
* _obj1
= 0;
1735 char *_kwnames
[] = { "self","key","value", NULL
};
1738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxConfigBase_WriteBool",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteBool. Expected _wxConfigBase_p.");
1748 #if PYTHON_API_VERSION >= 1009
1749 char* tmpPtr
; int tmpSize
;
1750 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1751 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1754 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1756 _arg1
= new wxString(tmpPtr
, tmpSize
);
1758 if (!PyString_Check(_obj1
)) {
1759 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1762 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1765 _arg2
= (bool ) tempbool2
;
1767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1768 _result
= (bool )wxConfigBase_WriteBool(_arg0
,*_arg1
,_arg2
);
1770 wxPyEndAllowThreads(__tstate
);
1771 if (PyErr_Occurred()) return NULL
;
1772 } _resultobj
= Py_BuildValue("i",_result
);
1780 #define wxConfigBase_GetEntryType(_swigobj,_swigarg0) (_swigobj->GetEntryType(_swigarg0))
1781 static PyObject
*_wrap_wxConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
* _resultobj
;
1783 wxConfigBase::EntryType _result
;
1784 wxConfigBase
* _arg0
;
1786 PyObject
* _argo0
= 0;
1787 PyObject
* _obj1
= 0;
1788 char *_kwnames
[] = { "self","name", NULL
};
1791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_GetEntryType",_kwnames
,&_argo0
,&_obj1
))
1794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetEntryType. Expected _wxConfigBase_p.");
1801 #if PYTHON_API_VERSION >= 1009
1802 char* tmpPtr
; int tmpSize
;
1803 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1804 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1807 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1809 _arg1
= new wxString(tmpPtr
, tmpSize
);
1811 if (!PyString_Check(_obj1
)) {
1812 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1815 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1820 _result
= (wxConfigBase::EntryType
)wxConfigBase_GetEntryType(_arg0
,*_arg1
);
1822 wxPyEndAllowThreads(__tstate
);
1823 if (PyErr_Occurred()) return NULL
;
1824 } _resultobj
= Py_BuildValue("i",_result
);
1832 #define wxConfigBase_RenameEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameEntry(_swigarg0,_swigarg1))
1833 static PyObject
*_wrap_wxConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1834 PyObject
* _resultobj
;
1836 wxConfigBase
* _arg0
;
1839 PyObject
* _argo0
= 0;
1840 PyObject
* _obj1
= 0;
1841 PyObject
* _obj2
= 0;
1842 char *_kwnames
[] = { "self","oldName","newName", NULL
};
1845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_RenameEntry",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_RenameEntry. Expected _wxConfigBase_p.");
1855 #if PYTHON_API_VERSION >= 1009
1856 char* tmpPtr
; int tmpSize
;
1857 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1858 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1861 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1863 _arg1
= new wxString(tmpPtr
, tmpSize
);
1865 if (!PyString_Check(_obj1
)) {
1866 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1869 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1873 #if PYTHON_API_VERSION >= 1009
1874 char* tmpPtr
; int tmpSize
;
1875 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1876 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1879 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1881 _arg2
= new wxString(tmpPtr
, tmpSize
);
1883 if (!PyString_Check(_obj2
)) {
1884 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1887 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1892 _result
= (bool )wxConfigBase_RenameEntry(_arg0
,*_arg1
,*_arg2
);
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) return NULL
;
1896 } _resultobj
= Py_BuildValue("i",_result
);
1908 #define wxConfigBase_RenameGroup(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameGroup(_swigarg0,_swigarg1))
1909 static PyObject
*_wrap_wxConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1910 PyObject
* _resultobj
;
1912 wxConfigBase
* _arg0
;
1915 PyObject
* _argo0
= 0;
1916 PyObject
* _obj1
= 0;
1917 PyObject
* _obj2
= 0;
1918 char *_kwnames
[] = { "self","oldName","newName", NULL
};
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_RenameGroup",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_RenameGroup. Expected _wxConfigBase_p.");
1931 #if PYTHON_API_VERSION >= 1009
1932 char* tmpPtr
; int tmpSize
;
1933 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1934 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1937 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1939 _arg1
= new wxString(tmpPtr
, tmpSize
);
1941 if (!PyString_Check(_obj1
)) {
1942 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1945 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1949 #if PYTHON_API_VERSION >= 1009
1950 char* tmpPtr
; int tmpSize
;
1951 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1952 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1955 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1957 _arg2
= new wxString(tmpPtr
, tmpSize
);
1959 if (!PyString_Check(_obj2
)) {
1960 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1963 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1968 _result
= (bool )wxConfigBase_RenameGroup(_arg0
,*_arg1
,*_arg2
);
1970 wxPyEndAllowThreads(__tstate
);
1971 if (PyErr_Occurred()) return NULL
;
1972 } _resultobj
= Py_BuildValue("i",_result
);
1984 #define wxConfigBase_ExpandEnvVars(_swigobj,_swigarg0) (_swigobj->ExpandEnvVars(_swigarg0))
1985 static PyObject
*_wrap_wxConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
* _resultobj
;
1988 wxConfigBase
* _arg0
;
1990 PyObject
* _argo0
= 0;
1991 PyObject
* _obj1
= 0;
1992 char *_kwnames
[] = { "self","str", NULL
};
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_ExpandEnvVars",_kwnames
,&_argo0
,&_obj1
))
1998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ExpandEnvVars. Expected _wxConfigBase_p.");
2005 #if PYTHON_API_VERSION >= 1009
2006 char* tmpPtr
; int tmpSize
;
2007 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2008 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2011 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2013 _arg1
= new wxString(tmpPtr
, tmpSize
);
2015 if (!PyString_Check(_obj1
)) {
2016 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2019 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2024 _result
= new wxString (wxConfigBase_ExpandEnvVars(_arg0
,*_arg1
));
2026 wxPyEndAllowThreads(__tstate
);
2027 if (PyErr_Occurred()) return NULL
;
2029 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2041 static void *SwigwxConfigTowxConfigBase(void *ptr
) {
2044 src
= (wxConfig
*) ptr
;
2045 dest
= (wxConfigBase
*) src
;
2046 return (void *) dest
;
2049 #define new_wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2050 static PyObject
*_wrap_new_wxConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2051 PyObject
* _resultobj
;
2053 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
2054 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
2055 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2056 wxString
* _arg3
= (wxString
*) &wxEmptyString
;
2057 long _arg4
= (long ) 0;
2058 PyObject
* _obj0
= 0;
2059 PyObject
* _obj1
= 0;
2060 PyObject
* _obj2
= 0;
2061 PyObject
* _obj3
= 0;
2062 char *_kwnames
[] = { "appName","vendorName","localFilename","globalFilename","style", NULL
};
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOl:new_wxConfig",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
))
2070 #if PYTHON_API_VERSION >= 1009
2071 char* tmpPtr
; int tmpSize
;
2072 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2073 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2076 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2078 _arg0
= new wxString(tmpPtr
, tmpSize
);
2080 if (!PyString_Check(_obj0
)) {
2081 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2084 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2089 #if PYTHON_API_VERSION >= 1009
2090 char* tmpPtr
; int tmpSize
;
2091 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2092 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2095 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2097 _arg1
= new wxString(tmpPtr
, tmpSize
);
2099 if (!PyString_Check(_obj1
)) {
2100 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2103 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2108 #if PYTHON_API_VERSION >= 1009
2109 char* tmpPtr
; int tmpSize
;
2110 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2111 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2114 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2116 _arg2
= new wxString(tmpPtr
, tmpSize
);
2118 if (!PyString_Check(_obj2
)) {
2119 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2122 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2127 #if PYTHON_API_VERSION >= 1009
2128 char* tmpPtr
; int tmpSize
;
2129 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2130 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2133 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2135 _arg3
= new wxString(tmpPtr
, tmpSize
);
2137 if (!PyString_Check(_obj3
)) {
2138 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2141 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2146 _result
= (wxConfig
*)new_wxConfig(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
2148 wxPyEndAllowThreads(__tstate
);
2149 if (PyErr_Occurred()) return NULL
;
2151 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfig_p");
2152 _resultobj
= Py_BuildValue("s",_ptemp
);
2155 _resultobj
= Py_None
;
2176 #define delete_wxConfig(_swigobj) (delete _swigobj)
2177 static PyObject
*_wrap_delete_wxConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
* _resultobj
;
2180 PyObject
* _argo0
= 0;
2181 char *_kwnames
[] = { "self", NULL
};
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxConfig",_kwnames
,&_argo0
))
2187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfig_p")) {
2189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxConfig. Expected _wxConfig_p.");
2194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2195 delete_wxConfig(_arg0
);
2197 wxPyEndAllowThreads(__tstate
);
2198 if (PyErr_Occurred()) return NULL
;
2199 } Py_INCREF(Py_None
);
2200 _resultobj
= Py_None
;
2204 static void *SwigwxFileConfigTowxConfigBase(void *ptr
) {
2207 src
= (wxFileConfig
*) ptr
;
2208 dest
= (wxConfigBase
*) src
;
2209 return (void *) dest
;
2212 #define new_wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2213 static PyObject
*_wrap_new_wxFileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
* _resultobj
;
2215 wxFileConfig
* _result
;
2216 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
2217 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
2218 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2219 wxString
* _arg3
= (wxString
*) &wxEmptyString
;
2220 long _arg4
= (long ) 0;
2221 PyObject
* _obj0
= 0;
2222 PyObject
* _obj1
= 0;
2223 PyObject
* _obj2
= 0;
2224 PyObject
* _obj3
= 0;
2225 char *_kwnames
[] = { "appName","vendorName","localFilename","globalFilename","style", NULL
};
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOl:new_wxFileConfig",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
))
2233 #if PYTHON_API_VERSION >= 1009
2234 char* tmpPtr
; int tmpSize
;
2235 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2236 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2239 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2241 _arg0
= new wxString(tmpPtr
, tmpSize
);
2243 if (!PyString_Check(_obj0
)) {
2244 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2247 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2252 #if PYTHON_API_VERSION >= 1009
2253 char* tmpPtr
; int tmpSize
;
2254 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2255 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2258 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2260 _arg1
= new wxString(tmpPtr
, tmpSize
);
2262 if (!PyString_Check(_obj1
)) {
2263 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2266 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2271 #if PYTHON_API_VERSION >= 1009
2272 char* tmpPtr
; int tmpSize
;
2273 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2274 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2277 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2279 _arg2
= new wxString(tmpPtr
, tmpSize
);
2281 if (!PyString_Check(_obj2
)) {
2282 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2285 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2290 #if PYTHON_API_VERSION >= 1009
2291 char* tmpPtr
; int tmpSize
;
2292 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2293 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2296 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2298 _arg3
= new wxString(tmpPtr
, tmpSize
);
2300 if (!PyString_Check(_obj3
)) {
2301 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2304 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2309 _result
= (wxFileConfig
*)new_wxFileConfig(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
2311 wxPyEndAllowThreads(__tstate
);
2312 if (PyErr_Occurred()) return NULL
;
2314 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileConfig_p");
2315 _resultobj
= Py_BuildValue("s",_ptemp
);
2318 _resultobj
= Py_None
;
2339 #define delete_wxFileConfig(_swigobj) (delete _swigobj)
2340 static PyObject
*_wrap_delete_wxFileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
* _resultobj
;
2342 wxFileConfig
* _arg0
;
2343 PyObject
* _argo0
= 0;
2344 char *_kwnames
[] = { "self", NULL
};
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileConfig",_kwnames
,&_argo0
))
2350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileConfig_p")) {
2352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileConfig. Expected _wxFileConfig_p.");
2357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2358 delete_wxFileConfig(_arg0
);
2360 wxPyEndAllowThreads(__tstate
);
2361 if (PyErr_Occurred()) return NULL
;
2362 } Py_INCREF(Py_None
);
2363 _resultobj
= Py_None
;
2367 static PyObject
*_wrap_wxDateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
* _resultobj
;
2369 wxDateTime::Country _arg0
;
2370 char *_kwnames
[] = { "country", NULL
};
2373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateTime_SetCountry",_kwnames
,&_arg0
))
2376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2377 wxDateTime::SetCountry(_arg0
);
2379 wxPyEndAllowThreads(__tstate
);
2380 if (PyErr_Occurred()) return NULL
;
2381 } Py_INCREF(Py_None
);
2382 _resultobj
= Py_None
;
2386 static PyObject
*_wrap_wxDateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2387 PyObject
* _resultobj
;
2388 wxDateTime::Country _result
;
2389 char *_kwnames
[] = { NULL
};
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_GetCountry",_kwnames
))
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 _result
= (wxDateTime::Country
)wxDateTime::GetCountry();
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) return NULL
;
2400 } _resultobj
= Py_BuildValue("i",_result
);
2404 static PyObject
*_wrap_wxDateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
* _resultobj
;
2407 wxDateTime::Country _arg0
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2408 char *_kwnames
[] = { "country", NULL
};
2411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_IsWestEuropeanCountry",_kwnames
,&_arg0
))
2414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2415 _result
= (bool )wxDateTime::IsWestEuropeanCountry(_arg0
);
2417 wxPyEndAllowThreads(__tstate
);
2418 if (PyErr_Occurred()) return NULL
;
2419 } _resultobj
= Py_BuildValue("i",_result
);
2423 static PyObject
*_wrap_wxDateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
* _resultobj
;
2426 wxDateTime::Calendar _arg0
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2427 char *_kwnames
[] = { "cal", NULL
};
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCurrentYear",_kwnames
,&_arg0
))
2433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2434 _result
= (int )wxDateTime::GetCurrentYear(_arg0
);
2436 wxPyEndAllowThreads(__tstate
);
2437 if (PyErr_Occurred()) return NULL
;
2438 } _resultobj
= Py_BuildValue("i",_result
);
2442 static PyObject
*_wrap_wxDateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2443 PyObject
* _resultobj
;
2446 char *_kwnames
[] = { "year", NULL
};
2449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateTime_ConvertYearToBC",_kwnames
,&_arg0
))
2452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2453 _result
= (int )wxDateTime::ConvertYearToBC(_arg0
);
2455 wxPyEndAllowThreads(__tstate
);
2456 if (PyErr_Occurred()) return NULL
;
2457 } _resultobj
= Py_BuildValue("i",_result
);
2461 static PyObject
*_wrap_wxDateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2462 PyObject
* _resultobj
;
2463 wxDateTime::Month _result
;
2464 wxDateTime::Calendar _arg0
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2465 char *_kwnames
[] = { "cal", NULL
};
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCurrentMonth",_kwnames
,&_arg0
))
2471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2472 _result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(_arg0
);
2474 wxPyEndAllowThreads(__tstate
);
2475 if (PyErr_Occurred()) return NULL
;
2476 } _resultobj
= Py_BuildValue("i",_result
);
2480 static PyObject
*_wrap_wxDateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2481 PyObject
* _resultobj
;
2483 int _arg0
= (int ) wxDateTime::Inv_Year
;
2484 wxDateTime::Calendar _arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2485 char *_kwnames
[] = { "year","cal", NULL
};
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_IsLeapYear",_kwnames
,&_arg0
,&_arg1
))
2491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2492 _result
= (bool )wxDateTime::IsLeapYear(_arg0
,_arg1
);
2494 wxPyEndAllowThreads(__tstate
);
2495 if (PyErr_Occurred()) return NULL
;
2496 } _resultobj
= Py_BuildValue("i",_result
);
2500 static PyObject
*_wrap_wxDateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
* _resultobj
;
2503 int _arg0
= (int ) wxDateTime::Inv_Year
;
2504 char *_kwnames
[] = { "year", NULL
};
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCentury",_kwnames
,&_arg0
))
2510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2511 _result
= (int )wxDateTime::GetCentury(_arg0
);
2513 wxPyEndAllowThreads(__tstate
);
2514 if (PyErr_Occurred()) return NULL
;
2515 } _resultobj
= Py_BuildValue("i",_result
);
2519 static PyObject
*_wrap_wxDateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
* _resultobj
;
2521 wxDateTime::wxDateTime_t _result
;
2523 wxDateTime::Calendar _arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2524 char *_kwnames
[] = { "year","cal", NULL
};
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetNumberOfDaysinYear",_kwnames
,&_arg0
,&_arg1
))
2530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2531 _result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(_arg0
,_arg1
);
2533 wxPyEndAllowThreads(__tstate
);
2534 if (PyErr_Occurred()) return NULL
;
2535 } _resultobj
= Py_BuildValue("h",_result
);
2539 static PyObject
*_wrap_wxDateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2540 PyObject
* _resultobj
;
2541 wxDateTime::wxDateTime_t _result
;
2542 wxDateTime::Month _arg0
;
2543 int _arg1
= (int ) wxDateTime::Inv_Year
;
2544 wxDateTime::Calendar _arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2545 char *_kwnames
[] = { "month","year","cal", NULL
};
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|ii:wxDateTime_GetNumberOfDaysInMonth",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2552 _result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(_arg0
,_arg1
,_arg2
);
2554 wxPyEndAllowThreads(__tstate
);
2555 if (PyErr_Occurred()) return NULL
;
2556 } _resultobj
= Py_BuildValue("h",_result
);
2560 static PyObject
*_wrap_wxDateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
* _resultobj
;
2563 wxDateTime::Month _arg0
;
2564 wxDateTime::NameFlags _arg1
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
2565 char *_kwnames
[] = { "month","flags", NULL
};
2568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetMonthName",_kwnames
,&_arg0
,&_arg1
))
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 _result
= new wxString (wxDateTime::GetMonthName(_arg0
,_arg1
));
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) return NULL
;
2577 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2585 static PyObject
*_wrap_wxDateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
* _resultobj
;
2588 wxDateTime::WeekDay _arg0
;
2589 wxDateTime::NameFlags _arg1
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
2590 char *_kwnames
[] = { "weekday","flags", NULL
};
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetWeekDayName",_kwnames
,&_arg0
,&_arg1
))
2596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2597 _result
= new wxString (wxDateTime::GetWeekDayName(_arg0
,_arg1
));
2599 wxPyEndAllowThreads(__tstate
);
2600 if (PyErr_Occurred()) return NULL
;
2602 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2610 static PyObject
*_wrap_wxDateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
* _resultobj
;
2614 PyObject
* _obj0
= 0;
2615 PyObject
* _obj1
= 0;
2616 char *_kwnames
[] = { "OUTPUT","OUTPUT", NULL
};
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_GetAmPmStrings",_kwnames
,&_obj0
,&_obj1
))
2622 #if PYTHON_API_VERSION >= 1009
2623 char* tmpPtr
; int tmpSize
;
2624 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2625 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2628 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2630 _arg0
= new wxString(tmpPtr
, tmpSize
);
2632 if (!PyString_Check(_obj0
)) {
2633 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2636 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2640 #if PYTHON_API_VERSION >= 1009
2641 char* tmpPtr
; int tmpSize
;
2642 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2643 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2646 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2648 _arg1
= new wxString(tmpPtr
, tmpSize
);
2650 if (!PyString_Check(_obj1
)) {
2651 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2654 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2659 wxDateTime::GetAmPmStrings(_arg0
,_arg1
);
2661 wxPyEndAllowThreads(__tstate
);
2662 if (PyErr_Occurred()) return NULL
;
2663 } Py_INCREF(Py_None
);
2664 _resultobj
= Py_None
;
2676 static PyObject
*_wrap_wxDateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2677 PyObject
* _resultobj
;
2679 int _arg0
= (int ) wxDateTime::Inv_Year
;
2680 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2681 char *_kwnames
[] = { "year","country", NULL
};
2684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_IsDSTApplicable",_kwnames
,&_arg0
,&_arg1
))
2687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2688 _result
= (bool )wxDateTime::IsDSTApplicable(_arg0
,_arg1
);
2690 wxPyEndAllowThreads(__tstate
);
2691 if (PyErr_Occurred()) return NULL
;
2692 } _resultobj
= Py_BuildValue("i",_result
);
2696 static PyObject
*_wrap_wxDateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
* _resultobj
;
2698 wxDateTime
* _result
;
2699 int _arg0
= (int ) wxDateTime::Inv_Year
;
2700 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2701 char *_kwnames
[] = { "year","country", NULL
};
2705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_GetBeginDST",_kwnames
,&_arg0
,&_arg1
))
2708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2709 _result
= new wxDateTime (wxDateTime::GetBeginDST(_arg0
,_arg1
));
2711 wxPyEndAllowThreads(__tstate
);
2712 if (PyErr_Occurred()) return NULL
;
2713 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2714 _resultobj
= Py_BuildValue("s",_ptemp
);
2718 static PyObject
*_wrap_wxDateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2719 PyObject
* _resultobj
;
2720 wxDateTime
* _result
;
2721 int _arg0
= (int ) wxDateTime::Inv_Year
;
2722 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2723 char *_kwnames
[] = { "year","country", NULL
};
2727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_GetEndDST",_kwnames
,&_arg0
,&_arg1
))
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 _result
= new wxDateTime (wxDateTime::GetEndDST(_arg0
,_arg1
));
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) return NULL
;
2735 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2736 _resultobj
= Py_BuildValue("s",_ptemp
);
2740 static PyObject
*_wrap_wxDateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2741 PyObject
* _resultobj
;
2742 wxDateTime
* _result
;
2743 char *_kwnames
[] = { NULL
};
2747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_Now",_kwnames
))
2750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2751 _result
= new wxDateTime (wxDateTime::Now());
2753 wxPyEndAllowThreads(__tstate
);
2754 if (PyErr_Occurred()) return NULL
;
2755 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2756 _resultobj
= Py_BuildValue("s",_ptemp
);
2760 static PyObject
*_wrap_wxDateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
* _resultobj
;
2762 wxDateTime
* _result
;
2763 char *_kwnames
[] = { NULL
};
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_Today",_kwnames
))
2770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2771 _result
= new wxDateTime (wxDateTime::Today());
2773 wxPyEndAllowThreads(__tstate
);
2774 if (PyErr_Occurred()) return NULL
;
2775 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2776 _resultobj
= Py_BuildValue("s",_ptemp
);
2780 #define new_wxDateTime() (new wxDateTime())
2781 static PyObject
*_wrap_new_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
* _resultobj
;
2783 wxDateTime
* _result
;
2784 char *_kwnames
[] = { NULL
};
2788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDateTime",_kwnames
))
2791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2792 _result
= (wxDateTime
*)new_wxDateTime();
2794 wxPyEndAllowThreads(__tstate
);
2795 if (PyErr_Occurred()) return NULL
;
2797 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2798 _resultobj
= Py_BuildValue("s",_ptemp
);
2801 _resultobj
= Py_None
;
2806 #define new_wxDateTimeFromTimeT(_swigarg0) (new wxDateTime(_swigarg0))
2807 static PyObject
*_wrap_new_wxDateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
* _resultobj
;
2809 wxDateTime
* _result
;
2811 char *_kwnames
[] = { "timet", NULL
};
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxDateTimeFromTimeT",_kwnames
,&_arg0
))
2818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2819 _result
= (wxDateTime
*)new_wxDateTimeFromTimeT(_arg0
);
2821 wxPyEndAllowThreads(__tstate
);
2822 if (PyErr_Occurred()) return NULL
;
2824 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2825 _resultobj
= Py_BuildValue("s",_ptemp
);
2828 _resultobj
= Py_None
;
2833 #define new_wxDateTimeFromJDN(_swigarg0) (new wxDateTime(_swigarg0))
2834 static PyObject
*_wrap_new_wxDateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
* _resultobj
;
2836 wxDateTime
* _result
;
2838 char *_kwnames
[] = { "jdn", NULL
};
2842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"d:new_wxDateTimeFromJDN",_kwnames
,&_arg0
))
2845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2846 _result
= (wxDateTime
*)new_wxDateTimeFromJDN(_arg0
);
2848 wxPyEndAllowThreads(__tstate
);
2849 if (PyErr_Occurred()) return NULL
;
2851 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2852 _resultobj
= Py_BuildValue("s",_ptemp
);
2855 _resultobj
= Py_None
;
2860 #define new_wxDateTimeFromHMS(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2861 static PyObject
*_wrap_new_wxDateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2862 PyObject
* _resultobj
;
2863 wxDateTime
* _result
;
2864 wxDateTime::wxDateTime_t _arg0
;
2865 wxDateTime::wxDateTime_t _arg1
= (wxDateTime::wxDateTime_t
) 0;
2866 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
2867 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2868 char *_kwnames
[] = { "hour","minute","second","millisec", NULL
};
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|hhh:new_wxDateTimeFromHMS",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2876 _result
= (wxDateTime
*)new_wxDateTimeFromHMS(_arg0
,_arg1
,_arg2
,_arg3
);
2878 wxPyEndAllowThreads(__tstate
);
2879 if (PyErr_Occurred()) return NULL
;
2881 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2882 _resultobj
= Py_BuildValue("s",_ptemp
);
2885 _resultobj
= Py_None
;
2890 #define new_wxDateTimeFromDMY(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2891 static PyObject
*_wrap_new_wxDateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2892 PyObject
* _resultobj
;
2893 wxDateTime
* _result
;
2894 wxDateTime::wxDateTime_t _arg0
;
2895 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
2896 int _arg2
= (int ) wxDateTime::Inv_Year
;
2897 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2898 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2899 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
2900 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
2901 char *_kwnames
[] = { "day","month","year","hour","minute","second","millisec", NULL
};
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|iihhhh:new_wxDateTimeFromDMY",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2909 _result
= (wxDateTime
*)new_wxDateTimeFromDMY(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2911 wxPyEndAllowThreads(__tstate
);
2912 if (PyErr_Occurred()) return NULL
;
2914 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2915 _resultobj
= Py_BuildValue("s",_ptemp
);
2918 _resultobj
= Py_None
;
2923 #define delete_wxDateTime(_swigobj) (delete _swigobj)
2924 static PyObject
*_wrap_delete_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2925 PyObject
* _resultobj
;
2927 PyObject
* _argo0
= 0;
2928 char *_kwnames
[] = { "self", NULL
};
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateTime",_kwnames
,&_argo0
))
2934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateTime. Expected _wxDateTime_p.");
2941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2942 delete_wxDateTime(_arg0
);
2944 wxPyEndAllowThreads(__tstate
);
2945 if (PyErr_Occurred()) return NULL
;
2946 } Py_INCREF(Py_None
);
2947 _resultobj
= Py_None
;
2951 #define wxDateTime_SetToCurrent(_swigobj) (_swigobj->SetToCurrent())
2952 static PyObject
*_wrap_wxDateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
* _resultobj
;
2954 wxDateTime
* _result
;
2956 PyObject
* _argo0
= 0;
2957 char *_kwnames
[] = { "self", NULL
};
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_SetToCurrent",_kwnames
,&_argo0
))
2964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToCurrent. Expected _wxDateTime_p.");
2971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2972 wxDateTime
& _result_ref
= wxDateTime_SetToCurrent(_arg0
);
2973 _result
= (wxDateTime
*) &_result_ref
;
2975 wxPyEndAllowThreads(__tstate
);
2976 if (PyErr_Occurred()) return NULL
;
2978 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2979 _resultobj
= Py_BuildValue("s",_ptemp
);
2982 _resultobj
= Py_None
;
2987 #define wxDateTime_SetTimeT(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2988 static PyObject
*_wrap_wxDateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2989 PyObject
* _resultobj
;
2990 wxDateTime
* _result
;
2993 PyObject
* _argo0
= 0;
2994 char *_kwnames
[] = { "self","timet", NULL
};
2998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetTimeT",_kwnames
,&_argo0
,&_arg1
))
3001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetTimeT. Expected _wxDateTime_p.");
3008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3009 wxDateTime
& _result_ref
= wxDateTime_SetTimeT(_arg0
,_arg1
);
3010 _result
= (wxDateTime
*) &_result_ref
;
3012 wxPyEndAllowThreads(__tstate
);
3013 if (PyErr_Occurred()) return NULL
;
3015 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3016 _resultobj
= Py_BuildValue("s",_ptemp
);
3019 _resultobj
= Py_None
;
3024 #define wxDateTime_SetJDN(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
3025 static PyObject
*_wrap_wxDateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
* _resultobj
;
3027 wxDateTime
* _result
;
3030 PyObject
* _argo0
= 0;
3031 char *_kwnames
[] = { "self","jdn", NULL
};
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxDateTime_SetJDN",_kwnames
,&_argo0
,&_arg1
))
3038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetJDN. Expected _wxDateTime_p.");
3045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3046 wxDateTime
& _result_ref
= wxDateTime_SetJDN(_arg0
,_arg1
);
3047 _result
= (wxDateTime
*) &_result_ref
;
3049 wxPyEndAllowThreads(__tstate
);
3050 if (PyErr_Occurred()) return NULL
;
3052 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3053 _resultobj
= Py_BuildValue("s",_ptemp
);
3056 _resultobj
= Py_None
;
3061 #define wxDateTime_SetHMS(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3062 static PyObject
*_wrap_wxDateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
* _resultobj
;
3064 wxDateTime
* _result
;
3066 wxDateTime::wxDateTime_t _arg1
;
3067 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
3068 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
3069 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
3070 PyObject
* _argo0
= 0;
3071 char *_kwnames
[] = { "self","hour","minute","second","millisec", NULL
};
3075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|hhh:wxDateTime_SetHMS",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHMS. Expected _wxDateTime_p.");
3085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3086 wxDateTime
& _result_ref
= wxDateTime_SetHMS(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3087 _result
= (wxDateTime
*) &_result_ref
;
3089 wxPyEndAllowThreads(__tstate
);
3090 if (PyErr_Occurred()) return NULL
;
3092 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3093 _resultobj
= Py_BuildValue("s",_ptemp
);
3096 _resultobj
= Py_None
;
3101 #define wxDateTime_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3102 static PyObject
*_wrap_wxDateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
* _resultobj
;
3104 wxDateTime
* _result
;
3106 wxDateTime::wxDateTime_t _arg1
;
3107 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3108 int _arg3
= (int ) wxDateTime::Inv_Year
;
3109 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
3110 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
3111 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
3112 wxDateTime::wxDateTime_t _arg7
= (wxDateTime::wxDateTime_t
) 0;
3113 PyObject
* _argo0
= 0;
3114 char *_kwnames
[] = { "self","day","month","year","hour","minute","second","millisec", NULL
};
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|iihhhh:wxDateTime_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
3121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Set. Expected _wxDateTime_p.");
3128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3129 wxDateTime
& _result_ref
= wxDateTime_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
3130 _result
= (wxDateTime
*) &_result_ref
;
3132 wxPyEndAllowThreads(__tstate
);
3133 if (PyErr_Occurred()) return NULL
;
3135 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3136 _resultobj
= Py_BuildValue("s",_ptemp
);
3139 _resultobj
= Py_None
;
3144 #define wxDateTime_ResetTime(_swigobj) (_swigobj->ResetTime())
3145 static PyObject
*_wrap_wxDateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
* _resultobj
;
3147 wxDateTime
* _result
;
3149 PyObject
* _argo0
= 0;
3150 char *_kwnames
[] = { "self", NULL
};
3154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_ResetTime",_kwnames
,&_argo0
))
3157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ResetTime. Expected _wxDateTime_p.");
3164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3165 wxDateTime
& _result_ref
= wxDateTime_ResetTime(_arg0
);
3166 _result
= (wxDateTime
*) &_result_ref
;
3168 wxPyEndAllowThreads(__tstate
);
3169 if (PyErr_Occurred()) return NULL
;
3171 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3172 _resultobj
= Py_BuildValue("s",_ptemp
);
3175 _resultobj
= Py_None
;
3180 #define wxDateTime_SetYear(_swigobj,_swigarg0) (_swigobj->SetYear(_swigarg0))
3181 static PyObject
*_wrap_wxDateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3182 PyObject
* _resultobj
;
3183 wxDateTime
* _result
;
3186 PyObject
* _argo0
= 0;
3187 char *_kwnames
[] = { "self","year", NULL
};
3191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetYear",_kwnames
,&_argo0
,&_arg1
))
3194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetYear. Expected _wxDateTime_p.");
3201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3202 wxDateTime
& _result_ref
= wxDateTime_SetYear(_arg0
,_arg1
);
3203 _result
= (wxDateTime
*) &_result_ref
;
3205 wxPyEndAllowThreads(__tstate
);
3206 if (PyErr_Occurred()) return NULL
;
3208 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3209 _resultobj
= Py_BuildValue("s",_ptemp
);
3212 _resultobj
= Py_None
;
3217 #define wxDateTime_SetMonth(_swigobj,_swigarg0) (_swigobj->SetMonth(_swigarg0))
3218 static PyObject
*_wrap_wxDateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
* _resultobj
;
3220 wxDateTime
* _result
;
3222 wxDateTime::Month _arg1
;
3223 PyObject
* _argo0
= 0;
3224 char *_kwnames
[] = { "self","month", NULL
};
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetMonth",_kwnames
,&_argo0
,&_arg1
))
3231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMonth. Expected _wxDateTime_p.");
3238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3239 wxDateTime
& _result_ref
= wxDateTime_SetMonth(_arg0
,_arg1
);
3240 _result
= (wxDateTime
*) &_result_ref
;
3242 wxPyEndAllowThreads(__tstate
);
3243 if (PyErr_Occurred()) return NULL
;
3245 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3246 _resultobj
= Py_BuildValue("s",_ptemp
);
3249 _resultobj
= Py_None
;
3254 #define wxDateTime_SetDay(_swigobj,_swigarg0) (_swigobj->SetDay(_swigarg0))
3255 static PyObject
*_wrap_wxDateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3256 PyObject
* _resultobj
;
3257 wxDateTime
* _result
;
3259 wxDateTime::wxDateTime_t _arg1
;
3260 PyObject
* _argo0
= 0;
3261 char *_kwnames
[] = { "self","day", NULL
};
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetDay",_kwnames
,&_argo0
,&_arg1
))
3268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetDay. Expected _wxDateTime_p.");
3275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3276 wxDateTime
& _result_ref
= wxDateTime_SetDay(_arg0
,_arg1
);
3277 _result
= (wxDateTime
*) &_result_ref
;
3279 wxPyEndAllowThreads(__tstate
);
3280 if (PyErr_Occurred()) return NULL
;
3282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3283 _resultobj
= Py_BuildValue("s",_ptemp
);
3286 _resultobj
= Py_None
;
3291 #define wxDateTime_SetHour(_swigobj,_swigarg0) (_swigobj->SetHour(_swigarg0))
3292 static PyObject
*_wrap_wxDateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
* _resultobj
;
3294 wxDateTime
* _result
;
3296 wxDateTime::wxDateTime_t _arg1
;
3297 PyObject
* _argo0
= 0;
3298 char *_kwnames
[] = { "self","hour", NULL
};
3302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetHour",_kwnames
,&_argo0
,&_arg1
))
3305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHour. Expected _wxDateTime_p.");
3312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3313 wxDateTime
& _result_ref
= wxDateTime_SetHour(_arg0
,_arg1
);
3314 _result
= (wxDateTime
*) &_result_ref
;
3316 wxPyEndAllowThreads(__tstate
);
3317 if (PyErr_Occurred()) return NULL
;
3319 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3320 _resultobj
= Py_BuildValue("s",_ptemp
);
3323 _resultobj
= Py_None
;
3328 #define wxDateTime_SetMinute(_swigobj,_swigarg0) (_swigobj->SetMinute(_swigarg0))
3329 static PyObject
*_wrap_wxDateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3330 PyObject
* _resultobj
;
3331 wxDateTime
* _result
;
3333 wxDateTime::wxDateTime_t _arg1
;
3334 PyObject
* _argo0
= 0;
3335 char *_kwnames
[] = { "self","minute", NULL
};
3339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMinute",_kwnames
,&_argo0
,&_arg1
))
3342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMinute. Expected _wxDateTime_p.");
3349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3350 wxDateTime
& _result_ref
= wxDateTime_SetMinute(_arg0
,_arg1
);
3351 _result
= (wxDateTime
*) &_result_ref
;
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) return NULL
;
3356 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3357 _resultobj
= Py_BuildValue("s",_ptemp
);
3360 _resultobj
= Py_None
;
3365 #define wxDateTime_SetSecond(_swigobj,_swigarg0) (_swigobj->SetSecond(_swigarg0))
3366 static PyObject
*_wrap_wxDateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
* _resultobj
;
3368 wxDateTime
* _result
;
3370 wxDateTime::wxDateTime_t _arg1
;
3371 PyObject
* _argo0
= 0;
3372 char *_kwnames
[] = { "self","second", NULL
};
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetSecond",_kwnames
,&_argo0
,&_arg1
))
3379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetSecond. Expected _wxDateTime_p.");
3386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3387 wxDateTime
& _result_ref
= wxDateTime_SetSecond(_arg0
,_arg1
);
3388 _result
= (wxDateTime
*) &_result_ref
;
3390 wxPyEndAllowThreads(__tstate
);
3391 if (PyErr_Occurred()) return NULL
;
3393 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3394 _resultobj
= Py_BuildValue("s",_ptemp
);
3397 _resultobj
= Py_None
;
3402 #define wxDateTime_SetMillisecond(_swigobj,_swigarg0) (_swigobj->SetMillisecond(_swigarg0))
3403 static PyObject
*_wrap_wxDateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
* _resultobj
;
3405 wxDateTime
* _result
;
3407 wxDateTime::wxDateTime_t _arg1
;
3408 PyObject
* _argo0
= 0;
3409 char *_kwnames
[] = { "self","millisecond", NULL
};
3413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMillisecond",_kwnames
,&_argo0
,&_arg1
))
3416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMillisecond. Expected _wxDateTime_p.");
3423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3424 wxDateTime
& _result_ref
= wxDateTime_SetMillisecond(_arg0
,_arg1
);
3425 _result
= (wxDateTime
*) &_result_ref
;
3427 wxPyEndAllowThreads(__tstate
);
3428 if (PyErr_Occurred()) return NULL
;
3430 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3431 _resultobj
= Py_BuildValue("s",_ptemp
);
3434 _resultobj
= Py_None
;
3439 #define wxDateTime_SetToWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->SetToWeekDayInSameWeek(_swigarg0))
3440 static PyObject
*_wrap_wxDateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3441 PyObject
* _resultobj
;
3442 wxDateTime
* _result
;
3444 wxDateTime::WeekDay _arg1
;
3445 PyObject
* _argo0
= 0;
3446 char *_kwnames
[] = { "self","weekday", NULL
};
3450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
))
3453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDayInSameWeek. Expected _wxDateTime_p.");
3460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3461 wxDateTime
& _result_ref
= wxDateTime_SetToWeekDayInSameWeek(_arg0
,_arg1
);
3462 _result
= (wxDateTime
*) &_result_ref
;
3464 wxPyEndAllowThreads(__tstate
);
3465 if (PyErr_Occurred()) return NULL
;
3467 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3468 _resultobj
= Py_BuildValue("s",_ptemp
);
3471 _resultobj
= Py_None
;
3476 #define wxDateTime_GetWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->GetWeekDayInSameWeek(_swigarg0))
3477 static PyObject
*_wrap_wxDateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
* _resultobj
;
3479 wxDateTime
* _result
;
3481 wxDateTime::WeekDay _arg1
;
3482 PyObject
* _argo0
= 0;
3483 char *_kwnames
[] = { "self","weekday", NULL
};
3487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
))
3490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDayInSameWeek. Expected _wxDateTime_p.");
3497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3498 _result
= new wxDateTime (wxDateTime_GetWeekDayInSameWeek(_arg0
,_arg1
));
3500 wxPyEndAllowThreads(__tstate
);
3501 if (PyErr_Occurred()) return NULL
;
3502 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3503 _resultobj
= Py_BuildValue("s",_ptemp
);
3507 #define wxDateTime_SetToNextWeekDay(_swigobj,_swigarg0) (_swigobj->SetToNextWeekDay(_swigarg0))
3508 static PyObject
*_wrap_wxDateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3509 PyObject
* _resultobj
;
3510 wxDateTime
* _result
;
3512 wxDateTime::WeekDay _arg1
;
3513 PyObject
* _argo0
= 0;
3514 char *_kwnames
[] = { "self","weekday", NULL
};
3518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
3521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToNextWeekDay. Expected _wxDateTime_p.");
3528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3529 wxDateTime
& _result_ref
= wxDateTime_SetToNextWeekDay(_arg0
,_arg1
);
3530 _result
= (wxDateTime
*) &_result_ref
;
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) return NULL
;
3535 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3536 _resultobj
= Py_BuildValue("s",_ptemp
);
3539 _resultobj
= Py_None
;
3544 #define wxDateTime_GetNextWeekDay(_swigobj,_swigarg0) (_swigobj->GetNextWeekDay(_swigarg0))
3545 static PyObject
*_wrap_wxDateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
* _resultobj
;
3547 wxDateTime
* _result
;
3549 wxDateTime::WeekDay _arg1
;
3550 PyObject
* _argo0
= 0;
3551 char *_kwnames
[] = { "self","weekday", NULL
};
3555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
3558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetNextWeekDay. Expected _wxDateTime_p.");
3565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3566 _result
= new wxDateTime (wxDateTime_GetNextWeekDay(_arg0
,_arg1
));
3568 wxPyEndAllowThreads(__tstate
);
3569 if (PyErr_Occurred()) return NULL
;
3570 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3571 _resultobj
= Py_BuildValue("s",_ptemp
);
3575 #define wxDateTime_SetToPrevWeekDay(_swigobj,_swigarg0) (_swigobj->SetToPrevWeekDay(_swigarg0))
3576 static PyObject
*_wrap_wxDateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3577 PyObject
* _resultobj
;
3578 wxDateTime
* _result
;
3580 wxDateTime::WeekDay _arg1
;
3581 PyObject
* _argo0
= 0;
3582 char *_kwnames
[] = { "self","weekday", NULL
};
3586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToPrevWeekDay. Expected _wxDateTime_p.");
3596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3597 wxDateTime
& _result_ref
= wxDateTime_SetToPrevWeekDay(_arg0
,_arg1
);
3598 _result
= (wxDateTime
*) &_result_ref
;
3600 wxPyEndAllowThreads(__tstate
);
3601 if (PyErr_Occurred()) return NULL
;
3603 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3604 _resultobj
= Py_BuildValue("s",_ptemp
);
3607 _resultobj
= Py_None
;
3612 #define wxDateTime_GetPrevWeekDay(_swigobj,_swigarg0) (_swigobj->GetPrevWeekDay(_swigarg0))
3613 static PyObject
*_wrap_wxDateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
* _resultobj
;
3615 wxDateTime
* _result
;
3617 wxDateTime::WeekDay _arg1
;
3618 PyObject
* _argo0
= 0;
3619 char *_kwnames
[] = { "self","weekday", NULL
};
3623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetPrevWeekDay. Expected _wxDateTime_p.");
3633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3634 _result
= new wxDateTime (wxDateTime_GetPrevWeekDay(_arg0
,_arg1
));
3636 wxPyEndAllowThreads(__tstate
);
3637 if (PyErr_Occurred()) return NULL
;
3638 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3639 _resultobj
= Py_BuildValue("s",_ptemp
);
3643 #define wxDateTime_SetToWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetToWeekDay(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3644 static PyObject
*_wrap_wxDateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
* _resultobj
;
3648 wxDateTime::WeekDay _arg1
;
3649 int _arg2
= (int ) 1;
3650 wxDateTime::Month _arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3651 int _arg4
= (int ) wxDateTime::Inv_Year
;
3652 PyObject
* _argo0
= 0;
3653 char *_kwnames
[] = { "self","weekday","n","month","year", NULL
};
3656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iii:wxDateTime_SetToWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDay. Expected _wxDateTime_p.");
3666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3667 _result
= (bool )wxDateTime_SetToWeekDay(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3669 wxPyEndAllowThreads(__tstate
);
3670 if (PyErr_Occurred()) return NULL
;
3671 } _resultobj
= Py_BuildValue("i",_result
);
3675 #define wxDateTime_SetToLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetToLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3676 static PyObject
*_wrap_wxDateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
* _resultobj
;
3680 wxDateTime::WeekDay _arg1
;
3681 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3682 int _arg3
= (int ) wxDateTime::Inv_Year
;
3683 PyObject
* _argo0
= 0;
3684 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_SetToLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastWeekDay. Expected _wxDateTime_p.");
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 _result
= (bool )wxDateTime_SetToLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
);
3700 wxPyEndAllowThreads(__tstate
);
3701 if (PyErr_Occurred()) return NULL
;
3702 } _resultobj
= Py_BuildValue("i",_result
);
3706 #define wxDateTime_GetLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3707 static PyObject
*_wrap_wxDateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
* _resultobj
;
3709 wxDateTime
* _result
;
3711 wxDateTime::WeekDay _arg1
;
3712 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3713 int _arg3
= (int ) wxDateTime::Inv_Year
;
3714 PyObject
* _argo0
= 0;
3715 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_GetLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastWeekDay. Expected _wxDateTime_p.");
3729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3730 _result
= new wxDateTime (wxDateTime_GetLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
));
3732 wxPyEndAllowThreads(__tstate
);
3733 if (PyErr_Occurred()) return NULL
;
3734 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3735 _resultobj
= Py_BuildValue("s",_ptemp
);
3739 #define wxDateTime_SetToTheWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToTheWeek(_swigarg0,_swigarg1))
3740 static PyObject
*_wrap_wxDateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
* _resultobj
;
3744 wxDateTime::wxDateTime_t _arg1
;
3745 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3746 PyObject
* _argo0
= 0;
3747 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_SetToTheWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToTheWeek. Expected _wxDateTime_p.");
3760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3761 _result
= (bool )wxDateTime_SetToTheWeek(_arg0
,_arg1
,_arg2
);
3763 wxPyEndAllowThreads(__tstate
);
3764 if (PyErr_Occurred()) return NULL
;
3765 } _resultobj
= Py_BuildValue("i",_result
);
3769 #define wxDateTime_GetWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeek(_swigarg0,_swigarg1))
3770 static PyObject
*_wrap_wxDateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3771 PyObject
* _resultobj
;
3772 wxDateTime
* _result
;
3774 wxDateTime::wxDateTime_t _arg1
;
3775 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3776 PyObject
* _argo0
= 0;
3777 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_GetWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeek. Expected _wxDateTime_p.");
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 _result
= new wxDateTime (wxDateTime_GetWeek(_arg0
,_arg1
,_arg2
));
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) return NULL
;
3796 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3797 _resultobj
= Py_BuildValue("s",_ptemp
);
3801 #define wxDateTime_SetToLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToLastMonthDay(_swigarg0,_swigarg1))
3802 static PyObject
*_wrap_wxDateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
* _resultobj
;
3804 wxDateTime
* _result
;
3806 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3807 int _arg2
= (int ) wxDateTime::Inv_Year
;
3808 PyObject
* _argo0
= 0;
3809 char *_kwnames
[] = { "self","month","year", NULL
};
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_SetToLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastMonthDay. Expected _wxDateTime_p.");
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 wxDateTime
& _result_ref
= wxDateTime_SetToLastMonthDay(_arg0
,_arg1
,_arg2
);
3825 _result
= (wxDateTime
*) &_result_ref
;
3827 wxPyEndAllowThreads(__tstate
);
3828 if (PyErr_Occurred()) return NULL
;
3830 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3831 _resultobj
= Py_BuildValue("s",_ptemp
);
3834 _resultobj
= Py_None
;
3839 #define wxDateTime_GetLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastMonthDay(_swigarg0,_swigarg1))
3840 static PyObject
*_wrap_wxDateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
* _resultobj
;
3842 wxDateTime
* _result
;
3844 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3845 int _arg2
= (int ) wxDateTime::Inv_Year
;
3846 PyObject
* _argo0
= 0;
3847 char *_kwnames
[] = { "self","month","year", NULL
};
3851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_GetLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastMonthDay. Expected _wxDateTime_p.");
3861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3862 _result
= new wxDateTime (wxDateTime_GetLastMonthDay(_arg0
,_arg1
,_arg2
));
3864 wxPyEndAllowThreads(__tstate
);
3865 if (PyErr_Occurred()) return NULL
;
3866 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3867 _resultobj
= Py_BuildValue("s",_ptemp
);
3871 #define wxDateTime_SetToYearDay(_swigobj,_swigarg0) (_swigobj->SetToYearDay(_swigarg0))
3872 static PyObject
*_wrap_wxDateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
* _resultobj
;
3874 wxDateTime
* _result
;
3876 wxDateTime::wxDateTime_t _arg1
;
3877 PyObject
* _argo0
= 0;
3878 char *_kwnames
[] = { "self","yday", NULL
};
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetToYearDay",_kwnames
,&_argo0
,&_arg1
))
3885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToYearDay. Expected _wxDateTime_p.");
3892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3893 wxDateTime
& _result_ref
= wxDateTime_SetToYearDay(_arg0
,_arg1
);
3894 _result
= (wxDateTime
*) &_result_ref
;
3896 wxPyEndAllowThreads(__tstate
);
3897 if (PyErr_Occurred()) return NULL
;
3899 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3900 _resultobj
= Py_BuildValue("s",_ptemp
);
3903 _resultobj
= Py_None
;
3908 #define wxDateTime_GetYearDay(_swigobj,_swigarg0) (_swigobj->GetYearDay(_swigarg0))
3909 static PyObject
*_wrap_wxDateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
* _resultobj
;
3911 wxDateTime
* _result
;
3913 wxDateTime::wxDateTime_t _arg1
;
3914 PyObject
* _argo0
= 0;
3915 char *_kwnames
[] = { "self","yday", NULL
};
3919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_GetYearDay",_kwnames
,&_argo0
,&_arg1
))
3922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYearDay. Expected _wxDateTime_p.");
3929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3930 _result
= new wxDateTime (wxDateTime_GetYearDay(_arg0
,_arg1
));
3932 wxPyEndAllowThreads(__tstate
);
3933 if (PyErr_Occurred()) return NULL
;
3934 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3935 _resultobj
= Py_BuildValue("s",_ptemp
);
3939 #define wxDateTime_GetJulianDayNumber(_swigobj) (_swigobj->GetJulianDayNumber())
3940 static PyObject
*_wrap_wxDateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
* _resultobj
;
3944 PyObject
* _argo0
= 0;
3945 char *_kwnames
[] = { "self", NULL
};
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJulianDayNumber",_kwnames
,&_argo0
))
3951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJulianDayNumber. Expected _wxDateTime_p.");
3958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3959 _result
= (double )wxDateTime_GetJulianDayNumber(_arg0
);
3961 wxPyEndAllowThreads(__tstate
);
3962 if (PyErr_Occurred()) return NULL
;
3963 } _resultobj
= Py_BuildValue("d",_result
);
3967 #define wxDateTime_GetJDN(_swigobj) (_swigobj->GetJDN())
3968 static PyObject
*_wrap_wxDateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
* _resultobj
;
3972 PyObject
* _argo0
= 0;
3973 char *_kwnames
[] = { "self", NULL
};
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJDN",_kwnames
,&_argo0
))
3979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJDN. Expected _wxDateTime_p.");
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 _result
= (double )wxDateTime_GetJDN(_arg0
);
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) return NULL
;
3991 } _resultobj
= Py_BuildValue("d",_result
);
3995 #define wxDateTime_GetModifiedJulianDayNumber(_swigobj) (_swigobj->GetModifiedJulianDayNumber())
3996 static PyObject
*_wrap_wxDateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
* _resultobj
;
4000 PyObject
* _argo0
= 0;
4001 char *_kwnames
[] = { "self", NULL
};
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetModifiedJulianDayNumber",_kwnames
,&_argo0
))
4007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetModifiedJulianDayNumber. Expected _wxDateTime_p.");
4014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4015 _result
= (double )wxDateTime_GetModifiedJulianDayNumber(_arg0
);
4017 wxPyEndAllowThreads(__tstate
);
4018 if (PyErr_Occurred()) return NULL
;
4019 } _resultobj
= Py_BuildValue("d",_result
);
4023 #define wxDateTime_GetMJD(_swigobj) (_swigobj->GetMJD())
4024 static PyObject
*_wrap_wxDateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
* _resultobj
;
4028 PyObject
* _argo0
= 0;
4029 char *_kwnames
[] = { "self", NULL
};
4032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetMJD",_kwnames
,&_argo0
))
4035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMJD. Expected _wxDateTime_p.");
4042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4043 _result
= (double )wxDateTime_GetMJD(_arg0
);
4045 wxPyEndAllowThreads(__tstate
);
4046 if (PyErr_Occurred()) return NULL
;
4047 } _resultobj
= Py_BuildValue("d",_result
);
4051 #define wxDateTime_GetRataDie(_swigobj) (_swigobj->GetRataDie())
4052 static PyObject
*_wrap_wxDateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
* _resultobj
;
4056 PyObject
* _argo0
= 0;
4057 char *_kwnames
[] = { "self", NULL
};
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetRataDie",_kwnames
,&_argo0
))
4063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetRataDie. Expected _wxDateTime_p.");
4070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 _result
= (double )wxDateTime_GetRataDie(_arg0
);
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) return NULL
;
4075 } _resultobj
= Py_BuildValue("d",_result
);
4079 #define wxDateTime_ToTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToTimezone(_swigarg0,_swigarg1))
4080 static PyObject
*_wrap_wxDateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
* _resultobj
;
4082 wxDateTime
* _result
;
4084 wxDateTime::TimeZone
* _arg1
;
4085 bool _arg2
= (bool ) FALSE
;
4086 PyObject
* _argo0
= 0;
4087 PyObject
* _obj1
= 0;
4088 int tempbool2
= (int) FALSE
;
4089 char *_kwnames
[] = { "self","tz","noDST", NULL
};
4093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_ToTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
4096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToTimezone. Expected _wxDateTime_p.");
4103 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4105 _arg2
= (bool ) tempbool2
;
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 _result
= new wxDateTime (wxDateTime_ToTimezone(_arg0
,*_arg1
,_arg2
));
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) return NULL
;
4112 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4113 _resultobj
= Py_BuildValue("s",_ptemp
);
4115 if (_arg1
) delete _arg1
;
4120 #define wxDateTime_MakeTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeTimezone(_swigarg0,_swigarg1))
4121 static PyObject
*_wrap_wxDateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4122 PyObject
* _resultobj
;
4123 wxDateTime
* _result
;
4125 wxDateTime::TimeZone
* _arg1
;
4126 bool _arg2
= (bool ) FALSE
;
4127 PyObject
* _argo0
= 0;
4128 PyObject
* _obj1
= 0;
4129 int tempbool2
= (int) FALSE
;
4130 char *_kwnames
[] = { "self","tz","noDST", NULL
};
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_MakeTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
4137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeTimezone. Expected _wxDateTime_p.");
4144 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4146 _arg2
= (bool ) tempbool2
;
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 wxDateTime
& _result_ref
= wxDateTime_MakeTimezone(_arg0
,*_arg1
,_arg2
);
4150 _result
= (wxDateTime
*) &_result_ref
;
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) return NULL
;
4155 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4156 _resultobj
= Py_BuildValue("s",_ptemp
);
4159 _resultobj
= Py_None
;
4162 if (_arg1
) delete _arg1
;
4167 #define wxDateTime_ToGMT(_swigobj,_swigarg0) (_swigobj->ToGMT(_swigarg0))
4168 static PyObject
*_wrap_wxDateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
* _resultobj
;
4170 wxDateTime
* _result
;
4172 bool _arg1
= (bool ) FALSE
;
4173 PyObject
* _argo0
= 0;
4174 int tempbool1
= (int) FALSE
;
4175 char *_kwnames
[] = { "self","noDST", NULL
};
4179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_ToGMT",_kwnames
,&_argo0
,&tempbool1
))
4182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToGMT. Expected _wxDateTime_p.");
4188 _arg1
= (bool ) tempbool1
;
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 _result
= new wxDateTime (wxDateTime_ToGMT(_arg0
,_arg1
));
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) return NULL
;
4195 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4196 _resultobj
= Py_BuildValue("s",_ptemp
);
4200 #define wxDateTime_MakeGMT(_swigobj,_swigarg0) (_swigobj->MakeGMT(_swigarg0))
4201 static PyObject
*_wrap_wxDateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
* _resultobj
;
4203 wxDateTime
* _result
;
4205 bool _arg1
= (bool ) FALSE
;
4206 PyObject
* _argo0
= 0;
4207 int tempbool1
= (int) FALSE
;
4208 char *_kwnames
[] = { "self","noDST", NULL
};
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_MakeGMT",_kwnames
,&_argo0
,&tempbool1
))
4215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeGMT. Expected _wxDateTime_p.");
4221 _arg1
= (bool ) tempbool1
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 wxDateTime
& _result_ref
= wxDateTime_MakeGMT(_arg0
,_arg1
);
4225 _result
= (wxDateTime
*) &_result_ref
;
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) return NULL
;
4230 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4231 _resultobj
= Py_BuildValue("s",_ptemp
);
4234 _resultobj
= Py_None
;
4239 #define wxDateTime_IsDST(_swigobj,_swigarg0) (_swigobj->IsDST(_swigarg0))
4240 static PyObject
*_wrap_wxDateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
* _resultobj
;
4244 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
4245 PyObject
* _argo0
= 0;
4246 char *_kwnames
[] = { "self","country", NULL
};
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsDST",_kwnames
,&_argo0
,&_arg1
))
4252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsDST. Expected _wxDateTime_p.");
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 _result
= (int )wxDateTime_IsDST(_arg0
,_arg1
);
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) return NULL
;
4264 } _resultobj
= Py_BuildValue("i",_result
);
4268 #define wxDateTime_IsValid(_swigobj) (_swigobj->IsValid())
4269 static PyObject
*_wrap_wxDateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
* _resultobj
;
4273 PyObject
* _argo0
= 0;
4274 char *_kwnames
[] = { "self", NULL
};
4277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_IsValid",_kwnames
,&_argo0
))
4280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsValid. Expected _wxDateTime_p.");
4287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4288 _result
= (bool )wxDateTime_IsValid(_arg0
);
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) return NULL
;
4292 } _resultobj
= Py_BuildValue("i",_result
);
4296 #define wxDateTime_GetTicks(_swigobj) (_swigobj->GetTicks())
4297 static PyObject
*_wrap_wxDateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
* _resultobj
;
4301 PyObject
* _argo0
= 0;
4302 char *_kwnames
[] = { "self", NULL
};
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetTicks",_kwnames
,&_argo0
))
4308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetTicks. Expected _wxDateTime_p.");
4315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4316 _result
= (time_t )wxDateTime_GetTicks(_arg0
);
4318 wxPyEndAllowThreads(__tstate
);
4319 if (PyErr_Occurred()) return NULL
;
4320 } _resultobj
= Py_BuildValue("i",_result
);
4324 #define wxDateTime_GetYear(_swigobj,_swigarg0) (_swigobj->GetYear(_swigarg0))
4325 static PyObject
*_wrap_wxDateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
* _resultobj
;
4329 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4330 PyObject
* _argo0
= 0;
4331 PyObject
* _obj1
= 0;
4332 char *_kwnames
[] = { "self","tz", NULL
};
4335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetYear",_kwnames
,&_argo0
,&_obj1
))
4338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYear. Expected _wxDateTime_p.");
4346 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 _result
= (int )wxDateTime_GetYear(_arg0
,*_arg1
);
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) return NULL
;
4354 } _resultobj
= Py_BuildValue("i",_result
);
4356 if (_arg1
) delete _arg1
;
4361 #define wxDateTime_GetMonth(_swigobj,_swigarg0) (_swigobj->GetMonth(_swigarg0))
4362 static PyObject
*_wrap_wxDateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4363 PyObject
* _resultobj
;
4364 wxDateTime::Month _result
;
4366 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4367 PyObject
* _argo0
= 0;
4368 PyObject
* _obj1
= 0;
4369 char *_kwnames
[] = { "self","tz", NULL
};
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMonth",_kwnames
,&_argo0
,&_obj1
))
4375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMonth. Expected _wxDateTime_p.");
4383 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4387 _result
= (wxDateTime::Month
)wxDateTime_GetMonth(_arg0
,*_arg1
);
4389 wxPyEndAllowThreads(__tstate
);
4390 if (PyErr_Occurred()) return NULL
;
4391 } _resultobj
= Py_BuildValue("i",_result
);
4393 if (_arg1
) delete _arg1
;
4398 #define wxDateTime_GetDay(_swigobj,_swigarg0) (_swigobj->GetDay(_swigarg0))
4399 static PyObject
*_wrap_wxDateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
* _resultobj
;
4401 wxDateTime::wxDateTime_t _result
;
4403 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4404 PyObject
* _argo0
= 0;
4405 PyObject
* _obj1
= 0;
4406 char *_kwnames
[] = { "self","tz", NULL
};
4409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDay",_kwnames
,&_argo0
,&_obj1
))
4412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDay. Expected _wxDateTime_p.");
4420 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4424 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDay(_arg0
,*_arg1
);
4426 wxPyEndAllowThreads(__tstate
);
4427 if (PyErr_Occurred()) return NULL
;
4428 } _resultobj
= Py_BuildValue("h",_result
);
4430 if (_arg1
) delete _arg1
;
4435 #define wxDateTime_GetWeekDay(_swigobj,_swigarg0) (_swigobj->GetWeekDay(_swigarg0))
4436 static PyObject
*_wrap_wxDateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
* _resultobj
;
4438 wxDateTime::WeekDay _result
;
4440 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4441 PyObject
* _argo0
= 0;
4442 PyObject
* _obj1
= 0;
4443 char *_kwnames
[] = { "self","tz", NULL
};
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetWeekDay",_kwnames
,&_argo0
,&_obj1
))
4449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDay. Expected _wxDateTime_p.");
4457 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 _result
= (wxDateTime::WeekDay
)wxDateTime_GetWeekDay(_arg0
,*_arg1
);
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) return NULL
;
4465 } _resultobj
= Py_BuildValue("i",_result
);
4467 if (_arg1
) delete _arg1
;
4472 #define wxDateTime_GetHour(_swigobj,_swigarg0) (_swigobj->GetHour(_swigarg0))
4473 static PyObject
*_wrap_wxDateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
* _resultobj
;
4475 wxDateTime::wxDateTime_t _result
;
4477 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4478 PyObject
* _argo0
= 0;
4479 PyObject
* _obj1
= 0;
4480 char *_kwnames
[] = { "self","tz", NULL
};
4483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetHour",_kwnames
,&_argo0
,&_obj1
))
4486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetHour. Expected _wxDateTime_p.");
4494 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetHour(_arg0
,*_arg1
);
4500 wxPyEndAllowThreads(__tstate
);
4501 if (PyErr_Occurred()) return NULL
;
4502 } _resultobj
= Py_BuildValue("h",_result
);
4504 if (_arg1
) delete _arg1
;
4509 #define wxDateTime_GetMinute(_swigobj,_swigarg0) (_swigobj->GetMinute(_swigarg0))
4510 static PyObject
*_wrap_wxDateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4511 PyObject
* _resultobj
;
4512 wxDateTime::wxDateTime_t _result
;
4514 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4515 PyObject
* _argo0
= 0;
4516 PyObject
* _obj1
= 0;
4517 char *_kwnames
[] = { "self","tz", NULL
};
4520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMinute",_kwnames
,&_argo0
,&_obj1
))
4523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMinute. Expected _wxDateTime_p.");
4531 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4535 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMinute(_arg0
,*_arg1
);
4537 wxPyEndAllowThreads(__tstate
);
4538 if (PyErr_Occurred()) return NULL
;
4539 } _resultobj
= Py_BuildValue("h",_result
);
4541 if (_arg1
) delete _arg1
;
4546 #define wxDateTime_GetSecond(_swigobj,_swigarg0) (_swigobj->GetSecond(_swigarg0))
4547 static PyObject
*_wrap_wxDateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4548 PyObject
* _resultobj
;
4549 wxDateTime::wxDateTime_t _result
;
4551 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4552 PyObject
* _argo0
= 0;
4553 PyObject
* _obj1
= 0;
4554 char *_kwnames
[] = { "self","tz", NULL
};
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetSecond",_kwnames
,&_argo0
,&_obj1
))
4560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetSecond. Expected _wxDateTime_p.");
4568 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetSecond(_arg0
,*_arg1
);
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) return NULL
;
4576 } _resultobj
= Py_BuildValue("h",_result
);
4578 if (_arg1
) delete _arg1
;
4583 #define wxDateTime_GetMillisecond(_swigobj,_swigarg0) (_swigobj->GetMillisecond(_swigarg0))
4584 static PyObject
*_wrap_wxDateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4585 PyObject
* _resultobj
;
4586 wxDateTime::wxDateTime_t _result
;
4588 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4589 PyObject
* _argo0
= 0;
4590 PyObject
* _obj1
= 0;
4591 char *_kwnames
[] = { "self","tz", NULL
};
4594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMillisecond",_kwnames
,&_argo0
,&_obj1
))
4597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMillisecond. Expected _wxDateTime_p.");
4605 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4609 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMillisecond(_arg0
,*_arg1
);
4611 wxPyEndAllowThreads(__tstate
);
4612 if (PyErr_Occurred()) return NULL
;
4613 } _resultobj
= Py_BuildValue("h",_result
);
4615 if (_arg1
) delete _arg1
;
4620 #define wxDateTime_GetDayOfYear(_swigobj,_swigarg0) (_swigobj->GetDayOfYear(_swigarg0))
4621 static PyObject
*_wrap_wxDateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
* _resultobj
;
4623 wxDateTime::wxDateTime_t _result
;
4625 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4626 PyObject
* _argo0
= 0;
4627 PyObject
* _obj1
= 0;
4628 char *_kwnames
[] = { "self","tz", NULL
};
4631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDayOfYear",_kwnames
,&_argo0
,&_obj1
))
4634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDayOfYear. Expected _wxDateTime_p.");
4642 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDayOfYear(_arg0
,*_arg1
);
4648 wxPyEndAllowThreads(__tstate
);
4649 if (PyErr_Occurred()) return NULL
;
4650 } _resultobj
= Py_BuildValue("h",_result
);
4652 if (_arg1
) delete _arg1
;
4657 #define wxDateTime_GetWeekOfYear(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfYear(_swigarg0,_swigarg1))
4658 static PyObject
*_wrap_wxDateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
* _resultobj
;
4660 wxDateTime::wxDateTime_t _result
;
4662 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4663 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4664 PyObject
* _argo0
= 0;
4665 PyObject
* _obj2
= 0;
4666 char *_kwnames
[] = { "self","flags","tz", NULL
};
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfYear",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfYear. Expected _wxDateTime_p.");
4680 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4684 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfYear(_arg0
,_arg1
,*_arg2
);
4686 wxPyEndAllowThreads(__tstate
);
4687 if (PyErr_Occurred()) return NULL
;
4688 } _resultobj
= Py_BuildValue("h",_result
);
4690 if (_arg2
) delete _arg2
;
4695 #define wxDateTime_GetWeekOfMonth(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfMonth(_swigarg0,_swigarg1))
4696 static PyObject
*_wrap_wxDateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4697 PyObject
* _resultobj
;
4698 wxDateTime::wxDateTime_t _result
;
4700 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4701 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4702 PyObject
* _argo0
= 0;
4703 PyObject
* _obj2
= 0;
4704 char *_kwnames
[] = { "self","flags","tz", NULL
};
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfMonth",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfMonth. Expected _wxDateTime_p.");
4718 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfMonth(_arg0
,_arg1
,*_arg2
);
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) return NULL
;
4726 } _resultobj
= Py_BuildValue("h",_result
);
4728 if (_arg2
) delete _arg2
;
4733 #define wxDateTime_IsWorkDay(_swigobj,_swigarg0) (_swigobj->IsWorkDay(_swigarg0))
4734 static PyObject
*_wrap_wxDateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4735 PyObject
* _resultobj
;
4738 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
4739 PyObject
* _argo0
= 0;
4740 char *_kwnames
[] = { "self","country", NULL
};
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsWorkDay",_kwnames
,&_argo0
,&_arg1
))
4746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsWorkDay. Expected _wxDateTime_p.");
4753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4754 _result
= (bool )wxDateTime_IsWorkDay(_arg0
,_arg1
);
4756 wxPyEndAllowThreads(__tstate
);
4757 if (PyErr_Occurred()) return NULL
;
4758 } _resultobj
= Py_BuildValue("i",_result
);
4762 #define wxDateTime_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
4763 static PyObject
*_wrap_wxDateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
* _resultobj
;
4768 PyObject
* _argo0
= 0;
4769 PyObject
* _argo1
= 0;
4770 char *_kwnames
[] = { "self","datetime", NULL
};
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
4776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4783 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4784 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 _result
= (bool )wxDateTime_IsEqualTo(_arg0
,*_arg1
);
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) return NULL
;
4795 } _resultobj
= Py_BuildValue("i",_result
);
4799 #define wxDateTime_IsEarlierThan(_swigobj,_swigarg0) (_swigobj->IsEarlierThan(_swigarg0))
4800 static PyObject
*_wrap_wxDateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
* _resultobj
;
4805 PyObject
* _argo0
= 0;
4806 PyObject
* _argo1
= 0;
4807 char *_kwnames
[] = { "self","datetime", NULL
};
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEarlierThan",_kwnames
,&_argo0
,&_argo1
))
4813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4820 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4821 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 _result
= (bool )wxDateTime_IsEarlierThan(_arg0
,*_arg1
);
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) return NULL
;
4832 } _resultobj
= Py_BuildValue("i",_result
);
4836 #define wxDateTime_IsLaterThan(_swigobj,_swigarg0) (_swigobj->IsLaterThan(_swigarg0))
4837 static PyObject
*_wrap_wxDateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
* _resultobj
;
4842 PyObject
* _argo0
= 0;
4843 PyObject
* _argo1
= 0;
4844 char *_kwnames
[] = { "self","datetime", NULL
};
4847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsLaterThan",_kwnames
,&_argo0
,&_argo1
))
4850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4857 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4858 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4865 _result
= (bool )wxDateTime_IsLaterThan(_arg0
,*_arg1
);
4867 wxPyEndAllowThreads(__tstate
);
4868 if (PyErr_Occurred()) return NULL
;
4869 } _resultobj
= Py_BuildValue("i",_result
);
4873 #define wxDateTime_IsStrictlyBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsStrictlyBetween(_swigarg0,_swigarg1))
4874 static PyObject
*_wrap_wxDateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
* _resultobj
;
4880 PyObject
* _argo0
= 0;
4881 PyObject
* _argo1
= 0;
4882 PyObject
* _argo2
= 0;
4883 char *_kwnames
[] = { "self","t1","t2", NULL
};
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsStrictlyBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4896 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4897 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4903 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4904 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 _result
= (bool )wxDateTime_IsStrictlyBetween(_arg0
,*_arg1
,*_arg2
);
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) return NULL
;
4915 } _resultobj
= Py_BuildValue("i",_result
);
4919 #define wxDateTime_IsBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsBetween(_swigarg0,_swigarg1))
4920 static PyObject
*_wrap_wxDateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
* _resultobj
;
4926 PyObject
* _argo0
= 0;
4927 PyObject
* _argo1
= 0;
4928 PyObject
* _argo2
= 0;
4929 char *_kwnames
[] = { "self","t1","t2", NULL
};
4932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4942 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4943 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4949 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4950 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 _result
= (bool )wxDateTime_IsBetween(_arg0
,*_arg1
,*_arg2
);
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) return NULL
;
4961 } _resultobj
= Py_BuildValue("i",_result
);
4965 #define wxDateTime_IsSameDate(_swigobj,_swigarg0) (_swigobj->IsSameDate(_swigarg0))
4966 static PyObject
*_wrap_wxDateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
* _resultobj
;
4971 PyObject
* _argo0
= 0;
4972 PyObject
* _argo1
= 0;
4973 char *_kwnames
[] = { "self","dt", NULL
};
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameDate",_kwnames
,&_argo0
,&_argo1
))
4979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4986 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4987 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4994 _result
= (bool )wxDateTime_IsSameDate(_arg0
,*_arg1
);
4996 wxPyEndAllowThreads(__tstate
);
4997 if (PyErr_Occurred()) return NULL
;
4998 } _resultobj
= Py_BuildValue("i",_result
);
5002 #define wxDateTime_IsSameTime(_swigobj,_swigarg0) (_swigobj->IsSameTime(_swigarg0))
5003 static PyObject
*_wrap_wxDateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
* _resultobj
;
5008 PyObject
* _argo0
= 0;
5009 PyObject
* _argo1
= 0;
5010 char *_kwnames
[] = { "self","dt", NULL
};
5013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameTime",_kwnames
,&_argo0
,&_argo1
))
5016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
5023 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5024 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 _result
= (bool )wxDateTime_IsSameTime(_arg0
,*_arg1
);
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) return NULL
;
5035 } _resultobj
= Py_BuildValue("i",_result
);
5039 #define wxDateTime_IsEqualUpTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEqualUpTo(_swigarg0,_swigarg1))
5040 static PyObject
*_wrap_wxDateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5041 PyObject
* _resultobj
;
5046 PyObject
* _argo0
= 0;
5047 PyObject
* _argo1
= 0;
5048 PyObject
* _argo2
= 0;
5049 char *_kwnames
[] = { "self","dt","ts", NULL
};
5052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsEqualUpTo",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
5062 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5063 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
5069 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5070 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTimeSpan_p")) {
5071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsEqualUpTo. Expected _wxTimeSpan_p.");
5076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5077 _result
= (bool )wxDateTime_IsEqualUpTo(_arg0
,*_arg1
,*_arg2
);
5079 wxPyEndAllowThreads(__tstate
);
5080 if (PyErr_Occurred()) return NULL
;
5081 } _resultobj
= Py_BuildValue("i",_result
);
5085 #define wxDateTime_AddTS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
5086 static PyObject
*_wrap_wxDateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5087 PyObject
* _resultobj
;
5088 wxDateTime
* _result
;
5091 PyObject
* _argo0
= 0;
5092 PyObject
* _argo1
= 0;
5093 char *_kwnames
[] = { "self","diff", NULL
};
5097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddTS",_kwnames
,&_argo0
,&_argo1
))
5100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddTS. Expected _wxDateTime_p.");
5107 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5108 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddTS. Expected _wxTimeSpan_p.");
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 wxDateTime
& _result_ref
= wxDateTime_AddTS(_arg0
,*_arg1
);
5116 _result
= (wxDateTime
*) &_result_ref
;
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) return NULL
;
5121 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
5122 _resultobj
= Py_BuildValue("s",_ptemp
);
5125 _resultobj
= Py_None
;
5130 #define wxDateTime_AddDS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
5131 static PyObject
*_wrap_wxDateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
* _resultobj
;
5133 wxDateTime
* _result
;
5136 PyObject
* _argo0
= 0;
5137 PyObject
* _argo1
= 0;
5138 char *_kwnames
[] = { "self","diff", NULL
};
5142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddDS",_kwnames
,&_argo0
,&_argo1
))
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_AddDS. Expected _wxDateTime_p.");
5152 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5153 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddDS. Expected _wxDateSpan_p.");
5159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5160 wxDateTime
& _result_ref
= wxDateTime_AddDS(_arg0
,*_arg1
);
5161 _result
= (wxDateTime
*) &_result_ref
;
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) return NULL
;
5166 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
5167 _resultobj
= Py_BuildValue("s",_ptemp
);
5170 _resultobj
= Py_None
;
5175 #define wxDateTime_SubtractTS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5176 static PyObject
*_wrap_wxDateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
* _resultobj
;
5178 wxDateTime
* _result
;
5181 PyObject
* _argo0
= 0;
5182 PyObject
* _argo1
= 0;
5183 char *_kwnames
[] = { "self","diff", NULL
};
5187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractTS",_kwnames
,&_argo0
,&_argo1
))
5190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractTS. Expected _wxDateTime_p.");
5197 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5198 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractTS. Expected _wxTimeSpan_p.");
5204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5205 wxDateTime
& _result_ref
= wxDateTime_SubtractTS(_arg0
,*_arg1
);
5206 _result
= (wxDateTime
*) &_result_ref
;
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) return NULL
;
5211 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
5212 _resultobj
= Py_BuildValue("s",_ptemp
);
5215 _resultobj
= Py_None
;
5220 #define wxDateTime_SubtractDS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5221 static PyObject
*_wrap_wxDateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
* _resultobj
;
5223 wxDateTime
* _result
;
5226 PyObject
* _argo0
= 0;
5227 PyObject
* _argo1
= 0;
5228 char *_kwnames
[] = { "self","diff", NULL
};
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractDS",_kwnames
,&_argo0
,&_argo1
))
5235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractDS. Expected _wxDateTime_p.");
5242 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5243 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractDS. Expected _wxDateSpan_p.");
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 wxDateTime
& _result_ref
= wxDateTime_SubtractDS(_arg0
,*_arg1
);
5251 _result
= (wxDateTime
*) &_result_ref
;
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) return NULL
;
5256 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
5257 _resultobj
= Py_BuildValue("s",_ptemp
);
5260 _resultobj
= Py_None
;
5265 #define wxDateTime_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5266 static PyObject
*_wrap_wxDateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5267 PyObject
* _resultobj
;
5268 wxTimeSpan
* _result
;
5271 PyObject
* _argo0
= 0;
5272 PyObject
* _argo1
= 0;
5273 char *_kwnames
[] = { "self","dt", NULL
};
5277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_Subtract",_kwnames
,&_argo0
,&_argo1
))
5280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Subtract. Expected _wxDateTime_p.");
5287 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5288 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_Subtract. Expected _wxDateTime_p.");
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 _result
= new wxTimeSpan (wxDateTime_Subtract(_arg0
,*_arg1
));
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) return NULL
;
5299 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5300 _resultobj
= Py_BuildValue("s",_ptemp
);
5304 static wxDateTime
wxDateTime___add__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
5305 static PyObject
*_wrap_wxDateTime___add__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
* _resultobj
;
5307 wxDateTime
* _result
;
5310 PyObject
* _argo0
= 0;
5311 PyObject
* _argo1
= 0;
5312 char *_kwnames
[] = { "self","other", NULL
};
5316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__TS",_kwnames
,&_argo0
,&_argo1
))
5319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__TS. Expected _wxDateTime_p.");
5326 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5327 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__TS. Expected _wxTimeSpan_p.");
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 _result
= new wxDateTime (wxDateTime___add__TS(_arg0
,*_arg1
));
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) return NULL
;
5338 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5339 _resultobj
= Py_BuildValue("s",_ptemp
);
5343 static wxDateTime
wxDateTime___add__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
5344 static PyObject
*_wrap_wxDateTime___add__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
* _resultobj
;
5346 wxDateTime
* _result
;
5349 PyObject
* _argo0
= 0;
5350 PyObject
* _argo1
= 0;
5351 char *_kwnames
[] = { "self","other", NULL
};
5355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__DS",_kwnames
,&_argo0
,&_argo1
))
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___add__DS. Expected _wxDateTime_p.");
5365 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5366 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__DS. Expected _wxDateSpan_p.");
5372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5373 _result
= new wxDateTime (wxDateTime___add__DS(_arg0
,*_arg1
));
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) return NULL
;
5377 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5378 _resultobj
= Py_BuildValue("s",_ptemp
);
5382 static wxTimeSpan
wxDateTime___sub__DT(wxDateTime
*self
,const wxDateTime
& other
) { return *self
- other
; }
5383 static PyObject
*_wrap_wxDateTime___sub__DT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5384 PyObject
* _resultobj
;
5385 wxTimeSpan
* _result
;
5388 PyObject
* _argo0
= 0;
5389 PyObject
* _argo1
= 0;
5390 char *_kwnames
[] = { "self","other", NULL
};
5394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DT",_kwnames
,&_argo0
,&_argo1
))
5397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
5404 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5405 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
5411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 _result
= new wxTimeSpan (wxDateTime___sub__DT(_arg0
,*_arg1
));
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) return NULL
;
5416 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5417 _resultobj
= Py_BuildValue("s",_ptemp
);
5421 static wxDateTime
wxDateTime___sub__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
5422 static PyObject
*_wrap_wxDateTime___sub__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
* _resultobj
;
5424 wxDateTime
* _result
;
5427 PyObject
* _argo0
= 0;
5428 PyObject
* _argo1
= 0;
5429 char *_kwnames
[] = { "self","other", NULL
};
5433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__TS",_kwnames
,&_argo0
,&_argo1
))
5436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__TS. Expected _wxDateTime_p.");
5443 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5444 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__TS. Expected _wxTimeSpan_p.");
5450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5451 _result
= new wxDateTime (wxDateTime___sub__TS(_arg0
,*_arg1
));
5453 wxPyEndAllowThreads(__tstate
);
5454 if (PyErr_Occurred()) return NULL
;
5455 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5456 _resultobj
= Py_BuildValue("s",_ptemp
);
5460 static wxDateTime
wxDateTime___sub__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
- other
; }
5461 static PyObject
*_wrap_wxDateTime___sub__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
* _resultobj
;
5463 wxDateTime
* _result
;
5466 PyObject
* _argo0
= 0;
5467 PyObject
* _argo1
= 0;
5468 char *_kwnames
[] = { "self","other", NULL
};
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DS",_kwnames
,&_argo0
,&_argo1
))
5475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DS. Expected _wxDateTime_p.");
5482 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5483 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DS. Expected _wxDateSpan_p.");
5489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5490 _result
= new wxDateTime (wxDateTime___sub__DS(_arg0
,*_arg1
));
5492 wxPyEndAllowThreads(__tstate
);
5493 if (PyErr_Occurred()) return NULL
;
5494 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5495 _resultobj
= Py_BuildValue("s",_ptemp
);
5499 static int wxDateTime___cmp__(wxDateTime
*self
,const wxDateTime
& other
) {
5500 if (*self
< other
) return -1;
5501 if (*self
== other
) return 0;
5504 static PyObject
*_wrap_wxDateTime___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
* _resultobj
;
5509 PyObject
* _argo0
= 0;
5510 PyObject
* _argo1
= 0;
5511 char *_kwnames
[] = { "self","other", NULL
};
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___cmp__",_kwnames
,&_argo0
,&_argo1
))
5517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5524 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5525 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 _result
= (int )wxDateTime___cmp__(_arg0
,*_arg1
);
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) return NULL
;
5536 } _resultobj
= Py_BuildValue("i",_result
);
5540 #define wxDateTime_ParseRfc822Date(_swigobj,_swigarg0) (_swigobj->ParseRfc822Date(_swigarg0))
5541 static PyObject
*_wrap_wxDateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
* _resultobj
;
5546 PyObject
* _argo0
= 0;
5547 char *_kwnames
[] = { "self","date", NULL
};
5550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseRfc822Date",_kwnames
,&_argo0
,&_arg1
))
5553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseRfc822Date. Expected _wxDateTime_p.");
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 _result
= (char *)wxDateTime_ParseRfc822Date(_arg0
,_arg1
);
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) return NULL
;
5565 } _resultobj
= Py_BuildValue("s", _result
);
5569 #define wxDateTime_ParseFormat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ParseFormat(_swigarg0,_swigarg1,_swigarg2))
5570 static PyObject
*_wrap_wxDateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
* _resultobj
;
5575 char * _arg2
= (char *) "%c";
5576 wxDateTime
* _arg3
= (wxDateTime
*) &wxDefaultDateTime
;
5577 PyObject
* _argo0
= 0;
5578 PyObject
* _argo3
= 0;
5579 char *_kwnames
[] = { "self","date","format","dateDef", NULL
};
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|sO:wxDateTime_ParseFormat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
5585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5592 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5593 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime_p")) {
5594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 _result
= (char *)wxDateTime_ParseFormat(_arg0
,_arg1
,_arg2
,*_arg3
);
5602 wxPyEndAllowThreads(__tstate
);
5603 if (PyErr_Occurred()) return NULL
;
5604 } _resultobj
= Py_BuildValue("s", _result
);
5608 #define wxDateTime_ParseDateTime(_swigobj,_swigarg0) (_swigobj->ParseDateTime(_swigarg0))
5609 static PyObject
*_wrap_wxDateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
* _resultobj
;
5614 PyObject
* _argo0
= 0;
5615 char *_kwnames
[] = { "self","datetime", NULL
};
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseDateTime",_kwnames
,&_argo0
,&_arg1
))
5621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDateTime. Expected _wxDateTime_p.");
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 _result
= (char *)wxDateTime_ParseDateTime(_arg0
,_arg1
);
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) return NULL
;
5633 } _resultobj
= Py_BuildValue("s", _result
);
5637 #define wxDateTime_ParseDate(_swigobj,_swigarg0) (_swigobj->ParseDate(_swigarg0))
5638 static PyObject
*_wrap_wxDateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
* _resultobj
;
5643 PyObject
* _argo0
= 0;
5644 char *_kwnames
[] = { "self","date", NULL
};
5647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseDate",_kwnames
,&_argo0
,&_arg1
))
5650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDate. Expected _wxDateTime_p.");
5657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5658 _result
= (char *)wxDateTime_ParseDate(_arg0
,_arg1
);
5660 wxPyEndAllowThreads(__tstate
);
5661 if (PyErr_Occurred()) return NULL
;
5662 } _resultobj
= Py_BuildValue("s", _result
);
5666 #define wxDateTime_ParseTime(_swigobj,_swigarg0) (_swigobj->ParseTime(_swigarg0))
5667 static PyObject
*_wrap_wxDateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
* _resultobj
;
5672 PyObject
* _argo0
= 0;
5673 char *_kwnames
[] = { "self","time", NULL
};
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseTime",_kwnames
,&_argo0
,&_arg1
))
5679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseTime. Expected _wxDateTime_p.");
5686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5687 _result
= (char *)wxDateTime_ParseTime(_arg0
,_arg1
);
5689 wxPyEndAllowThreads(__tstate
);
5690 if (PyErr_Occurred()) return NULL
;
5691 } _resultobj
= Py_BuildValue("s", _result
);
5695 #define wxDateTime_Format(_swigobj,_swigarg0,_swigarg1) (_swigobj->Format(_swigarg0,_swigarg1))
5696 static PyObject
*_wrap_wxDateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
* _resultobj
;
5700 char * _arg1
= (char *) "%c";
5701 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
5702 PyObject
* _argo0
= 0;
5703 PyObject
* _obj2
= 0;
5704 char *_kwnames
[] = { "self","format","tz", NULL
};
5707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sO:wxDateTime_Format",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Format. Expected _wxDateTime_p.");
5718 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
5721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5722 _result
= new wxString (wxDateTime_Format(_arg0
,_arg1
,*_arg2
));
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) return NULL
;
5727 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5730 if (_arg2
) delete _arg2
;
5738 #define wxDateTime_FormatDate(_swigobj) (_swigobj->FormatDate())
5739 static PyObject
*_wrap_wxDateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
* _resultobj
;
5743 PyObject
* _argo0
= 0;
5744 char *_kwnames
[] = { "self", NULL
};
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatDate",_kwnames
,&_argo0
))
5750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatDate. Expected _wxDateTime_p.");
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 _result
= new wxString (wxDateTime_FormatDate(_arg0
));
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) return NULL
;
5763 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5771 #define wxDateTime_FormatTime(_swigobj) (_swigobj->FormatTime())
5772 static PyObject
*_wrap_wxDateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
* _resultobj
;
5776 PyObject
* _argo0
= 0;
5777 char *_kwnames
[] = { "self", NULL
};
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatTime",_kwnames
,&_argo0
))
5783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatTime. Expected _wxDateTime_p.");
5790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5791 _result
= new wxString (wxDateTime_FormatTime(_arg0
));
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) return NULL
;
5796 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5804 #define wxDateTime_FormatISODate(_swigobj) (_swigobj->FormatISODate())
5805 static PyObject
*_wrap_wxDateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
* _resultobj
;
5809 PyObject
* _argo0
= 0;
5810 char *_kwnames
[] = { "self", NULL
};
5813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISODate",_kwnames
,&_argo0
))
5816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISODate. Expected _wxDateTime_p.");
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 _result
= new wxString (wxDateTime_FormatISODate(_arg0
));
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) return NULL
;
5829 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5837 #define wxDateTime_FormatISOTime(_swigobj) (_swigobj->FormatISOTime())
5838 static PyObject
*_wrap_wxDateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
* _resultobj
;
5842 PyObject
* _argo0
= 0;
5843 char *_kwnames
[] = { "self", NULL
};
5846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISOTime",_kwnames
,&_argo0
))
5849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISOTime. Expected _wxDateTime_p.");
5856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5857 _result
= new wxString (wxDateTime_FormatISOTime(_arg0
));
5859 wxPyEndAllowThreads(__tstate
);
5860 if (PyErr_Occurred()) return NULL
;
5862 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5870 static PyObject
*_wrap_wxTimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
* _resultobj
;
5872 wxTimeSpan
* _result
;
5874 char *_kwnames
[] = { "sec", NULL
};
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Seconds",_kwnames
,&_arg0
))
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 _result
= new wxTimeSpan (wxTimeSpan::Seconds(_arg0
));
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) return NULL
;
5886 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5887 _resultobj
= Py_BuildValue("s",_ptemp
);
5891 static PyObject
*_wrap_wxTimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5892 PyObject
* _resultobj
;
5893 wxTimeSpan
* _result
;
5894 char *_kwnames
[] = { NULL
};
5898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Second",_kwnames
))
5901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5902 _result
= new wxTimeSpan (wxTimeSpan::Second());
5904 wxPyEndAllowThreads(__tstate
);
5905 if (PyErr_Occurred()) return NULL
;
5906 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5907 _resultobj
= Py_BuildValue("s",_ptemp
);
5911 static PyObject
*_wrap_wxTimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
* _resultobj
;
5913 wxTimeSpan
* _result
;
5915 char *_kwnames
[] = { "min", NULL
};
5919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Minutes",_kwnames
,&_arg0
))
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5923 _result
= new wxTimeSpan (wxTimeSpan::Minutes(_arg0
));
5925 wxPyEndAllowThreads(__tstate
);
5926 if (PyErr_Occurred()) return NULL
;
5927 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5928 _resultobj
= Py_BuildValue("s",_ptemp
);
5932 static PyObject
*_wrap_wxTimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
* _resultobj
;
5934 wxTimeSpan
* _result
;
5935 char *_kwnames
[] = { NULL
};
5939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Minute",_kwnames
))
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 _result
= new wxTimeSpan (wxTimeSpan::Minute());
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) return NULL
;
5947 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5948 _resultobj
= Py_BuildValue("s",_ptemp
);
5952 static PyObject
*_wrap_wxTimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
* _resultobj
;
5954 wxTimeSpan
* _result
;
5956 char *_kwnames
[] = { "hours", NULL
};
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Hours",_kwnames
,&_arg0
))
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 _result
= new wxTimeSpan (wxTimeSpan::Hours(_arg0
));
5966 wxPyEndAllowThreads(__tstate
);
5967 if (PyErr_Occurred()) return NULL
;
5968 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5969 _resultobj
= Py_BuildValue("s",_ptemp
);
5973 static PyObject
*_wrap_wxTimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
* _resultobj
;
5975 wxTimeSpan
* _result
;
5976 char *_kwnames
[] = { NULL
};
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Hour",_kwnames
))
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 _result
= new wxTimeSpan (wxTimeSpan::Hour());
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) return NULL
;
5988 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5989 _resultobj
= Py_BuildValue("s",_ptemp
);
5993 static PyObject
*_wrap_wxTimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
* _resultobj
;
5995 wxTimeSpan
* _result
;
5997 char *_kwnames
[] = { "days", NULL
};
6001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Days",_kwnames
,&_arg0
))
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 _result
= new wxTimeSpan (wxTimeSpan::Days(_arg0
));
6007 wxPyEndAllowThreads(__tstate
);
6008 if (PyErr_Occurred()) return NULL
;
6009 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6010 _resultobj
= Py_BuildValue("s",_ptemp
);
6014 static PyObject
*_wrap_wxTimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6015 PyObject
* _resultobj
;
6016 wxTimeSpan
* _result
;
6017 char *_kwnames
[] = { NULL
};
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Day",_kwnames
))
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 _result
= new wxTimeSpan (wxTimeSpan::Day());
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) return NULL
;
6029 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6030 _resultobj
= Py_BuildValue("s",_ptemp
);
6034 static PyObject
*_wrap_wxTimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
* _resultobj
;
6036 wxTimeSpan
* _result
;
6038 char *_kwnames
[] = { "days", NULL
};
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Weeks",_kwnames
,&_arg0
))
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 _result
= new wxTimeSpan (wxTimeSpan::Weeks(_arg0
));
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) return NULL
;
6050 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6051 _resultobj
= Py_BuildValue("s",_ptemp
);
6055 static PyObject
*_wrap_wxTimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6056 PyObject
* _resultobj
;
6057 wxTimeSpan
* _result
;
6058 char *_kwnames
[] = { NULL
};
6062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Week",_kwnames
))
6065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6066 _result
= new wxTimeSpan (wxTimeSpan::Week());
6068 wxPyEndAllowThreads(__tstate
);
6069 if (PyErr_Occurred()) return NULL
;
6070 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6071 _resultobj
= Py_BuildValue("s",_ptemp
);
6075 #define new_wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6076 static PyObject
*_wrap_new_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6077 PyObject
* _resultobj
;
6078 wxTimeSpan
* _result
;
6079 long _arg0
= (long ) 0;
6080 long _arg1
= (long ) 0;
6081 long _arg2
= (long ) 0;
6082 long _arg3
= (long ) 0;
6083 char *_kwnames
[] = { "hours","minutes","seconds","milliseconds", NULL
};
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxTimeSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 _result
= (wxTimeSpan
*)new_wxTimeSpan(_arg0
,_arg1
,_arg2
,_arg3
);
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) return NULL
;
6096 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6097 _resultobj
= Py_BuildValue("s",_ptemp
);
6100 _resultobj
= Py_None
;
6105 #define delete_wxTimeSpan(_swigobj) (delete _swigobj)
6106 static PyObject
*_wrap_delete_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6107 PyObject
* _resultobj
;
6109 PyObject
* _argo0
= 0;
6110 char *_kwnames
[] = { "self", NULL
};
6113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTimeSpan",_kwnames
,&_argo0
))
6116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTimeSpan. Expected _wxTimeSpan_p.");
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 delete_wxTimeSpan(_arg0
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) return NULL
;
6128 } Py_INCREF(Py_None
);
6129 _resultobj
= Py_None
;
6133 #define wxTimeSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
6134 static PyObject
*_wrap_wxTimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
* _resultobj
;
6136 wxTimeSpan
* _result
;
6139 PyObject
* _argo0
= 0;
6140 PyObject
* _argo1
= 0;
6141 char *_kwnames
[] = { "self","diff", NULL
};
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Add",_kwnames
,&_argo0
,&_argo1
))
6148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
6155 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6156 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
6162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6163 wxTimeSpan
& _result_ref
= wxTimeSpan_Add(_arg0
,*_arg1
);
6164 _result
= (wxTimeSpan
*) &_result_ref
;
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) return NULL
;
6169 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6170 _resultobj
= Py_BuildValue("s",_ptemp
);
6173 _resultobj
= Py_None
;
6178 #define wxTimeSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
6179 static PyObject
*_wrap_wxTimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
* _resultobj
;
6181 wxTimeSpan
* _result
;
6184 PyObject
* _argo0
= 0;
6185 PyObject
* _argo1
= 0;
6186 char *_kwnames
[] = { "self","diff", NULL
};
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
6193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
6200 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6201 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
6207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6208 wxTimeSpan
& _result_ref
= wxTimeSpan_Subtract(_arg0
,*_arg1
);
6209 _result
= (wxTimeSpan
*) &_result_ref
;
6211 wxPyEndAllowThreads(__tstate
);
6212 if (PyErr_Occurred()) return NULL
;
6214 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6215 _resultobj
= Py_BuildValue("s",_ptemp
);
6218 _resultobj
= Py_None
;
6223 #define wxTimeSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
6224 static PyObject
*_wrap_wxTimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
* _resultobj
;
6226 wxTimeSpan
* _result
;
6229 PyObject
* _argo0
= 0;
6230 char *_kwnames
[] = { "self","n", NULL
};
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
6237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Multiply. Expected _wxTimeSpan_p.");
6244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6245 wxTimeSpan
& _result_ref
= wxTimeSpan_Multiply(_arg0
,_arg1
);
6246 _result
= (wxTimeSpan
*) &_result_ref
;
6248 wxPyEndAllowThreads(__tstate
);
6249 if (PyErr_Occurred()) return NULL
;
6251 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6252 _resultobj
= Py_BuildValue("s",_ptemp
);
6255 _resultobj
= Py_None
;
6260 #define wxTimeSpan_Neg(_swigobj) (_swigobj->Neg())
6261 static PyObject
*_wrap_wxTimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
* _resultobj
;
6263 wxTimeSpan
* _result
;
6265 PyObject
* _argo0
= 0;
6266 char *_kwnames
[] = { "self", NULL
};
6270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Neg",_kwnames
,&_argo0
))
6273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Neg. Expected _wxTimeSpan_p.");
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 wxTimeSpan
& _result_ref
= wxTimeSpan_Neg(_arg0
);
6282 _result
= (wxTimeSpan
*) &_result_ref
;
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) return NULL
;
6287 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6288 _resultobj
= Py_BuildValue("s",_ptemp
);
6291 _resultobj
= Py_None
;
6296 #define wxTimeSpan_Abs(_swigobj) (_swigobj->Abs())
6297 static PyObject
*_wrap_wxTimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
* _resultobj
;
6299 wxTimeSpan
* _result
;
6301 PyObject
* _argo0
= 0;
6302 char *_kwnames
[] = { "self", NULL
};
6306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Abs",_kwnames
,&_argo0
))
6309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Abs. Expected _wxTimeSpan_p.");
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 _result
= new wxTimeSpan (wxTimeSpan_Abs(_arg0
));
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) return NULL
;
6321 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6322 _resultobj
= Py_BuildValue("s",_ptemp
);
6326 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
6327 static PyObject
*_wrap_wxTimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
* _resultobj
;
6329 wxTimeSpan
* _result
;
6332 PyObject
* _argo0
= 0;
6333 PyObject
* _argo1
= 0;
6334 char *_kwnames
[] = { "self","other", NULL
};
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___add__",_kwnames
,&_argo0
,&_argo1
))
6341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6348 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6349 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 _result
= new wxTimeSpan (wxTimeSpan___add__(_arg0
,*_arg1
));
6358 wxPyEndAllowThreads(__tstate
);
6359 if (PyErr_Occurred()) return NULL
;
6360 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6361 _resultobj
= Py_BuildValue("s",_ptemp
);
6365 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
6366 static PyObject
*_wrap_wxTimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
* _resultobj
;
6368 wxTimeSpan
* _result
;
6371 PyObject
* _argo0
= 0;
6372 PyObject
* _argo1
= 0;
6373 char *_kwnames
[] = { "self","other", NULL
};
6377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
6380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6387 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6388 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 _result
= new wxTimeSpan (wxTimeSpan___sub__(_arg0
,*_arg1
));
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) return NULL
;
6399 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6400 _resultobj
= Py_BuildValue("s",_ptemp
);
6404 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
) { return *self
* n
; }
6405 static PyObject
*_wrap_wxTimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
* _resultobj
;
6407 wxTimeSpan
* _result
;
6410 PyObject
* _argo0
= 0;
6411 char *_kwnames
[] = { "self","n", NULL
};
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
6418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___mul__. Expected _wxTimeSpan_p.");
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 _result
= new wxTimeSpan (wxTimeSpan___mul__(_arg0
,_arg1
));
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) return NULL
;
6430 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6431 _resultobj
= Py_BuildValue("s",_ptemp
);
6435 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
) { return n
* *self
; }
6436 static PyObject
*_wrap_wxTimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6437 PyObject
* _resultobj
;
6438 wxTimeSpan
* _result
;
6441 PyObject
* _argo0
= 0;
6442 char *_kwnames
[] = { "self","n", NULL
};
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
6449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___rmul__. Expected _wxTimeSpan_p.");
6456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6457 _result
= new wxTimeSpan (wxTimeSpan___rmul__(_arg0
,_arg1
));
6459 wxPyEndAllowThreads(__tstate
);
6460 if (PyErr_Occurred()) return NULL
;
6461 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6462 _resultobj
= Py_BuildValue("s",_ptemp
);
6466 static wxTimeSpan
wxTimeSpan___neg__(wxTimeSpan
*self
) { return self
->Negate(); }
6467 static PyObject
*_wrap_wxTimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6468 PyObject
* _resultobj
;
6469 wxTimeSpan
* _result
;
6471 PyObject
* _argo0
= 0;
6472 char *_kwnames
[] = { "self", NULL
};
6476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan___neg__",_kwnames
,&_argo0
))
6479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___neg__. Expected _wxTimeSpan_p.");
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 _result
= new wxTimeSpan (wxTimeSpan___neg__(_arg0
));
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) return NULL
;
6491 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6492 _resultobj
= Py_BuildValue("s",_ptemp
);
6496 static int wxTimeSpan___cmp__(wxTimeSpan
*self
,const wxTimeSpan
& other
) {
6497 if (*self
< other
) return -1;
6498 if (*self
== other
) return 0;
6501 static PyObject
*_wrap_wxTimeSpan___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
* _resultobj
;
6506 PyObject
* _argo0
= 0;
6507 PyObject
* _argo1
= 0;
6508 char *_kwnames
[] = { "self","other", NULL
};
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___cmp__",_kwnames
,&_argo0
,&_argo1
))
6514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6521 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6522 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6529 _result
= (int )wxTimeSpan___cmp__(_arg0
,*_arg1
);
6531 wxPyEndAllowThreads(__tstate
);
6532 if (PyErr_Occurred()) return NULL
;
6533 } _resultobj
= Py_BuildValue("i",_result
);
6537 #define wxTimeSpan_IsNull(_swigobj) (_swigobj->IsNull())
6538 static PyObject
*_wrap_wxTimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
* _resultobj
;
6542 PyObject
* _argo0
= 0;
6543 char *_kwnames
[] = { "self", NULL
};
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNull",_kwnames
,&_argo0
))
6549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNull. Expected _wxTimeSpan_p.");
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 _result
= (bool )wxTimeSpan_IsNull(_arg0
);
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) return NULL
;
6561 } _resultobj
= Py_BuildValue("i",_result
);
6565 #define wxTimeSpan_IsPositive(_swigobj) (_swigobj->IsPositive())
6566 static PyObject
*_wrap_wxTimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
* _resultobj
;
6570 PyObject
* _argo0
= 0;
6571 char *_kwnames
[] = { "self", NULL
};
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsPositive",_kwnames
,&_argo0
))
6577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsPositive. Expected _wxTimeSpan_p.");
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 _result
= (bool )wxTimeSpan_IsPositive(_arg0
);
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) return NULL
;
6589 } _resultobj
= Py_BuildValue("i",_result
);
6593 #define wxTimeSpan_IsNegative(_swigobj) (_swigobj->IsNegative())
6594 static PyObject
*_wrap_wxTimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
* _resultobj
;
6598 PyObject
* _argo0
= 0;
6599 char *_kwnames
[] = { "self", NULL
};
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNegative",_kwnames
,&_argo0
))
6605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNegative. Expected _wxTimeSpan_p.");
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6613 _result
= (bool )wxTimeSpan_IsNegative(_arg0
);
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) return NULL
;
6617 } _resultobj
= Py_BuildValue("i",_result
);
6621 #define wxTimeSpan_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
6622 static PyObject
*_wrap_wxTimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6623 PyObject
* _resultobj
;
6627 PyObject
* _argo0
= 0;
6628 PyObject
* _argo1
= 0;
6629 char *_kwnames
[] = { "self","ts", NULL
};
6632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
6635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6642 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6643 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6650 _result
= (bool )wxTimeSpan_IsEqualTo(_arg0
,*_arg1
);
6652 wxPyEndAllowThreads(__tstate
);
6653 if (PyErr_Occurred()) return NULL
;
6654 } _resultobj
= Py_BuildValue("i",_result
);
6658 #define wxTimeSpan_IsLongerThan(_swigobj,_swigarg0) (_swigobj->IsLongerThan(_swigarg0))
6659 static PyObject
*_wrap_wxTimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6660 PyObject
* _resultobj
;
6664 PyObject
* _argo0
= 0;
6665 PyObject
* _argo1
= 0;
6666 char *_kwnames
[] = { "self","ts", NULL
};
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsLongerThan",_kwnames
,&_argo0
,&_argo1
))
6672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6679 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6680 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 _result
= (bool )wxTimeSpan_IsLongerThan(_arg0
,*_arg1
);
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) return NULL
;
6691 } _resultobj
= Py_BuildValue("i",_result
);
6695 #define wxTimeSpan_IsShorterThan(_swigobj,_swigarg0) (_swigobj->IsShorterThan(_swigarg0))
6696 static PyObject
*_wrap_wxTimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6697 PyObject
* _resultobj
;
6701 PyObject
* _argo0
= 0;
6702 PyObject
* _argo1
= 0;
6703 char *_kwnames
[] = { "self","t", NULL
};
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsShorterThan",_kwnames
,&_argo0
,&_argo1
))
6709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6716 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6717 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6724 _result
= (bool )wxTimeSpan_IsShorterThan(_arg0
,*_arg1
);
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) return NULL
;
6728 } _resultobj
= Py_BuildValue("i",_result
);
6732 #define wxTimeSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
6733 static PyObject
*_wrap_wxTimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
* _resultobj
;
6737 PyObject
* _argo0
= 0;
6738 char *_kwnames
[] = { "self", NULL
};
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetWeeks",_kwnames
,&_argo0
))
6744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetWeeks. Expected _wxTimeSpan_p.");
6751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6752 _result
= (int )wxTimeSpan_GetWeeks(_arg0
);
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) return NULL
;
6756 } _resultobj
= Py_BuildValue("i",_result
);
6760 #define wxTimeSpan_GetDays(_swigobj) (_swigobj->GetDays())
6761 static PyObject
*_wrap_wxTimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
* _resultobj
;
6765 PyObject
* _argo0
= 0;
6766 char *_kwnames
[] = { "self", NULL
};
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetDays",_kwnames
,&_argo0
))
6772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetDays. Expected _wxTimeSpan_p.");
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 _result
= (int )wxTimeSpan_GetDays(_arg0
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) return NULL
;
6784 } _resultobj
= Py_BuildValue("i",_result
);
6788 #define wxTimeSpan_GetHours(_swigobj) (_swigobj->GetHours())
6789 static PyObject
*_wrap_wxTimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
* _resultobj
;
6793 PyObject
* _argo0
= 0;
6794 char *_kwnames
[] = { "self", NULL
};
6797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetHours",_kwnames
,&_argo0
))
6800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetHours. Expected _wxTimeSpan_p.");
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 _result
= (int )wxTimeSpan_GetHours(_arg0
);
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) return NULL
;
6812 } _resultobj
= Py_BuildValue("i",_result
);
6816 #define wxTimeSpan_GetMinutes(_swigobj) (_swigobj->GetMinutes())
6817 static PyObject
*_wrap_wxTimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
* _resultobj
;
6821 PyObject
* _argo0
= 0;
6822 char *_kwnames
[] = { "self", NULL
};
6825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMinutes",_kwnames
,&_argo0
))
6828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMinutes. Expected _wxTimeSpan_p.");
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 _result
= (int )wxTimeSpan_GetMinutes(_arg0
);
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) return NULL
;
6840 } _resultobj
= Py_BuildValue("i",_result
);
6844 #define wxTimeSpan_GetSeconds(_swigobj) (_swigobj->GetSeconds())
6845 static PyObject
*_wrap_wxTimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
* _resultobj
;
6847 wxLongLong
* _result
;
6849 PyObject
* _argo0
= 0;
6850 char *_kwnames
[] = { "self", NULL
};
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetSeconds",_kwnames
,&_argo0
))
6856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetSeconds. Expected _wxTimeSpan_p.");
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 _result
= new wxLongLong (wxTimeSpan_GetSeconds(_arg0
));
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) return NULL
;
6869 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6870 hi
= PyLong_FromLong(_result
->GetHi());
6871 lo
= PyLong_FromLong(_result
->GetLo());
6872 shifter
= PyLong_FromLong(32);
6873 shifted
= PyNumber_Lshift(hi
, shifter
);
6874 _resultobj
= PyNumber_Or(shifted
, lo
);
6883 #define wxTimeSpan_GetMilliseconds(_swigobj) (_swigobj->GetMilliseconds())
6884 static PyObject
*_wrap_wxTimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
* _resultobj
;
6886 wxLongLong
* _result
;
6888 PyObject
* _argo0
= 0;
6889 char *_kwnames
[] = { "self", NULL
};
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMilliseconds",_kwnames
,&_argo0
))
6895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMilliseconds. Expected _wxTimeSpan_p.");
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 _result
= new wxLongLong (wxTimeSpan_GetMilliseconds(_arg0
));
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) return NULL
;
6908 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6909 hi
= PyLong_FromLong(_result
->GetHi());
6910 lo
= PyLong_FromLong(_result
->GetLo());
6911 shifter
= PyLong_FromLong(32);
6912 shifted
= PyNumber_Lshift(hi
, shifter
);
6913 _resultobj
= PyNumber_Or(shifted
, lo
);
6922 #define wxTimeSpan_Format(_swigobj,_swigarg0) (_swigobj->Format(_swigarg0))
6923 static PyObject
*_wrap_wxTimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
* _resultobj
;
6927 char * _arg1
= (char *) "%c";
6928 PyObject
* _argo0
= 0;
6929 char *_kwnames
[] = { "self","format", NULL
};
6932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxTimeSpan_Format",_kwnames
,&_argo0
,&_arg1
))
6935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Format. Expected _wxTimeSpan_p.");
6942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6943 _result
= new wxString (wxTimeSpan_Format(_arg0
,_arg1
));
6945 wxPyEndAllowThreads(__tstate
);
6946 if (PyErr_Occurred()) return NULL
;
6948 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6956 #define new_wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6957 static PyObject
*_wrap_new_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
* _resultobj
;
6959 wxDateSpan
* _result
;
6960 int _arg0
= (int ) 0;
6961 int _arg1
= (int ) 0;
6962 int _arg2
= (int ) 0;
6963 int _arg3
= (int ) 0;
6964 char *_kwnames
[] = { "years","months","weeks","days", NULL
};
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxDateSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
6971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6972 _result
= (wxDateSpan
*)new_wxDateSpan(_arg0
,_arg1
,_arg2
,_arg3
);
6974 wxPyEndAllowThreads(__tstate
);
6975 if (PyErr_Occurred()) return NULL
;
6977 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6978 _resultobj
= Py_BuildValue("s",_ptemp
);
6981 _resultobj
= Py_None
;
6986 #define delete_wxDateSpan(_swigobj) (delete _swigobj)
6987 static PyObject
*_wrap_delete_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
* _resultobj
;
6990 PyObject
* _argo0
= 0;
6991 char *_kwnames
[] = { "self", NULL
};
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateSpan",_kwnames
,&_argo0
))
6997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateSpan. Expected _wxDateSpan_p.");
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 delete_wxDateSpan(_arg0
);
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) return NULL
;
7009 } Py_INCREF(Py_None
);
7010 _resultobj
= Py_None
;
7014 static PyObject
*_wrap_wxDateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
* _resultobj
;
7016 wxDateSpan
* _result
;
7018 char *_kwnames
[] = { "days", NULL
};
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Days",_kwnames
,&_arg0
))
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 _result
= new wxDateSpan (wxDateSpan::Days(_arg0
));
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) return NULL
;
7030 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7031 _resultobj
= Py_BuildValue("s",_ptemp
);
7035 static PyObject
*_wrap_wxDateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
* _resultobj
;
7037 wxDateSpan
* _result
;
7038 char *_kwnames
[] = { NULL
};
7042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Day",_kwnames
))
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 _result
= new wxDateSpan (wxDateSpan::Day());
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) return NULL
;
7050 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7051 _resultobj
= Py_BuildValue("s",_ptemp
);
7055 static PyObject
*_wrap_wxDateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
* _resultobj
;
7057 wxDateSpan
* _result
;
7059 char *_kwnames
[] = { "weeks", NULL
};
7063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Weeks",_kwnames
,&_arg0
))
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 _result
= new wxDateSpan (wxDateSpan::Weeks(_arg0
));
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) return NULL
;
7071 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7072 _resultobj
= Py_BuildValue("s",_ptemp
);
7076 static PyObject
*_wrap_wxDateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
* _resultobj
;
7078 wxDateSpan
* _result
;
7079 char *_kwnames
[] = { NULL
};
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Week",_kwnames
))
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 _result
= new wxDateSpan (wxDateSpan::Week());
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) return NULL
;
7091 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7092 _resultobj
= Py_BuildValue("s",_ptemp
);
7096 static PyObject
*_wrap_wxDateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
* _resultobj
;
7098 wxDateSpan
* _result
;
7100 char *_kwnames
[] = { "mon", NULL
};
7104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Months",_kwnames
,&_arg0
))
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 _result
= new wxDateSpan (wxDateSpan::Months(_arg0
));
7110 wxPyEndAllowThreads(__tstate
);
7111 if (PyErr_Occurred()) return NULL
;
7112 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7113 _resultobj
= Py_BuildValue("s",_ptemp
);
7117 static PyObject
*_wrap_wxDateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
* _resultobj
;
7119 wxDateSpan
* _result
;
7120 char *_kwnames
[] = { NULL
};
7124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Month",_kwnames
))
7127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 _result
= new wxDateSpan (wxDateSpan::Month());
7130 wxPyEndAllowThreads(__tstate
);
7131 if (PyErr_Occurred()) return NULL
;
7132 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7133 _resultobj
= Py_BuildValue("s",_ptemp
);
7137 static PyObject
*_wrap_wxDateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
* _resultobj
;
7139 wxDateSpan
* _result
;
7141 char *_kwnames
[] = { "years", NULL
};
7145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Years",_kwnames
,&_arg0
))
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 _result
= new wxDateSpan (wxDateSpan::Years(_arg0
));
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) return NULL
;
7153 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7154 _resultobj
= Py_BuildValue("s",_ptemp
);
7158 static PyObject
*_wrap_wxDateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7159 PyObject
* _resultobj
;
7160 wxDateSpan
* _result
;
7161 char *_kwnames
[] = { NULL
};
7165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Year",_kwnames
))
7168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 _result
= new wxDateSpan (wxDateSpan::Year());
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) return NULL
;
7173 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7174 _resultobj
= Py_BuildValue("s",_ptemp
);
7178 #define wxDateSpan_SetYears(_swigobj,_swigarg0) (_swigobj->SetYears(_swigarg0))
7179 static PyObject
*_wrap_wxDateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7180 PyObject
* _resultobj
;
7181 wxDateSpan
* _result
;
7184 PyObject
* _argo0
= 0;
7185 char *_kwnames
[] = { "self","n", NULL
};
7189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetYears",_kwnames
,&_argo0
,&_arg1
))
7192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetYears. Expected _wxDateSpan_p.");
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 wxDateSpan
& _result_ref
= wxDateSpan_SetYears(_arg0
,_arg1
);
7201 _result
= (wxDateSpan
*) &_result_ref
;
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) return NULL
;
7206 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7207 _resultobj
= Py_BuildValue("s",_ptemp
);
7210 _resultobj
= Py_None
;
7215 #define wxDateSpan_SetMonths(_swigobj,_swigarg0) (_swigobj->SetMonths(_swigarg0))
7216 static PyObject
*_wrap_wxDateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7217 PyObject
* _resultobj
;
7218 wxDateSpan
* _result
;
7221 PyObject
* _argo0
= 0;
7222 char *_kwnames
[] = { "self","n", NULL
};
7226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetMonths",_kwnames
,&_argo0
,&_arg1
))
7229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetMonths. Expected _wxDateSpan_p.");
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 wxDateSpan
& _result_ref
= wxDateSpan_SetMonths(_arg0
,_arg1
);
7238 _result
= (wxDateSpan
*) &_result_ref
;
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) return NULL
;
7243 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7244 _resultobj
= Py_BuildValue("s",_ptemp
);
7247 _resultobj
= Py_None
;
7252 #define wxDateSpan_SetWeeks(_swigobj,_swigarg0) (_swigobj->SetWeeks(_swigarg0))
7253 static PyObject
*_wrap_wxDateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
* _resultobj
;
7255 wxDateSpan
* _result
;
7258 PyObject
* _argo0
= 0;
7259 char *_kwnames
[] = { "self","n", NULL
};
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetWeeks",_kwnames
,&_argo0
,&_arg1
))
7266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetWeeks. Expected _wxDateSpan_p.");
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 wxDateSpan
& _result_ref
= wxDateSpan_SetWeeks(_arg0
,_arg1
);
7275 _result
= (wxDateSpan
*) &_result_ref
;
7277 wxPyEndAllowThreads(__tstate
);
7278 if (PyErr_Occurred()) return NULL
;
7280 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7281 _resultobj
= Py_BuildValue("s",_ptemp
);
7284 _resultobj
= Py_None
;
7289 #define wxDateSpan_SetDays(_swigobj,_swigarg0) (_swigobj->SetDays(_swigarg0))
7290 static PyObject
*_wrap_wxDateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7291 PyObject
* _resultobj
;
7292 wxDateSpan
* _result
;
7295 PyObject
* _argo0
= 0;
7296 char *_kwnames
[] = { "self","n", NULL
};
7300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetDays",_kwnames
,&_argo0
,&_arg1
))
7303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetDays. Expected _wxDateSpan_p.");
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 wxDateSpan
& _result_ref
= wxDateSpan_SetDays(_arg0
,_arg1
);
7312 _result
= (wxDateSpan
*) &_result_ref
;
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) return NULL
;
7317 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7318 _resultobj
= Py_BuildValue("s",_ptemp
);
7321 _resultobj
= Py_None
;
7326 #define wxDateSpan_GetYears(_swigobj) (_swigobj->GetYears())
7327 static PyObject
*_wrap_wxDateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
* _resultobj
;
7331 PyObject
* _argo0
= 0;
7332 char *_kwnames
[] = { "self", NULL
};
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetYears",_kwnames
,&_argo0
))
7338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetYears. Expected _wxDateSpan_p.");
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 _result
= (int )wxDateSpan_GetYears(_arg0
);
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) return NULL
;
7350 } _resultobj
= Py_BuildValue("i",_result
);
7354 #define wxDateSpan_GetMonths(_swigobj) (_swigobj->GetMonths())
7355 static PyObject
*_wrap_wxDateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
* _resultobj
;
7359 PyObject
* _argo0
= 0;
7360 char *_kwnames
[] = { "self", NULL
};
7363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetMonths",_kwnames
,&_argo0
))
7366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetMonths. Expected _wxDateSpan_p.");
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 _result
= (int )wxDateSpan_GetMonths(_arg0
);
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) return NULL
;
7378 } _resultobj
= Py_BuildValue("i",_result
);
7382 #define wxDateSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
7383 static PyObject
*_wrap_wxDateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7384 PyObject
* _resultobj
;
7387 PyObject
* _argo0
= 0;
7388 char *_kwnames
[] = { "self", NULL
};
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetWeeks",_kwnames
,&_argo0
))
7394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetWeeks. Expected _wxDateSpan_p.");
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 _result
= (int )wxDateSpan_GetWeeks(_arg0
);
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) return NULL
;
7406 } _resultobj
= Py_BuildValue("i",_result
);
7410 #define wxDateSpan_GetDays(_swigobj) (_swigobj->GetDays())
7411 static PyObject
*_wrap_wxDateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7412 PyObject
* _resultobj
;
7415 PyObject
* _argo0
= 0;
7416 char *_kwnames
[] = { "self", NULL
};
7419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetDays",_kwnames
,&_argo0
))
7422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetDays. Expected _wxDateSpan_p.");
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 _result
= (int )wxDateSpan_GetDays(_arg0
);
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) return NULL
;
7434 } _resultobj
= Py_BuildValue("i",_result
);
7438 #define wxDateSpan_GetTotalDays(_swigobj) (_swigobj->GetTotalDays())
7439 static PyObject
*_wrap_wxDateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
* _resultobj
;
7443 PyObject
* _argo0
= 0;
7444 char *_kwnames
[] = { "self", NULL
};
7447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetTotalDays",_kwnames
,&_argo0
))
7450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetTotalDays. Expected _wxDateSpan_p.");
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 _result
= (int )wxDateSpan_GetTotalDays(_arg0
);
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) return NULL
;
7462 } _resultobj
= Py_BuildValue("i",_result
);
7466 #define wxDateSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
7467 static PyObject
*_wrap_wxDateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
* _resultobj
;
7469 wxDateSpan
* _result
;
7472 PyObject
* _argo0
= 0;
7473 PyObject
* _argo1
= 0;
7474 char *_kwnames
[] = { "self","other", NULL
};
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Add",_kwnames
,&_argo0
,&_argo1
))
7481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7488 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7489 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7496 wxDateSpan
& _result_ref
= wxDateSpan_Add(_arg0
,*_arg1
);
7497 _result
= (wxDateSpan
*) &_result_ref
;
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) return NULL
;
7502 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7503 _resultobj
= Py_BuildValue("s",_ptemp
);
7506 _resultobj
= Py_None
;
7511 #define wxDateSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
7512 static PyObject
*_wrap_wxDateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
* _resultobj
;
7514 wxDateSpan
* _result
;
7517 PyObject
* _argo0
= 0;
7518 PyObject
* _argo1
= 0;
7519 char *_kwnames
[] = { "self","other", NULL
};
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
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_Subtract. Expected _wxDateSpan_p.");
7533 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7534 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7541 wxDateSpan
& _result_ref
= wxDateSpan_Subtract(_arg0
,*_arg1
);
7542 _result
= (wxDateSpan
*) &_result_ref
;
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) return NULL
;
7547 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7548 _resultobj
= Py_BuildValue("s",_ptemp
);
7551 _resultobj
= Py_None
;
7556 #define wxDateSpan_Neg(_swigobj) (_swigobj->Neg())
7557 static PyObject
*_wrap_wxDateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
* _resultobj
;
7559 wxDateSpan
* _result
;
7561 PyObject
* _argo0
= 0;
7562 char *_kwnames
[] = { "self", NULL
};
7566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_Neg",_kwnames
,&_argo0
))
7569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Neg. Expected _wxDateSpan_p.");
7576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7577 wxDateSpan
& _result_ref
= wxDateSpan_Neg(_arg0
);
7578 _result
= (wxDateSpan
*) &_result_ref
;
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) return NULL
;
7583 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7584 _resultobj
= Py_BuildValue("s",_ptemp
);
7587 _resultobj
= Py_None
;
7592 #define wxDateSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
7593 static PyObject
*_wrap_wxDateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
* _resultobj
;
7595 wxDateSpan
* _result
;
7598 PyObject
* _argo0
= 0;
7599 char *_kwnames
[] = { "self","factor", NULL
};
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
7606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Multiply. Expected _wxDateSpan_p.");
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 wxDateSpan
& _result_ref
= wxDateSpan_Multiply(_arg0
,_arg1
);
7615 _result
= (wxDateSpan
*) &_result_ref
;
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) return NULL
;
7620 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7621 _resultobj
= Py_BuildValue("s",_ptemp
);
7624 _resultobj
= Py_None
;
7629 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
7630 static PyObject
*_wrap_wxDateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7631 PyObject
* _resultobj
;
7632 wxDateSpan
* _result
;
7635 PyObject
* _argo0
= 0;
7636 PyObject
* _argo1
= 0;
7637 char *_kwnames
[] = { "self","other", NULL
};
7641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___add__",_kwnames
,&_argo0
,&_argo1
))
7644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7651 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7652 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7659 _result
= new wxDateSpan (wxDateSpan___add__(_arg0
,*_arg1
));
7661 wxPyEndAllowThreads(__tstate
);
7662 if (PyErr_Occurred()) return NULL
;
7663 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7664 _resultobj
= Py_BuildValue("s",_ptemp
);
7668 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
- other
; }
7669 static PyObject
*_wrap_wxDateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7670 PyObject
* _resultobj
;
7671 wxDateSpan
* _result
;
7674 PyObject
* _argo0
= 0;
7675 PyObject
* _argo1
= 0;
7676 char *_kwnames
[] = { "self","other", NULL
};
7680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
7683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7690 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7691 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7698 _result
= new wxDateSpan (wxDateSpan___sub__(_arg0
,*_arg1
));
7700 wxPyEndAllowThreads(__tstate
);
7701 if (PyErr_Occurred()) return NULL
;
7702 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7703 _resultobj
= Py_BuildValue("s",_ptemp
);
7707 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
) { return *self
* n
; }
7708 static PyObject
*_wrap_wxDateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
* _resultobj
;
7710 wxDateSpan
* _result
;
7713 PyObject
* _argo0
= 0;
7714 char *_kwnames
[] = { "self","n", NULL
};
7718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
7721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___mul__. Expected _wxDateSpan_p.");
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 _result
= new wxDateSpan (wxDateSpan___mul__(_arg0
,_arg1
));
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) return NULL
;
7733 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7734 _resultobj
= Py_BuildValue("s",_ptemp
);
7738 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
) { return n
* *self
; }
7739 static PyObject
*_wrap_wxDateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7740 PyObject
* _resultobj
;
7741 wxDateSpan
* _result
;
7744 PyObject
* _argo0
= 0;
7745 char *_kwnames
[] = { "self","n", NULL
};
7749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
7752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___rmul__. Expected _wxDateSpan_p.");
7759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7760 _result
= new wxDateSpan (wxDateSpan___rmul__(_arg0
,_arg1
));
7762 wxPyEndAllowThreads(__tstate
);
7763 if (PyErr_Occurred()) return NULL
;
7764 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7765 _resultobj
= Py_BuildValue("s",_ptemp
);
7769 static wxDateSpan
wxDateSpan___neg__(wxDateSpan
*self
) { return self
->Negate(); }
7770 static PyObject
*_wrap_wxDateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7771 PyObject
* _resultobj
;
7772 wxDateSpan
* _result
;
7774 PyObject
* _argo0
= 0;
7775 char *_kwnames
[] = { "self", NULL
};
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan___neg__",_kwnames
,&_argo0
))
7782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___neg__. Expected _wxDateSpan_p.");
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 _result
= new wxDateSpan (wxDateSpan___neg__(_arg0
));
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) return NULL
;
7794 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7795 _resultobj
= Py_BuildValue("s",_ptemp
);
7799 static PyMethodDef utilscMethods
[] = {
7800 { "wxDateSpan___neg__", (PyCFunction
) _wrap_wxDateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7801 { "wxDateSpan___rmul__", (PyCFunction
) _wrap_wxDateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7802 { "wxDateSpan___mul__", (PyCFunction
) _wrap_wxDateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7803 { "wxDateSpan___sub__", (PyCFunction
) _wrap_wxDateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7804 { "wxDateSpan___add__", (PyCFunction
) _wrap_wxDateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7805 { "wxDateSpan_Multiply", (PyCFunction
) _wrap_wxDateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7806 { "wxDateSpan_Neg", (PyCFunction
) _wrap_wxDateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7807 { "wxDateSpan_Subtract", (PyCFunction
) _wrap_wxDateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7808 { "wxDateSpan_Add", (PyCFunction
) _wrap_wxDateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7809 { "wxDateSpan_GetTotalDays", (PyCFunction
) _wrap_wxDateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
7810 { "wxDateSpan_GetDays", (PyCFunction
) _wrap_wxDateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7811 { "wxDateSpan_GetWeeks", (PyCFunction
) _wrap_wxDateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7812 { "wxDateSpan_GetMonths", (PyCFunction
) _wrap_wxDateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7813 { "wxDateSpan_GetYears", (PyCFunction
) _wrap_wxDateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
7814 { "wxDateSpan_SetDays", (PyCFunction
) _wrap_wxDateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
7815 { "wxDateSpan_SetWeeks", (PyCFunction
) _wrap_wxDateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7816 { "wxDateSpan_SetMonths", (PyCFunction
) _wrap_wxDateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7817 { "wxDateSpan_SetYears", (PyCFunction
) _wrap_wxDateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
7818 { "wxDateSpan_Year", (PyCFunction
) _wrap_wxDateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
7819 { "wxDateSpan_Years", (PyCFunction
) _wrap_wxDateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
7820 { "wxDateSpan_Month", (PyCFunction
) _wrap_wxDateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
7821 { "wxDateSpan_Months", (PyCFunction
) _wrap_wxDateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
7822 { "wxDateSpan_Week", (PyCFunction
) _wrap_wxDateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7823 { "wxDateSpan_Weeks", (PyCFunction
) _wrap_wxDateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7824 { "wxDateSpan_Day", (PyCFunction
) _wrap_wxDateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7825 { "wxDateSpan_Days", (PyCFunction
) _wrap_wxDateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7826 { "delete_wxDateSpan", (PyCFunction
) _wrap_delete_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7827 { "new_wxDateSpan", (PyCFunction
) _wrap_new_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7828 { "wxTimeSpan_Format", (PyCFunction
) _wrap_wxTimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
7829 { "wxTimeSpan_GetMilliseconds", (PyCFunction
) _wrap_wxTimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
7830 { "wxTimeSpan_GetSeconds", (PyCFunction
) _wrap_wxTimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
7831 { "wxTimeSpan_GetMinutes", (PyCFunction
) _wrap_wxTimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
7832 { "wxTimeSpan_GetHours", (PyCFunction
) _wrap_wxTimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
7833 { "wxTimeSpan_GetDays", (PyCFunction
) _wrap_wxTimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7834 { "wxTimeSpan_GetWeeks", (PyCFunction
) _wrap_wxTimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7835 { "wxTimeSpan_IsShorterThan", (PyCFunction
) _wrap_wxTimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
7836 { "wxTimeSpan_IsLongerThan", (PyCFunction
) _wrap_wxTimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
7837 { "wxTimeSpan_IsEqualTo", (PyCFunction
) _wrap_wxTimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7838 { "wxTimeSpan_IsNegative", (PyCFunction
) _wrap_wxTimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
7839 { "wxTimeSpan_IsPositive", (PyCFunction
) _wrap_wxTimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
7840 { "wxTimeSpan_IsNull", (PyCFunction
) _wrap_wxTimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
7841 { "wxTimeSpan___cmp__", (PyCFunction
) _wrap_wxTimeSpan___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7842 { "wxTimeSpan___neg__", (PyCFunction
) _wrap_wxTimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7843 { "wxTimeSpan___rmul__", (PyCFunction
) _wrap_wxTimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7844 { "wxTimeSpan___mul__", (PyCFunction
) _wrap_wxTimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7845 { "wxTimeSpan___sub__", (PyCFunction
) _wrap_wxTimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7846 { "wxTimeSpan___add__", (PyCFunction
) _wrap_wxTimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7847 { "wxTimeSpan_Abs", (PyCFunction
) _wrap_wxTimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
7848 { "wxTimeSpan_Neg", (PyCFunction
) _wrap_wxTimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7849 { "wxTimeSpan_Multiply", (PyCFunction
) _wrap_wxTimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7850 { "wxTimeSpan_Subtract", (PyCFunction
) _wrap_wxTimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7851 { "wxTimeSpan_Add", (PyCFunction
) _wrap_wxTimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7852 { "delete_wxTimeSpan", (PyCFunction
) _wrap_delete_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7853 { "new_wxTimeSpan", (PyCFunction
) _wrap_new_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7854 { "wxTimeSpan_Week", (PyCFunction
) _wrap_wxTimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7855 { "wxTimeSpan_Weeks", (PyCFunction
) _wrap_wxTimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7856 { "wxTimeSpan_Day", (PyCFunction
) _wrap_wxTimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7857 { "wxTimeSpan_Days", (PyCFunction
) _wrap_wxTimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7858 { "wxTimeSpan_Hour", (PyCFunction
) _wrap_wxTimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
7859 { "wxTimeSpan_Hours", (PyCFunction
) _wrap_wxTimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
7860 { "wxTimeSpan_Minute", (PyCFunction
) _wrap_wxTimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
7861 { "wxTimeSpan_Minutes", (PyCFunction
) _wrap_wxTimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
7862 { "wxTimeSpan_Second", (PyCFunction
) _wrap_wxTimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
7863 { "wxTimeSpan_Seconds", (PyCFunction
) _wrap_wxTimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
7864 { "wxDateTime_FormatISOTime", (PyCFunction
) _wrap_wxDateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
7865 { "wxDateTime_FormatISODate", (PyCFunction
) _wrap_wxDateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
7866 { "wxDateTime_FormatTime", (PyCFunction
) _wrap_wxDateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
7867 { "wxDateTime_FormatDate", (PyCFunction
) _wrap_wxDateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
7868 { "wxDateTime_Format", (PyCFunction
) _wrap_wxDateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
7869 { "wxDateTime_ParseTime", (PyCFunction
) _wrap_wxDateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
7870 { "wxDateTime_ParseDate", (PyCFunction
) _wrap_wxDateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
7871 { "wxDateTime_ParseDateTime", (PyCFunction
) _wrap_wxDateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7872 { "wxDateTime_ParseFormat", (PyCFunction
) _wrap_wxDateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
7873 { "wxDateTime_ParseRfc822Date", (PyCFunction
) _wrap_wxDateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
7874 { "wxDateTime___cmp__", (PyCFunction
) _wrap_wxDateTime___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7875 { "wxDateTime___sub__DS", (PyCFunction
) _wrap_wxDateTime___sub__DS
, METH_VARARGS
| METH_KEYWORDS
},
7876 { "wxDateTime___sub__TS", (PyCFunction
) _wrap_wxDateTime___sub__TS
, METH_VARARGS
| METH_KEYWORDS
},
7877 { "wxDateTime___sub__DT", (PyCFunction
) _wrap_wxDateTime___sub__DT
, METH_VARARGS
| METH_KEYWORDS
},
7878 { "wxDateTime___add__DS", (PyCFunction
) _wrap_wxDateTime___add__DS
, METH_VARARGS
| METH_KEYWORDS
},
7879 { "wxDateTime___add__TS", (PyCFunction
) _wrap_wxDateTime___add__TS
, METH_VARARGS
| METH_KEYWORDS
},
7880 { "wxDateTime_Subtract", (PyCFunction
) _wrap_wxDateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7881 { "wxDateTime_SubtractDS", (PyCFunction
) _wrap_wxDateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
7882 { "wxDateTime_SubtractTS", (PyCFunction
) _wrap_wxDateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
7883 { "wxDateTime_AddDS", (PyCFunction
) _wrap_wxDateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
7884 { "wxDateTime_AddTS", (PyCFunction
) _wrap_wxDateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
7885 { "wxDateTime_IsEqualUpTo", (PyCFunction
) _wrap_wxDateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
7886 { "wxDateTime_IsSameTime", (PyCFunction
) _wrap_wxDateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
7887 { "wxDateTime_IsSameDate", (PyCFunction
) _wrap_wxDateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
7888 { "wxDateTime_IsBetween", (PyCFunction
) _wrap_wxDateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
7889 { "wxDateTime_IsStrictlyBetween", (PyCFunction
) _wrap_wxDateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
7890 { "wxDateTime_IsLaterThan", (PyCFunction
) _wrap_wxDateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
7891 { "wxDateTime_IsEarlierThan", (PyCFunction
) _wrap_wxDateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
7892 { "wxDateTime_IsEqualTo", (PyCFunction
) _wrap_wxDateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7893 { "wxDateTime_IsWorkDay", (PyCFunction
) _wrap_wxDateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
7894 { "wxDateTime_GetWeekOfMonth", (PyCFunction
) _wrap_wxDateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
7895 { "wxDateTime_GetWeekOfYear", (PyCFunction
) _wrap_wxDateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7896 { "wxDateTime_GetDayOfYear", (PyCFunction
) _wrap_wxDateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7897 { "wxDateTime_GetMillisecond", (PyCFunction
) _wrap_wxDateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7898 { "wxDateTime_GetSecond", (PyCFunction
) _wrap_wxDateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7899 { "wxDateTime_GetMinute", (PyCFunction
) _wrap_wxDateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7900 { "wxDateTime_GetHour", (PyCFunction
) _wrap_wxDateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
7901 { "wxDateTime_GetWeekDay", (PyCFunction
) _wrap_wxDateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7902 { "wxDateTime_GetDay", (PyCFunction
) _wrap_wxDateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
7903 { "wxDateTime_GetMonth", (PyCFunction
) _wrap_wxDateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7904 { "wxDateTime_GetYear", (PyCFunction
) _wrap_wxDateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
7905 { "wxDateTime_GetTicks", (PyCFunction
) _wrap_wxDateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
7906 { "wxDateTime_IsValid", (PyCFunction
) _wrap_wxDateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
7907 { "wxDateTime_IsDST", (PyCFunction
) _wrap_wxDateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
7908 { "wxDateTime_MakeGMT", (PyCFunction
) _wrap_wxDateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
7909 { "wxDateTime_ToGMT", (PyCFunction
) _wrap_wxDateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
7910 { "wxDateTime_MakeTimezone", (PyCFunction
) _wrap_wxDateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7911 { "wxDateTime_ToTimezone", (PyCFunction
) _wrap_wxDateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7912 { "wxDateTime_GetRataDie", (PyCFunction
) _wrap_wxDateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
7913 { "wxDateTime_GetMJD", (PyCFunction
) _wrap_wxDateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
7914 { "wxDateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7915 { "wxDateTime_GetJDN", (PyCFunction
) _wrap_wxDateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7916 { "wxDateTime_GetJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7917 { "wxDateTime_GetYearDay", (PyCFunction
) _wrap_wxDateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7918 { "wxDateTime_SetToYearDay", (PyCFunction
) _wrap_wxDateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7919 { "wxDateTime_GetLastMonthDay", (PyCFunction
) _wrap_wxDateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7920 { "wxDateTime_SetToLastMonthDay", (PyCFunction
) _wrap_wxDateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7921 { "wxDateTime_GetWeek", (PyCFunction
) _wrap_wxDateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
7922 { "wxDateTime_SetToTheWeek", (PyCFunction
) _wrap_wxDateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
7923 { "wxDateTime_GetLastWeekDay", (PyCFunction
) _wrap_wxDateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7924 { "wxDateTime_SetToLastWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7925 { "wxDateTime_SetToWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7926 { "wxDateTime_GetPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7927 { "wxDateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7928 { "wxDateTime_GetNextWeekDay", (PyCFunction
) _wrap_wxDateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7929 { "wxDateTime_SetToNextWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7930 { "wxDateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7931 { "wxDateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7932 { "wxDateTime_SetMillisecond", (PyCFunction
) _wrap_wxDateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7933 { "wxDateTime_SetSecond", (PyCFunction
) _wrap_wxDateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7934 { "wxDateTime_SetMinute", (PyCFunction
) _wrap_wxDateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7935 { "wxDateTime_SetHour", (PyCFunction
) _wrap_wxDateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
7936 { "wxDateTime_SetDay", (PyCFunction
) _wrap_wxDateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
7937 { "wxDateTime_SetMonth", (PyCFunction
) _wrap_wxDateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7938 { "wxDateTime_SetYear", (PyCFunction
) _wrap_wxDateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
7939 { "wxDateTime_ResetTime", (PyCFunction
) _wrap_wxDateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
7940 { "wxDateTime_Set", (PyCFunction
) _wrap_wxDateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
7941 { "wxDateTime_SetHMS", (PyCFunction
) _wrap_wxDateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
7942 { "wxDateTime_SetJDN", (PyCFunction
) _wrap_wxDateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7943 { "wxDateTime_SetTimeT", (PyCFunction
) _wrap_wxDateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7944 { "wxDateTime_SetToCurrent", (PyCFunction
) _wrap_wxDateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
7945 { "delete_wxDateTime", (PyCFunction
) _wrap_delete_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7946 { "new_wxDateTimeFromDMY", (PyCFunction
) _wrap_new_wxDateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
7947 { "new_wxDateTimeFromHMS", (PyCFunction
) _wrap_new_wxDateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
7948 { "new_wxDateTimeFromJDN", (PyCFunction
) _wrap_new_wxDateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
7949 { "new_wxDateTimeFromTimeT", (PyCFunction
) _wrap_new_wxDateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7950 { "new_wxDateTime", (PyCFunction
) _wrap_new_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7951 { "wxDateTime_Today", (PyCFunction
) _wrap_wxDateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
7952 { "wxDateTime_Now", (PyCFunction
) _wrap_wxDateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
7953 { "wxDateTime_GetEndDST", (PyCFunction
) _wrap_wxDateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
7954 { "wxDateTime_GetBeginDST", (PyCFunction
) _wrap_wxDateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
7955 { "wxDateTime_IsDSTApplicable", (PyCFunction
) _wrap_wxDateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
7956 { "wxDateTime_GetAmPmStrings", (PyCFunction
) _wrap_wxDateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
7957 { "wxDateTime_GetWeekDayName", (PyCFunction
) _wrap_wxDateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
7958 { "wxDateTime_GetMonthName", (PyCFunction
) _wrap_wxDateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
7959 { "wxDateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
7960 { "wxDateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
7961 { "wxDateTime_GetCentury", (PyCFunction
) _wrap_wxDateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
7962 { "wxDateTime_IsLeapYear", (PyCFunction
) _wrap_wxDateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
7963 { "wxDateTime_GetCurrentMonth", (PyCFunction
) _wrap_wxDateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
7964 { "wxDateTime_ConvertYearToBC", (PyCFunction
) _wrap_wxDateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
7965 { "wxDateTime_GetCurrentYear", (PyCFunction
) _wrap_wxDateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
7966 { "wxDateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_wxDateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
7967 { "wxDateTime_GetCountry", (PyCFunction
) _wrap_wxDateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7968 { "wxDateTime_SetCountry", (PyCFunction
) _wrap_wxDateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7969 { "delete_wxFileConfig", (PyCFunction
) _wrap_delete_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7970 { "new_wxFileConfig", (PyCFunction
) _wrap_new_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7971 { "delete_wxConfig", (PyCFunction
) _wrap_delete_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7972 { "new_wxConfig", (PyCFunction
) _wrap_new_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7973 { "wxConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7974 { "wxConfigBase_RenameGroup", (PyCFunction
) _wrap_wxConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
7975 { "wxConfigBase_RenameEntry", (PyCFunction
) _wrap_wxConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
7976 { "wxConfigBase_GetEntryType", (PyCFunction
) _wrap_wxConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
7977 { "wxConfigBase_WriteBool", (PyCFunction
) _wrap_wxConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
7978 { "wxConfigBase_WriteFloat", (PyCFunction
) _wrap_wxConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
7979 { "wxConfigBase_WriteInt", (PyCFunction
) _wrap_wxConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
7980 { "wxConfigBase_Write", (PyCFunction
) _wrap_wxConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
7981 { "wxConfigBase_GetStyle", (PyCFunction
) _wrap_wxConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7982 { "wxConfigBase_SetStyle", (PyCFunction
) _wrap_wxConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7983 { "wxConfigBase_SetVendorName", (PyCFunction
) _wrap_wxConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7984 { "wxConfigBase_SetAppName", (PyCFunction
) _wrap_wxConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7985 { "wxConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_wxConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7986 { "wxConfigBase_SetPath", (PyCFunction
) _wrap_wxConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
7987 { "wxConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7988 { "wxConfigBase_ReadBool", (PyCFunction
) _wrap_wxConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
7989 { "wxConfigBase_ReadFloat", (PyCFunction
) _wrap_wxConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
7990 { "wxConfigBase_ReadInt", (PyCFunction
) _wrap_wxConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
7991 { "wxConfigBase_Read", (PyCFunction
) _wrap_wxConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
7992 { "wxConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_wxConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7993 { "wxConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_wxConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7994 { "wxConfigBase_HasGroup", (PyCFunction
) _wrap_wxConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
7995 { "wxConfigBase_HasEntry", (PyCFunction
) _wrap_wxConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
7996 { "wxConfigBase_GetVendorName", (PyCFunction
) _wrap_wxConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7997 { "wxConfigBase_GetPath", (PyCFunction
) _wrap_wxConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
7998 { "wxConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
7999 { "wxConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
8000 { "wxConfigBase_GetNextEntry", (PyCFunction
) _wrap_wxConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
8001 { "wxConfigBase_GetNextGroup", (PyCFunction
) _wrap_wxConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
8002 { "wxConfigBase_GetFirstEntry", (PyCFunction
) _wrap_wxConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
8003 { "wxConfigBase_GetFirstGroup", (PyCFunction
) _wrap_wxConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
8004 { "wxConfigBase_GetAppName", (PyCFunction
) _wrap_wxConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
8005 { "wxConfigBase_Flush", (PyCFunction
) _wrap_wxConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
8006 { "wxConfigBase_Exists", (PyCFunction
) _wrap_wxConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
8007 { "wxConfigBase_DeleteGroup", (PyCFunction
) _wrap_wxConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
8008 { "wxConfigBase_DeleteEntry", (PyCFunction
) _wrap_wxConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
8009 { "wxConfigBase_DeleteAll", (PyCFunction
) _wrap_wxConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
8010 { "wxConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_wxConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
8011 { "wxConfigBase_Create", (PyCFunction
) _wrap_wxConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
8012 { "wxConfigBase_Get", (PyCFunction
) _wrap_wxConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
8013 { "wxConfigBase_Set", (PyCFunction
) _wrap_wxConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
8014 { "delete_wxConfigBase", (PyCFunction
) _wrap_delete_wxConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
8015 { "wxGetLocalTimeMillis", (PyCFunction
) _wrap_wxGetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
8016 { "wxGetCurrentTime", (PyCFunction
) _wrap_wxGetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
8017 { "wxGetUTCTime", (PyCFunction
) _wrap_wxGetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
8018 { "wxGetLocalTime", (PyCFunction
) _wrap_wxGetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
8025 * This table is used by the pointer type-checker
8027 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8028 { "_signed_long","_long",0},
8029 { "_wxPrintQuality","_wxCoord",0},
8030 { "_wxPrintQuality","_int",0},
8031 { "_wxPrintQuality","_signed_int",0},
8032 { "_wxPrintQuality","_unsigned_int",0},
8033 { "_wxPrintQuality","_wxWindowID",0},
8034 { "_wxPrintQuality","_uint",0},
8035 { "_wxPrintQuality","_EBool",0},
8036 { "_wxPrintQuality","_size_t",0},
8037 { "_wxPrintQuality","_time_t",0},
8038 { "_byte","_unsigned_char",0},
8039 { "_long","_unsigned_long",0},
8040 { "_long","_signed_long",0},
8041 { "_size_t","_wxCoord",0},
8042 { "_size_t","_wxPrintQuality",0},
8043 { "_size_t","_time_t",0},
8044 { "_size_t","_unsigned_int",0},
8045 { "_size_t","_int",0},
8046 { "_size_t","_wxWindowID",0},
8047 { "_size_t","_uint",0},
8048 { "_uint","_wxCoord",0},
8049 { "_uint","_wxPrintQuality",0},
8050 { "_uint","_time_t",0},
8051 { "_uint","_size_t",0},
8052 { "_uint","_unsigned_int",0},
8053 { "_uint","_int",0},
8054 { "_uint","_wxWindowID",0},
8055 { "_wxChar","_char",0},
8056 { "_char","_wxChar",0},
8057 { "_EBool","_wxCoord",0},
8058 { "_EBool","_wxPrintQuality",0},
8059 { "_EBool","_signed_int",0},
8060 { "_EBool","_int",0},
8061 { "_EBool","_wxWindowID",0},
8062 { "_unsigned_long","_long",0},
8063 { "_signed_int","_wxCoord",0},
8064 { "_signed_int","_wxPrintQuality",0},
8065 { "_signed_int","_EBool",0},
8066 { "_signed_int","_wxWindowID",0},
8067 { "_signed_int","_int",0},
8068 { "_WXTYPE","_wxDateTime_t",0},
8069 { "_WXTYPE","_short",0},
8070 { "_WXTYPE","_signed_short",0},
8071 { "_WXTYPE","_unsigned_short",0},
8072 { "_unsigned_short","_wxDateTime_t",0},
8073 { "_unsigned_short","_WXTYPE",0},
8074 { "_unsigned_short","_short",0},
8075 { "_signed_short","_WXTYPE",0},
8076 { "_signed_short","_short",0},
8077 { "_unsigned_char","_byte",0},
8078 { "_unsigned_int","_wxCoord",0},
8079 { "_unsigned_int","_wxPrintQuality",0},
8080 { "_unsigned_int","_time_t",0},
8081 { "_unsigned_int","_size_t",0},
8082 { "_unsigned_int","_uint",0},
8083 { "_unsigned_int","_wxWindowID",0},
8084 { "_unsigned_int","_int",0},
8085 { "_wxConfigBase","_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
8086 { "_wxConfigBase","_wxConfig",SwigwxConfigTowxConfigBase
},
8087 { "_short","_wxDateTime_t",0},
8088 { "_short","_WXTYPE",0},
8089 { "_short","_unsigned_short",0},
8090 { "_short","_signed_short",0},
8091 { "_wxWindowID","_wxCoord",0},
8092 { "_wxWindowID","_wxPrintQuality",0},
8093 { "_wxWindowID","_time_t",0},
8094 { "_wxWindowID","_size_t",0},
8095 { "_wxWindowID","_EBool",0},
8096 { "_wxWindowID","_uint",0},
8097 { "_wxWindowID","_int",0},
8098 { "_wxWindowID","_signed_int",0},
8099 { "_wxWindowID","_unsigned_int",0},
8100 { "_int","_wxCoord",0},
8101 { "_int","_wxPrintQuality",0},
8102 { "_int","_time_t",0},
8103 { "_int","_size_t",0},
8104 { "_int","_EBool",0},
8105 { "_int","_uint",0},
8106 { "_int","_wxWindowID",0},
8107 { "_int","_unsigned_int",0},
8108 { "_int","_signed_int",0},
8109 { "_wxDateTime_t","_unsigned_short",0},
8110 { "_wxDateTime_t","_short",0},
8111 { "_wxDateTime_t","_WXTYPE",0},
8112 { "_time_t","_wxCoord",0},
8113 { "_time_t","_wxPrintQuality",0},
8114 { "_time_t","_unsigned_int",0},
8115 { "_time_t","_int",0},
8116 { "_time_t","_wxWindowID",0},
8117 { "_time_t","_uint",0},
8118 { "_time_t","_size_t",0},
8119 { "_wxCoord","_int",0},
8120 { "_wxCoord","_signed_int",0},
8121 { "_wxCoord","_unsigned_int",0},
8122 { "_wxCoord","_wxWindowID",0},
8123 { "_wxCoord","_uint",0},
8124 { "_wxCoord","_EBool",0},
8125 { "_wxCoord","_size_t",0},
8126 { "_wxCoord","_time_t",0},
8127 { "_wxCoord","_wxPrintQuality",0},
8130 static PyObject
*SWIG_globals
;
8134 SWIGEXPORT(void) initutilsc() {
8136 SWIG_globals
= SWIG_newvarlink();
8137 m
= Py_InitModule("utilsc", utilscMethods
);
8138 d
= PyModule_GetDict(m
);
8139 PyDict_SetItemString(d
,"wxCONFIG_USE_LOCAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_LOCAL_FILE
));
8140 PyDict_SetItemString(d
,"wxCONFIG_USE_GLOBAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_GLOBAL_FILE
));
8141 PyDict_SetItemString(d
,"wxCONFIG_USE_RELATIVE_PATH", PyInt_FromLong((long) wxCONFIG_USE_RELATIVE_PATH
));
8143 wxClassInfo::CleanUpClasses();
8144 wxClassInfo::InitializeClasses();
8145 PyDict_SetItemString(d
,"wxConfigBase_Type_Unknown", PyInt_FromLong((long) wxConfigBase::Type_Unknown
));
8146 PyDict_SetItemString(d
,"wxConfigBase_Type_String", PyInt_FromLong((long) wxConfigBase::Type_String
));
8147 PyDict_SetItemString(d
,"wxConfigBase_Type_Boolean", PyInt_FromLong((long) wxConfigBase::Type_Boolean
));
8148 PyDict_SetItemString(d
,"wxConfigBase_Type_Integer", PyInt_FromLong((long) wxConfigBase::Type_Integer
));
8149 PyDict_SetItemString(d
,"wxConfigBase_Type_Float", PyInt_FromLong((long) wxConfigBase::Type_Float
));
8150 PyDict_SetItemString(d
,"wxDateTime_Local", PyInt_FromLong((long) wxDateTime::Local
));
8151 PyDict_SetItemString(d
,"wxDateTime_GMT_12", PyInt_FromLong((long) wxDateTime::GMT_12
));
8152 PyDict_SetItemString(d
,"wxDateTime_GMT_11", PyInt_FromLong((long) wxDateTime::GMT_11
));
8153 PyDict_SetItemString(d
,"wxDateTime_GMT_10", PyInt_FromLong((long) wxDateTime::GMT_10
));
8154 PyDict_SetItemString(d
,"wxDateTime_GMT_9", PyInt_FromLong((long) wxDateTime::GMT_9
));
8155 PyDict_SetItemString(d
,"wxDateTime_GMT_8", PyInt_FromLong((long) wxDateTime::GMT_8
));
8156 PyDict_SetItemString(d
,"wxDateTime_GMT_7", PyInt_FromLong((long) wxDateTime::GMT_7
));
8157 PyDict_SetItemString(d
,"wxDateTime_GMT_6", PyInt_FromLong((long) wxDateTime::GMT_6
));
8158 PyDict_SetItemString(d
,"wxDateTime_GMT_5", PyInt_FromLong((long) wxDateTime::GMT_5
));
8159 PyDict_SetItemString(d
,"wxDateTime_GMT_4", PyInt_FromLong((long) wxDateTime::GMT_4
));
8160 PyDict_SetItemString(d
,"wxDateTime_GMT_3", PyInt_FromLong((long) wxDateTime::GMT_3
));
8161 PyDict_SetItemString(d
,"wxDateTime_GMT_2", PyInt_FromLong((long) wxDateTime::GMT_2
));
8162 PyDict_SetItemString(d
,"wxDateTime_GMT_1", PyInt_FromLong((long) wxDateTime::GMT_1
));
8163 PyDict_SetItemString(d
,"wxDateTime_GMT0", PyInt_FromLong((long) wxDateTime::GMT0
));
8164 PyDict_SetItemString(d
,"wxDateTime_GMT1", PyInt_FromLong((long) wxDateTime::GMT1
));
8165 PyDict_SetItemString(d
,"wxDateTime_GMT2", PyInt_FromLong((long) wxDateTime::GMT2
));
8166 PyDict_SetItemString(d
,"wxDateTime_GMT3", PyInt_FromLong((long) wxDateTime::GMT3
));
8167 PyDict_SetItemString(d
,"wxDateTime_GMT4", PyInt_FromLong((long) wxDateTime::GMT4
));
8168 PyDict_SetItemString(d
,"wxDateTime_GMT5", PyInt_FromLong((long) wxDateTime::GMT5
));
8169 PyDict_SetItemString(d
,"wxDateTime_GMT6", PyInt_FromLong((long) wxDateTime::GMT6
));
8170 PyDict_SetItemString(d
,"wxDateTime_GMT7", PyInt_FromLong((long) wxDateTime::GMT7
));
8171 PyDict_SetItemString(d
,"wxDateTime_GMT8", PyInt_FromLong((long) wxDateTime::GMT8
));
8172 PyDict_SetItemString(d
,"wxDateTime_GMT9", PyInt_FromLong((long) wxDateTime::GMT9
));
8173 PyDict_SetItemString(d
,"wxDateTime_GMT10", PyInt_FromLong((long) wxDateTime::GMT10
));
8174 PyDict_SetItemString(d
,"wxDateTime_GMT11", PyInt_FromLong((long) wxDateTime::GMT11
));
8175 PyDict_SetItemString(d
,"wxDateTime_GMT12", PyInt_FromLong((long) wxDateTime::GMT12
));
8176 PyDict_SetItemString(d
,"wxDateTime_WET", PyInt_FromLong((long) wxDateTime::WET
));
8177 PyDict_SetItemString(d
,"wxDateTime_WEST", PyInt_FromLong((long) wxDateTime::WEST
));
8178 PyDict_SetItemString(d
,"wxDateTime_CET", PyInt_FromLong((long) wxDateTime::CET
));
8179 PyDict_SetItemString(d
,"wxDateTime_CEST", PyInt_FromLong((long) wxDateTime::CEST
));
8180 PyDict_SetItemString(d
,"wxDateTime_EET", PyInt_FromLong((long) wxDateTime::EET
));
8181 PyDict_SetItemString(d
,"wxDateTime_EEST", PyInt_FromLong((long) wxDateTime::EEST
));
8182 PyDict_SetItemString(d
,"wxDateTime_MSK", PyInt_FromLong((long) wxDateTime::MSK
));
8183 PyDict_SetItemString(d
,"wxDateTime_MSD", PyInt_FromLong((long) wxDateTime::MSD
));
8184 PyDict_SetItemString(d
,"wxDateTime_AST", PyInt_FromLong((long) wxDateTime::AST
));
8185 PyDict_SetItemString(d
,"wxDateTime_ADT", PyInt_FromLong((long) wxDateTime::ADT
));
8186 PyDict_SetItemString(d
,"wxDateTime_EST", PyInt_FromLong((long) wxDateTime::EST
));
8187 PyDict_SetItemString(d
,"wxDateTime_EDT", PyInt_FromLong((long) wxDateTime::EDT
));
8188 PyDict_SetItemString(d
,"wxDateTime_CST", PyInt_FromLong((long) wxDateTime::CST
));
8189 PyDict_SetItemString(d
,"wxDateTime_CDT", PyInt_FromLong((long) wxDateTime::CDT
));
8190 PyDict_SetItemString(d
,"wxDateTime_MST", PyInt_FromLong((long) wxDateTime::MST
));
8191 PyDict_SetItemString(d
,"wxDateTime_MDT", PyInt_FromLong((long) wxDateTime::MDT
));
8192 PyDict_SetItemString(d
,"wxDateTime_PST", PyInt_FromLong((long) wxDateTime::PST
));
8193 PyDict_SetItemString(d
,"wxDateTime_PDT", PyInt_FromLong((long) wxDateTime::PDT
));
8194 PyDict_SetItemString(d
,"wxDateTime_HST", PyInt_FromLong((long) wxDateTime::HST
));
8195 PyDict_SetItemString(d
,"wxDateTime_AKST", PyInt_FromLong((long) wxDateTime::AKST
));
8196 PyDict_SetItemString(d
,"wxDateTime_AKDT", PyInt_FromLong((long) wxDateTime::AKDT
));
8197 PyDict_SetItemString(d
,"wxDateTime_A_WST", PyInt_FromLong((long) wxDateTime::A_WST
));
8198 PyDict_SetItemString(d
,"wxDateTime_A_CST", PyInt_FromLong((long) wxDateTime::A_CST
));
8199 PyDict_SetItemString(d
,"wxDateTime_A_EST", PyInt_FromLong((long) wxDateTime::A_EST
));
8200 PyDict_SetItemString(d
,"wxDateTime_A_ESST", PyInt_FromLong((long) wxDateTime::A_ESST
));
8201 PyDict_SetItemString(d
,"wxDateTime_UTC", PyInt_FromLong((long) wxDateTime::UTC
));
8202 PyDict_SetItemString(d
,"wxDateTime_Gregorian", PyInt_FromLong((long) wxDateTime::Gregorian
));
8203 PyDict_SetItemString(d
,"wxDateTime_Julian", PyInt_FromLong((long) wxDateTime::Julian
));
8204 PyDict_SetItemString(d
,"wxDateTime_Country_Unknown", PyInt_FromLong((long) wxDateTime::Country_Unknown
));
8205 PyDict_SetItemString(d
,"wxDateTime_Country_Default", PyInt_FromLong((long) wxDateTime::Country_Default
));
8206 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_Start", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_Start
));
8207 PyDict_SetItemString(d
,"wxDateTime_Country_EEC", PyInt_FromLong((long) wxDateTime::Country_EEC
));
8208 PyDict_SetItemString(d
,"wxDateTime_France", PyInt_FromLong((long) wxDateTime::France
));
8209 PyDict_SetItemString(d
,"wxDateTime_Germany", PyInt_FromLong((long) wxDateTime::Germany
));
8210 PyDict_SetItemString(d
,"wxDateTime_UK", PyInt_FromLong((long) wxDateTime::UK
));
8211 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_End", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_End
));
8212 PyDict_SetItemString(d
,"wxDateTime_Russia", PyInt_FromLong((long) wxDateTime::Russia
));
8213 PyDict_SetItemString(d
,"wxDateTime_USA", PyInt_FromLong((long) wxDateTime::USA
));
8214 PyDict_SetItemString(d
,"wxDateTime_Jan", PyInt_FromLong((long) wxDateTime::Jan
));
8215 PyDict_SetItemString(d
,"wxDateTime_Feb", PyInt_FromLong((long) wxDateTime::Feb
));
8216 PyDict_SetItemString(d
,"wxDateTime_Mar", PyInt_FromLong((long) wxDateTime::Mar
));
8217 PyDict_SetItemString(d
,"wxDateTime_Apr", PyInt_FromLong((long) wxDateTime::Apr
));
8218 PyDict_SetItemString(d
,"wxDateTime_May", PyInt_FromLong((long) wxDateTime::May
));
8219 PyDict_SetItemString(d
,"wxDateTime_Jun", PyInt_FromLong((long) wxDateTime::Jun
));
8220 PyDict_SetItemString(d
,"wxDateTime_Jul", PyInt_FromLong((long) wxDateTime::Jul
));
8221 PyDict_SetItemString(d
,"wxDateTime_Aug", PyInt_FromLong((long) wxDateTime::Aug
));
8222 PyDict_SetItemString(d
,"wxDateTime_Sep", PyInt_FromLong((long) wxDateTime::Sep
));
8223 PyDict_SetItemString(d
,"wxDateTime_Oct", PyInt_FromLong((long) wxDateTime::Oct
));
8224 PyDict_SetItemString(d
,"wxDateTime_Nov", PyInt_FromLong((long) wxDateTime::Nov
));
8225 PyDict_SetItemString(d
,"wxDateTime_Dec", PyInt_FromLong((long) wxDateTime::Dec
));
8226 PyDict_SetItemString(d
,"wxDateTime_Inv_Month", PyInt_FromLong((long) wxDateTime::Inv_Month
));
8227 PyDict_SetItemString(d
,"wxDateTime_Sun", PyInt_FromLong((long) wxDateTime::Sun
));
8228 PyDict_SetItemString(d
,"wxDateTime_Mon", PyInt_FromLong((long) wxDateTime::Mon
));
8229 PyDict_SetItemString(d
,"wxDateTime_Tue", PyInt_FromLong((long) wxDateTime::Tue
));
8230 PyDict_SetItemString(d
,"wxDateTime_Wed", PyInt_FromLong((long) wxDateTime::Wed
));
8231 PyDict_SetItemString(d
,"wxDateTime_Thu", PyInt_FromLong((long) wxDateTime::Thu
));
8232 PyDict_SetItemString(d
,"wxDateTime_Fri", PyInt_FromLong((long) wxDateTime::Fri
));
8233 PyDict_SetItemString(d
,"wxDateTime_Sat", PyInt_FromLong((long) wxDateTime::Sat
));
8234 PyDict_SetItemString(d
,"wxDateTime_Inv_WeekDay", PyInt_FromLong((long) wxDateTime::Inv_WeekDay
));
8235 PyDict_SetItemString(d
,"wxDateTime_Inv_Year", PyInt_FromLong((long) wxDateTime::Inv_Year
));
8236 PyDict_SetItemString(d
,"wxDateTime_Name_Full", PyInt_FromLong((long) wxDateTime::Name_Full
));
8237 PyDict_SetItemString(d
,"wxDateTime_Name_Abbr", PyInt_FromLong((long) wxDateTime::Name_Abbr
));
8238 PyDict_SetItemString(d
,"wxDateTime_Default_First", PyInt_FromLong((long) wxDateTime::Default_First
));
8239 PyDict_SetItemString(d
,"wxDateTime_Monday_First", PyInt_FromLong((long) wxDateTime::Monday_First
));
8240 PyDict_SetItemString(d
,"wxDateTime_Sunday_First", PyInt_FromLong((long) wxDateTime::Sunday_First
));
8243 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8244 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);