2 * FILE : src/mac/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 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
91 PyObject
* ret
= PyTuple_New(3);
93 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
95 PyTuple_SET_ITEM(ret
, 1, PyUnicode_FromUnicode(str
.c_str(), str
.Len()));
97 PyTuple_SET_ITEM(ret
, 1, PyString_FromStringAndSize(str
.c_str(), str
.Len()));
99 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
104 #define LOCAL *(new wxDateTime::TimeZone(wxDateTime::Local))
108 static PyObject
*_wrap_wxGetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
109 PyObject
* _resultobj
;
111 char *_kwnames
[] = { NULL
};
114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocalTime",_kwnames
))
117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
118 _result
= (long )wxGetLocalTime();
120 wxPyEndAllowThreads(__tstate
);
121 if (PyErr_Occurred()) return NULL
;
122 } _resultobj
= Py_BuildValue("l",_result
);
126 static PyObject
*_wrap_wxGetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
127 PyObject
* _resultobj
;
129 char *_kwnames
[] = { NULL
};
132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUTCTime",_kwnames
))
135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
136 _result
= (long )wxGetUTCTime();
138 wxPyEndAllowThreads(__tstate
);
139 if (PyErr_Occurred()) return NULL
;
140 } _resultobj
= Py_BuildValue("l",_result
);
144 static PyObject
*_wrap_wxGetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
145 PyObject
* _resultobj
;
147 char *_kwnames
[] = { NULL
};
150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentTime",_kwnames
))
153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
154 _result
= (long )wxGetCurrentTime();
156 wxPyEndAllowThreads(__tstate
);
157 if (PyErr_Occurred()) return NULL
;
158 } _resultobj
= Py_BuildValue("l",_result
);
162 static PyObject
*_wrap_wxGetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
163 PyObject
* _resultobj
;
164 wxLongLong
* _result
;
165 char *_kwnames
[] = { NULL
};
168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocalTimeMillis",_kwnames
))
171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
172 _result
= new wxLongLong (wxGetLocalTimeMillis());
174 wxPyEndAllowThreads(__tstate
);
175 if (PyErr_Occurred()) return NULL
;
177 PyObject
*hi
, *lo
, *shifter
, *shifted
;
178 hi
= PyLong_FromLong(_result
->GetHi());
179 lo
= PyLong_FromLong(_result
->GetLo());
180 shifter
= PyLong_FromLong(32);
181 shifted
= PyNumber_Lshift(hi
, shifter
);
182 _resultobj
= PyNumber_Or(shifted
, lo
);
191 #define delete_wxConfigBase(_swigobj) (delete _swigobj)
192 static PyObject
*_wrap_delete_wxConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
193 PyObject
* _resultobj
;
194 wxConfigBase
* _arg0
;
195 PyObject
* _argo0
= 0;
196 char *_kwnames
[] = { "self", NULL
};
199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxConfigBase",_kwnames
,&_argo0
))
202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxConfigBase. Expected _wxConfigBase_p.");
209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
210 delete_wxConfigBase(_arg0
);
212 wxPyEndAllowThreads(__tstate
);
213 if (PyErr_Occurred()) return NULL
;
214 } Py_INCREF(Py_None
);
215 _resultobj
= Py_None
;
219 static PyObject
*_wrap_wxConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
220 PyObject
* _resultobj
;
221 wxConfigBase
* _result
;
222 wxConfigBase
* _arg0
;
223 PyObject
* _argo0
= 0;
224 char *_kwnames
[] = { "pConfig", NULL
};
228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_Set",_kwnames
,&_argo0
))
231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Set. Expected _wxConfigBase_p.");
238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
239 _result
= (wxConfigBase
*)wxConfigBase::Set(_arg0
);
241 wxPyEndAllowThreads(__tstate
);
242 if (PyErr_Occurred()) return NULL
;
244 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
245 _resultobj
= Py_BuildValue("s",_ptemp
);
248 _resultobj
= Py_None
;
253 static PyObject
*_wrap_wxConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
254 PyObject
* _resultobj
;
255 wxConfigBase
* _result
;
256 bool _arg0
= (bool ) TRUE
;
257 int tempbool0
= (int) TRUE
;
258 char *_kwnames
[] = { "createOnDemand", NULL
};
262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxConfigBase_Get",_kwnames
,&tempbool0
))
264 _arg0
= (bool ) tempbool0
;
266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
267 _result
= (wxConfigBase
*)wxConfigBase::Get(_arg0
);
269 wxPyEndAllowThreads(__tstate
);
270 if (PyErr_Occurred()) return NULL
;
272 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
273 _resultobj
= Py_BuildValue("s",_ptemp
);
276 _resultobj
= Py_None
;
281 static PyObject
*_wrap_wxConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
282 PyObject
* _resultobj
;
283 wxConfigBase
* _result
;
284 char *_kwnames
[] = { NULL
};
288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxConfigBase_Create",_kwnames
))
291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
292 _result
= (wxConfigBase
*)wxConfigBase::Create();
294 wxPyEndAllowThreads(__tstate
);
295 if (PyErr_Occurred()) return NULL
;
297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
298 _resultobj
= Py_BuildValue("s",_ptemp
);
301 _resultobj
= Py_None
;
306 static PyObject
*_wrap_wxConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
307 PyObject
* _resultobj
;
308 char *_kwnames
[] = { NULL
};
311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxConfigBase_DontCreateOnDemand",_kwnames
))
314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
315 wxConfigBase::DontCreateOnDemand();
317 wxPyEndAllowThreads(__tstate
);
318 if (PyErr_Occurred()) return NULL
;
319 } Py_INCREF(Py_None
);
320 _resultobj
= Py_None
;
324 #define wxConfigBase_DeleteAll(_swigobj) (_swigobj->DeleteAll())
325 static PyObject
*_wrap_wxConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
326 PyObject
* _resultobj
;
328 wxConfigBase
* _arg0
;
329 PyObject
* _argo0
= 0;
330 char *_kwnames
[] = { "self", NULL
};
333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_DeleteAll",_kwnames
,&_argo0
))
336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteAll. Expected _wxConfigBase_p.");
343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
344 _result
= (bool )wxConfigBase_DeleteAll(_arg0
);
346 wxPyEndAllowThreads(__tstate
);
347 if (PyErr_Occurred()) return NULL
;
348 } _resultobj
= Py_BuildValue("i",_result
);
352 #define wxConfigBase_DeleteEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteEntry(_swigarg0,_swigarg1))
353 static PyObject
*_wrap_wxConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
354 PyObject
* _resultobj
;
356 wxConfigBase
* _arg0
;
358 bool _arg2
= (bool ) TRUE
;
359 PyObject
* _argo0
= 0;
360 PyObject
* _obj1
= 0;
361 int tempbool2
= (int) TRUE
;
362 char *_kwnames
[] = { "self","key","bDeleteGroupIfEmpty", NULL
};
365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxConfigBase_DeleteEntry",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteEntry. Expected _wxConfigBase_p.");
375 _arg1
= wxString_in_helper(_obj1
);
379 _arg2
= (bool ) tempbool2
;
381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
382 _result
= (bool )wxConfigBase_DeleteEntry(_arg0
,*_arg1
,_arg2
);
384 wxPyEndAllowThreads(__tstate
);
385 if (PyErr_Occurred()) return NULL
;
386 } _resultobj
= Py_BuildValue("i",_result
);
394 #define wxConfigBase_DeleteGroup(_swigobj,_swigarg0) (_swigobj->DeleteGroup(_swigarg0))
395 static PyObject
*_wrap_wxConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
396 PyObject
* _resultobj
;
398 wxConfigBase
* _arg0
;
400 PyObject
* _argo0
= 0;
401 PyObject
* _obj1
= 0;
402 char *_kwnames
[] = { "self","key", NULL
};
405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_DeleteGroup",_kwnames
,&_argo0
,&_obj1
))
408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteGroup. Expected _wxConfigBase_p.");
415 _arg1
= wxString_in_helper(_obj1
);
420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
421 _result
= (bool )wxConfigBase_DeleteGroup(_arg0
,*_arg1
);
423 wxPyEndAllowThreads(__tstate
);
424 if (PyErr_Occurred()) return NULL
;
425 } _resultobj
= Py_BuildValue("i",_result
);
433 #define wxConfigBase_Exists(_swigobj,_swigarg0) (_swigobj->Exists(_swigarg0))
434 static PyObject
*_wrap_wxConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
435 PyObject
* _resultobj
;
437 wxConfigBase
* _arg0
;
439 PyObject
* _argo0
= 0;
440 PyObject
* _obj1
= 0;
441 char *_kwnames
[] = { "self","strName", NULL
};
444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_Exists",_kwnames
,&_argo0
,&_obj1
))
447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Exists. Expected _wxConfigBase_p.");
454 _arg1
= wxString_in_helper(_obj1
);
459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
460 _result
= (bool )wxConfigBase_Exists(_arg0
,*_arg1
);
462 wxPyEndAllowThreads(__tstate
);
463 if (PyErr_Occurred()) return NULL
;
464 } _resultobj
= Py_BuildValue("i",_result
);
472 #define wxConfigBase_Flush(_swigobj,_swigarg0) (_swigobj->Flush(_swigarg0))
473 static PyObject
*_wrap_wxConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
474 PyObject
* _resultobj
;
476 wxConfigBase
* _arg0
;
477 bool _arg1
= (bool ) FALSE
;
478 PyObject
* _argo0
= 0;
479 int tempbool1
= (int) FALSE
;
480 char *_kwnames
[] = { "self","bCurrentOnly", NULL
};
483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_Flush",_kwnames
,&_argo0
,&tempbool1
))
486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Flush. Expected _wxConfigBase_p.");
492 _arg1
= (bool ) tempbool1
;
494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
495 _result
= (bool )wxConfigBase_Flush(_arg0
,_arg1
);
497 wxPyEndAllowThreads(__tstate
);
498 if (PyErr_Occurred()) return NULL
;
499 } _resultobj
= Py_BuildValue("i",_result
);
503 #define wxConfigBase_GetAppName(_swigobj) (_swigobj->GetAppName())
504 static PyObject
*_wrap_wxConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
505 PyObject
* _resultobj
;
507 wxConfigBase
* _arg0
;
508 PyObject
* _argo0
= 0;
509 char *_kwnames
[] = { "self", NULL
};
512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetAppName",_kwnames
,&_argo0
))
515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetAppName. Expected _wxConfigBase_p.");
522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
523 _result
= new wxString (wxConfigBase_GetAppName(_arg0
));
525 wxPyEndAllowThreads(__tstate
);
526 if (PyErr_Occurred()) return NULL
;
529 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
531 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
540 static PyObject
* wxConfigBase_GetFirstGroup(wxConfigBase
*self
) {
545 cont
= self
->GetFirstGroup(value
, index
);
546 return __EnumerationHelper(cont
, value
, index
);
548 static PyObject
*_wrap_wxConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
549 PyObject
* _resultobj
;
551 wxConfigBase
* _arg0
;
552 PyObject
* _argo0
= 0;
553 char *_kwnames
[] = { "self", NULL
};
556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetFirstGroup",_kwnames
,&_argo0
))
559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetFirstGroup. Expected _wxConfigBase_p.");
566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
567 _result
= (PyObject
*)wxConfigBase_GetFirstGroup(_arg0
);
569 wxPyEndAllowThreads(__tstate
);
570 if (PyErr_Occurred()) return NULL
;
572 _resultobj
= _result
;
577 static PyObject
* wxConfigBase_GetFirstEntry(wxConfigBase
*self
) {
582 cont
= self
->GetFirstEntry(value
, index
);
583 return __EnumerationHelper(cont
, value
, index
);
585 static PyObject
*_wrap_wxConfigBase_GetFirstEntry(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_GetFirstEntry",_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_GetFirstEntry. Expected _wxConfigBase_p.");
603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
604 _result
= (PyObject
*)wxConfigBase_GetFirstEntry(_arg0
);
606 wxPyEndAllowThreads(__tstate
);
607 if (PyErr_Occurred()) return NULL
;
609 _resultobj
= _result
;
614 static PyObject
* wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
) {
618 cont
= self
->GetNextGroup(value
, index
);
619 return __EnumerationHelper(cont
, value
, index
);
621 static PyObject
*_wrap_wxConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
622 PyObject
* _resultobj
;
624 wxConfigBase
* _arg0
;
626 PyObject
* _argo0
= 0;
627 char *_kwnames
[] = { "self","index", NULL
};
630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_GetNextGroup",_kwnames
,&_argo0
,&_arg1
))
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_GetNextGroup. Expected _wxConfigBase_p.");
640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
641 _result
= (PyObject
*)wxConfigBase_GetNextGroup(_arg0
,_arg1
);
643 wxPyEndAllowThreads(__tstate
);
644 if (PyErr_Occurred()) return NULL
;
646 _resultobj
= _result
;
651 static PyObject
* wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
) {
655 cont
= self
->GetNextEntry(value
, index
);
656 return __EnumerationHelper(cont
, value
, index
);
658 static PyObject
*_wrap_wxConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
659 PyObject
* _resultobj
;
661 wxConfigBase
* _arg0
;
663 PyObject
* _argo0
= 0;
664 char *_kwnames
[] = { "self","index", NULL
};
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_GetNextEntry",_kwnames
,&_argo0
,&_arg1
))
670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNextEntry. Expected _wxConfigBase_p.");
677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
678 _result
= (PyObject
*)wxConfigBase_GetNextEntry(_arg0
,_arg1
);
680 wxPyEndAllowThreads(__tstate
);
681 if (PyErr_Occurred()) return NULL
;
683 _resultobj
= _result
;
688 #define wxConfigBase_GetNumberOfEntries(_swigobj,_swigarg0) (_swigobj->GetNumberOfEntries(_swigarg0))
689 static PyObject
*_wrap_wxConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
690 PyObject
* _resultobj
;
692 wxConfigBase
* _arg0
;
693 bool _arg1
= (bool ) FALSE
;
694 PyObject
* _argo0
= 0;
695 int tempbool1
= (int) FALSE
;
696 char *_kwnames
[] = { "self","bRecursive", NULL
};
699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_GetNumberOfEntries",_kwnames
,&_argo0
,&tempbool1
))
702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNumberOfEntries. Expected _wxConfigBase_p.");
708 _arg1
= (bool ) tempbool1
;
710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
711 _result
= (int )wxConfigBase_GetNumberOfEntries(_arg0
,_arg1
);
713 wxPyEndAllowThreads(__tstate
);
714 if (PyErr_Occurred()) return NULL
;
715 } _resultobj
= Py_BuildValue("i",_result
);
719 #define wxConfigBase_GetNumberOfGroups(_swigobj,_swigarg0) (_swigobj->GetNumberOfGroups(_swigarg0))
720 static PyObject
*_wrap_wxConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
721 PyObject
* _resultobj
;
723 wxConfigBase
* _arg0
;
724 bool _arg1
= (bool ) FALSE
;
725 PyObject
* _argo0
= 0;
726 int tempbool1
= (int) FALSE
;
727 char *_kwnames
[] = { "self","bRecursive", NULL
};
730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_GetNumberOfGroups",_kwnames
,&_argo0
,&tempbool1
))
733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNumberOfGroups. Expected _wxConfigBase_p.");
739 _arg1
= (bool ) tempbool1
;
741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
742 _result
= (int )wxConfigBase_GetNumberOfGroups(_arg0
,_arg1
);
744 wxPyEndAllowThreads(__tstate
);
745 if (PyErr_Occurred()) return NULL
;
746 } _resultobj
= Py_BuildValue("i",_result
);
750 #define wxConfigBase_GetPath(_swigobj) (_swigobj->GetPath())
751 static PyObject
*_wrap_wxConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
752 PyObject
* _resultobj
;
754 wxConfigBase
* _arg0
;
755 PyObject
* _argo0
= 0;
756 char *_kwnames
[] = { "self", NULL
};
759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetPath",_kwnames
,&_argo0
))
762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetPath. Expected _wxConfigBase_p.");
769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
770 _result
= new wxString (wxConfigBase_GetPath(_arg0
));
772 wxPyEndAllowThreads(__tstate
);
773 if (PyErr_Occurred()) return NULL
;
776 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
778 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
787 #define wxConfigBase_GetVendorName(_swigobj) (_swigobj->GetVendorName())
788 static PyObject
*_wrap_wxConfigBase_GetVendorName(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_GetVendorName",_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_GetVendorName. Expected _wxConfigBase_p.");
806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
807 _result
= new wxString (wxConfigBase_GetVendorName(_arg0
));
809 wxPyEndAllowThreads(__tstate
);
810 if (PyErr_Occurred()) return NULL
;
813 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
815 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
824 #define wxConfigBase_HasEntry(_swigobj,_swigarg0) (_swigobj->HasEntry(_swigarg0))
825 static PyObject
*_wrap_wxConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
826 PyObject
* _resultobj
;
828 wxConfigBase
* _arg0
;
830 PyObject
* _argo0
= 0;
831 PyObject
* _obj1
= 0;
832 char *_kwnames
[] = { "self","strName", NULL
};
835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_HasEntry",_kwnames
,&_argo0
,&_obj1
))
838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_HasEntry. Expected _wxConfigBase_p.");
845 _arg1
= wxString_in_helper(_obj1
);
850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
851 _result
= (bool )wxConfigBase_HasEntry(_arg0
,*_arg1
);
853 wxPyEndAllowThreads(__tstate
);
854 if (PyErr_Occurred()) return NULL
;
855 } _resultobj
= Py_BuildValue("i",_result
);
863 #define wxConfigBase_HasGroup(_swigobj,_swigarg0) (_swigobj->HasGroup(_swigarg0))
864 static PyObject
*_wrap_wxConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
865 PyObject
* _resultobj
;
867 wxConfigBase
* _arg0
;
869 PyObject
* _argo0
= 0;
870 PyObject
* _obj1
= 0;
871 char *_kwnames
[] = { "self","strName", NULL
};
874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_HasGroup",_kwnames
,&_argo0
,&_obj1
))
877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_HasGroup. Expected _wxConfigBase_p.");
884 _arg1
= wxString_in_helper(_obj1
);
889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
890 _result
= (bool )wxConfigBase_HasGroup(_arg0
,*_arg1
);
892 wxPyEndAllowThreads(__tstate
);
893 if (PyErr_Occurred()) return NULL
;
894 } _resultobj
= Py_BuildValue("i",_result
);
902 #define wxConfigBase_IsExpandingEnvVars(_swigobj) (_swigobj->IsExpandingEnvVars())
903 static PyObject
*_wrap_wxConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
904 PyObject
* _resultobj
;
906 wxConfigBase
* _arg0
;
907 PyObject
* _argo0
= 0;
908 char *_kwnames
[] = { "self", NULL
};
911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_IsExpandingEnvVars",_kwnames
,&_argo0
))
914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_IsExpandingEnvVars. Expected _wxConfigBase_p.");
921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
922 _result
= (bool )wxConfigBase_IsExpandingEnvVars(_arg0
);
924 wxPyEndAllowThreads(__tstate
);
925 if (PyErr_Occurred()) return NULL
;
926 } _resultobj
= Py_BuildValue("i",_result
);
930 #define wxConfigBase_IsRecordingDefaults(_swigobj) (_swigobj->IsRecordingDefaults())
931 static PyObject
*_wrap_wxConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
932 PyObject
* _resultobj
;
934 wxConfigBase
* _arg0
;
935 PyObject
* _argo0
= 0;
936 char *_kwnames
[] = { "self", NULL
};
939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_IsRecordingDefaults",_kwnames
,&_argo0
))
942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_IsRecordingDefaults. Expected _wxConfigBase_p.");
949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
950 _result
= (bool )wxConfigBase_IsRecordingDefaults(_arg0
);
952 wxPyEndAllowThreads(__tstate
);
953 if (PyErr_Occurred()) return NULL
;
954 } _resultobj
= Py_BuildValue("i",_result
);
958 #define wxConfigBase_Read(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
959 static PyObject
*_wrap_wxConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
960 PyObject
* _resultobj
;
962 wxConfigBase
* _arg0
;
964 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
965 PyObject
* _argo0
= 0;
966 PyObject
* _obj1
= 0;
967 PyObject
* _obj2
= 0;
968 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxConfigBase_Read",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Read. Expected _wxConfigBase_p.");
981 _arg1
= wxString_in_helper(_obj1
);
987 _arg2
= wxString_in_helper(_obj2
);
992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
993 _result
= new wxString (wxConfigBase_Read(_arg0
,*_arg1
,*_arg2
));
995 wxPyEndAllowThreads(__tstate
);
996 if (PyErr_Occurred()) return NULL
;
999 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1001 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1018 static long wxConfigBase_ReadInt(wxConfigBase
*self
,const wxString
& key
,long defaultVal
) {
1020 self
->Read(key
, &rv
, defaultVal
);
1023 static PyObject
*_wrap_wxConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1024 PyObject
* _resultobj
;
1026 wxConfigBase
* _arg0
;
1028 long _arg2
= (long ) 0;
1029 PyObject
* _argo0
= 0;
1030 PyObject
* _obj1
= 0;
1031 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|l:wxConfigBase_ReadInt",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadInt. Expected _wxConfigBase_p.");
1044 _arg1
= wxString_in_helper(_obj1
);
1049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1050 _result
= (long )wxConfigBase_ReadInt(_arg0
,*_arg1
,_arg2
);
1052 wxPyEndAllowThreads(__tstate
);
1053 if (PyErr_Occurred()) return NULL
;
1054 } _resultobj
= Py_BuildValue("l",_result
);
1062 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,const wxString
& key
,double defaultVal
) {
1064 self
->Read(key
, &rv
, defaultVal
);
1067 static PyObject
*_wrap_wxConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1068 PyObject
* _resultobj
;
1070 wxConfigBase
* _arg0
;
1072 double _arg2
= (double ) 0.0;
1073 PyObject
* _argo0
= 0;
1074 PyObject
* _obj1
= 0;
1075 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|d:wxConfigBase_ReadFloat",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadFloat. Expected _wxConfigBase_p.");
1088 _arg1
= wxString_in_helper(_obj1
);
1093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1094 _result
= (double )wxConfigBase_ReadFloat(_arg0
,*_arg1
,_arg2
);
1096 wxPyEndAllowThreads(__tstate
);
1097 if (PyErr_Occurred()) return NULL
;
1098 } _resultobj
= Py_BuildValue("d",_result
);
1106 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,const wxString
& key
,bool defaultVal
) {
1108 self
->Read(key
, &rv
, defaultVal
);
1111 static PyObject
*_wrap_wxConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1112 PyObject
* _resultobj
;
1114 wxConfigBase
* _arg0
;
1116 bool _arg2
= (bool ) FALSE
;
1117 PyObject
* _argo0
= 0;
1118 PyObject
* _obj1
= 0;
1119 int tempbool2
= (int) FALSE
;
1120 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxConfigBase_ReadBool",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadBool. Expected _wxConfigBase_p.");
1133 _arg1
= wxString_in_helper(_obj1
);
1137 _arg2
= (bool ) tempbool2
;
1139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1140 _result
= (bool )wxConfigBase_ReadBool(_arg0
,*_arg1
,_arg2
);
1142 wxPyEndAllowThreads(__tstate
);
1143 if (PyErr_Occurred()) return NULL
;
1144 } _resultobj
= Py_BuildValue("i",_result
);
1152 #define wxConfigBase_SetExpandEnvVars(_swigobj,_swigarg0) (_swigobj->SetExpandEnvVars(_swigarg0))
1153 static PyObject
*_wrap_wxConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1154 PyObject
* _resultobj
;
1155 wxConfigBase
* _arg0
;
1156 bool _arg1
= (bool ) TRUE
;
1157 PyObject
* _argo0
= 0;
1158 int tempbool1
= (int) TRUE
;
1159 char *_kwnames
[] = { "self","bDoIt", NULL
};
1162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_SetExpandEnvVars",_kwnames
,&_argo0
,&tempbool1
))
1165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetExpandEnvVars. Expected _wxConfigBase_p.");
1171 _arg1
= (bool ) tempbool1
;
1173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1174 wxConfigBase_SetExpandEnvVars(_arg0
,_arg1
);
1176 wxPyEndAllowThreads(__tstate
);
1177 if (PyErr_Occurred()) return NULL
;
1178 } Py_INCREF(Py_None
);
1179 _resultobj
= Py_None
;
1183 #define wxConfigBase_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1184 static PyObject
*_wrap_wxConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
* _resultobj
;
1186 wxConfigBase
* _arg0
;
1188 PyObject
* _argo0
= 0;
1189 PyObject
* _obj1
= 0;
1190 char *_kwnames
[] = { "self","strPath", NULL
};
1193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetPath",_kwnames
,&_argo0
,&_obj1
))
1196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetPath. Expected _wxConfigBase_p.");
1203 _arg1
= wxString_in_helper(_obj1
);
1208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1209 wxConfigBase_SetPath(_arg0
,*_arg1
);
1211 wxPyEndAllowThreads(__tstate
);
1212 if (PyErr_Occurred()) return NULL
;
1213 } Py_INCREF(Py_None
);
1214 _resultobj
= Py_None
;
1222 #define wxConfigBase_SetRecordDefaults(_swigobj,_swigarg0) (_swigobj->SetRecordDefaults(_swigarg0))
1223 static PyObject
*_wrap_wxConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1224 PyObject
* _resultobj
;
1225 wxConfigBase
* _arg0
;
1226 bool _arg1
= (bool ) TRUE
;
1227 PyObject
* _argo0
= 0;
1228 int tempbool1
= (int) TRUE
;
1229 char *_kwnames
[] = { "self","bDoIt", NULL
};
1232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_SetRecordDefaults",_kwnames
,&_argo0
,&tempbool1
))
1235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetRecordDefaults. Expected _wxConfigBase_p.");
1241 _arg1
= (bool ) tempbool1
;
1243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1244 wxConfigBase_SetRecordDefaults(_arg0
,_arg1
);
1246 wxPyEndAllowThreads(__tstate
);
1247 if (PyErr_Occurred()) return NULL
;
1248 } Py_INCREF(Py_None
);
1249 _resultobj
= Py_None
;
1253 #define wxConfigBase_SetAppName(_swigobj,_swigarg0) (_swigobj->SetAppName(_swigarg0))
1254 static PyObject
*_wrap_wxConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1255 PyObject
* _resultobj
;
1256 wxConfigBase
* _arg0
;
1258 PyObject
* _argo0
= 0;
1259 PyObject
* _obj1
= 0;
1260 char *_kwnames
[] = { "self","appName", NULL
};
1263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetAppName",_kwnames
,&_argo0
,&_obj1
))
1266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetAppName. Expected _wxConfigBase_p.");
1273 _arg1
= wxString_in_helper(_obj1
);
1278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1279 wxConfigBase_SetAppName(_arg0
,*_arg1
);
1281 wxPyEndAllowThreads(__tstate
);
1282 if (PyErr_Occurred()) return NULL
;
1283 } Py_INCREF(Py_None
);
1284 _resultobj
= Py_None
;
1292 #define wxConfigBase_SetVendorName(_swigobj,_swigarg0) (_swigobj->SetVendorName(_swigarg0))
1293 static PyObject
*_wrap_wxConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1294 PyObject
* _resultobj
;
1295 wxConfigBase
* _arg0
;
1297 PyObject
* _argo0
= 0;
1298 PyObject
* _obj1
= 0;
1299 char *_kwnames
[] = { "self","vendorName", NULL
};
1302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetVendorName",_kwnames
,&_argo0
,&_obj1
))
1305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetVendorName. Expected _wxConfigBase_p.");
1312 _arg1
= wxString_in_helper(_obj1
);
1317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1318 wxConfigBase_SetVendorName(_arg0
,*_arg1
);
1320 wxPyEndAllowThreads(__tstate
);
1321 if (PyErr_Occurred()) return NULL
;
1322 } Py_INCREF(Py_None
);
1323 _resultobj
= Py_None
;
1331 #define wxConfigBase_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1332 static PyObject
*_wrap_wxConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1333 PyObject
* _resultobj
;
1334 wxConfigBase
* _arg0
;
1336 PyObject
* _argo0
= 0;
1337 char *_kwnames
[] = { "self","style", NULL
};
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetStyle. Expected _wxConfigBase_p.");
1350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1351 wxConfigBase_SetStyle(_arg0
,_arg1
);
1353 wxPyEndAllowThreads(__tstate
);
1354 if (PyErr_Occurred()) return NULL
;
1355 } Py_INCREF(Py_None
);
1356 _resultobj
= Py_None
;
1360 #define wxConfigBase_GetStyle(_swigobj) (_swigobj->GetStyle())
1361 static PyObject
*_wrap_wxConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1362 PyObject
* _resultobj
;
1364 wxConfigBase
* _arg0
;
1365 PyObject
* _argo0
= 0;
1366 char *_kwnames
[] = { "self", NULL
};
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetStyle",_kwnames
,&_argo0
))
1372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetStyle. Expected _wxConfigBase_p.");
1379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1380 _result
= (long )wxConfigBase_GetStyle(_arg0
);
1382 wxPyEndAllowThreads(__tstate
);
1383 if (PyErr_Occurred()) return NULL
;
1384 } _resultobj
= Py_BuildValue("l",_result
);
1388 #define wxConfigBase_Write(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1389 static PyObject
*_wrap_wxConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1390 PyObject
* _resultobj
;
1392 wxConfigBase
* _arg0
;
1395 PyObject
* _argo0
= 0;
1396 PyObject
* _obj1
= 0;
1397 PyObject
* _obj2
= 0;
1398 char *_kwnames
[] = { "self","key","value", NULL
};
1401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_Write",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Write. Expected _wxConfigBase_p.");
1411 _arg1
= wxString_in_helper(_obj1
);
1416 _arg2
= wxString_in_helper(_obj2
);
1421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1422 _result
= (bool )wxConfigBase_Write(_arg0
,*_arg1
,*_arg2
);
1424 wxPyEndAllowThreads(__tstate
);
1425 if (PyErr_Occurred()) return NULL
;
1426 } _resultobj
= Py_BuildValue("i",_result
);
1438 #define wxConfigBase_WriteInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1439 static PyObject
*_wrap_wxConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
* _resultobj
;
1442 wxConfigBase
* _arg0
;
1445 PyObject
* _argo0
= 0;
1446 PyObject
* _obj1
= 0;
1447 char *_kwnames
[] = { "self","key","value", NULL
};
1450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxConfigBase_WriteInt",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteInt. Expected _wxConfigBase_p.");
1460 _arg1
= wxString_in_helper(_obj1
);
1465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1466 _result
= (bool )wxConfigBase_WriteInt(_arg0
,*_arg1
,_arg2
);
1468 wxPyEndAllowThreads(__tstate
);
1469 if (PyErr_Occurred()) return NULL
;
1470 } _resultobj
= Py_BuildValue("i",_result
);
1478 #define wxConfigBase_WriteFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1479 static PyObject
*_wrap_wxConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
* _resultobj
;
1482 wxConfigBase
* _arg0
;
1485 PyObject
* _argo0
= 0;
1486 PyObject
* _obj1
= 0;
1487 char *_kwnames
[] = { "self","key","value", NULL
};
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOd:wxConfigBase_WriteFloat",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteFloat. Expected _wxConfigBase_p.");
1500 _arg1
= wxString_in_helper(_obj1
);
1505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1506 _result
= (bool )wxConfigBase_WriteFloat(_arg0
,*_arg1
,_arg2
);
1508 wxPyEndAllowThreads(__tstate
);
1509 if (PyErr_Occurred()) return NULL
;
1510 } _resultobj
= Py_BuildValue("i",_result
);
1518 #define wxConfigBase_WriteBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1519 static PyObject
*_wrap_wxConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
* _resultobj
;
1522 wxConfigBase
* _arg0
;
1525 PyObject
* _argo0
= 0;
1526 PyObject
* _obj1
= 0;
1528 char *_kwnames
[] = { "self","key","value", NULL
};
1531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxConfigBase_WriteBool",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteBool. Expected _wxConfigBase_p.");
1541 _arg1
= wxString_in_helper(_obj1
);
1545 _arg2
= (bool ) tempbool2
;
1547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1548 _result
= (bool )wxConfigBase_WriteBool(_arg0
,*_arg1
,_arg2
);
1550 wxPyEndAllowThreads(__tstate
);
1551 if (PyErr_Occurred()) return NULL
;
1552 } _resultobj
= Py_BuildValue("i",_result
);
1560 #define wxConfigBase_GetEntryType(_swigobj,_swigarg0) (_swigobj->GetEntryType(_swigarg0))
1561 static PyObject
*_wrap_wxConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1562 PyObject
* _resultobj
;
1563 wxConfigBase::EntryType _result
;
1564 wxConfigBase
* _arg0
;
1566 PyObject
* _argo0
= 0;
1567 PyObject
* _obj1
= 0;
1568 char *_kwnames
[] = { "self","name", NULL
};
1571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_GetEntryType",_kwnames
,&_argo0
,&_obj1
))
1574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetEntryType. Expected _wxConfigBase_p.");
1581 _arg1
= wxString_in_helper(_obj1
);
1586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1587 _result
= (wxConfigBase::EntryType
)wxConfigBase_GetEntryType(_arg0
,*_arg1
);
1589 wxPyEndAllowThreads(__tstate
);
1590 if (PyErr_Occurred()) return NULL
;
1591 } _resultobj
= Py_BuildValue("i",_result
);
1599 #define wxConfigBase_RenameEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameEntry(_swigarg0,_swigarg1))
1600 static PyObject
*_wrap_wxConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1601 PyObject
* _resultobj
;
1603 wxConfigBase
* _arg0
;
1606 PyObject
* _argo0
= 0;
1607 PyObject
* _obj1
= 0;
1608 PyObject
* _obj2
= 0;
1609 char *_kwnames
[] = { "self","oldName","newName", NULL
};
1612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_RenameEntry",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_RenameEntry. Expected _wxConfigBase_p.");
1622 _arg1
= wxString_in_helper(_obj1
);
1627 _arg2
= wxString_in_helper(_obj2
);
1632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1633 _result
= (bool )wxConfigBase_RenameEntry(_arg0
,*_arg1
,*_arg2
);
1635 wxPyEndAllowThreads(__tstate
);
1636 if (PyErr_Occurred()) return NULL
;
1637 } _resultobj
= Py_BuildValue("i",_result
);
1649 #define wxConfigBase_RenameGroup(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameGroup(_swigarg0,_swigarg1))
1650 static PyObject
*_wrap_wxConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1651 PyObject
* _resultobj
;
1653 wxConfigBase
* _arg0
;
1656 PyObject
* _argo0
= 0;
1657 PyObject
* _obj1
= 0;
1658 PyObject
* _obj2
= 0;
1659 char *_kwnames
[] = { "self","oldName","newName", NULL
};
1662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_RenameGroup",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_RenameGroup. Expected _wxConfigBase_p.");
1672 _arg1
= wxString_in_helper(_obj1
);
1677 _arg2
= wxString_in_helper(_obj2
);
1682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1683 _result
= (bool )wxConfigBase_RenameGroup(_arg0
,*_arg1
,*_arg2
);
1685 wxPyEndAllowThreads(__tstate
);
1686 if (PyErr_Occurred()) return NULL
;
1687 } _resultobj
= Py_BuildValue("i",_result
);
1699 #define wxConfigBase_ExpandEnvVars(_swigobj,_swigarg0) (_swigobj->ExpandEnvVars(_swigarg0))
1700 static PyObject
*_wrap_wxConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
* _resultobj
;
1703 wxConfigBase
* _arg0
;
1705 PyObject
* _argo0
= 0;
1706 PyObject
* _obj1
= 0;
1707 char *_kwnames
[] = { "self","str", NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_ExpandEnvVars",_kwnames
,&_argo0
,&_obj1
))
1713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ExpandEnvVars. Expected _wxConfigBase_p.");
1720 _arg1
= wxString_in_helper(_obj1
);
1725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1726 _result
= new wxString (wxConfigBase_ExpandEnvVars(_arg0
,*_arg1
));
1728 wxPyEndAllowThreads(__tstate
);
1729 if (PyErr_Occurred()) return NULL
;
1732 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1734 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1747 static void *SwigwxConfigTowxConfigBase(void *ptr
) {
1750 src
= (wxConfig
*) ptr
;
1751 dest
= (wxConfigBase
*) src
;
1752 return (void *) dest
;
1755 #define new_wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1756 static PyObject
*_wrap_new_wxConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1757 PyObject
* _resultobj
;
1759 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
1760 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
1761 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1762 wxString
* _arg3
= (wxString
*) &wxEmptyString
;
1763 long _arg4
= (long ) 0;
1764 PyObject
* _obj0
= 0;
1765 PyObject
* _obj1
= 0;
1766 PyObject
* _obj2
= 0;
1767 PyObject
* _obj3
= 0;
1768 char *_kwnames
[] = { "appName","vendorName","localFilename","globalFilename","style", NULL
};
1772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOl:new_wxConfig",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
))
1776 _arg0
= wxString_in_helper(_obj0
);
1782 _arg1
= wxString_in_helper(_obj1
);
1788 _arg2
= wxString_in_helper(_obj2
);
1794 _arg3
= wxString_in_helper(_obj3
);
1799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1800 _result
= (wxConfig
*)new_wxConfig(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
1802 wxPyEndAllowThreads(__tstate
);
1803 if (PyErr_Occurred()) return NULL
;
1805 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfig_p");
1806 _resultobj
= Py_BuildValue("s",_ptemp
);
1809 _resultobj
= Py_None
;
1830 #define delete_wxConfig(_swigobj) (delete _swigobj)
1831 static PyObject
*_wrap_delete_wxConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
* _resultobj
;
1834 PyObject
* _argo0
= 0;
1835 char *_kwnames
[] = { "self", NULL
};
1838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxConfig",_kwnames
,&_argo0
))
1841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfig_p")) {
1843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxConfig. Expected _wxConfig_p.");
1848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1849 delete_wxConfig(_arg0
);
1851 wxPyEndAllowThreads(__tstate
);
1852 if (PyErr_Occurred()) return NULL
;
1853 } Py_INCREF(Py_None
);
1854 _resultobj
= Py_None
;
1858 static void *SwigwxFileConfigTowxConfigBase(void *ptr
) {
1861 src
= (wxFileConfig
*) ptr
;
1862 dest
= (wxConfigBase
*) src
;
1863 return (void *) dest
;
1866 #define new_wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1867 static PyObject
*_wrap_new_wxFileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
* _resultobj
;
1869 wxFileConfig
* _result
;
1870 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
1871 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
1872 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1873 wxString
* _arg3
= (wxString
*) &wxEmptyString
;
1874 long _arg4
= (long ) 0;
1875 PyObject
* _obj0
= 0;
1876 PyObject
* _obj1
= 0;
1877 PyObject
* _obj2
= 0;
1878 PyObject
* _obj3
= 0;
1879 char *_kwnames
[] = { "appName","vendorName","localFilename","globalFilename","style", NULL
};
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOl:new_wxFileConfig",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
))
1887 _arg0
= wxString_in_helper(_obj0
);
1893 _arg1
= wxString_in_helper(_obj1
);
1899 _arg2
= wxString_in_helper(_obj2
);
1905 _arg3
= wxString_in_helper(_obj3
);
1910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1911 _result
= (wxFileConfig
*)new_wxFileConfig(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
1913 wxPyEndAllowThreads(__tstate
);
1914 if (PyErr_Occurred()) return NULL
;
1916 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileConfig_p");
1917 _resultobj
= Py_BuildValue("s",_ptemp
);
1920 _resultobj
= Py_None
;
1941 #define delete_wxFileConfig(_swigobj) (delete _swigobj)
1942 static PyObject
*_wrap_delete_wxFileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1943 PyObject
* _resultobj
;
1944 wxFileConfig
* _arg0
;
1945 PyObject
* _argo0
= 0;
1946 char *_kwnames
[] = { "self", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileConfig",_kwnames
,&_argo0
))
1952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileConfig_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileConfig. Expected _wxFileConfig_p.");
1959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1960 delete_wxFileConfig(_arg0
);
1962 wxPyEndAllowThreads(__tstate
);
1963 if (PyErr_Occurred()) return NULL
;
1964 } Py_INCREF(Py_None
);
1965 _resultobj
= Py_None
;
1969 static PyObject
*_wrap_wxDateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1970 PyObject
* _resultobj
;
1971 wxDateTime::Country _arg0
;
1972 char *_kwnames
[] = { "country", NULL
};
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateTime_SetCountry",_kwnames
,&_arg0
))
1978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1979 wxDateTime::SetCountry(_arg0
);
1981 wxPyEndAllowThreads(__tstate
);
1982 if (PyErr_Occurred()) return NULL
;
1983 } Py_INCREF(Py_None
);
1984 _resultobj
= Py_None
;
1988 static PyObject
*_wrap_wxDateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
* _resultobj
;
1990 wxDateTime::Country _result
;
1991 char *_kwnames
[] = { NULL
};
1994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_GetCountry",_kwnames
))
1997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1998 _result
= (wxDateTime::Country
)wxDateTime::GetCountry();
2000 wxPyEndAllowThreads(__tstate
);
2001 if (PyErr_Occurred()) return NULL
;
2002 } _resultobj
= Py_BuildValue("i",_result
);
2006 static PyObject
*_wrap_wxDateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2007 PyObject
* _resultobj
;
2009 wxDateTime::Country _arg0
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2010 char *_kwnames
[] = { "country", NULL
};
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_IsWestEuropeanCountry",_kwnames
,&_arg0
))
2016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2017 _result
= (bool )wxDateTime::IsWestEuropeanCountry(_arg0
);
2019 wxPyEndAllowThreads(__tstate
);
2020 if (PyErr_Occurred()) return NULL
;
2021 } _resultobj
= Py_BuildValue("i",_result
);
2025 static PyObject
*_wrap_wxDateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
* _resultobj
;
2028 wxDateTime::Calendar _arg0
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2029 char *_kwnames
[] = { "cal", NULL
};
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCurrentYear",_kwnames
,&_arg0
))
2035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2036 _result
= (int )wxDateTime::GetCurrentYear(_arg0
);
2038 wxPyEndAllowThreads(__tstate
);
2039 if (PyErr_Occurred()) return NULL
;
2040 } _resultobj
= Py_BuildValue("i",_result
);
2044 static PyObject
*_wrap_wxDateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
* _resultobj
;
2048 char *_kwnames
[] = { "year", NULL
};
2051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateTime_ConvertYearToBC",_kwnames
,&_arg0
))
2054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2055 _result
= (int )wxDateTime::ConvertYearToBC(_arg0
);
2057 wxPyEndAllowThreads(__tstate
);
2058 if (PyErr_Occurred()) return NULL
;
2059 } _resultobj
= Py_BuildValue("i",_result
);
2063 static PyObject
*_wrap_wxDateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
* _resultobj
;
2065 wxDateTime::Month _result
;
2066 wxDateTime::Calendar _arg0
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2067 char *_kwnames
[] = { "cal", NULL
};
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCurrentMonth",_kwnames
,&_arg0
))
2073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2074 _result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(_arg0
);
2076 wxPyEndAllowThreads(__tstate
);
2077 if (PyErr_Occurred()) return NULL
;
2078 } _resultobj
= Py_BuildValue("i",_result
);
2082 static PyObject
*_wrap_wxDateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2083 PyObject
* _resultobj
;
2085 int _arg0
= (int ) wxDateTime::Inv_Year
;
2086 wxDateTime::Calendar _arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2087 char *_kwnames
[] = { "year","cal", NULL
};
2090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_IsLeapYear",_kwnames
,&_arg0
,&_arg1
))
2093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2094 _result
= (bool )wxDateTime::IsLeapYear(_arg0
,_arg1
);
2096 wxPyEndAllowThreads(__tstate
);
2097 if (PyErr_Occurred()) return NULL
;
2098 } _resultobj
= Py_BuildValue("i",_result
);
2102 static PyObject
*_wrap_wxDateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2103 PyObject
* _resultobj
;
2105 int _arg0
= (int ) wxDateTime::Inv_Year
;
2106 char *_kwnames
[] = { "year", NULL
};
2109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCentury",_kwnames
,&_arg0
))
2112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2113 _result
= (int )wxDateTime::GetCentury(_arg0
);
2115 wxPyEndAllowThreads(__tstate
);
2116 if (PyErr_Occurred()) return NULL
;
2117 } _resultobj
= Py_BuildValue("i",_result
);
2121 static PyObject
*_wrap_wxDateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
* _resultobj
;
2123 wxDateTime::wxDateTime_t _result
;
2125 wxDateTime::Calendar _arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2126 char *_kwnames
[] = { "year","cal", NULL
};
2129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetNumberOfDaysinYear",_kwnames
,&_arg0
,&_arg1
))
2132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2133 _result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(_arg0
,_arg1
);
2135 wxPyEndAllowThreads(__tstate
);
2136 if (PyErr_Occurred()) return NULL
;
2137 } _resultobj
= Py_BuildValue("h",_result
);
2141 static PyObject
*_wrap_wxDateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
* _resultobj
;
2143 wxDateTime::wxDateTime_t _result
;
2144 wxDateTime::Month _arg0
;
2145 int _arg1
= (int ) wxDateTime::Inv_Year
;
2146 wxDateTime::Calendar _arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2147 char *_kwnames
[] = { "month","year","cal", NULL
};
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|ii:wxDateTime_GetNumberOfDaysInMonth",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2154 _result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(_arg0
,_arg1
,_arg2
);
2156 wxPyEndAllowThreads(__tstate
);
2157 if (PyErr_Occurred()) return NULL
;
2158 } _resultobj
= Py_BuildValue("h",_result
);
2162 static PyObject
*_wrap_wxDateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2163 PyObject
* _resultobj
;
2165 wxDateTime::Month _arg0
;
2166 wxDateTime::NameFlags _arg1
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
2167 char *_kwnames
[] = { "month","flags", NULL
};
2170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetMonthName",_kwnames
,&_arg0
,&_arg1
))
2173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2174 _result
= new wxString (wxDateTime::GetMonthName(_arg0
,_arg1
));
2176 wxPyEndAllowThreads(__tstate
);
2177 if (PyErr_Occurred()) return NULL
;
2180 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2182 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2191 static PyObject
*_wrap_wxDateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2192 PyObject
* _resultobj
;
2194 wxDateTime::WeekDay _arg0
;
2195 wxDateTime::NameFlags _arg1
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
2196 char *_kwnames
[] = { "weekday","flags", NULL
};
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetWeekDayName",_kwnames
,&_arg0
,&_arg1
))
2202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2203 _result
= new wxString (wxDateTime::GetWeekDayName(_arg0
,_arg1
));
2205 wxPyEndAllowThreads(__tstate
);
2206 if (PyErr_Occurred()) return NULL
;
2209 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2211 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2220 static PyObject
*_wrap_wxDateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2224 PyObject
* _obj0
= 0;
2225 PyObject
* _obj1
= 0;
2226 char *_kwnames
[] = { "OUTPUT","OUTPUT", NULL
};
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_GetAmPmStrings",_kwnames
,&_obj0
,&_obj1
))
2232 _arg0
= wxString_in_helper(_obj0
);
2237 _arg1
= wxString_in_helper(_obj1
);
2242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2243 wxDateTime::GetAmPmStrings(_arg0
,_arg1
);
2245 wxPyEndAllowThreads(__tstate
);
2246 if (PyErr_Occurred()) return NULL
;
2247 } Py_INCREF(Py_None
);
2248 _resultobj
= Py_None
;
2260 static PyObject
*_wrap_wxDateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2261 PyObject
* _resultobj
;
2263 int _arg0
= (int ) wxDateTime::Inv_Year
;
2264 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2265 char *_kwnames
[] = { "year","country", NULL
};
2268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_IsDSTApplicable",_kwnames
,&_arg0
,&_arg1
))
2271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2272 _result
= (bool )wxDateTime::IsDSTApplicable(_arg0
,_arg1
);
2274 wxPyEndAllowThreads(__tstate
);
2275 if (PyErr_Occurred()) return NULL
;
2276 } _resultobj
= Py_BuildValue("i",_result
);
2280 static PyObject
*_wrap_wxDateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2281 PyObject
* _resultobj
;
2282 wxDateTime
* _result
;
2283 int _arg0
= (int ) wxDateTime::Inv_Year
;
2284 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2285 char *_kwnames
[] = { "year","country", NULL
};
2289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_GetBeginDST",_kwnames
,&_arg0
,&_arg1
))
2292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2293 _result
= new wxDateTime (wxDateTime::GetBeginDST(_arg0
,_arg1
));
2295 wxPyEndAllowThreads(__tstate
);
2296 if (PyErr_Occurred()) return NULL
;
2297 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2298 _resultobj
= Py_BuildValue("s",_ptemp
);
2302 static PyObject
*_wrap_wxDateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
* _resultobj
;
2304 wxDateTime
* _result
;
2305 int _arg0
= (int ) wxDateTime::Inv_Year
;
2306 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2307 char *_kwnames
[] = { "year","country", NULL
};
2311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_GetEndDST",_kwnames
,&_arg0
,&_arg1
))
2314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2315 _result
= new wxDateTime (wxDateTime::GetEndDST(_arg0
,_arg1
));
2317 wxPyEndAllowThreads(__tstate
);
2318 if (PyErr_Occurred()) return NULL
;
2319 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2320 _resultobj
= Py_BuildValue("s",_ptemp
);
2324 static PyObject
*_wrap_wxDateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
* _resultobj
;
2326 wxDateTime
* _result
;
2327 char *_kwnames
[] = { NULL
};
2331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_Now",_kwnames
))
2334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2335 _result
= new wxDateTime (wxDateTime::Now());
2337 wxPyEndAllowThreads(__tstate
);
2338 if (PyErr_Occurred()) return NULL
;
2339 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2340 _resultobj
= Py_BuildValue("s",_ptemp
);
2344 static PyObject
*_wrap_wxDateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
* _resultobj
;
2346 wxDateTime
* _result
;
2347 char *_kwnames
[] = { NULL
};
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_Today",_kwnames
))
2354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2355 _result
= new wxDateTime (wxDateTime::Today());
2357 wxPyEndAllowThreads(__tstate
);
2358 if (PyErr_Occurred()) return NULL
;
2359 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2360 _resultobj
= Py_BuildValue("s",_ptemp
);
2364 #define new_wxDateTime() (new wxDateTime())
2365 static PyObject
*_wrap_new_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
* _resultobj
;
2367 wxDateTime
* _result
;
2368 char *_kwnames
[] = { NULL
};
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDateTime",_kwnames
))
2375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2376 _result
= (wxDateTime
*)new_wxDateTime();
2378 wxPyEndAllowThreads(__tstate
);
2379 if (PyErr_Occurred()) return NULL
;
2381 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2382 _resultobj
= Py_BuildValue("s",_ptemp
);
2385 _resultobj
= Py_None
;
2390 #define new_wxDateTimeFromTimeT(_swigarg0) (new wxDateTime(_swigarg0))
2391 static PyObject
*_wrap_new_wxDateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
* _resultobj
;
2393 wxDateTime
* _result
;
2395 char *_kwnames
[] = { "timet", NULL
};
2399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxDateTimeFromTimeT",_kwnames
,&_arg0
))
2402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2403 _result
= (wxDateTime
*)new_wxDateTimeFromTimeT(_arg0
);
2405 wxPyEndAllowThreads(__tstate
);
2406 if (PyErr_Occurred()) return NULL
;
2408 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2409 _resultobj
= Py_BuildValue("s",_ptemp
);
2412 _resultobj
= Py_None
;
2417 #define new_wxDateTimeFromJDN(_swigarg0) (new wxDateTime(_swigarg0))
2418 static PyObject
*_wrap_new_wxDateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
* _resultobj
;
2420 wxDateTime
* _result
;
2422 char *_kwnames
[] = { "jdn", NULL
};
2426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"d:new_wxDateTimeFromJDN",_kwnames
,&_arg0
))
2429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2430 _result
= (wxDateTime
*)new_wxDateTimeFromJDN(_arg0
);
2432 wxPyEndAllowThreads(__tstate
);
2433 if (PyErr_Occurred()) return NULL
;
2435 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2436 _resultobj
= Py_BuildValue("s",_ptemp
);
2439 _resultobj
= Py_None
;
2444 #define new_wxDateTimeFromHMS(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2445 static PyObject
*_wrap_new_wxDateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2446 PyObject
* _resultobj
;
2447 wxDateTime
* _result
;
2448 wxDateTime::wxDateTime_t _arg0
;
2449 wxDateTime::wxDateTime_t _arg1
= (wxDateTime::wxDateTime_t
) 0;
2450 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
2451 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2452 char *_kwnames
[] = { "hour","minute","second","millisec", NULL
};
2456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|hhh:new_wxDateTimeFromHMS",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2460 _result
= (wxDateTime
*)new_wxDateTimeFromHMS(_arg0
,_arg1
,_arg2
,_arg3
);
2462 wxPyEndAllowThreads(__tstate
);
2463 if (PyErr_Occurred()) return NULL
;
2465 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2466 _resultobj
= Py_BuildValue("s",_ptemp
);
2469 _resultobj
= Py_None
;
2474 #define new_wxDateTimeFromDMY(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2475 static PyObject
*_wrap_new_wxDateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2476 PyObject
* _resultobj
;
2477 wxDateTime
* _result
;
2478 wxDateTime::wxDateTime_t _arg0
;
2479 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
2480 int _arg2
= (int ) wxDateTime::Inv_Year
;
2481 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2482 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2483 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
2484 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
2485 char *_kwnames
[] = { "day","month","year","hour","minute","second","millisec", NULL
};
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|iihhhh:new_wxDateTimeFromDMY",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2493 _result
= (wxDateTime
*)new_wxDateTimeFromDMY(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2495 wxPyEndAllowThreads(__tstate
);
2496 if (PyErr_Occurred()) return NULL
;
2498 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2499 _resultobj
= Py_BuildValue("s",_ptemp
);
2502 _resultobj
= Py_None
;
2507 #define delete_wxDateTime(_swigobj) (delete _swigobj)
2508 static PyObject
*_wrap_delete_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2509 PyObject
* _resultobj
;
2511 PyObject
* _argo0
= 0;
2512 char *_kwnames
[] = { "self", NULL
};
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateTime",_kwnames
,&_argo0
))
2518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateTime. Expected _wxDateTime_p.");
2525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2526 delete_wxDateTime(_arg0
);
2528 wxPyEndAllowThreads(__tstate
);
2529 if (PyErr_Occurred()) return NULL
;
2530 } Py_INCREF(Py_None
);
2531 _resultobj
= Py_None
;
2535 #define wxDateTime_SetToCurrent(_swigobj) (_swigobj->SetToCurrent())
2536 static PyObject
*_wrap_wxDateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
* _resultobj
;
2538 wxDateTime
* _result
;
2540 PyObject
* _argo0
= 0;
2541 char *_kwnames
[] = { "self", NULL
};
2545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_SetToCurrent",_kwnames
,&_argo0
))
2548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToCurrent. Expected _wxDateTime_p.");
2555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2556 wxDateTime
& _result_ref
= wxDateTime_SetToCurrent(_arg0
);
2557 _result
= (wxDateTime
*) &_result_ref
;
2559 wxPyEndAllowThreads(__tstate
);
2560 if (PyErr_Occurred()) return NULL
;
2562 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2563 _resultobj
= Py_BuildValue("s",_ptemp
);
2566 _resultobj
= Py_None
;
2571 #define wxDateTime_SetTimeT(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2572 static PyObject
*_wrap_wxDateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2573 PyObject
* _resultobj
;
2574 wxDateTime
* _result
;
2577 PyObject
* _argo0
= 0;
2578 char *_kwnames
[] = { "self","timet", NULL
};
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetTimeT",_kwnames
,&_argo0
,&_arg1
))
2585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetTimeT. Expected _wxDateTime_p.");
2592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2593 wxDateTime
& _result_ref
= wxDateTime_SetTimeT(_arg0
,_arg1
);
2594 _result
= (wxDateTime
*) &_result_ref
;
2596 wxPyEndAllowThreads(__tstate
);
2597 if (PyErr_Occurred()) return NULL
;
2599 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2600 _resultobj
= Py_BuildValue("s",_ptemp
);
2603 _resultobj
= Py_None
;
2608 #define wxDateTime_SetJDN(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2609 static PyObject
*_wrap_wxDateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
* _resultobj
;
2611 wxDateTime
* _result
;
2614 PyObject
* _argo0
= 0;
2615 char *_kwnames
[] = { "self","jdn", NULL
};
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxDateTime_SetJDN",_kwnames
,&_argo0
,&_arg1
))
2622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetJDN. Expected _wxDateTime_p.");
2629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2630 wxDateTime
& _result_ref
= wxDateTime_SetJDN(_arg0
,_arg1
);
2631 _result
= (wxDateTime
*) &_result_ref
;
2633 wxPyEndAllowThreads(__tstate
);
2634 if (PyErr_Occurred()) return NULL
;
2636 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2637 _resultobj
= Py_BuildValue("s",_ptemp
);
2640 _resultobj
= Py_None
;
2645 #define wxDateTime_SetHMS(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2646 static PyObject
*_wrap_wxDateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
* _resultobj
;
2648 wxDateTime
* _result
;
2650 wxDateTime::wxDateTime_t _arg1
;
2651 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
2652 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2653 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2654 PyObject
* _argo0
= 0;
2655 char *_kwnames
[] = { "self","hour","minute","second","millisec", NULL
};
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|hhh:wxDateTime_SetHMS",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHMS. Expected _wxDateTime_p.");
2669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2670 wxDateTime
& _result_ref
= wxDateTime_SetHMS(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2671 _result
= (wxDateTime
*) &_result_ref
;
2673 wxPyEndAllowThreads(__tstate
);
2674 if (PyErr_Occurred()) return NULL
;
2676 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2677 _resultobj
= Py_BuildValue("s",_ptemp
);
2680 _resultobj
= Py_None
;
2685 #define wxDateTime_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2686 static PyObject
*_wrap_wxDateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2687 PyObject
* _resultobj
;
2688 wxDateTime
* _result
;
2690 wxDateTime::wxDateTime_t _arg1
;
2691 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
2692 int _arg3
= (int ) wxDateTime::Inv_Year
;
2693 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2694 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
2695 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
2696 wxDateTime::wxDateTime_t _arg7
= (wxDateTime::wxDateTime_t
) 0;
2697 PyObject
* _argo0
= 0;
2698 char *_kwnames
[] = { "self","day","month","year","hour","minute","second","millisec", NULL
};
2702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|iihhhh:wxDateTime_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
2705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Set. Expected _wxDateTime_p.");
2712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2713 wxDateTime
& _result_ref
= wxDateTime_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
2714 _result
= (wxDateTime
*) &_result_ref
;
2716 wxPyEndAllowThreads(__tstate
);
2717 if (PyErr_Occurred()) return NULL
;
2719 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2720 _resultobj
= Py_BuildValue("s",_ptemp
);
2723 _resultobj
= Py_None
;
2728 #define wxDateTime_ResetTime(_swigobj) (_swigobj->ResetTime())
2729 static PyObject
*_wrap_wxDateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
* _resultobj
;
2731 wxDateTime
* _result
;
2733 PyObject
* _argo0
= 0;
2734 char *_kwnames
[] = { "self", NULL
};
2738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_ResetTime",_kwnames
,&_argo0
))
2741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ResetTime. Expected _wxDateTime_p.");
2748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2749 wxDateTime
& _result_ref
= wxDateTime_ResetTime(_arg0
);
2750 _result
= (wxDateTime
*) &_result_ref
;
2752 wxPyEndAllowThreads(__tstate
);
2753 if (PyErr_Occurred()) return NULL
;
2755 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2756 _resultobj
= Py_BuildValue("s",_ptemp
);
2759 _resultobj
= Py_None
;
2764 #define wxDateTime_SetYear(_swigobj,_swigarg0) (_swigobj->SetYear(_swigarg0))
2765 static PyObject
*_wrap_wxDateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
* _resultobj
;
2767 wxDateTime
* _result
;
2770 PyObject
* _argo0
= 0;
2771 char *_kwnames
[] = { "self","year", NULL
};
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetYear",_kwnames
,&_argo0
,&_arg1
))
2778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetYear. Expected _wxDateTime_p.");
2785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2786 wxDateTime
& _result_ref
= wxDateTime_SetYear(_arg0
,_arg1
);
2787 _result
= (wxDateTime
*) &_result_ref
;
2789 wxPyEndAllowThreads(__tstate
);
2790 if (PyErr_Occurred()) return NULL
;
2792 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2793 _resultobj
= Py_BuildValue("s",_ptemp
);
2796 _resultobj
= Py_None
;
2801 #define wxDateTime_SetMonth(_swigobj,_swigarg0) (_swigobj->SetMonth(_swigarg0))
2802 static PyObject
*_wrap_wxDateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
* _resultobj
;
2804 wxDateTime
* _result
;
2806 wxDateTime::Month _arg1
;
2807 PyObject
* _argo0
= 0;
2808 char *_kwnames
[] = { "self","month", NULL
};
2812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetMonth",_kwnames
,&_argo0
,&_arg1
))
2815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMonth. Expected _wxDateTime_p.");
2822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2823 wxDateTime
& _result_ref
= wxDateTime_SetMonth(_arg0
,_arg1
);
2824 _result
= (wxDateTime
*) &_result_ref
;
2826 wxPyEndAllowThreads(__tstate
);
2827 if (PyErr_Occurred()) return NULL
;
2829 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2830 _resultobj
= Py_BuildValue("s",_ptemp
);
2833 _resultobj
= Py_None
;
2838 #define wxDateTime_SetDay(_swigobj,_swigarg0) (_swigobj->SetDay(_swigarg0))
2839 static PyObject
*_wrap_wxDateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
* _resultobj
;
2841 wxDateTime
* _result
;
2843 wxDateTime::wxDateTime_t _arg1
;
2844 PyObject
* _argo0
= 0;
2845 char *_kwnames
[] = { "self","day", NULL
};
2849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetDay",_kwnames
,&_argo0
,&_arg1
))
2852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetDay. Expected _wxDateTime_p.");
2859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2860 wxDateTime
& _result_ref
= wxDateTime_SetDay(_arg0
,_arg1
);
2861 _result
= (wxDateTime
*) &_result_ref
;
2863 wxPyEndAllowThreads(__tstate
);
2864 if (PyErr_Occurred()) return NULL
;
2866 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2867 _resultobj
= Py_BuildValue("s",_ptemp
);
2870 _resultobj
= Py_None
;
2875 #define wxDateTime_SetHour(_swigobj,_swigarg0) (_swigobj->SetHour(_swigarg0))
2876 static PyObject
*_wrap_wxDateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2877 PyObject
* _resultobj
;
2878 wxDateTime
* _result
;
2880 wxDateTime::wxDateTime_t _arg1
;
2881 PyObject
* _argo0
= 0;
2882 char *_kwnames
[] = { "self","hour", NULL
};
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetHour",_kwnames
,&_argo0
,&_arg1
))
2889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHour. Expected _wxDateTime_p.");
2896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 wxDateTime
& _result_ref
= wxDateTime_SetHour(_arg0
,_arg1
);
2898 _result
= (wxDateTime
*) &_result_ref
;
2900 wxPyEndAllowThreads(__tstate
);
2901 if (PyErr_Occurred()) return NULL
;
2903 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2904 _resultobj
= Py_BuildValue("s",_ptemp
);
2907 _resultobj
= Py_None
;
2912 #define wxDateTime_SetMinute(_swigobj,_swigarg0) (_swigobj->SetMinute(_swigarg0))
2913 static PyObject
*_wrap_wxDateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2914 PyObject
* _resultobj
;
2915 wxDateTime
* _result
;
2917 wxDateTime::wxDateTime_t _arg1
;
2918 PyObject
* _argo0
= 0;
2919 char *_kwnames
[] = { "self","minute", NULL
};
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMinute",_kwnames
,&_argo0
,&_arg1
))
2926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMinute. Expected _wxDateTime_p.");
2933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2934 wxDateTime
& _result_ref
= wxDateTime_SetMinute(_arg0
,_arg1
);
2935 _result
= (wxDateTime
*) &_result_ref
;
2937 wxPyEndAllowThreads(__tstate
);
2938 if (PyErr_Occurred()) return NULL
;
2940 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2941 _resultobj
= Py_BuildValue("s",_ptemp
);
2944 _resultobj
= Py_None
;
2949 #define wxDateTime_SetSecond(_swigobj,_swigarg0) (_swigobj->SetSecond(_swigarg0))
2950 static PyObject
*_wrap_wxDateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2951 PyObject
* _resultobj
;
2952 wxDateTime
* _result
;
2954 wxDateTime::wxDateTime_t _arg1
;
2955 PyObject
* _argo0
= 0;
2956 char *_kwnames
[] = { "self","second", NULL
};
2960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetSecond",_kwnames
,&_argo0
,&_arg1
))
2963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetSecond. Expected _wxDateTime_p.");
2970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2971 wxDateTime
& _result_ref
= wxDateTime_SetSecond(_arg0
,_arg1
);
2972 _result
= (wxDateTime
*) &_result_ref
;
2974 wxPyEndAllowThreads(__tstate
);
2975 if (PyErr_Occurred()) return NULL
;
2977 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2978 _resultobj
= Py_BuildValue("s",_ptemp
);
2981 _resultobj
= Py_None
;
2986 #define wxDateTime_SetMillisecond(_swigobj,_swigarg0) (_swigobj->SetMillisecond(_swigarg0))
2987 static PyObject
*_wrap_wxDateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2988 PyObject
* _resultobj
;
2989 wxDateTime
* _result
;
2991 wxDateTime::wxDateTime_t _arg1
;
2992 PyObject
* _argo0
= 0;
2993 char *_kwnames
[] = { "self","millisecond", NULL
};
2997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMillisecond",_kwnames
,&_argo0
,&_arg1
))
3000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMillisecond. Expected _wxDateTime_p.");
3007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3008 wxDateTime
& _result_ref
= wxDateTime_SetMillisecond(_arg0
,_arg1
);
3009 _result
= (wxDateTime
*) &_result_ref
;
3011 wxPyEndAllowThreads(__tstate
);
3012 if (PyErr_Occurred()) return NULL
;
3014 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3015 _resultobj
= Py_BuildValue("s",_ptemp
);
3018 _resultobj
= Py_None
;
3023 #define wxDateTime_SetToWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->SetToWeekDayInSameWeek(_swigarg0))
3024 static PyObject
*_wrap_wxDateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
* _resultobj
;
3026 wxDateTime
* _result
;
3028 wxDateTime::WeekDay _arg1
;
3029 PyObject
* _argo0
= 0;
3030 char *_kwnames
[] = { "self","weekday", NULL
};
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
))
3037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDayInSameWeek. Expected _wxDateTime_p.");
3044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3045 wxDateTime
& _result_ref
= wxDateTime_SetToWeekDayInSameWeek(_arg0
,_arg1
);
3046 _result
= (wxDateTime
*) &_result_ref
;
3048 wxPyEndAllowThreads(__tstate
);
3049 if (PyErr_Occurred()) return NULL
;
3051 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3052 _resultobj
= Py_BuildValue("s",_ptemp
);
3055 _resultobj
= Py_None
;
3060 #define wxDateTime_GetWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->GetWeekDayInSameWeek(_swigarg0))
3061 static PyObject
*_wrap_wxDateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
* _resultobj
;
3063 wxDateTime
* _result
;
3065 wxDateTime::WeekDay _arg1
;
3066 PyObject
* _argo0
= 0;
3067 char *_kwnames
[] = { "self","weekday", NULL
};
3071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
))
3074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDayInSameWeek. Expected _wxDateTime_p.");
3081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3082 _result
= new wxDateTime (wxDateTime_GetWeekDayInSameWeek(_arg0
,_arg1
));
3084 wxPyEndAllowThreads(__tstate
);
3085 if (PyErr_Occurred()) return NULL
;
3086 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3087 _resultobj
= Py_BuildValue("s",_ptemp
);
3091 #define wxDateTime_SetToNextWeekDay(_swigobj,_swigarg0) (_swigobj->SetToNextWeekDay(_swigarg0))
3092 static PyObject
*_wrap_wxDateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3093 PyObject
* _resultobj
;
3094 wxDateTime
* _result
;
3096 wxDateTime::WeekDay _arg1
;
3097 PyObject
* _argo0
= 0;
3098 char *_kwnames
[] = { "self","weekday", NULL
};
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
3105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToNextWeekDay. Expected _wxDateTime_p.");
3112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3113 wxDateTime
& _result_ref
= wxDateTime_SetToNextWeekDay(_arg0
,_arg1
);
3114 _result
= (wxDateTime
*) &_result_ref
;
3116 wxPyEndAllowThreads(__tstate
);
3117 if (PyErr_Occurred()) return NULL
;
3119 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3120 _resultobj
= Py_BuildValue("s",_ptemp
);
3123 _resultobj
= Py_None
;
3128 #define wxDateTime_GetNextWeekDay(_swigobj,_swigarg0) (_swigobj->GetNextWeekDay(_swigarg0))
3129 static PyObject
*_wrap_wxDateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
* _resultobj
;
3131 wxDateTime
* _result
;
3133 wxDateTime::WeekDay _arg1
;
3134 PyObject
* _argo0
= 0;
3135 char *_kwnames
[] = { "self","weekday", NULL
};
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
3142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetNextWeekDay. Expected _wxDateTime_p.");
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 _result
= new wxDateTime (wxDateTime_GetNextWeekDay(_arg0
,_arg1
));
3152 wxPyEndAllowThreads(__tstate
);
3153 if (PyErr_Occurred()) return NULL
;
3154 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3155 _resultobj
= Py_BuildValue("s",_ptemp
);
3159 #define wxDateTime_SetToPrevWeekDay(_swigobj,_swigarg0) (_swigobj->SetToPrevWeekDay(_swigarg0))
3160 static PyObject
*_wrap_wxDateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
* _resultobj
;
3162 wxDateTime
* _result
;
3164 wxDateTime::WeekDay _arg1
;
3165 PyObject
* _argo0
= 0;
3166 char *_kwnames
[] = { "self","weekday", NULL
};
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToPrevWeekDay. Expected _wxDateTime_p.");
3180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3181 wxDateTime
& _result_ref
= wxDateTime_SetToPrevWeekDay(_arg0
,_arg1
);
3182 _result
= (wxDateTime
*) &_result_ref
;
3184 wxPyEndAllowThreads(__tstate
);
3185 if (PyErr_Occurred()) return NULL
;
3187 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3188 _resultobj
= Py_BuildValue("s",_ptemp
);
3191 _resultobj
= Py_None
;
3196 #define wxDateTime_GetPrevWeekDay(_swigobj,_swigarg0) (_swigobj->GetPrevWeekDay(_swigarg0))
3197 static PyObject
*_wrap_wxDateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3198 PyObject
* _resultobj
;
3199 wxDateTime
* _result
;
3201 wxDateTime::WeekDay _arg1
;
3202 PyObject
* _argo0
= 0;
3203 char *_kwnames
[] = { "self","weekday", NULL
};
3207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetPrevWeekDay. Expected _wxDateTime_p.");
3217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3218 _result
= new wxDateTime (wxDateTime_GetPrevWeekDay(_arg0
,_arg1
));
3220 wxPyEndAllowThreads(__tstate
);
3221 if (PyErr_Occurred()) return NULL
;
3222 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3223 _resultobj
= Py_BuildValue("s",_ptemp
);
3227 #define wxDateTime_SetToWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetToWeekDay(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3228 static PyObject
*_wrap_wxDateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3229 PyObject
* _resultobj
;
3232 wxDateTime::WeekDay _arg1
;
3233 int _arg2
= (int ) 1;
3234 wxDateTime::Month _arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3235 int _arg4
= (int ) wxDateTime::Inv_Year
;
3236 PyObject
* _argo0
= 0;
3237 char *_kwnames
[] = { "self","weekday","n","month","year", NULL
};
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iii:wxDateTime_SetToWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDay. Expected _wxDateTime_p.");
3250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3251 _result
= (bool )wxDateTime_SetToWeekDay(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3253 wxPyEndAllowThreads(__tstate
);
3254 if (PyErr_Occurred()) return NULL
;
3255 } _resultobj
= Py_BuildValue("i",_result
);
3259 #define wxDateTime_SetToLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetToLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3260 static PyObject
*_wrap_wxDateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3261 PyObject
* _resultobj
;
3264 wxDateTime::WeekDay _arg1
;
3265 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3266 int _arg3
= (int ) wxDateTime::Inv_Year
;
3267 PyObject
* _argo0
= 0;
3268 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_SetToLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastWeekDay. Expected _wxDateTime_p.");
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 _result
= (bool )wxDateTime_SetToLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
);
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) return NULL
;
3286 } _resultobj
= Py_BuildValue("i",_result
);
3290 #define wxDateTime_GetLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3291 static PyObject
*_wrap_wxDateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3292 PyObject
* _resultobj
;
3293 wxDateTime
* _result
;
3295 wxDateTime::WeekDay _arg1
;
3296 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3297 int _arg3
= (int ) wxDateTime::Inv_Year
;
3298 PyObject
* _argo0
= 0;
3299 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_GetLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastWeekDay. Expected _wxDateTime_p.");
3313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3314 _result
= new wxDateTime (wxDateTime_GetLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
));
3316 wxPyEndAllowThreads(__tstate
);
3317 if (PyErr_Occurred()) return NULL
;
3318 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3319 _resultobj
= Py_BuildValue("s",_ptemp
);
3323 #define wxDateTime_SetToTheWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToTheWeek(_swigarg0,_swigarg1))
3324 static PyObject
*_wrap_wxDateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3325 PyObject
* _resultobj
;
3328 wxDateTime::wxDateTime_t _arg1
;
3329 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3330 PyObject
* _argo0
= 0;
3331 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_SetToTheWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToTheWeek. Expected _wxDateTime_p.");
3344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3345 _result
= (bool )wxDateTime_SetToTheWeek(_arg0
,_arg1
,_arg2
);
3347 wxPyEndAllowThreads(__tstate
);
3348 if (PyErr_Occurred()) return NULL
;
3349 } _resultobj
= Py_BuildValue("i",_result
);
3353 #define wxDateTime_GetWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeek(_swigarg0,_swigarg1))
3354 static PyObject
*_wrap_wxDateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
* _resultobj
;
3356 wxDateTime
* _result
;
3358 wxDateTime::wxDateTime_t _arg1
;
3359 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3360 PyObject
* _argo0
= 0;
3361 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_GetWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeek. Expected _wxDateTime_p.");
3375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3376 _result
= new wxDateTime (wxDateTime_GetWeek(_arg0
,_arg1
,_arg2
));
3378 wxPyEndAllowThreads(__tstate
);
3379 if (PyErr_Occurred()) return NULL
;
3380 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3381 _resultobj
= Py_BuildValue("s",_ptemp
);
3385 #define wxDateTime_SetToLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToLastMonthDay(_swigarg0,_swigarg1))
3386 static PyObject
*_wrap_wxDateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3387 PyObject
* _resultobj
;
3388 wxDateTime
* _result
;
3390 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3391 int _arg2
= (int ) wxDateTime::Inv_Year
;
3392 PyObject
* _argo0
= 0;
3393 char *_kwnames
[] = { "self","month","year", NULL
};
3397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_SetToLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastMonthDay. Expected _wxDateTime_p.");
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3408 wxDateTime
& _result_ref
= wxDateTime_SetToLastMonthDay(_arg0
,_arg1
,_arg2
);
3409 _result
= (wxDateTime
*) &_result_ref
;
3411 wxPyEndAllowThreads(__tstate
);
3412 if (PyErr_Occurred()) return NULL
;
3414 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3415 _resultobj
= Py_BuildValue("s",_ptemp
);
3418 _resultobj
= Py_None
;
3423 #define wxDateTime_GetLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastMonthDay(_swigarg0,_swigarg1))
3424 static PyObject
*_wrap_wxDateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
* _resultobj
;
3426 wxDateTime
* _result
;
3428 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3429 int _arg2
= (int ) wxDateTime::Inv_Year
;
3430 PyObject
* _argo0
= 0;
3431 char *_kwnames
[] = { "self","month","year", NULL
};
3435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_GetLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastMonthDay. Expected _wxDateTime_p.");
3445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3446 _result
= new wxDateTime (wxDateTime_GetLastMonthDay(_arg0
,_arg1
,_arg2
));
3448 wxPyEndAllowThreads(__tstate
);
3449 if (PyErr_Occurred()) return NULL
;
3450 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3451 _resultobj
= Py_BuildValue("s",_ptemp
);
3455 #define wxDateTime_SetToYearDay(_swigobj,_swigarg0) (_swigobj->SetToYearDay(_swigarg0))
3456 static PyObject
*_wrap_wxDateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
* _resultobj
;
3458 wxDateTime
* _result
;
3460 wxDateTime::wxDateTime_t _arg1
;
3461 PyObject
* _argo0
= 0;
3462 char *_kwnames
[] = { "self","yday", NULL
};
3466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetToYearDay",_kwnames
,&_argo0
,&_arg1
))
3469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToYearDay. Expected _wxDateTime_p.");
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 wxDateTime
& _result_ref
= wxDateTime_SetToYearDay(_arg0
,_arg1
);
3478 _result
= (wxDateTime
*) &_result_ref
;
3480 wxPyEndAllowThreads(__tstate
);
3481 if (PyErr_Occurred()) return NULL
;
3483 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3484 _resultobj
= Py_BuildValue("s",_ptemp
);
3487 _resultobj
= Py_None
;
3492 #define wxDateTime_GetYearDay(_swigobj,_swigarg0) (_swigobj->GetYearDay(_swigarg0))
3493 static PyObject
*_wrap_wxDateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3494 PyObject
* _resultobj
;
3495 wxDateTime
* _result
;
3497 wxDateTime::wxDateTime_t _arg1
;
3498 PyObject
* _argo0
= 0;
3499 char *_kwnames
[] = { "self","yday", NULL
};
3503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_GetYearDay",_kwnames
,&_argo0
,&_arg1
))
3506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYearDay. Expected _wxDateTime_p.");
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 _result
= new wxDateTime (wxDateTime_GetYearDay(_arg0
,_arg1
));
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) return NULL
;
3518 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3519 _resultobj
= Py_BuildValue("s",_ptemp
);
3523 #define wxDateTime_GetJulianDayNumber(_swigobj) (_swigobj->GetJulianDayNumber())
3524 static PyObject
*_wrap_wxDateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
* _resultobj
;
3528 PyObject
* _argo0
= 0;
3529 char *_kwnames
[] = { "self", NULL
};
3532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJulianDayNumber",_kwnames
,&_argo0
))
3535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJulianDayNumber. Expected _wxDateTime_p.");
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 _result
= (double )wxDateTime_GetJulianDayNumber(_arg0
);
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) return NULL
;
3547 } _resultobj
= Py_BuildValue("d",_result
);
3551 #define wxDateTime_GetJDN(_swigobj) (_swigobj->GetJDN())
3552 static PyObject
*_wrap_wxDateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
* _resultobj
;
3556 PyObject
* _argo0
= 0;
3557 char *_kwnames
[] = { "self", NULL
};
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJDN",_kwnames
,&_argo0
))
3563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJDN. Expected _wxDateTime_p.");
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 _result
= (double )wxDateTime_GetJDN(_arg0
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) return NULL
;
3575 } _resultobj
= Py_BuildValue("d",_result
);
3579 #define wxDateTime_GetModifiedJulianDayNumber(_swigobj) (_swigobj->GetModifiedJulianDayNumber())
3580 static PyObject
*_wrap_wxDateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
* _resultobj
;
3584 PyObject
* _argo0
= 0;
3585 char *_kwnames
[] = { "self", NULL
};
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetModifiedJulianDayNumber",_kwnames
,&_argo0
))
3591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetModifiedJulianDayNumber. Expected _wxDateTime_p.");
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 _result
= (double )wxDateTime_GetModifiedJulianDayNumber(_arg0
);
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) return NULL
;
3603 } _resultobj
= Py_BuildValue("d",_result
);
3607 #define wxDateTime_GetMJD(_swigobj) (_swigobj->GetMJD())
3608 static PyObject
*_wrap_wxDateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
* _resultobj
;
3612 PyObject
* _argo0
= 0;
3613 char *_kwnames
[] = { "self", NULL
};
3616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetMJD",_kwnames
,&_argo0
))
3619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMJD. Expected _wxDateTime_p.");
3626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3627 _result
= (double )wxDateTime_GetMJD(_arg0
);
3629 wxPyEndAllowThreads(__tstate
);
3630 if (PyErr_Occurred()) return NULL
;
3631 } _resultobj
= Py_BuildValue("d",_result
);
3635 #define wxDateTime_GetRataDie(_swigobj) (_swigobj->GetRataDie())
3636 static PyObject
*_wrap_wxDateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3637 PyObject
* _resultobj
;
3640 PyObject
* _argo0
= 0;
3641 char *_kwnames
[] = { "self", NULL
};
3644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetRataDie",_kwnames
,&_argo0
))
3647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetRataDie. Expected _wxDateTime_p.");
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 _result
= (double )wxDateTime_GetRataDie(_arg0
);
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) return NULL
;
3659 } _resultobj
= Py_BuildValue("d",_result
);
3663 #define wxDateTime_ToTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToTimezone(_swigarg0,_swigarg1))
3664 static PyObject
*_wrap_wxDateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3665 PyObject
* _resultobj
;
3666 wxDateTime
* _result
;
3668 wxDateTime::TimeZone
* _arg1
;
3669 bool _arg2
= (bool ) FALSE
;
3670 PyObject
* _argo0
= 0;
3671 PyObject
* _obj1
= 0;
3672 int tempbool2
= (int) FALSE
;
3673 char *_kwnames
[] = { "self","tz","noDST", NULL
};
3677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_ToTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToTimezone. Expected _wxDateTime_p.");
3687 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3689 _arg2
= (bool ) tempbool2
;
3691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3692 _result
= new wxDateTime (wxDateTime_ToTimezone(_arg0
,*_arg1
,_arg2
));
3694 wxPyEndAllowThreads(__tstate
);
3695 if (PyErr_Occurred()) return NULL
;
3696 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3697 _resultobj
= Py_BuildValue("s",_ptemp
);
3699 if (_arg1
) delete _arg1
;
3704 #define wxDateTime_MakeTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeTimezone(_swigarg0,_swigarg1))
3705 static PyObject
*_wrap_wxDateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
* _resultobj
;
3707 wxDateTime
* _result
;
3709 wxDateTime::TimeZone
* _arg1
;
3710 bool _arg2
= (bool ) FALSE
;
3711 PyObject
* _argo0
= 0;
3712 PyObject
* _obj1
= 0;
3713 int tempbool2
= (int) FALSE
;
3714 char *_kwnames
[] = { "self","tz","noDST", NULL
};
3718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_MakeTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeTimezone. Expected _wxDateTime_p.");
3728 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3730 _arg2
= (bool ) tempbool2
;
3732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3733 wxDateTime
& _result_ref
= wxDateTime_MakeTimezone(_arg0
,*_arg1
,_arg2
);
3734 _result
= (wxDateTime
*) &_result_ref
;
3736 wxPyEndAllowThreads(__tstate
);
3737 if (PyErr_Occurred()) return NULL
;
3739 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3740 _resultobj
= Py_BuildValue("s",_ptemp
);
3743 _resultobj
= Py_None
;
3746 if (_arg1
) delete _arg1
;
3751 #define wxDateTime_ToGMT(_swigobj,_swigarg0) (_swigobj->ToGMT(_swigarg0))
3752 static PyObject
*_wrap_wxDateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
* _resultobj
;
3754 wxDateTime
* _result
;
3756 bool _arg1
= (bool ) FALSE
;
3757 PyObject
* _argo0
= 0;
3758 int tempbool1
= (int) FALSE
;
3759 char *_kwnames
[] = { "self","noDST", NULL
};
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_ToGMT",_kwnames
,&_argo0
,&tempbool1
))
3766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToGMT. Expected _wxDateTime_p.");
3772 _arg1
= (bool ) tempbool1
;
3774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3775 _result
= new wxDateTime (wxDateTime_ToGMT(_arg0
,_arg1
));
3777 wxPyEndAllowThreads(__tstate
);
3778 if (PyErr_Occurred()) return NULL
;
3779 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3780 _resultobj
= Py_BuildValue("s",_ptemp
);
3784 #define wxDateTime_MakeGMT(_swigobj,_swigarg0) (_swigobj->MakeGMT(_swigarg0))
3785 static PyObject
*_wrap_wxDateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
* _resultobj
;
3787 wxDateTime
* _result
;
3789 bool _arg1
= (bool ) FALSE
;
3790 PyObject
* _argo0
= 0;
3791 int tempbool1
= (int) FALSE
;
3792 char *_kwnames
[] = { "self","noDST", NULL
};
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_MakeGMT",_kwnames
,&_argo0
,&tempbool1
))
3799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeGMT. Expected _wxDateTime_p.");
3805 _arg1
= (bool ) tempbool1
;
3807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3808 wxDateTime
& _result_ref
= wxDateTime_MakeGMT(_arg0
,_arg1
);
3809 _result
= (wxDateTime
*) &_result_ref
;
3811 wxPyEndAllowThreads(__tstate
);
3812 if (PyErr_Occurred()) return NULL
;
3814 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3815 _resultobj
= Py_BuildValue("s",_ptemp
);
3818 _resultobj
= Py_None
;
3823 #define wxDateTime_IsDST(_swigobj,_swigarg0) (_swigobj->IsDST(_swigarg0))
3824 static PyObject
*_wrap_wxDateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
* _resultobj
;
3828 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
3829 PyObject
* _argo0
= 0;
3830 char *_kwnames
[] = { "self","country", NULL
};
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsDST",_kwnames
,&_argo0
,&_arg1
))
3836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsDST. Expected _wxDateTime_p.");
3843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3844 _result
= (int )wxDateTime_IsDST(_arg0
,_arg1
);
3846 wxPyEndAllowThreads(__tstate
);
3847 if (PyErr_Occurred()) return NULL
;
3848 } _resultobj
= Py_BuildValue("i",_result
);
3852 #define wxDateTime_IsValid(_swigobj) (_swigobj->IsValid())
3853 static PyObject
*_wrap_wxDateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3854 PyObject
* _resultobj
;
3857 PyObject
* _argo0
= 0;
3858 char *_kwnames
[] = { "self", NULL
};
3861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_IsValid",_kwnames
,&_argo0
))
3864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsValid. Expected _wxDateTime_p.");
3871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3872 _result
= (bool )wxDateTime_IsValid(_arg0
);
3874 wxPyEndAllowThreads(__tstate
);
3875 if (PyErr_Occurred()) return NULL
;
3876 } _resultobj
= Py_BuildValue("i",_result
);
3880 #define wxDateTime_GetTicks(_swigobj) (_swigobj->GetTicks())
3881 static PyObject
*_wrap_wxDateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
* _resultobj
;
3885 PyObject
* _argo0
= 0;
3886 char *_kwnames
[] = { "self", NULL
};
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetTicks",_kwnames
,&_argo0
))
3892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetTicks. Expected _wxDateTime_p.");
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 _result
= (time_t )wxDateTime_GetTicks(_arg0
);
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) return NULL
;
3904 } _resultobj
= Py_BuildValue("i",_result
);
3908 #define wxDateTime_GetYear(_swigobj,_swigarg0) (_swigobj->GetYear(_swigarg0))
3909 static PyObject
*_wrap_wxDateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
* _resultobj
;
3913 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3914 PyObject
* _argo0
= 0;
3915 PyObject
* _obj1
= 0;
3916 char *_kwnames
[] = { "self","tz", NULL
};
3919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetYear",_kwnames
,&_argo0
,&_obj1
))
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_GetYear. Expected _wxDateTime_p.");
3930 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 _result
= (int )wxDateTime_GetYear(_arg0
,*_arg1
);
3936 wxPyEndAllowThreads(__tstate
);
3937 if (PyErr_Occurred()) return NULL
;
3938 } _resultobj
= Py_BuildValue("i",_result
);
3940 if (_arg1
) delete _arg1
;
3945 #define wxDateTime_GetMonth(_swigobj,_swigarg0) (_swigobj->GetMonth(_swigarg0))
3946 static PyObject
*_wrap_wxDateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
* _resultobj
;
3948 wxDateTime::Month _result
;
3950 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3951 PyObject
* _argo0
= 0;
3952 PyObject
* _obj1
= 0;
3953 char *_kwnames
[] = { "self","tz", NULL
};
3956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMonth",_kwnames
,&_argo0
,&_obj1
))
3959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMonth. Expected _wxDateTime_p.");
3967 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 _result
= (wxDateTime::Month
)wxDateTime_GetMonth(_arg0
,*_arg1
);
3973 wxPyEndAllowThreads(__tstate
);
3974 if (PyErr_Occurred()) return NULL
;
3975 } _resultobj
= Py_BuildValue("i",_result
);
3977 if (_arg1
) delete _arg1
;
3982 #define wxDateTime_GetDay(_swigobj,_swigarg0) (_swigobj->GetDay(_swigarg0))
3983 static PyObject
*_wrap_wxDateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
* _resultobj
;
3985 wxDateTime::wxDateTime_t _result
;
3987 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3988 PyObject
* _argo0
= 0;
3989 PyObject
* _obj1
= 0;
3990 char *_kwnames
[] = { "self","tz", NULL
};
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDay",_kwnames
,&_argo0
,&_obj1
))
3996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDay. Expected _wxDateTime_p.");
4004 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDay(_arg0
,*_arg1
);
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) return NULL
;
4012 } _resultobj
= Py_BuildValue("h",_result
);
4014 if (_arg1
) delete _arg1
;
4019 #define wxDateTime_GetWeekDay(_swigobj,_swigarg0) (_swigobj->GetWeekDay(_swigarg0))
4020 static PyObject
*_wrap_wxDateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
* _resultobj
;
4022 wxDateTime::WeekDay _result
;
4024 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4025 PyObject
* _argo0
= 0;
4026 PyObject
* _obj1
= 0;
4027 char *_kwnames
[] = { "self","tz", NULL
};
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetWeekDay",_kwnames
,&_argo0
,&_obj1
))
4033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDay. Expected _wxDateTime_p.");
4041 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4045 _result
= (wxDateTime::WeekDay
)wxDateTime_GetWeekDay(_arg0
,*_arg1
);
4047 wxPyEndAllowThreads(__tstate
);
4048 if (PyErr_Occurred()) return NULL
;
4049 } _resultobj
= Py_BuildValue("i",_result
);
4051 if (_arg1
) delete _arg1
;
4056 #define wxDateTime_GetHour(_swigobj,_swigarg0) (_swigobj->GetHour(_swigarg0))
4057 static PyObject
*_wrap_wxDateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
* _resultobj
;
4059 wxDateTime::wxDateTime_t _result
;
4061 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4062 PyObject
* _argo0
= 0;
4063 PyObject
* _obj1
= 0;
4064 char *_kwnames
[] = { "self","tz", NULL
};
4067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetHour",_kwnames
,&_argo0
,&_obj1
))
4070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetHour. Expected _wxDateTime_p.");
4078 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4082 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetHour(_arg0
,*_arg1
);
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) return NULL
;
4086 } _resultobj
= Py_BuildValue("h",_result
);
4088 if (_arg1
) delete _arg1
;
4093 #define wxDateTime_GetMinute(_swigobj,_swigarg0) (_swigobj->GetMinute(_swigarg0))
4094 static PyObject
*_wrap_wxDateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
* _resultobj
;
4096 wxDateTime::wxDateTime_t _result
;
4098 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4099 PyObject
* _argo0
= 0;
4100 PyObject
* _obj1
= 0;
4101 char *_kwnames
[] = { "self","tz", NULL
};
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMinute",_kwnames
,&_argo0
,&_obj1
))
4107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMinute. Expected _wxDateTime_p.");
4115 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMinute(_arg0
,*_arg1
);
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) return NULL
;
4123 } _resultobj
= Py_BuildValue("h",_result
);
4125 if (_arg1
) delete _arg1
;
4130 #define wxDateTime_GetSecond(_swigobj,_swigarg0) (_swigobj->GetSecond(_swigarg0))
4131 static PyObject
*_wrap_wxDateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
* _resultobj
;
4133 wxDateTime::wxDateTime_t _result
;
4135 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4136 PyObject
* _argo0
= 0;
4137 PyObject
* _obj1
= 0;
4138 char *_kwnames
[] = { "self","tz", NULL
};
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetSecond",_kwnames
,&_argo0
,&_obj1
))
4144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetSecond. Expected _wxDateTime_p.");
4152 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4156 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetSecond(_arg0
,*_arg1
);
4158 wxPyEndAllowThreads(__tstate
);
4159 if (PyErr_Occurred()) return NULL
;
4160 } _resultobj
= Py_BuildValue("h",_result
);
4162 if (_arg1
) delete _arg1
;
4167 #define wxDateTime_GetMillisecond(_swigobj,_swigarg0) (_swigobj->GetMillisecond(_swigarg0))
4168 static PyObject
*_wrap_wxDateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
* _resultobj
;
4170 wxDateTime::wxDateTime_t _result
;
4172 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4173 PyObject
* _argo0
= 0;
4174 PyObject
* _obj1
= 0;
4175 char *_kwnames
[] = { "self","tz", NULL
};
4178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMillisecond",_kwnames
,&_argo0
,&_obj1
))
4181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMillisecond. Expected _wxDateTime_p.");
4189 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMillisecond(_arg0
,*_arg1
);
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) return NULL
;
4197 } _resultobj
= Py_BuildValue("h",_result
);
4199 if (_arg1
) delete _arg1
;
4204 #define wxDateTime_GetDayOfYear(_swigobj,_swigarg0) (_swigobj->GetDayOfYear(_swigarg0))
4205 static PyObject
*_wrap_wxDateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
* _resultobj
;
4207 wxDateTime::wxDateTime_t _result
;
4209 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4210 PyObject
* _argo0
= 0;
4211 PyObject
* _obj1
= 0;
4212 char *_kwnames
[] = { "self","tz", NULL
};
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDayOfYear",_kwnames
,&_argo0
,&_obj1
))
4218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDayOfYear. Expected _wxDateTime_p.");
4226 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDayOfYear(_arg0
,*_arg1
);
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) return NULL
;
4234 } _resultobj
= Py_BuildValue("h",_result
);
4236 if (_arg1
) delete _arg1
;
4241 #define wxDateTime_GetWeekOfYear(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfYear(_swigarg0,_swigarg1))
4242 static PyObject
*_wrap_wxDateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
* _resultobj
;
4244 wxDateTime::wxDateTime_t _result
;
4246 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4247 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4248 PyObject
* _argo0
= 0;
4249 PyObject
* _obj2
= 0;
4250 char *_kwnames
[] = { "self","flags","tz", NULL
};
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfYear",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfYear. Expected _wxDateTime_p.");
4264 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfYear(_arg0
,_arg1
,*_arg2
);
4270 wxPyEndAllowThreads(__tstate
);
4271 if (PyErr_Occurred()) return NULL
;
4272 } _resultobj
= Py_BuildValue("h",_result
);
4274 if (_arg2
) delete _arg2
;
4279 #define wxDateTime_GetWeekOfMonth(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfMonth(_swigarg0,_swigarg1))
4280 static PyObject
*_wrap_wxDateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4281 PyObject
* _resultobj
;
4282 wxDateTime::wxDateTime_t _result
;
4284 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4285 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4286 PyObject
* _argo0
= 0;
4287 PyObject
* _obj2
= 0;
4288 char *_kwnames
[] = { "self","flags","tz", NULL
};
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfMonth",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfMonth. Expected _wxDateTime_p.");
4302 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfMonth(_arg0
,_arg1
,*_arg2
);
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) return NULL
;
4310 } _resultobj
= Py_BuildValue("h",_result
);
4312 if (_arg2
) delete _arg2
;
4317 #define wxDateTime_IsWorkDay(_swigobj,_swigarg0) (_swigobj->IsWorkDay(_swigarg0))
4318 static PyObject
*_wrap_wxDateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
* _resultobj
;
4322 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
4323 PyObject
* _argo0
= 0;
4324 char *_kwnames
[] = { "self","country", NULL
};
4327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsWorkDay",_kwnames
,&_argo0
,&_arg1
))
4330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsWorkDay. Expected _wxDateTime_p.");
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 _result
= (bool )wxDateTime_IsWorkDay(_arg0
,_arg1
);
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) return NULL
;
4342 } _resultobj
= Py_BuildValue("i",_result
);
4346 #define wxDateTime_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
4347 static PyObject
*_wrap_wxDateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
* _resultobj
;
4352 PyObject
* _argo0
= 0;
4353 PyObject
* _argo1
= 0;
4354 char *_kwnames
[] = { "self","datetime", NULL
};
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
4360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4367 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4368 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 _result
= (bool )wxDateTime_IsEqualTo(_arg0
,*_arg1
);
4377 wxPyEndAllowThreads(__tstate
);
4378 if (PyErr_Occurred()) return NULL
;
4379 } _resultobj
= Py_BuildValue("i",_result
);
4383 #define wxDateTime_IsEarlierThan(_swigobj,_swigarg0) (_swigobj->IsEarlierThan(_swigarg0))
4384 static PyObject
*_wrap_wxDateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
* _resultobj
;
4389 PyObject
* _argo0
= 0;
4390 PyObject
* _argo1
= 0;
4391 char *_kwnames
[] = { "self","datetime", NULL
};
4394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEarlierThan",_kwnames
,&_argo0
,&_argo1
))
4397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4404 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4405 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4412 _result
= (bool )wxDateTime_IsEarlierThan(_arg0
,*_arg1
);
4414 wxPyEndAllowThreads(__tstate
);
4415 if (PyErr_Occurred()) return NULL
;
4416 } _resultobj
= Py_BuildValue("i",_result
);
4420 #define wxDateTime_IsLaterThan(_swigobj,_swigarg0) (_swigobj->IsLaterThan(_swigarg0))
4421 static PyObject
*_wrap_wxDateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
* _resultobj
;
4426 PyObject
* _argo0
= 0;
4427 PyObject
* _argo1
= 0;
4428 char *_kwnames
[] = { "self","datetime", NULL
};
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsLaterThan",_kwnames
,&_argo0
,&_argo1
))
4434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4441 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4442 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 _result
= (bool )wxDateTime_IsLaterThan(_arg0
,*_arg1
);
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) return NULL
;
4453 } _resultobj
= Py_BuildValue("i",_result
);
4457 #define wxDateTime_IsStrictlyBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsStrictlyBetween(_swigarg0,_swigarg1))
4458 static PyObject
*_wrap_wxDateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
* _resultobj
;
4464 PyObject
* _argo0
= 0;
4465 PyObject
* _argo1
= 0;
4466 PyObject
* _argo2
= 0;
4467 char *_kwnames
[] = { "self","t1","t2", NULL
};
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsStrictlyBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4480 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4481 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4487 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4488 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4495 _result
= (bool )wxDateTime_IsStrictlyBetween(_arg0
,*_arg1
,*_arg2
);
4497 wxPyEndAllowThreads(__tstate
);
4498 if (PyErr_Occurred()) return NULL
;
4499 } _resultobj
= Py_BuildValue("i",_result
);
4503 #define wxDateTime_IsBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsBetween(_swigarg0,_swigarg1))
4504 static PyObject
*_wrap_wxDateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
* _resultobj
;
4510 PyObject
* _argo0
= 0;
4511 PyObject
* _argo1
= 0;
4512 PyObject
* _argo2
= 0;
4513 char *_kwnames
[] = { "self","t1","t2", NULL
};
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4526 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4527 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4533 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4534 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 _result
= (bool )wxDateTime_IsBetween(_arg0
,*_arg1
,*_arg2
);
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) return NULL
;
4545 } _resultobj
= Py_BuildValue("i",_result
);
4549 #define wxDateTime_IsSameDate(_swigobj,_swigarg0) (_swigobj->IsSameDate(_swigarg0))
4550 static PyObject
*_wrap_wxDateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
* _resultobj
;
4555 PyObject
* _argo0
= 0;
4556 PyObject
* _argo1
= 0;
4557 char *_kwnames
[] = { "self","dt", NULL
};
4560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameDate",_kwnames
,&_argo0
,&_argo1
))
4563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4570 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4571 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4578 _result
= (bool )wxDateTime_IsSameDate(_arg0
,*_arg1
);
4580 wxPyEndAllowThreads(__tstate
);
4581 if (PyErr_Occurred()) return NULL
;
4582 } _resultobj
= Py_BuildValue("i",_result
);
4586 #define wxDateTime_IsSameTime(_swigobj,_swigarg0) (_swigobj->IsSameTime(_swigarg0))
4587 static PyObject
*_wrap_wxDateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4588 PyObject
* _resultobj
;
4592 PyObject
* _argo0
= 0;
4593 PyObject
* _argo1
= 0;
4594 char *_kwnames
[] = { "self","dt", NULL
};
4597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameTime",_kwnames
,&_argo0
,&_argo1
))
4600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
4607 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4608 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4615 _result
= (bool )wxDateTime_IsSameTime(_arg0
,*_arg1
);
4617 wxPyEndAllowThreads(__tstate
);
4618 if (PyErr_Occurred()) return NULL
;
4619 } _resultobj
= Py_BuildValue("i",_result
);
4623 #define wxDateTime_IsEqualUpTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEqualUpTo(_swigarg0,_swigarg1))
4624 static PyObject
*_wrap_wxDateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
* _resultobj
;
4630 PyObject
* _argo0
= 0;
4631 PyObject
* _argo1
= 0;
4632 PyObject
* _argo2
= 0;
4633 char *_kwnames
[] = { "self","dt","ts", NULL
};
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsEqualUpTo",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4646 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4647 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4653 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4654 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTimeSpan_p")) {
4655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsEqualUpTo. Expected _wxTimeSpan_p.");
4660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4661 _result
= (bool )wxDateTime_IsEqualUpTo(_arg0
,*_arg1
,*_arg2
);
4663 wxPyEndAllowThreads(__tstate
);
4664 if (PyErr_Occurred()) return NULL
;
4665 } _resultobj
= Py_BuildValue("i",_result
);
4669 #define wxDateTime_AddTS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4670 static PyObject
*_wrap_wxDateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4671 PyObject
* _resultobj
;
4672 wxDateTime
* _result
;
4675 PyObject
* _argo0
= 0;
4676 PyObject
* _argo1
= 0;
4677 char *_kwnames
[] = { "self","diff", NULL
};
4681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddTS",_kwnames
,&_argo0
,&_argo1
))
4684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddTS. Expected _wxDateTime_p.");
4691 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4692 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddTS. Expected _wxTimeSpan_p.");
4698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4699 wxDateTime
& _result_ref
= wxDateTime_AddTS(_arg0
,*_arg1
);
4700 _result
= (wxDateTime
*) &_result_ref
;
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) return NULL
;
4705 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4706 _resultobj
= Py_BuildValue("s",_ptemp
);
4709 _resultobj
= Py_None
;
4714 #define wxDateTime_AddDS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4715 static PyObject
*_wrap_wxDateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
* _resultobj
;
4717 wxDateTime
* _result
;
4720 PyObject
* _argo0
= 0;
4721 PyObject
* _argo1
= 0;
4722 char *_kwnames
[] = { "self","diff", NULL
};
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddDS",_kwnames
,&_argo0
,&_argo1
))
4729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddDS. Expected _wxDateTime_p.");
4736 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4737 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddDS. Expected _wxDateSpan_p.");
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4744 wxDateTime
& _result_ref
= wxDateTime_AddDS(_arg0
,*_arg1
);
4745 _result
= (wxDateTime
*) &_result_ref
;
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) return NULL
;
4750 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4751 _resultobj
= Py_BuildValue("s",_ptemp
);
4754 _resultobj
= Py_None
;
4759 #define wxDateTime_SubtractTS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4760 static PyObject
*_wrap_wxDateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4761 PyObject
* _resultobj
;
4762 wxDateTime
* _result
;
4765 PyObject
* _argo0
= 0;
4766 PyObject
* _argo1
= 0;
4767 char *_kwnames
[] = { "self","diff", NULL
};
4771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractTS",_kwnames
,&_argo0
,&_argo1
))
4774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractTS. Expected _wxDateTime_p.");
4781 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4782 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractTS. Expected _wxTimeSpan_p.");
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 wxDateTime
& _result_ref
= wxDateTime_SubtractTS(_arg0
,*_arg1
);
4790 _result
= (wxDateTime
*) &_result_ref
;
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) return NULL
;
4795 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4796 _resultobj
= Py_BuildValue("s",_ptemp
);
4799 _resultobj
= Py_None
;
4804 #define wxDateTime_SubtractDS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4805 static PyObject
*_wrap_wxDateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4806 PyObject
* _resultobj
;
4807 wxDateTime
* _result
;
4810 PyObject
* _argo0
= 0;
4811 PyObject
* _argo1
= 0;
4812 char *_kwnames
[] = { "self","diff", NULL
};
4816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractDS",_kwnames
,&_argo0
,&_argo1
))
4819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractDS. Expected _wxDateTime_p.");
4826 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4827 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractDS. Expected _wxDateSpan_p.");
4833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4834 wxDateTime
& _result_ref
= wxDateTime_SubtractDS(_arg0
,*_arg1
);
4835 _result
= (wxDateTime
*) &_result_ref
;
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) return NULL
;
4840 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4841 _resultobj
= Py_BuildValue("s",_ptemp
);
4844 _resultobj
= Py_None
;
4849 #define wxDateTime_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4850 static PyObject
*_wrap_wxDateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4851 PyObject
* _resultobj
;
4852 wxTimeSpan
* _result
;
4855 PyObject
* _argo0
= 0;
4856 PyObject
* _argo1
= 0;
4857 char *_kwnames
[] = { "self","dt", NULL
};
4861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_Subtract",_kwnames
,&_argo0
,&_argo1
))
4864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Subtract. Expected _wxDateTime_p.");
4871 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4872 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_Subtract. Expected _wxDateTime_p.");
4878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4879 _result
= new wxTimeSpan (wxDateTime_Subtract(_arg0
,*_arg1
));
4881 wxPyEndAllowThreads(__tstate
);
4882 if (PyErr_Occurred()) return NULL
;
4883 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
4884 _resultobj
= Py_BuildValue("s",_ptemp
);
4888 static wxDateTime
wxDateTime___add__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
4889 static PyObject
*_wrap_wxDateTime___add__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
* _resultobj
;
4891 wxDateTime
* _result
;
4894 PyObject
* _argo0
= 0;
4895 PyObject
* _argo1
= 0;
4896 char *_kwnames
[] = { "self","other", NULL
};
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__TS",_kwnames
,&_argo0
,&_argo1
))
4903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__TS. Expected _wxDateTime_p.");
4910 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4911 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__TS. Expected _wxTimeSpan_p.");
4917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 _result
= new wxDateTime (wxDateTime___add__TS(_arg0
,*_arg1
));
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) return NULL
;
4922 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4923 _resultobj
= Py_BuildValue("s",_ptemp
);
4927 static wxDateTime
wxDateTime___add__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
4928 static PyObject
*_wrap_wxDateTime___add__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
* _resultobj
;
4930 wxDateTime
* _result
;
4933 PyObject
* _argo0
= 0;
4934 PyObject
* _argo1
= 0;
4935 char *_kwnames
[] = { "self","other", NULL
};
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__DS",_kwnames
,&_argo0
,&_argo1
))
4942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__DS. Expected _wxDateTime_p.");
4949 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4950 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__DS. Expected _wxDateSpan_p.");
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 _result
= new wxDateTime (wxDateTime___add__DS(_arg0
,*_arg1
));
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) return NULL
;
4961 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4962 _resultobj
= Py_BuildValue("s",_ptemp
);
4966 static wxTimeSpan
wxDateTime___sub__DT(wxDateTime
*self
,const wxDateTime
& other
) { return *self
- other
; }
4967 static PyObject
*_wrap_wxDateTime___sub__DT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4968 PyObject
* _resultobj
;
4969 wxTimeSpan
* _result
;
4972 PyObject
* _argo0
= 0;
4973 PyObject
* _argo1
= 0;
4974 char *_kwnames
[] = { "self","other", NULL
};
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DT",_kwnames
,&_argo0
,&_argo1
))
4981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
4988 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4989 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
4995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 _result
= new wxTimeSpan (wxDateTime___sub__DT(_arg0
,*_arg1
));
4998 wxPyEndAllowThreads(__tstate
);
4999 if (PyErr_Occurred()) return NULL
;
5000 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5001 _resultobj
= Py_BuildValue("s",_ptemp
);
5005 static wxDateTime
wxDateTime___sub__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
5006 static PyObject
*_wrap_wxDateTime___sub__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
* _resultobj
;
5008 wxDateTime
* _result
;
5011 PyObject
* _argo0
= 0;
5012 PyObject
* _argo1
= 0;
5013 char *_kwnames
[] = { "self","other", NULL
};
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__TS",_kwnames
,&_argo0
,&_argo1
))
5020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__TS. Expected _wxDateTime_p.");
5027 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5028 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__TS. Expected _wxTimeSpan_p.");
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 _result
= new wxDateTime (wxDateTime___sub__TS(_arg0
,*_arg1
));
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) return NULL
;
5039 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5040 _resultobj
= Py_BuildValue("s",_ptemp
);
5044 static wxDateTime
wxDateTime___sub__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
- other
; }
5045 static PyObject
*_wrap_wxDateTime___sub__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5046 PyObject
* _resultobj
;
5047 wxDateTime
* _result
;
5050 PyObject
* _argo0
= 0;
5051 PyObject
* _argo1
= 0;
5052 char *_kwnames
[] = { "self","other", NULL
};
5056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DS",_kwnames
,&_argo0
,&_argo1
))
5059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DS. Expected _wxDateTime_p.");
5066 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5067 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DS. Expected _wxDateSpan_p.");
5073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5074 _result
= new wxDateTime (wxDateTime___sub__DS(_arg0
,*_arg1
));
5076 wxPyEndAllowThreads(__tstate
);
5077 if (PyErr_Occurred()) return NULL
;
5078 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5079 _resultobj
= Py_BuildValue("s",_ptemp
);
5083 static int wxDateTime___cmp__(wxDateTime
*self
,const wxDateTime
& other
) {
5084 if (*self
< other
) return -1;
5085 if (*self
== other
) return 0;
5088 static PyObject
*_wrap_wxDateTime___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
* _resultobj
;
5093 PyObject
* _argo0
= 0;
5094 PyObject
* _argo1
= 0;
5095 char *_kwnames
[] = { "self","other", NULL
};
5098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___cmp__",_kwnames
,&_argo0
,&_argo1
))
5101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5108 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5109 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5116 _result
= (int )wxDateTime___cmp__(_arg0
,*_arg1
);
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) return NULL
;
5120 } _resultobj
= Py_BuildValue("i",_result
);
5124 #define wxDateTime_ParseRfc822Date(_swigobj,_swigarg0) (_swigobj->ParseRfc822Date(_swigarg0))
5125 static PyObject
*_wrap_wxDateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
* _resultobj
;
5130 PyObject
* _argo0
= 0;
5131 char *_kwnames
[] = { "self","date", NULL
};
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseRfc822Date",_kwnames
,&_argo0
,&_arg1
))
5137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseRfc822Date. Expected _wxDateTime_p.");
5144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 _result
= (char *)wxDateTime_ParseRfc822Date(_arg0
,_arg1
);
5147 wxPyEndAllowThreads(__tstate
);
5148 if (PyErr_Occurred()) return NULL
;
5149 } _resultobj
= Py_BuildValue("s", _result
);
5153 #define wxDateTime_ParseFormat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ParseFormat(_swigarg0,_swigarg1,_swigarg2))
5154 static PyObject
*_wrap_wxDateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
* _resultobj
;
5159 wxChar
* _arg2
= (wxChar
*) "%c";
5160 wxDateTime
* _arg3
= (wxDateTime
*) &wxDefaultDateTime
;
5161 PyObject
* _argo0
= 0;
5162 PyObject
* _argo3
= 0;
5163 char *_kwnames
[] = { "self","date","format","dateDef", NULL
};
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|sO:wxDateTime_ParseFormat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
5169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5176 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5177 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime_p")) {
5178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 _result
= (char *)wxDateTime_ParseFormat(_arg0
,_arg1
,_arg2
,*_arg3
);
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) return NULL
;
5188 } _resultobj
= Py_BuildValue("s", _result
);
5192 #define wxDateTime_ParseDateTime(_swigobj,_swigarg0) (_swigobj->ParseDateTime(_swigarg0))
5193 static PyObject
*_wrap_wxDateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5194 PyObject
* _resultobj
;
5198 PyObject
* _argo0
= 0;
5199 char *_kwnames
[] = { "self","datetime", NULL
};
5202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseDateTime",_kwnames
,&_argo0
,&_arg1
))
5205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDateTime. Expected _wxDateTime_p.");
5212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5213 _result
= (char *)wxDateTime_ParseDateTime(_arg0
,_arg1
);
5215 wxPyEndAllowThreads(__tstate
);
5216 if (PyErr_Occurred()) return NULL
;
5217 } _resultobj
= Py_BuildValue("s", _result
);
5221 #define wxDateTime_ParseDate(_swigobj,_swigarg0) (_swigobj->ParseDate(_swigarg0))
5222 static PyObject
*_wrap_wxDateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5223 PyObject
* _resultobj
;
5227 PyObject
* _argo0
= 0;
5228 char *_kwnames
[] = { "self","date", NULL
};
5231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseDate",_kwnames
,&_argo0
,&_arg1
))
5234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDate. Expected _wxDateTime_p.");
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 _result
= (char *)wxDateTime_ParseDate(_arg0
,_arg1
);
5244 wxPyEndAllowThreads(__tstate
);
5245 if (PyErr_Occurred()) return NULL
;
5246 } _resultobj
= Py_BuildValue("s", _result
);
5250 #define wxDateTime_ParseTime(_swigobj,_swigarg0) (_swigobj->ParseTime(_swigarg0))
5251 static PyObject
*_wrap_wxDateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5252 PyObject
* _resultobj
;
5256 PyObject
* _argo0
= 0;
5257 char *_kwnames
[] = { "self","time", NULL
};
5260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDateTime_ParseTime",_kwnames
,&_argo0
,&_arg1
))
5263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseTime. Expected _wxDateTime_p.");
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 _result
= (char *)wxDateTime_ParseTime(_arg0
,_arg1
);
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) return NULL
;
5275 } _resultobj
= Py_BuildValue("s", _result
);
5279 #define wxDateTime_Format(_swigobj,_swigarg0,_swigarg1) (_swigobj->Format(_swigarg0,_swigarg1))
5280 static PyObject
*_wrap_wxDateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
* _resultobj
;
5284 wxChar
* _arg1
= (wxChar
*) "%c";
5285 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
5286 PyObject
* _argo0
= 0;
5287 PyObject
* _obj2
= 0;
5288 char *_kwnames
[] = { "self","format","tz", NULL
};
5291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|sO:wxDateTime_Format",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Format. Expected _wxDateTime_p.");
5302 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
5305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5306 _result
= new wxString (wxDateTime_Format(_arg0
,_arg1
,*_arg2
));
5308 wxPyEndAllowThreads(__tstate
);
5309 if (PyErr_Occurred()) return NULL
;
5312 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5314 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5318 if (_arg2
) delete _arg2
;
5326 #define wxDateTime_FormatDate(_swigobj) (_swigobj->FormatDate())
5327 static PyObject
*_wrap_wxDateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
* _resultobj
;
5331 PyObject
* _argo0
= 0;
5332 char *_kwnames
[] = { "self", NULL
};
5335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatDate",_kwnames
,&_argo0
))
5338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatDate. Expected _wxDateTime_p.");
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 _result
= new wxString (wxDateTime_FormatDate(_arg0
));
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) return NULL
;
5352 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5354 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5363 #define wxDateTime_FormatTime(_swigobj) (_swigobj->FormatTime())
5364 static PyObject
*_wrap_wxDateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
* _resultobj
;
5368 PyObject
* _argo0
= 0;
5369 char *_kwnames
[] = { "self", NULL
};
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatTime",_kwnames
,&_argo0
))
5375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatTime. Expected _wxDateTime_p.");
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 _result
= new wxString (wxDateTime_FormatTime(_arg0
));
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) return NULL
;
5389 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5391 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5400 #define wxDateTime_FormatISODate(_swigobj) (_swigobj->FormatISODate())
5401 static PyObject
*_wrap_wxDateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
* _resultobj
;
5405 PyObject
* _argo0
= 0;
5406 char *_kwnames
[] = { "self", NULL
};
5409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISODate",_kwnames
,&_argo0
))
5412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISODate. Expected _wxDateTime_p.");
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 _result
= new wxString (wxDateTime_FormatISODate(_arg0
));
5422 wxPyEndAllowThreads(__tstate
);
5423 if (PyErr_Occurred()) return NULL
;
5426 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5428 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5437 #define wxDateTime_FormatISOTime(_swigobj) (_swigobj->FormatISOTime())
5438 static PyObject
*_wrap_wxDateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5439 PyObject
* _resultobj
;
5442 PyObject
* _argo0
= 0;
5443 char *_kwnames
[] = { "self", NULL
};
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISOTime",_kwnames
,&_argo0
))
5449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISOTime. Expected _wxDateTime_p.");
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 _result
= new wxString (wxDateTime_FormatISOTime(_arg0
));
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) return NULL
;
5463 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5465 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5474 static PyObject
*_wrap_wxTimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
* _resultobj
;
5476 wxTimeSpan
* _result
;
5478 char *_kwnames
[] = { "sec", NULL
};
5482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Seconds",_kwnames
,&_arg0
))
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 _result
= new wxTimeSpan (wxTimeSpan::Seconds(_arg0
));
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) return NULL
;
5490 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5491 _resultobj
= Py_BuildValue("s",_ptemp
);
5495 static PyObject
*_wrap_wxTimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
* _resultobj
;
5497 wxTimeSpan
* _result
;
5498 char *_kwnames
[] = { NULL
};
5502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Second",_kwnames
))
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 _result
= new wxTimeSpan (wxTimeSpan::Second());
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) return NULL
;
5510 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5511 _resultobj
= Py_BuildValue("s",_ptemp
);
5515 static PyObject
*_wrap_wxTimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
* _resultobj
;
5517 wxTimeSpan
* _result
;
5519 char *_kwnames
[] = { "min", NULL
};
5523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Minutes",_kwnames
,&_arg0
))
5526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5527 _result
= new wxTimeSpan (wxTimeSpan::Minutes(_arg0
));
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) return NULL
;
5531 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5532 _resultobj
= Py_BuildValue("s",_ptemp
);
5536 static PyObject
*_wrap_wxTimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5537 PyObject
* _resultobj
;
5538 wxTimeSpan
* _result
;
5539 char *_kwnames
[] = { NULL
};
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Minute",_kwnames
))
5546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5547 _result
= new wxTimeSpan (wxTimeSpan::Minute());
5549 wxPyEndAllowThreads(__tstate
);
5550 if (PyErr_Occurred()) return NULL
;
5551 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5552 _resultobj
= Py_BuildValue("s",_ptemp
);
5556 static PyObject
*_wrap_wxTimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
* _resultobj
;
5558 wxTimeSpan
* _result
;
5560 char *_kwnames
[] = { "hours", NULL
};
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Hours",_kwnames
,&_arg0
))
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 _result
= new wxTimeSpan (wxTimeSpan::Hours(_arg0
));
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) return NULL
;
5572 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5573 _resultobj
= Py_BuildValue("s",_ptemp
);
5577 static PyObject
*_wrap_wxTimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5578 PyObject
* _resultobj
;
5579 wxTimeSpan
* _result
;
5580 char *_kwnames
[] = { NULL
};
5584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Hour",_kwnames
))
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 _result
= new wxTimeSpan (wxTimeSpan::Hour());
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) return NULL
;
5592 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5593 _resultobj
= Py_BuildValue("s",_ptemp
);
5597 static PyObject
*_wrap_wxTimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
* _resultobj
;
5599 wxTimeSpan
* _result
;
5601 char *_kwnames
[] = { "days", NULL
};
5605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Days",_kwnames
,&_arg0
))
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5609 _result
= new wxTimeSpan (wxTimeSpan::Days(_arg0
));
5611 wxPyEndAllowThreads(__tstate
);
5612 if (PyErr_Occurred()) return NULL
;
5613 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5614 _resultobj
= Py_BuildValue("s",_ptemp
);
5618 static PyObject
*_wrap_wxTimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5619 PyObject
* _resultobj
;
5620 wxTimeSpan
* _result
;
5621 char *_kwnames
[] = { NULL
};
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Day",_kwnames
))
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 _result
= new wxTimeSpan (wxTimeSpan::Day());
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) return NULL
;
5633 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5634 _resultobj
= Py_BuildValue("s",_ptemp
);
5638 static PyObject
*_wrap_wxTimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
* _resultobj
;
5640 wxTimeSpan
* _result
;
5642 char *_kwnames
[] = { "days", NULL
};
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Weeks",_kwnames
,&_arg0
))
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 _result
= new wxTimeSpan (wxTimeSpan::Weeks(_arg0
));
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) return NULL
;
5654 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5655 _resultobj
= Py_BuildValue("s",_ptemp
);
5659 static PyObject
*_wrap_wxTimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
* _resultobj
;
5661 wxTimeSpan
* _result
;
5662 char *_kwnames
[] = { NULL
};
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Week",_kwnames
))
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 _result
= new wxTimeSpan (wxTimeSpan::Week());
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) return NULL
;
5674 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5675 _resultobj
= Py_BuildValue("s",_ptemp
);
5679 #define new_wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5680 static PyObject
*_wrap_new_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
* _resultobj
;
5682 wxTimeSpan
* _result
;
5683 long _arg0
= (long ) 0;
5684 long _arg1
= (long ) 0;
5685 long _arg2
= (long ) 0;
5686 long _arg3
= (long ) 0;
5687 char *_kwnames
[] = { "hours","minutes","seconds","milliseconds", NULL
};
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxTimeSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 _result
= (wxTimeSpan
*)new_wxTimeSpan(_arg0
,_arg1
,_arg2
,_arg3
);
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) return NULL
;
5700 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5701 _resultobj
= Py_BuildValue("s",_ptemp
);
5704 _resultobj
= Py_None
;
5709 #define delete_wxTimeSpan(_swigobj) (delete _swigobj)
5710 static PyObject
*_wrap_delete_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
* _resultobj
;
5713 PyObject
* _argo0
= 0;
5714 char *_kwnames
[] = { "self", NULL
};
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTimeSpan",_kwnames
,&_argo0
))
5720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTimeSpan. Expected _wxTimeSpan_p.");
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 delete_wxTimeSpan(_arg0
);
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) return NULL
;
5732 } Py_INCREF(Py_None
);
5733 _resultobj
= Py_None
;
5737 #define wxTimeSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
5738 static PyObject
*_wrap_wxTimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
* _resultobj
;
5740 wxTimeSpan
* _result
;
5743 PyObject
* _argo0
= 0;
5744 PyObject
* _argo1
= 0;
5745 char *_kwnames
[] = { "self","diff", NULL
};
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Add",_kwnames
,&_argo0
,&_argo1
))
5752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
5759 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5760 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
5766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5767 wxTimeSpan
& _result_ref
= wxTimeSpan_Add(_arg0
,*_arg1
);
5768 _result
= (wxTimeSpan
*) &_result_ref
;
5770 wxPyEndAllowThreads(__tstate
);
5771 if (PyErr_Occurred()) return NULL
;
5773 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5774 _resultobj
= Py_BuildValue("s",_ptemp
);
5777 _resultobj
= Py_None
;
5782 #define wxTimeSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5783 static PyObject
*_wrap_wxTimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
* _resultobj
;
5785 wxTimeSpan
* _result
;
5788 PyObject
* _argo0
= 0;
5789 PyObject
* _argo1
= 0;
5790 char *_kwnames
[] = { "self","diff", NULL
};
5794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
5797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
5804 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5805 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 wxTimeSpan
& _result_ref
= wxTimeSpan_Subtract(_arg0
,*_arg1
);
5813 _result
= (wxTimeSpan
*) &_result_ref
;
5815 wxPyEndAllowThreads(__tstate
);
5816 if (PyErr_Occurred()) return NULL
;
5818 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5819 _resultobj
= Py_BuildValue("s",_ptemp
);
5822 _resultobj
= Py_None
;
5827 #define wxTimeSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
5828 static PyObject
*_wrap_wxTimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
* _resultobj
;
5830 wxTimeSpan
* _result
;
5833 PyObject
* _argo0
= 0;
5834 char *_kwnames
[] = { "self","n", NULL
};
5838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
5841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Multiply. Expected _wxTimeSpan_p.");
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 wxTimeSpan
& _result_ref
= wxTimeSpan_Multiply(_arg0
,_arg1
);
5850 _result
= (wxTimeSpan
*) &_result_ref
;
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) return NULL
;
5855 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5856 _resultobj
= Py_BuildValue("s",_ptemp
);
5859 _resultobj
= Py_None
;
5864 #define wxTimeSpan_Neg(_swigobj) (_swigobj->Neg())
5865 static PyObject
*_wrap_wxTimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
* _resultobj
;
5867 wxTimeSpan
* _result
;
5869 PyObject
* _argo0
= 0;
5870 char *_kwnames
[] = { "self", NULL
};
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Neg",_kwnames
,&_argo0
))
5877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Neg. Expected _wxTimeSpan_p.");
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 wxTimeSpan
& _result_ref
= wxTimeSpan_Neg(_arg0
);
5886 _result
= (wxTimeSpan
*) &_result_ref
;
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) return NULL
;
5891 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5892 _resultobj
= Py_BuildValue("s",_ptemp
);
5895 _resultobj
= Py_None
;
5900 #define wxTimeSpan_Abs(_swigobj) (_swigobj->Abs())
5901 static PyObject
*_wrap_wxTimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
* _resultobj
;
5903 wxTimeSpan
* _result
;
5905 PyObject
* _argo0
= 0;
5906 char *_kwnames
[] = { "self", NULL
};
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Abs",_kwnames
,&_argo0
))
5913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Abs. Expected _wxTimeSpan_p.");
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 _result
= new wxTimeSpan (wxTimeSpan_Abs(_arg0
));
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) return NULL
;
5925 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5926 _resultobj
= Py_BuildValue("s",_ptemp
);
5930 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
5931 static PyObject
*_wrap_wxTimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
* _resultobj
;
5933 wxTimeSpan
* _result
;
5936 PyObject
* _argo0
= 0;
5937 PyObject
* _argo1
= 0;
5938 char *_kwnames
[] = { "self","other", NULL
};
5942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___add__",_kwnames
,&_argo0
,&_argo1
))
5945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
5952 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5953 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
5959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5960 _result
= new wxTimeSpan (wxTimeSpan___add__(_arg0
,*_arg1
));
5962 wxPyEndAllowThreads(__tstate
);
5963 if (PyErr_Occurred()) return NULL
;
5964 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5965 _resultobj
= Py_BuildValue("s",_ptemp
);
5969 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
5970 static PyObject
*_wrap_wxTimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5971 PyObject
* _resultobj
;
5972 wxTimeSpan
* _result
;
5975 PyObject
* _argo0
= 0;
5976 PyObject
* _argo1
= 0;
5977 char *_kwnames
[] = { "self","other", NULL
};
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
5984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
5991 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5992 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 _result
= new wxTimeSpan (wxTimeSpan___sub__(_arg0
,*_arg1
));
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) return NULL
;
6003 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6004 _resultobj
= Py_BuildValue("s",_ptemp
);
6008 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
) { return *self
* n
; }
6009 static PyObject
*_wrap_wxTimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
* _resultobj
;
6011 wxTimeSpan
* _result
;
6014 PyObject
* _argo0
= 0;
6015 char *_kwnames
[] = { "self","n", NULL
};
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
6022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___mul__. Expected _wxTimeSpan_p.");
6029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6030 _result
= new wxTimeSpan (wxTimeSpan___mul__(_arg0
,_arg1
));
6032 wxPyEndAllowThreads(__tstate
);
6033 if (PyErr_Occurred()) return NULL
;
6034 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6035 _resultobj
= Py_BuildValue("s",_ptemp
);
6039 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
) { return n
* *self
; }
6040 static PyObject
*_wrap_wxTimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
* _resultobj
;
6042 wxTimeSpan
* _result
;
6045 PyObject
* _argo0
= 0;
6046 char *_kwnames
[] = { "self","n", NULL
};
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
6053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___rmul__. Expected _wxTimeSpan_p.");
6060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6061 _result
= new wxTimeSpan (wxTimeSpan___rmul__(_arg0
,_arg1
));
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) return NULL
;
6065 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6066 _resultobj
= Py_BuildValue("s",_ptemp
);
6070 static wxTimeSpan
wxTimeSpan___neg__(wxTimeSpan
*self
) { return self
->Negate(); }
6071 static PyObject
*_wrap_wxTimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
* _resultobj
;
6073 wxTimeSpan
* _result
;
6075 PyObject
* _argo0
= 0;
6076 char *_kwnames
[] = { "self", NULL
};
6080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan___neg__",_kwnames
,&_argo0
))
6083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___neg__. Expected _wxTimeSpan_p.");
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 _result
= new wxTimeSpan (wxTimeSpan___neg__(_arg0
));
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) return NULL
;
6095 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6096 _resultobj
= Py_BuildValue("s",_ptemp
);
6100 static int wxTimeSpan___cmp__(wxTimeSpan
*self
,const wxTimeSpan
& other
) {
6101 if (*self
< other
) return -1;
6102 if (*self
== other
) return 0;
6105 static PyObject
*_wrap_wxTimeSpan___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
* _resultobj
;
6110 PyObject
* _argo0
= 0;
6111 PyObject
* _argo1
= 0;
6112 char *_kwnames
[] = { "self","other", NULL
};
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___cmp__",_kwnames
,&_argo0
,&_argo1
))
6118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6125 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6126 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 _result
= (int )wxTimeSpan___cmp__(_arg0
,*_arg1
);
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) return NULL
;
6137 } _resultobj
= Py_BuildValue("i",_result
);
6141 #define wxTimeSpan_IsNull(_swigobj) (_swigobj->IsNull())
6142 static PyObject
*_wrap_wxTimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
* _resultobj
;
6146 PyObject
* _argo0
= 0;
6147 char *_kwnames
[] = { "self", NULL
};
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNull",_kwnames
,&_argo0
))
6153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNull. Expected _wxTimeSpan_p.");
6160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6161 _result
= (bool )wxTimeSpan_IsNull(_arg0
);
6163 wxPyEndAllowThreads(__tstate
);
6164 if (PyErr_Occurred()) return NULL
;
6165 } _resultobj
= Py_BuildValue("i",_result
);
6169 #define wxTimeSpan_IsPositive(_swigobj) (_swigobj->IsPositive())
6170 static PyObject
*_wrap_wxTimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
* _resultobj
;
6174 PyObject
* _argo0
= 0;
6175 char *_kwnames
[] = { "self", NULL
};
6178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsPositive",_kwnames
,&_argo0
))
6181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsPositive. Expected _wxTimeSpan_p.");
6188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6189 _result
= (bool )wxTimeSpan_IsPositive(_arg0
);
6191 wxPyEndAllowThreads(__tstate
);
6192 if (PyErr_Occurred()) return NULL
;
6193 } _resultobj
= Py_BuildValue("i",_result
);
6197 #define wxTimeSpan_IsNegative(_swigobj) (_swigobj->IsNegative())
6198 static PyObject
*_wrap_wxTimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6199 PyObject
* _resultobj
;
6202 PyObject
* _argo0
= 0;
6203 char *_kwnames
[] = { "self", NULL
};
6206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNegative",_kwnames
,&_argo0
))
6209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNegative. Expected _wxTimeSpan_p.");
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 _result
= (bool )wxTimeSpan_IsNegative(_arg0
);
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) return NULL
;
6221 } _resultobj
= Py_BuildValue("i",_result
);
6225 #define wxTimeSpan_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
6226 static PyObject
*_wrap_wxTimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
* _resultobj
;
6231 PyObject
* _argo0
= 0;
6232 PyObject
* _argo1
= 0;
6233 char *_kwnames
[] = { "self","ts", NULL
};
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
6239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6246 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6247 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 _result
= (bool )wxTimeSpan_IsEqualTo(_arg0
,*_arg1
);
6256 wxPyEndAllowThreads(__tstate
);
6257 if (PyErr_Occurred()) return NULL
;
6258 } _resultobj
= Py_BuildValue("i",_result
);
6262 #define wxTimeSpan_IsLongerThan(_swigobj,_swigarg0) (_swigobj->IsLongerThan(_swigarg0))
6263 static PyObject
*_wrap_wxTimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6264 PyObject
* _resultobj
;
6268 PyObject
* _argo0
= 0;
6269 PyObject
* _argo1
= 0;
6270 char *_kwnames
[] = { "self","ts", NULL
};
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsLongerThan",_kwnames
,&_argo0
,&_argo1
))
6276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6283 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6284 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 _result
= (bool )wxTimeSpan_IsLongerThan(_arg0
,*_arg1
);
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) return NULL
;
6295 } _resultobj
= Py_BuildValue("i",_result
);
6299 #define wxTimeSpan_IsShorterThan(_swigobj,_swigarg0) (_swigobj->IsShorterThan(_swigarg0))
6300 static PyObject
*_wrap_wxTimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
* _resultobj
;
6305 PyObject
* _argo0
= 0;
6306 PyObject
* _argo1
= 0;
6307 char *_kwnames
[] = { "self","t", NULL
};
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsShorterThan",_kwnames
,&_argo0
,&_argo1
))
6313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6320 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6321 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6328 _result
= (bool )wxTimeSpan_IsShorterThan(_arg0
,*_arg1
);
6330 wxPyEndAllowThreads(__tstate
);
6331 if (PyErr_Occurred()) return NULL
;
6332 } _resultobj
= Py_BuildValue("i",_result
);
6336 #define wxTimeSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
6337 static PyObject
*_wrap_wxTimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
* _resultobj
;
6341 PyObject
* _argo0
= 0;
6342 char *_kwnames
[] = { "self", NULL
};
6345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetWeeks",_kwnames
,&_argo0
))
6348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetWeeks. Expected _wxTimeSpan_p.");
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 _result
= (int )wxTimeSpan_GetWeeks(_arg0
);
6358 wxPyEndAllowThreads(__tstate
);
6359 if (PyErr_Occurred()) return NULL
;
6360 } _resultobj
= Py_BuildValue("i",_result
);
6364 #define wxTimeSpan_GetDays(_swigobj) (_swigobj->GetDays())
6365 static PyObject
*_wrap_wxTimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
* _resultobj
;
6369 PyObject
* _argo0
= 0;
6370 char *_kwnames
[] = { "self", NULL
};
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetDays",_kwnames
,&_argo0
))
6376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetDays. Expected _wxTimeSpan_p.");
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 _result
= (int )wxTimeSpan_GetDays(_arg0
);
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) return NULL
;
6388 } _resultobj
= Py_BuildValue("i",_result
);
6392 #define wxTimeSpan_GetHours(_swigobj) (_swigobj->GetHours())
6393 static PyObject
*_wrap_wxTimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6394 PyObject
* _resultobj
;
6397 PyObject
* _argo0
= 0;
6398 char *_kwnames
[] = { "self", NULL
};
6401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetHours",_kwnames
,&_argo0
))
6404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetHours. Expected _wxTimeSpan_p.");
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 _result
= (int )wxTimeSpan_GetHours(_arg0
);
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) return NULL
;
6416 } _resultobj
= Py_BuildValue("i",_result
);
6420 #define wxTimeSpan_GetMinutes(_swigobj) (_swigobj->GetMinutes())
6421 static PyObject
*_wrap_wxTimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6422 PyObject
* _resultobj
;
6425 PyObject
* _argo0
= 0;
6426 char *_kwnames
[] = { "self", NULL
};
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMinutes",_kwnames
,&_argo0
))
6432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMinutes. Expected _wxTimeSpan_p.");
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 _result
= (int )wxTimeSpan_GetMinutes(_arg0
);
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) return NULL
;
6444 } _resultobj
= Py_BuildValue("i",_result
);
6448 #define wxTimeSpan_GetSeconds(_swigobj) (_swigobj->GetSeconds())
6449 static PyObject
*_wrap_wxTimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6450 PyObject
* _resultobj
;
6451 wxLongLong
* _result
;
6453 PyObject
* _argo0
= 0;
6454 char *_kwnames
[] = { "self", NULL
};
6457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetSeconds",_kwnames
,&_argo0
))
6460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetSeconds. Expected _wxTimeSpan_p.");
6467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6468 _result
= new wxLongLong (wxTimeSpan_GetSeconds(_arg0
));
6470 wxPyEndAllowThreads(__tstate
);
6471 if (PyErr_Occurred()) return NULL
;
6473 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6474 hi
= PyLong_FromLong(_result
->GetHi());
6475 lo
= PyLong_FromLong(_result
->GetLo());
6476 shifter
= PyLong_FromLong(32);
6477 shifted
= PyNumber_Lshift(hi
, shifter
);
6478 _resultobj
= PyNumber_Or(shifted
, lo
);
6487 #define wxTimeSpan_GetMilliseconds(_swigobj) (_swigobj->GetMilliseconds())
6488 static PyObject
*_wrap_wxTimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6489 PyObject
* _resultobj
;
6490 wxLongLong
* _result
;
6492 PyObject
* _argo0
= 0;
6493 char *_kwnames
[] = { "self", NULL
};
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMilliseconds",_kwnames
,&_argo0
))
6499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMilliseconds. Expected _wxTimeSpan_p.");
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 _result
= new wxLongLong (wxTimeSpan_GetMilliseconds(_arg0
));
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) return NULL
;
6512 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6513 hi
= PyLong_FromLong(_result
->GetHi());
6514 lo
= PyLong_FromLong(_result
->GetLo());
6515 shifter
= PyLong_FromLong(32);
6516 shifted
= PyNumber_Lshift(hi
, shifter
);
6517 _resultobj
= PyNumber_Or(shifted
, lo
);
6526 #define wxTimeSpan_Format(_swigobj,_swigarg0) (_swigobj->Format(_swigarg0))
6527 static PyObject
*_wrap_wxTimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6528 PyObject
* _resultobj
;
6531 wxChar
* _arg1
= (wxChar
*) "%c";
6532 PyObject
* _argo0
= 0;
6533 char *_kwnames
[] = { "self","format", NULL
};
6536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxTimeSpan_Format",_kwnames
,&_argo0
,&_arg1
))
6539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Format. Expected _wxTimeSpan_p.");
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 _result
= new wxString (wxTimeSpan_Format(_arg0
,_arg1
));
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) return NULL
;
6553 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6555 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6564 #define new_wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6565 static PyObject
*_wrap_new_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6566 PyObject
* _resultobj
;
6567 wxDateSpan
* _result
;
6568 int _arg0
= (int ) 0;
6569 int _arg1
= (int ) 0;
6570 int _arg2
= (int ) 0;
6571 int _arg3
= (int ) 0;
6572 char *_kwnames
[] = { "years","months","weeks","days", NULL
};
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxDateSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 _result
= (wxDateSpan
*)new_wxDateSpan(_arg0
,_arg1
,_arg2
,_arg3
);
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) return NULL
;
6585 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6586 _resultobj
= Py_BuildValue("s",_ptemp
);
6589 _resultobj
= Py_None
;
6594 #define delete_wxDateSpan(_swigobj) (delete _swigobj)
6595 static PyObject
*_wrap_delete_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6596 PyObject
* _resultobj
;
6598 PyObject
* _argo0
= 0;
6599 char *_kwnames
[] = { "self", NULL
};
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateSpan",_kwnames
,&_argo0
))
6605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateSpan. Expected _wxDateSpan_p.");
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6613 delete_wxDateSpan(_arg0
);
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) return NULL
;
6617 } Py_INCREF(Py_None
);
6618 _resultobj
= Py_None
;
6622 static PyObject
*_wrap_wxDateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6623 PyObject
* _resultobj
;
6624 wxDateSpan
* _result
;
6626 char *_kwnames
[] = { "days", NULL
};
6630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Days",_kwnames
,&_arg0
))
6633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6634 _result
= new wxDateSpan (wxDateSpan::Days(_arg0
));
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) return NULL
;
6638 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6639 _resultobj
= Py_BuildValue("s",_ptemp
);
6643 static PyObject
*_wrap_wxDateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
* _resultobj
;
6645 wxDateSpan
* _result
;
6646 char *_kwnames
[] = { NULL
};
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Day",_kwnames
))
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 _result
= new wxDateSpan (wxDateSpan::Day());
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) return NULL
;
6658 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6659 _resultobj
= Py_BuildValue("s",_ptemp
);
6663 static PyObject
*_wrap_wxDateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
* _resultobj
;
6665 wxDateSpan
* _result
;
6667 char *_kwnames
[] = { "weeks", NULL
};
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Weeks",_kwnames
,&_arg0
))
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 _result
= new wxDateSpan (wxDateSpan::Weeks(_arg0
));
6677 wxPyEndAllowThreads(__tstate
);
6678 if (PyErr_Occurred()) return NULL
;
6679 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6680 _resultobj
= Py_BuildValue("s",_ptemp
);
6684 static PyObject
*_wrap_wxDateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
* _resultobj
;
6686 wxDateSpan
* _result
;
6687 char *_kwnames
[] = { NULL
};
6691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Week",_kwnames
))
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6695 _result
= new wxDateSpan (wxDateSpan::Week());
6697 wxPyEndAllowThreads(__tstate
);
6698 if (PyErr_Occurred()) return NULL
;
6699 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6700 _resultobj
= Py_BuildValue("s",_ptemp
);
6704 static PyObject
*_wrap_wxDateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
* _resultobj
;
6706 wxDateSpan
* _result
;
6708 char *_kwnames
[] = { "mon", NULL
};
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Months",_kwnames
,&_arg0
))
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6716 _result
= new wxDateSpan (wxDateSpan::Months(_arg0
));
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) return NULL
;
6720 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6721 _resultobj
= Py_BuildValue("s",_ptemp
);
6725 static PyObject
*_wrap_wxDateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
* _resultobj
;
6727 wxDateSpan
* _result
;
6728 char *_kwnames
[] = { NULL
};
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Month",_kwnames
))
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 _result
= new wxDateSpan (wxDateSpan::Month());
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) return NULL
;
6740 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6741 _resultobj
= Py_BuildValue("s",_ptemp
);
6745 static PyObject
*_wrap_wxDateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
* _resultobj
;
6747 wxDateSpan
* _result
;
6749 char *_kwnames
[] = { "years", NULL
};
6753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Years",_kwnames
,&_arg0
))
6756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6757 _result
= new wxDateSpan (wxDateSpan::Years(_arg0
));
6759 wxPyEndAllowThreads(__tstate
);
6760 if (PyErr_Occurred()) return NULL
;
6761 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6762 _resultobj
= Py_BuildValue("s",_ptemp
);
6766 static PyObject
*_wrap_wxDateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6767 PyObject
* _resultobj
;
6768 wxDateSpan
* _result
;
6769 char *_kwnames
[] = { NULL
};
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Year",_kwnames
))
6776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6777 _result
= new wxDateSpan (wxDateSpan::Year());
6779 wxPyEndAllowThreads(__tstate
);
6780 if (PyErr_Occurred()) return NULL
;
6781 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6782 _resultobj
= Py_BuildValue("s",_ptemp
);
6786 #define wxDateSpan_SetYears(_swigobj,_swigarg0) (_swigobj->SetYears(_swigarg0))
6787 static PyObject
*_wrap_wxDateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6788 PyObject
* _resultobj
;
6789 wxDateSpan
* _result
;
6792 PyObject
* _argo0
= 0;
6793 char *_kwnames
[] = { "self","n", NULL
};
6797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetYears",_kwnames
,&_argo0
,&_arg1
))
6800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetYears. Expected _wxDateSpan_p.");
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 wxDateSpan
& _result_ref
= wxDateSpan_SetYears(_arg0
,_arg1
);
6809 _result
= (wxDateSpan
*) &_result_ref
;
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) return NULL
;
6814 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6815 _resultobj
= Py_BuildValue("s",_ptemp
);
6818 _resultobj
= Py_None
;
6823 #define wxDateSpan_SetMonths(_swigobj,_swigarg0) (_swigobj->SetMonths(_swigarg0))
6824 static PyObject
*_wrap_wxDateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6825 PyObject
* _resultobj
;
6826 wxDateSpan
* _result
;
6829 PyObject
* _argo0
= 0;
6830 char *_kwnames
[] = { "self","n", NULL
};
6834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetMonths",_kwnames
,&_argo0
,&_arg1
))
6837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetMonths. Expected _wxDateSpan_p.");
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 wxDateSpan
& _result_ref
= wxDateSpan_SetMonths(_arg0
,_arg1
);
6846 _result
= (wxDateSpan
*) &_result_ref
;
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) return NULL
;
6851 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6852 _resultobj
= Py_BuildValue("s",_ptemp
);
6855 _resultobj
= Py_None
;
6860 #define wxDateSpan_SetWeeks(_swigobj,_swigarg0) (_swigobj->SetWeeks(_swigarg0))
6861 static PyObject
*_wrap_wxDateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6862 PyObject
* _resultobj
;
6863 wxDateSpan
* _result
;
6866 PyObject
* _argo0
= 0;
6867 char *_kwnames
[] = { "self","n", NULL
};
6871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetWeeks",_kwnames
,&_argo0
,&_arg1
))
6874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetWeeks. Expected _wxDateSpan_p.");
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 wxDateSpan
& _result_ref
= wxDateSpan_SetWeeks(_arg0
,_arg1
);
6883 _result
= (wxDateSpan
*) &_result_ref
;
6885 wxPyEndAllowThreads(__tstate
);
6886 if (PyErr_Occurred()) return NULL
;
6888 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6889 _resultobj
= Py_BuildValue("s",_ptemp
);
6892 _resultobj
= Py_None
;
6897 #define wxDateSpan_SetDays(_swigobj,_swigarg0) (_swigobj->SetDays(_swigarg0))
6898 static PyObject
*_wrap_wxDateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6899 PyObject
* _resultobj
;
6900 wxDateSpan
* _result
;
6903 PyObject
* _argo0
= 0;
6904 char *_kwnames
[] = { "self","n", NULL
};
6908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetDays",_kwnames
,&_argo0
,&_arg1
))
6911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetDays. Expected _wxDateSpan_p.");
6918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6919 wxDateSpan
& _result_ref
= wxDateSpan_SetDays(_arg0
,_arg1
);
6920 _result
= (wxDateSpan
*) &_result_ref
;
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) return NULL
;
6925 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6926 _resultobj
= Py_BuildValue("s",_ptemp
);
6929 _resultobj
= Py_None
;
6934 #define wxDateSpan_GetYears(_swigobj) (_swigobj->GetYears())
6935 static PyObject
*_wrap_wxDateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
* _resultobj
;
6939 PyObject
* _argo0
= 0;
6940 char *_kwnames
[] = { "self", NULL
};
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetYears",_kwnames
,&_argo0
))
6946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetYears. Expected _wxDateSpan_p.");
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 _result
= (int )wxDateSpan_GetYears(_arg0
);
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) return NULL
;
6958 } _resultobj
= Py_BuildValue("i",_result
);
6962 #define wxDateSpan_GetMonths(_swigobj) (_swigobj->GetMonths())
6963 static PyObject
*_wrap_wxDateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
* _resultobj
;
6967 PyObject
* _argo0
= 0;
6968 char *_kwnames
[] = { "self", NULL
};
6971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetMonths",_kwnames
,&_argo0
))
6974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetMonths. Expected _wxDateSpan_p.");
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6982 _result
= (int )wxDateSpan_GetMonths(_arg0
);
6984 wxPyEndAllowThreads(__tstate
);
6985 if (PyErr_Occurred()) return NULL
;
6986 } _resultobj
= Py_BuildValue("i",_result
);
6990 #define wxDateSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
6991 static PyObject
*_wrap_wxDateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
* _resultobj
;
6995 PyObject
* _argo0
= 0;
6996 char *_kwnames
[] = { "self", NULL
};
6999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetWeeks",_kwnames
,&_argo0
))
7002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetWeeks. Expected _wxDateSpan_p.");
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 _result
= (int )wxDateSpan_GetWeeks(_arg0
);
7012 wxPyEndAllowThreads(__tstate
);
7013 if (PyErr_Occurred()) return NULL
;
7014 } _resultobj
= Py_BuildValue("i",_result
);
7018 #define wxDateSpan_GetDays(_swigobj) (_swigobj->GetDays())
7019 static PyObject
*_wrap_wxDateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
* _resultobj
;
7023 PyObject
* _argo0
= 0;
7024 char *_kwnames
[] = { "self", NULL
};
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetDays",_kwnames
,&_argo0
))
7030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetDays. Expected _wxDateSpan_p.");
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 _result
= (int )wxDateSpan_GetDays(_arg0
);
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) return NULL
;
7042 } _resultobj
= Py_BuildValue("i",_result
);
7046 #define wxDateSpan_GetTotalDays(_swigobj) (_swigobj->GetTotalDays())
7047 static PyObject
*_wrap_wxDateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
* _resultobj
;
7051 PyObject
* _argo0
= 0;
7052 char *_kwnames
[] = { "self", NULL
};
7055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetTotalDays",_kwnames
,&_argo0
))
7058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetTotalDays. Expected _wxDateSpan_p.");
7065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7066 _result
= (int )wxDateSpan_GetTotalDays(_arg0
);
7068 wxPyEndAllowThreads(__tstate
);
7069 if (PyErr_Occurred()) return NULL
;
7070 } _resultobj
= Py_BuildValue("i",_result
);
7074 #define wxDateSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
7075 static PyObject
*_wrap_wxDateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
* _resultobj
;
7077 wxDateSpan
* _result
;
7080 PyObject
* _argo0
= 0;
7081 PyObject
* _argo1
= 0;
7082 char *_kwnames
[] = { "self","other", NULL
};
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Add",_kwnames
,&_argo0
,&_argo1
))
7089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7096 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7097 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 wxDateSpan
& _result_ref
= wxDateSpan_Add(_arg0
,*_arg1
);
7105 _result
= (wxDateSpan
*) &_result_ref
;
7107 wxPyEndAllowThreads(__tstate
);
7108 if (PyErr_Occurred()) return NULL
;
7110 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7111 _resultobj
= Py_BuildValue("s",_ptemp
);
7114 _resultobj
= Py_None
;
7119 #define wxDateSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
7120 static PyObject
*_wrap_wxDateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
* _resultobj
;
7122 wxDateSpan
* _result
;
7125 PyObject
* _argo0
= 0;
7126 PyObject
* _argo1
= 0;
7127 char *_kwnames
[] = { "self","other", NULL
};
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
7134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7141 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7142 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 wxDateSpan
& _result_ref
= wxDateSpan_Subtract(_arg0
,*_arg1
);
7150 _result
= (wxDateSpan
*) &_result_ref
;
7152 wxPyEndAllowThreads(__tstate
);
7153 if (PyErr_Occurred()) return NULL
;
7155 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7156 _resultobj
= Py_BuildValue("s",_ptemp
);
7159 _resultobj
= Py_None
;
7164 #define wxDateSpan_Neg(_swigobj) (_swigobj->Neg())
7165 static PyObject
*_wrap_wxDateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7166 PyObject
* _resultobj
;
7167 wxDateSpan
* _result
;
7169 PyObject
* _argo0
= 0;
7170 char *_kwnames
[] = { "self", NULL
};
7174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_Neg",_kwnames
,&_argo0
))
7177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Neg. Expected _wxDateSpan_p.");
7184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7185 wxDateSpan
& _result_ref
= wxDateSpan_Neg(_arg0
);
7186 _result
= (wxDateSpan
*) &_result_ref
;
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) return NULL
;
7191 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7192 _resultobj
= Py_BuildValue("s",_ptemp
);
7195 _resultobj
= Py_None
;
7200 #define wxDateSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
7201 static PyObject
*_wrap_wxDateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
* _resultobj
;
7203 wxDateSpan
* _result
;
7206 PyObject
* _argo0
= 0;
7207 char *_kwnames
[] = { "self","factor", NULL
};
7211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
7214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Multiply. Expected _wxDateSpan_p.");
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7222 wxDateSpan
& _result_ref
= wxDateSpan_Multiply(_arg0
,_arg1
);
7223 _result
= (wxDateSpan
*) &_result_ref
;
7225 wxPyEndAllowThreads(__tstate
);
7226 if (PyErr_Occurred()) return NULL
;
7228 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7229 _resultobj
= Py_BuildValue("s",_ptemp
);
7232 _resultobj
= Py_None
;
7237 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
7238 static PyObject
*_wrap_wxDateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7239 PyObject
* _resultobj
;
7240 wxDateSpan
* _result
;
7243 PyObject
* _argo0
= 0;
7244 PyObject
* _argo1
= 0;
7245 char *_kwnames
[] = { "self","other", NULL
};
7249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___add__",_kwnames
,&_argo0
,&_argo1
))
7252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7259 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7260 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7267 _result
= new wxDateSpan (wxDateSpan___add__(_arg0
,*_arg1
));
7269 wxPyEndAllowThreads(__tstate
);
7270 if (PyErr_Occurred()) return NULL
;
7271 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7272 _resultobj
= Py_BuildValue("s",_ptemp
);
7276 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
- other
; }
7277 static PyObject
*_wrap_wxDateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
* _resultobj
;
7279 wxDateSpan
* _result
;
7282 PyObject
* _argo0
= 0;
7283 PyObject
* _argo1
= 0;
7284 char *_kwnames
[] = { "self","other", NULL
};
7288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
7291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7298 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7299 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 _result
= new wxDateSpan (wxDateSpan___sub__(_arg0
,*_arg1
));
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) return NULL
;
7310 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7311 _resultobj
= Py_BuildValue("s",_ptemp
);
7315 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
) { return *self
* n
; }
7316 static PyObject
*_wrap_wxDateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
* _resultobj
;
7318 wxDateSpan
* _result
;
7321 PyObject
* _argo0
= 0;
7322 char *_kwnames
[] = { "self","n", NULL
};
7326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
7329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___mul__. Expected _wxDateSpan_p.");
7336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 _result
= new wxDateSpan (wxDateSpan___mul__(_arg0
,_arg1
));
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) return NULL
;
7341 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7342 _resultobj
= Py_BuildValue("s",_ptemp
);
7346 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
) { return n
* *self
; }
7347 static PyObject
*_wrap_wxDateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
* _resultobj
;
7349 wxDateSpan
* _result
;
7352 PyObject
* _argo0
= 0;
7353 char *_kwnames
[] = { "self","n", NULL
};
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
7360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___rmul__. Expected _wxDateSpan_p.");
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 _result
= new wxDateSpan (wxDateSpan___rmul__(_arg0
,_arg1
));
7370 wxPyEndAllowThreads(__tstate
);
7371 if (PyErr_Occurred()) return NULL
;
7372 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7373 _resultobj
= Py_BuildValue("s",_ptemp
);
7377 static wxDateSpan
wxDateSpan___neg__(wxDateSpan
*self
) { return self
->Negate(); }
7378 static PyObject
*_wrap_wxDateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
* _resultobj
;
7380 wxDateSpan
* _result
;
7382 PyObject
* _argo0
= 0;
7383 char *_kwnames
[] = { "self", NULL
};
7387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan___neg__",_kwnames
,&_argo0
))
7390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___neg__. Expected _wxDateSpan_p.");
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 _result
= new wxDateSpan (wxDateSpan___neg__(_arg0
));
7400 wxPyEndAllowThreads(__tstate
);
7401 if (PyErr_Occurred()) return NULL
;
7402 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7403 _resultobj
= Py_BuildValue("s",_ptemp
);
7407 static PyMethodDef utilscMethods
[] = {
7408 { "wxDateSpan___neg__", (PyCFunction
) _wrap_wxDateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7409 { "wxDateSpan___rmul__", (PyCFunction
) _wrap_wxDateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7410 { "wxDateSpan___mul__", (PyCFunction
) _wrap_wxDateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7411 { "wxDateSpan___sub__", (PyCFunction
) _wrap_wxDateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7412 { "wxDateSpan___add__", (PyCFunction
) _wrap_wxDateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7413 { "wxDateSpan_Multiply", (PyCFunction
) _wrap_wxDateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7414 { "wxDateSpan_Neg", (PyCFunction
) _wrap_wxDateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7415 { "wxDateSpan_Subtract", (PyCFunction
) _wrap_wxDateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7416 { "wxDateSpan_Add", (PyCFunction
) _wrap_wxDateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7417 { "wxDateSpan_GetTotalDays", (PyCFunction
) _wrap_wxDateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
7418 { "wxDateSpan_GetDays", (PyCFunction
) _wrap_wxDateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7419 { "wxDateSpan_GetWeeks", (PyCFunction
) _wrap_wxDateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7420 { "wxDateSpan_GetMonths", (PyCFunction
) _wrap_wxDateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7421 { "wxDateSpan_GetYears", (PyCFunction
) _wrap_wxDateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
7422 { "wxDateSpan_SetDays", (PyCFunction
) _wrap_wxDateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
7423 { "wxDateSpan_SetWeeks", (PyCFunction
) _wrap_wxDateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7424 { "wxDateSpan_SetMonths", (PyCFunction
) _wrap_wxDateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7425 { "wxDateSpan_SetYears", (PyCFunction
) _wrap_wxDateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
7426 { "wxDateSpan_Year", (PyCFunction
) _wrap_wxDateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
7427 { "wxDateSpan_Years", (PyCFunction
) _wrap_wxDateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
7428 { "wxDateSpan_Month", (PyCFunction
) _wrap_wxDateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
7429 { "wxDateSpan_Months", (PyCFunction
) _wrap_wxDateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
7430 { "wxDateSpan_Week", (PyCFunction
) _wrap_wxDateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7431 { "wxDateSpan_Weeks", (PyCFunction
) _wrap_wxDateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7432 { "wxDateSpan_Day", (PyCFunction
) _wrap_wxDateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7433 { "wxDateSpan_Days", (PyCFunction
) _wrap_wxDateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7434 { "delete_wxDateSpan", (PyCFunction
) _wrap_delete_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7435 { "new_wxDateSpan", (PyCFunction
) _wrap_new_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7436 { "wxTimeSpan_Format", (PyCFunction
) _wrap_wxTimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
7437 { "wxTimeSpan_GetMilliseconds", (PyCFunction
) _wrap_wxTimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
7438 { "wxTimeSpan_GetSeconds", (PyCFunction
) _wrap_wxTimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
7439 { "wxTimeSpan_GetMinutes", (PyCFunction
) _wrap_wxTimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
7440 { "wxTimeSpan_GetHours", (PyCFunction
) _wrap_wxTimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
7441 { "wxTimeSpan_GetDays", (PyCFunction
) _wrap_wxTimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7442 { "wxTimeSpan_GetWeeks", (PyCFunction
) _wrap_wxTimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7443 { "wxTimeSpan_IsShorterThan", (PyCFunction
) _wrap_wxTimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
7444 { "wxTimeSpan_IsLongerThan", (PyCFunction
) _wrap_wxTimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
7445 { "wxTimeSpan_IsEqualTo", (PyCFunction
) _wrap_wxTimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7446 { "wxTimeSpan_IsNegative", (PyCFunction
) _wrap_wxTimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
7447 { "wxTimeSpan_IsPositive", (PyCFunction
) _wrap_wxTimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
7448 { "wxTimeSpan_IsNull", (PyCFunction
) _wrap_wxTimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
7449 { "wxTimeSpan___cmp__", (PyCFunction
) _wrap_wxTimeSpan___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7450 { "wxTimeSpan___neg__", (PyCFunction
) _wrap_wxTimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7451 { "wxTimeSpan___rmul__", (PyCFunction
) _wrap_wxTimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7452 { "wxTimeSpan___mul__", (PyCFunction
) _wrap_wxTimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7453 { "wxTimeSpan___sub__", (PyCFunction
) _wrap_wxTimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7454 { "wxTimeSpan___add__", (PyCFunction
) _wrap_wxTimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7455 { "wxTimeSpan_Abs", (PyCFunction
) _wrap_wxTimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
7456 { "wxTimeSpan_Neg", (PyCFunction
) _wrap_wxTimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7457 { "wxTimeSpan_Multiply", (PyCFunction
) _wrap_wxTimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7458 { "wxTimeSpan_Subtract", (PyCFunction
) _wrap_wxTimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7459 { "wxTimeSpan_Add", (PyCFunction
) _wrap_wxTimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7460 { "delete_wxTimeSpan", (PyCFunction
) _wrap_delete_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7461 { "new_wxTimeSpan", (PyCFunction
) _wrap_new_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7462 { "wxTimeSpan_Week", (PyCFunction
) _wrap_wxTimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7463 { "wxTimeSpan_Weeks", (PyCFunction
) _wrap_wxTimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7464 { "wxTimeSpan_Day", (PyCFunction
) _wrap_wxTimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7465 { "wxTimeSpan_Days", (PyCFunction
) _wrap_wxTimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7466 { "wxTimeSpan_Hour", (PyCFunction
) _wrap_wxTimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
7467 { "wxTimeSpan_Hours", (PyCFunction
) _wrap_wxTimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
7468 { "wxTimeSpan_Minute", (PyCFunction
) _wrap_wxTimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
7469 { "wxTimeSpan_Minutes", (PyCFunction
) _wrap_wxTimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
7470 { "wxTimeSpan_Second", (PyCFunction
) _wrap_wxTimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
7471 { "wxTimeSpan_Seconds", (PyCFunction
) _wrap_wxTimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
7472 { "wxDateTime_FormatISOTime", (PyCFunction
) _wrap_wxDateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
7473 { "wxDateTime_FormatISODate", (PyCFunction
) _wrap_wxDateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
7474 { "wxDateTime_FormatTime", (PyCFunction
) _wrap_wxDateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
7475 { "wxDateTime_FormatDate", (PyCFunction
) _wrap_wxDateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
7476 { "wxDateTime_Format", (PyCFunction
) _wrap_wxDateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
7477 { "wxDateTime_ParseTime", (PyCFunction
) _wrap_wxDateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
7478 { "wxDateTime_ParseDate", (PyCFunction
) _wrap_wxDateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
7479 { "wxDateTime_ParseDateTime", (PyCFunction
) _wrap_wxDateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7480 { "wxDateTime_ParseFormat", (PyCFunction
) _wrap_wxDateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
7481 { "wxDateTime_ParseRfc822Date", (PyCFunction
) _wrap_wxDateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
7482 { "wxDateTime___cmp__", (PyCFunction
) _wrap_wxDateTime___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7483 { "wxDateTime___sub__DS", (PyCFunction
) _wrap_wxDateTime___sub__DS
, METH_VARARGS
| METH_KEYWORDS
},
7484 { "wxDateTime___sub__TS", (PyCFunction
) _wrap_wxDateTime___sub__TS
, METH_VARARGS
| METH_KEYWORDS
},
7485 { "wxDateTime___sub__DT", (PyCFunction
) _wrap_wxDateTime___sub__DT
, METH_VARARGS
| METH_KEYWORDS
},
7486 { "wxDateTime___add__DS", (PyCFunction
) _wrap_wxDateTime___add__DS
, METH_VARARGS
| METH_KEYWORDS
},
7487 { "wxDateTime___add__TS", (PyCFunction
) _wrap_wxDateTime___add__TS
, METH_VARARGS
| METH_KEYWORDS
},
7488 { "wxDateTime_Subtract", (PyCFunction
) _wrap_wxDateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7489 { "wxDateTime_SubtractDS", (PyCFunction
) _wrap_wxDateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
7490 { "wxDateTime_SubtractTS", (PyCFunction
) _wrap_wxDateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
7491 { "wxDateTime_AddDS", (PyCFunction
) _wrap_wxDateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
7492 { "wxDateTime_AddTS", (PyCFunction
) _wrap_wxDateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
7493 { "wxDateTime_IsEqualUpTo", (PyCFunction
) _wrap_wxDateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
7494 { "wxDateTime_IsSameTime", (PyCFunction
) _wrap_wxDateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
7495 { "wxDateTime_IsSameDate", (PyCFunction
) _wrap_wxDateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
7496 { "wxDateTime_IsBetween", (PyCFunction
) _wrap_wxDateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
7497 { "wxDateTime_IsStrictlyBetween", (PyCFunction
) _wrap_wxDateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
7498 { "wxDateTime_IsLaterThan", (PyCFunction
) _wrap_wxDateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
7499 { "wxDateTime_IsEarlierThan", (PyCFunction
) _wrap_wxDateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
7500 { "wxDateTime_IsEqualTo", (PyCFunction
) _wrap_wxDateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7501 { "wxDateTime_IsWorkDay", (PyCFunction
) _wrap_wxDateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
7502 { "wxDateTime_GetWeekOfMonth", (PyCFunction
) _wrap_wxDateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
7503 { "wxDateTime_GetWeekOfYear", (PyCFunction
) _wrap_wxDateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7504 { "wxDateTime_GetDayOfYear", (PyCFunction
) _wrap_wxDateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7505 { "wxDateTime_GetMillisecond", (PyCFunction
) _wrap_wxDateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7506 { "wxDateTime_GetSecond", (PyCFunction
) _wrap_wxDateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7507 { "wxDateTime_GetMinute", (PyCFunction
) _wrap_wxDateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7508 { "wxDateTime_GetHour", (PyCFunction
) _wrap_wxDateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
7509 { "wxDateTime_GetWeekDay", (PyCFunction
) _wrap_wxDateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7510 { "wxDateTime_GetDay", (PyCFunction
) _wrap_wxDateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
7511 { "wxDateTime_GetMonth", (PyCFunction
) _wrap_wxDateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7512 { "wxDateTime_GetYear", (PyCFunction
) _wrap_wxDateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
7513 { "wxDateTime_GetTicks", (PyCFunction
) _wrap_wxDateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
7514 { "wxDateTime_IsValid", (PyCFunction
) _wrap_wxDateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
7515 { "wxDateTime_IsDST", (PyCFunction
) _wrap_wxDateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
7516 { "wxDateTime_MakeGMT", (PyCFunction
) _wrap_wxDateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
7517 { "wxDateTime_ToGMT", (PyCFunction
) _wrap_wxDateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
7518 { "wxDateTime_MakeTimezone", (PyCFunction
) _wrap_wxDateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7519 { "wxDateTime_ToTimezone", (PyCFunction
) _wrap_wxDateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7520 { "wxDateTime_GetRataDie", (PyCFunction
) _wrap_wxDateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
7521 { "wxDateTime_GetMJD", (PyCFunction
) _wrap_wxDateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
7522 { "wxDateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7523 { "wxDateTime_GetJDN", (PyCFunction
) _wrap_wxDateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7524 { "wxDateTime_GetJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7525 { "wxDateTime_GetYearDay", (PyCFunction
) _wrap_wxDateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7526 { "wxDateTime_SetToYearDay", (PyCFunction
) _wrap_wxDateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7527 { "wxDateTime_GetLastMonthDay", (PyCFunction
) _wrap_wxDateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7528 { "wxDateTime_SetToLastMonthDay", (PyCFunction
) _wrap_wxDateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7529 { "wxDateTime_GetWeek", (PyCFunction
) _wrap_wxDateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
7530 { "wxDateTime_SetToTheWeek", (PyCFunction
) _wrap_wxDateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
7531 { "wxDateTime_GetLastWeekDay", (PyCFunction
) _wrap_wxDateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7532 { "wxDateTime_SetToLastWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7533 { "wxDateTime_SetToWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7534 { "wxDateTime_GetPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7535 { "wxDateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7536 { "wxDateTime_GetNextWeekDay", (PyCFunction
) _wrap_wxDateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7537 { "wxDateTime_SetToNextWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7538 { "wxDateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7539 { "wxDateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7540 { "wxDateTime_SetMillisecond", (PyCFunction
) _wrap_wxDateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7541 { "wxDateTime_SetSecond", (PyCFunction
) _wrap_wxDateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7542 { "wxDateTime_SetMinute", (PyCFunction
) _wrap_wxDateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7543 { "wxDateTime_SetHour", (PyCFunction
) _wrap_wxDateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
7544 { "wxDateTime_SetDay", (PyCFunction
) _wrap_wxDateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
7545 { "wxDateTime_SetMonth", (PyCFunction
) _wrap_wxDateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7546 { "wxDateTime_SetYear", (PyCFunction
) _wrap_wxDateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
7547 { "wxDateTime_ResetTime", (PyCFunction
) _wrap_wxDateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
7548 { "wxDateTime_Set", (PyCFunction
) _wrap_wxDateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
7549 { "wxDateTime_SetHMS", (PyCFunction
) _wrap_wxDateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
7550 { "wxDateTime_SetJDN", (PyCFunction
) _wrap_wxDateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7551 { "wxDateTime_SetTimeT", (PyCFunction
) _wrap_wxDateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7552 { "wxDateTime_SetToCurrent", (PyCFunction
) _wrap_wxDateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
7553 { "delete_wxDateTime", (PyCFunction
) _wrap_delete_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7554 { "new_wxDateTimeFromDMY", (PyCFunction
) _wrap_new_wxDateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
7555 { "new_wxDateTimeFromHMS", (PyCFunction
) _wrap_new_wxDateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
7556 { "new_wxDateTimeFromJDN", (PyCFunction
) _wrap_new_wxDateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
7557 { "new_wxDateTimeFromTimeT", (PyCFunction
) _wrap_new_wxDateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7558 { "new_wxDateTime", (PyCFunction
) _wrap_new_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7559 { "wxDateTime_Today", (PyCFunction
) _wrap_wxDateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
7560 { "wxDateTime_Now", (PyCFunction
) _wrap_wxDateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
7561 { "wxDateTime_GetEndDST", (PyCFunction
) _wrap_wxDateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
7562 { "wxDateTime_GetBeginDST", (PyCFunction
) _wrap_wxDateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
7563 { "wxDateTime_IsDSTApplicable", (PyCFunction
) _wrap_wxDateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
7564 { "wxDateTime_GetAmPmStrings", (PyCFunction
) _wrap_wxDateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
7565 { "wxDateTime_GetWeekDayName", (PyCFunction
) _wrap_wxDateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
7566 { "wxDateTime_GetMonthName", (PyCFunction
) _wrap_wxDateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
7567 { "wxDateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
7568 { "wxDateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
7569 { "wxDateTime_GetCentury", (PyCFunction
) _wrap_wxDateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
7570 { "wxDateTime_IsLeapYear", (PyCFunction
) _wrap_wxDateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
7571 { "wxDateTime_GetCurrentMonth", (PyCFunction
) _wrap_wxDateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
7572 { "wxDateTime_ConvertYearToBC", (PyCFunction
) _wrap_wxDateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
7573 { "wxDateTime_GetCurrentYear", (PyCFunction
) _wrap_wxDateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
7574 { "wxDateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_wxDateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
7575 { "wxDateTime_GetCountry", (PyCFunction
) _wrap_wxDateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7576 { "wxDateTime_SetCountry", (PyCFunction
) _wrap_wxDateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7577 { "delete_wxFileConfig", (PyCFunction
) _wrap_delete_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7578 { "new_wxFileConfig", (PyCFunction
) _wrap_new_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7579 { "delete_wxConfig", (PyCFunction
) _wrap_delete_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7580 { "new_wxConfig", (PyCFunction
) _wrap_new_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7581 { "wxConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7582 { "wxConfigBase_RenameGroup", (PyCFunction
) _wrap_wxConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
7583 { "wxConfigBase_RenameEntry", (PyCFunction
) _wrap_wxConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
7584 { "wxConfigBase_GetEntryType", (PyCFunction
) _wrap_wxConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
7585 { "wxConfigBase_WriteBool", (PyCFunction
) _wrap_wxConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
7586 { "wxConfigBase_WriteFloat", (PyCFunction
) _wrap_wxConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
7587 { "wxConfigBase_WriteInt", (PyCFunction
) _wrap_wxConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
7588 { "wxConfigBase_Write", (PyCFunction
) _wrap_wxConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
7589 { "wxConfigBase_GetStyle", (PyCFunction
) _wrap_wxConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7590 { "wxConfigBase_SetStyle", (PyCFunction
) _wrap_wxConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7591 { "wxConfigBase_SetVendorName", (PyCFunction
) _wrap_wxConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7592 { "wxConfigBase_SetAppName", (PyCFunction
) _wrap_wxConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7593 { "wxConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_wxConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7594 { "wxConfigBase_SetPath", (PyCFunction
) _wrap_wxConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
7595 { "wxConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7596 { "wxConfigBase_ReadBool", (PyCFunction
) _wrap_wxConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
7597 { "wxConfigBase_ReadFloat", (PyCFunction
) _wrap_wxConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
7598 { "wxConfigBase_ReadInt", (PyCFunction
) _wrap_wxConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
7599 { "wxConfigBase_Read", (PyCFunction
) _wrap_wxConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
7600 { "wxConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_wxConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7601 { "wxConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_wxConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7602 { "wxConfigBase_HasGroup", (PyCFunction
) _wrap_wxConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
7603 { "wxConfigBase_HasEntry", (PyCFunction
) _wrap_wxConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
7604 { "wxConfigBase_GetVendorName", (PyCFunction
) _wrap_wxConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7605 { "wxConfigBase_GetPath", (PyCFunction
) _wrap_wxConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
7606 { "wxConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
7607 { "wxConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
7608 { "wxConfigBase_GetNextEntry", (PyCFunction
) _wrap_wxConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
7609 { "wxConfigBase_GetNextGroup", (PyCFunction
) _wrap_wxConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
7610 { "wxConfigBase_GetFirstEntry", (PyCFunction
) _wrap_wxConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
7611 { "wxConfigBase_GetFirstGroup", (PyCFunction
) _wrap_wxConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
7612 { "wxConfigBase_GetAppName", (PyCFunction
) _wrap_wxConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7613 { "wxConfigBase_Flush", (PyCFunction
) _wrap_wxConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
7614 { "wxConfigBase_Exists", (PyCFunction
) _wrap_wxConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
7615 { "wxConfigBase_DeleteGroup", (PyCFunction
) _wrap_wxConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
7616 { "wxConfigBase_DeleteEntry", (PyCFunction
) _wrap_wxConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
7617 { "wxConfigBase_DeleteAll", (PyCFunction
) _wrap_wxConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
7618 { "wxConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_wxConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
7619 { "wxConfigBase_Create", (PyCFunction
) _wrap_wxConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
7620 { "wxConfigBase_Get", (PyCFunction
) _wrap_wxConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
7621 { "wxConfigBase_Set", (PyCFunction
) _wrap_wxConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
7622 { "delete_wxConfigBase", (PyCFunction
) _wrap_delete_wxConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
7623 { "wxGetLocalTimeMillis", (PyCFunction
) _wrap_wxGetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
7624 { "wxGetCurrentTime", (PyCFunction
) _wrap_wxGetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
7625 { "wxGetUTCTime", (PyCFunction
) _wrap_wxGetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
7626 { "wxGetLocalTime", (PyCFunction
) _wrap_wxGetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
7633 * This table is used by the pointer type-checker
7635 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7636 { "_signed_long","_long",0},
7637 { "_wxPrintQuality","_wxCoord",0},
7638 { "_wxPrintQuality","_int",0},
7639 { "_wxPrintQuality","_signed_int",0},
7640 { "_wxPrintQuality","_unsigned_int",0},
7641 { "_wxPrintQuality","_wxWindowID",0},
7642 { "_wxPrintQuality","_uint",0},
7643 { "_wxPrintQuality","_EBool",0},
7644 { "_wxPrintQuality","_size_t",0},
7645 { "_wxPrintQuality","_time_t",0},
7646 { "_byte","_unsigned_char",0},
7647 { "_long","_unsigned_long",0},
7648 { "_long","_signed_long",0},
7649 { "_size_t","_wxCoord",0},
7650 { "_size_t","_wxPrintQuality",0},
7651 { "_size_t","_time_t",0},
7652 { "_size_t","_unsigned_int",0},
7653 { "_size_t","_int",0},
7654 { "_size_t","_wxWindowID",0},
7655 { "_size_t","_uint",0},
7656 { "_uint","_wxCoord",0},
7657 { "_uint","_wxPrintQuality",0},
7658 { "_uint","_time_t",0},
7659 { "_uint","_size_t",0},
7660 { "_uint","_unsigned_int",0},
7661 { "_uint","_int",0},
7662 { "_uint","_wxWindowID",0},
7663 { "_wxChar","_char",0},
7664 { "_char","_wxChar",0},
7665 { "_EBool","_wxCoord",0},
7666 { "_EBool","_wxPrintQuality",0},
7667 { "_EBool","_signed_int",0},
7668 { "_EBool","_int",0},
7669 { "_EBool","_wxWindowID",0},
7670 { "_unsigned_long","_long",0},
7671 { "_signed_int","_wxCoord",0},
7672 { "_signed_int","_wxPrintQuality",0},
7673 { "_signed_int","_EBool",0},
7674 { "_signed_int","_wxWindowID",0},
7675 { "_signed_int","_int",0},
7676 { "_WXTYPE","_wxDateTime_t",0},
7677 { "_WXTYPE","_short",0},
7678 { "_WXTYPE","_signed_short",0},
7679 { "_WXTYPE","_unsigned_short",0},
7680 { "_unsigned_short","_wxDateTime_t",0},
7681 { "_unsigned_short","_WXTYPE",0},
7682 { "_unsigned_short","_short",0},
7683 { "_signed_short","_WXTYPE",0},
7684 { "_signed_short","_short",0},
7685 { "_unsigned_char","_byte",0},
7686 { "_unsigned_int","_wxCoord",0},
7687 { "_unsigned_int","_wxPrintQuality",0},
7688 { "_unsigned_int","_time_t",0},
7689 { "_unsigned_int","_size_t",0},
7690 { "_unsigned_int","_uint",0},
7691 { "_unsigned_int","_wxWindowID",0},
7692 { "_unsigned_int","_int",0},
7693 { "_wxConfigBase","_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7694 { "_wxConfigBase","_wxConfig",SwigwxConfigTowxConfigBase
},
7695 { "_short","_wxDateTime_t",0},
7696 { "_short","_WXTYPE",0},
7697 { "_short","_unsigned_short",0},
7698 { "_short","_signed_short",0},
7699 { "_wxWindowID","_wxCoord",0},
7700 { "_wxWindowID","_wxPrintQuality",0},
7701 { "_wxWindowID","_time_t",0},
7702 { "_wxWindowID","_size_t",0},
7703 { "_wxWindowID","_EBool",0},
7704 { "_wxWindowID","_uint",0},
7705 { "_wxWindowID","_int",0},
7706 { "_wxWindowID","_signed_int",0},
7707 { "_wxWindowID","_unsigned_int",0},
7708 { "_int","_wxCoord",0},
7709 { "_int","_wxPrintQuality",0},
7710 { "_int","_time_t",0},
7711 { "_int","_size_t",0},
7712 { "_int","_EBool",0},
7713 { "_int","_uint",0},
7714 { "_int","_wxWindowID",0},
7715 { "_int","_unsigned_int",0},
7716 { "_int","_signed_int",0},
7717 { "_wxDateTime_t","_unsigned_short",0},
7718 { "_wxDateTime_t","_short",0},
7719 { "_wxDateTime_t","_WXTYPE",0},
7720 { "_time_t","_wxCoord",0},
7721 { "_time_t","_wxPrintQuality",0},
7722 { "_time_t","_unsigned_int",0},
7723 { "_time_t","_int",0},
7724 { "_time_t","_wxWindowID",0},
7725 { "_time_t","_uint",0},
7726 { "_time_t","_size_t",0},
7727 { "_wxCoord","_int",0},
7728 { "_wxCoord","_signed_int",0},
7729 { "_wxCoord","_unsigned_int",0},
7730 { "_wxCoord","_wxWindowID",0},
7731 { "_wxCoord","_uint",0},
7732 { "_wxCoord","_EBool",0},
7733 { "_wxCoord","_size_t",0},
7734 { "_wxCoord","_time_t",0},
7735 { "_wxCoord","_wxPrintQuality",0},
7738 static PyObject
*SWIG_globals
;
7742 SWIGEXPORT(void) initutilsc() {
7744 SWIG_globals
= SWIG_newvarlink();
7745 m
= Py_InitModule("utilsc", utilscMethods
);
7746 d
= PyModule_GetDict(m
);
7747 PyDict_SetItemString(d
,"wxCONFIG_USE_LOCAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_LOCAL_FILE
));
7748 PyDict_SetItemString(d
,"wxCONFIG_USE_GLOBAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_GLOBAL_FILE
));
7749 PyDict_SetItemString(d
,"wxCONFIG_USE_RELATIVE_PATH", PyInt_FromLong((long) wxCONFIG_USE_RELATIVE_PATH
));
7751 wxClassInfo::CleanUpClasses();
7752 wxClassInfo::InitializeClasses();
7753 PyDict_SetItemString(d
,"wxConfigBase_Type_Unknown", PyInt_FromLong((long) wxConfigBase::Type_Unknown
));
7754 PyDict_SetItemString(d
,"wxConfigBase_Type_String", PyInt_FromLong((long) wxConfigBase::Type_String
));
7755 PyDict_SetItemString(d
,"wxConfigBase_Type_Boolean", PyInt_FromLong((long) wxConfigBase::Type_Boolean
));
7756 PyDict_SetItemString(d
,"wxConfigBase_Type_Integer", PyInt_FromLong((long) wxConfigBase::Type_Integer
));
7757 PyDict_SetItemString(d
,"wxConfigBase_Type_Float", PyInt_FromLong((long) wxConfigBase::Type_Float
));
7758 PyDict_SetItemString(d
,"wxDateTime_Local", PyInt_FromLong((long) wxDateTime::Local
));
7759 PyDict_SetItemString(d
,"wxDateTime_GMT_12", PyInt_FromLong((long) wxDateTime::GMT_12
));
7760 PyDict_SetItemString(d
,"wxDateTime_GMT_11", PyInt_FromLong((long) wxDateTime::GMT_11
));
7761 PyDict_SetItemString(d
,"wxDateTime_GMT_10", PyInt_FromLong((long) wxDateTime::GMT_10
));
7762 PyDict_SetItemString(d
,"wxDateTime_GMT_9", PyInt_FromLong((long) wxDateTime::GMT_9
));
7763 PyDict_SetItemString(d
,"wxDateTime_GMT_8", PyInt_FromLong((long) wxDateTime::GMT_8
));
7764 PyDict_SetItemString(d
,"wxDateTime_GMT_7", PyInt_FromLong((long) wxDateTime::GMT_7
));
7765 PyDict_SetItemString(d
,"wxDateTime_GMT_6", PyInt_FromLong((long) wxDateTime::GMT_6
));
7766 PyDict_SetItemString(d
,"wxDateTime_GMT_5", PyInt_FromLong((long) wxDateTime::GMT_5
));
7767 PyDict_SetItemString(d
,"wxDateTime_GMT_4", PyInt_FromLong((long) wxDateTime::GMT_4
));
7768 PyDict_SetItemString(d
,"wxDateTime_GMT_3", PyInt_FromLong((long) wxDateTime::GMT_3
));
7769 PyDict_SetItemString(d
,"wxDateTime_GMT_2", PyInt_FromLong((long) wxDateTime::GMT_2
));
7770 PyDict_SetItemString(d
,"wxDateTime_GMT_1", PyInt_FromLong((long) wxDateTime::GMT_1
));
7771 PyDict_SetItemString(d
,"wxDateTime_GMT0", PyInt_FromLong((long) wxDateTime::GMT0
));
7772 PyDict_SetItemString(d
,"wxDateTime_GMT1", PyInt_FromLong((long) wxDateTime::GMT1
));
7773 PyDict_SetItemString(d
,"wxDateTime_GMT2", PyInt_FromLong((long) wxDateTime::GMT2
));
7774 PyDict_SetItemString(d
,"wxDateTime_GMT3", PyInt_FromLong((long) wxDateTime::GMT3
));
7775 PyDict_SetItemString(d
,"wxDateTime_GMT4", PyInt_FromLong((long) wxDateTime::GMT4
));
7776 PyDict_SetItemString(d
,"wxDateTime_GMT5", PyInt_FromLong((long) wxDateTime::GMT5
));
7777 PyDict_SetItemString(d
,"wxDateTime_GMT6", PyInt_FromLong((long) wxDateTime::GMT6
));
7778 PyDict_SetItemString(d
,"wxDateTime_GMT7", PyInt_FromLong((long) wxDateTime::GMT7
));
7779 PyDict_SetItemString(d
,"wxDateTime_GMT8", PyInt_FromLong((long) wxDateTime::GMT8
));
7780 PyDict_SetItemString(d
,"wxDateTime_GMT9", PyInt_FromLong((long) wxDateTime::GMT9
));
7781 PyDict_SetItemString(d
,"wxDateTime_GMT10", PyInt_FromLong((long) wxDateTime::GMT10
));
7782 PyDict_SetItemString(d
,"wxDateTime_GMT11", PyInt_FromLong((long) wxDateTime::GMT11
));
7783 PyDict_SetItemString(d
,"wxDateTime_GMT12", PyInt_FromLong((long) wxDateTime::GMT12
));
7784 PyDict_SetItemString(d
,"wxDateTime_WET", PyInt_FromLong((long) wxDateTime::WET
));
7785 PyDict_SetItemString(d
,"wxDateTime_WEST", PyInt_FromLong((long) wxDateTime::WEST
));
7786 PyDict_SetItemString(d
,"wxDateTime_CET", PyInt_FromLong((long) wxDateTime::CET
));
7787 PyDict_SetItemString(d
,"wxDateTime_CEST", PyInt_FromLong((long) wxDateTime::CEST
));
7788 PyDict_SetItemString(d
,"wxDateTime_EET", PyInt_FromLong((long) wxDateTime::EET
));
7789 PyDict_SetItemString(d
,"wxDateTime_EEST", PyInt_FromLong((long) wxDateTime::EEST
));
7790 PyDict_SetItemString(d
,"wxDateTime_MSK", PyInt_FromLong((long) wxDateTime::MSK
));
7791 PyDict_SetItemString(d
,"wxDateTime_MSD", PyInt_FromLong((long) wxDateTime::MSD
));
7792 PyDict_SetItemString(d
,"wxDateTime_AST", PyInt_FromLong((long) wxDateTime::AST
));
7793 PyDict_SetItemString(d
,"wxDateTime_ADT", PyInt_FromLong((long) wxDateTime::ADT
));
7794 PyDict_SetItemString(d
,"wxDateTime_EST", PyInt_FromLong((long) wxDateTime::EST
));
7795 PyDict_SetItemString(d
,"wxDateTime_EDT", PyInt_FromLong((long) wxDateTime::EDT
));
7796 PyDict_SetItemString(d
,"wxDateTime_CST", PyInt_FromLong((long) wxDateTime::CST
));
7797 PyDict_SetItemString(d
,"wxDateTime_CDT", PyInt_FromLong((long) wxDateTime::CDT
));
7798 PyDict_SetItemString(d
,"wxDateTime_MST", PyInt_FromLong((long) wxDateTime::MST
));
7799 PyDict_SetItemString(d
,"wxDateTime_MDT", PyInt_FromLong((long) wxDateTime::MDT
));
7800 PyDict_SetItemString(d
,"wxDateTime_PST", PyInt_FromLong((long) wxDateTime::PST
));
7801 PyDict_SetItemString(d
,"wxDateTime_PDT", PyInt_FromLong((long) wxDateTime::PDT
));
7802 PyDict_SetItemString(d
,"wxDateTime_HST", PyInt_FromLong((long) wxDateTime::HST
));
7803 PyDict_SetItemString(d
,"wxDateTime_AKST", PyInt_FromLong((long) wxDateTime::AKST
));
7804 PyDict_SetItemString(d
,"wxDateTime_AKDT", PyInt_FromLong((long) wxDateTime::AKDT
));
7805 PyDict_SetItemString(d
,"wxDateTime_A_WST", PyInt_FromLong((long) wxDateTime::A_WST
));
7806 PyDict_SetItemString(d
,"wxDateTime_A_CST", PyInt_FromLong((long) wxDateTime::A_CST
));
7807 PyDict_SetItemString(d
,"wxDateTime_A_EST", PyInt_FromLong((long) wxDateTime::A_EST
));
7808 PyDict_SetItemString(d
,"wxDateTime_A_ESST", PyInt_FromLong((long) wxDateTime::A_ESST
));
7809 PyDict_SetItemString(d
,"wxDateTime_UTC", PyInt_FromLong((long) wxDateTime::UTC
));
7810 PyDict_SetItemString(d
,"wxDateTime_Gregorian", PyInt_FromLong((long) wxDateTime::Gregorian
));
7811 PyDict_SetItemString(d
,"wxDateTime_Julian", PyInt_FromLong((long) wxDateTime::Julian
));
7812 PyDict_SetItemString(d
,"wxDateTime_Country_Unknown", PyInt_FromLong((long) wxDateTime::Country_Unknown
));
7813 PyDict_SetItemString(d
,"wxDateTime_Country_Default", PyInt_FromLong((long) wxDateTime::Country_Default
));
7814 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_Start", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_Start
));
7815 PyDict_SetItemString(d
,"wxDateTime_Country_EEC", PyInt_FromLong((long) wxDateTime::Country_EEC
));
7816 PyDict_SetItemString(d
,"wxDateTime_France", PyInt_FromLong((long) wxDateTime::France
));
7817 PyDict_SetItemString(d
,"wxDateTime_Germany", PyInt_FromLong((long) wxDateTime::Germany
));
7818 PyDict_SetItemString(d
,"wxDateTime_UK", PyInt_FromLong((long) wxDateTime::UK
));
7819 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_End", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_End
));
7820 PyDict_SetItemString(d
,"wxDateTime_Russia", PyInt_FromLong((long) wxDateTime::Russia
));
7821 PyDict_SetItemString(d
,"wxDateTime_USA", PyInt_FromLong((long) wxDateTime::USA
));
7822 PyDict_SetItemString(d
,"wxDateTime_Jan", PyInt_FromLong((long) wxDateTime::Jan
));
7823 PyDict_SetItemString(d
,"wxDateTime_Feb", PyInt_FromLong((long) wxDateTime::Feb
));
7824 PyDict_SetItemString(d
,"wxDateTime_Mar", PyInt_FromLong((long) wxDateTime::Mar
));
7825 PyDict_SetItemString(d
,"wxDateTime_Apr", PyInt_FromLong((long) wxDateTime::Apr
));
7826 PyDict_SetItemString(d
,"wxDateTime_May", PyInt_FromLong((long) wxDateTime::May
));
7827 PyDict_SetItemString(d
,"wxDateTime_Jun", PyInt_FromLong((long) wxDateTime::Jun
));
7828 PyDict_SetItemString(d
,"wxDateTime_Jul", PyInt_FromLong((long) wxDateTime::Jul
));
7829 PyDict_SetItemString(d
,"wxDateTime_Aug", PyInt_FromLong((long) wxDateTime::Aug
));
7830 PyDict_SetItemString(d
,"wxDateTime_Sep", PyInt_FromLong((long) wxDateTime::Sep
));
7831 PyDict_SetItemString(d
,"wxDateTime_Oct", PyInt_FromLong((long) wxDateTime::Oct
));
7832 PyDict_SetItemString(d
,"wxDateTime_Nov", PyInt_FromLong((long) wxDateTime::Nov
));
7833 PyDict_SetItemString(d
,"wxDateTime_Dec", PyInt_FromLong((long) wxDateTime::Dec
));
7834 PyDict_SetItemString(d
,"wxDateTime_Inv_Month", PyInt_FromLong((long) wxDateTime::Inv_Month
));
7835 PyDict_SetItemString(d
,"wxDateTime_Sun", PyInt_FromLong((long) wxDateTime::Sun
));
7836 PyDict_SetItemString(d
,"wxDateTime_Mon", PyInt_FromLong((long) wxDateTime::Mon
));
7837 PyDict_SetItemString(d
,"wxDateTime_Tue", PyInt_FromLong((long) wxDateTime::Tue
));
7838 PyDict_SetItemString(d
,"wxDateTime_Wed", PyInt_FromLong((long) wxDateTime::Wed
));
7839 PyDict_SetItemString(d
,"wxDateTime_Thu", PyInt_FromLong((long) wxDateTime::Thu
));
7840 PyDict_SetItemString(d
,"wxDateTime_Fri", PyInt_FromLong((long) wxDateTime::Fri
));
7841 PyDict_SetItemString(d
,"wxDateTime_Sat", PyInt_FromLong((long) wxDateTime::Sat
));
7842 PyDict_SetItemString(d
,"wxDateTime_Inv_WeekDay", PyInt_FromLong((long) wxDateTime::Inv_WeekDay
));
7843 PyDict_SetItemString(d
,"wxDateTime_Inv_Year", PyInt_FromLong((long) wxDateTime::Inv_Year
));
7844 PyDict_SetItemString(d
,"wxDateTime_Name_Full", PyInt_FromLong((long) wxDateTime::Name_Full
));
7845 PyDict_SetItemString(d
,"wxDateTime_Name_Abbr", PyInt_FromLong((long) wxDateTime::Name_Abbr
));
7846 PyDict_SetItemString(d
,"wxDateTime_Default_First", PyInt_FromLong((long) wxDateTime::Default_First
));
7847 PyDict_SetItemString(d
,"wxDateTime_Monday_First", PyInt_FromLong((long) wxDateTime::Monday_First
));
7848 PyDict_SetItemString(d
,"wxDateTime_Sunday_First", PyInt_FromLong((long) wxDateTime::Sunday_First
));
7851 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7852 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);