2 * FILE : src/gtk/utils.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initutilsc
56 #define SWIG_name "utilsc"
59 #include <wx/config.h>
60 #include <wx/fileconf.h>
61 #include <wx/datetime.h>
63 // Put some wx default wxChar* values into wxStrings.
64 static const wxChar
* wxDateFormatStr
= wxT("sashWindow");
65 DECLARE_DEF_STRING(DateFormatStr
);
66 static const wxString
wxPyEmptyString(wxT(""));
70 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
76 } else if (target
== Py_None
) {
80 if (!PyTuple_Check(target
)) {
82 target
= PyTuple_New(1);
83 PyTuple_SetItem(target
, 0, o2
);
86 PyTuple_SetItem(o3
, 0, o
);
89 target
= PySequence_Concat(o2
, o3
);
96 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
97 PyObject
* ret
= PyTuple_New(3);
99 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
101 PyTuple_SET_ITEM(ret
, 1, PyUnicode_FromUnicode(str
.c_str(), str
.Len()));
103 PyTuple_SET_ITEM(ret
, 1, PyString_FromStringAndSize(str
.c_str(), str
.Len()));
105 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
110 #define LOCAL *(new wxDateTime::TimeZone(wxDateTime::Local))
114 static PyObject
*_wrap_wxGetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
115 PyObject
* _resultobj
;
117 char *_kwnames
[] = { NULL
};
120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocalTime",_kwnames
))
123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
124 _result
= (long )wxGetLocalTime();
126 wxPyEndAllowThreads(__tstate
);
127 if (PyErr_Occurred()) return NULL
;
128 } _resultobj
= Py_BuildValue("l",_result
);
132 static PyObject
*_wrap_wxGetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
133 PyObject
* _resultobj
;
135 char *_kwnames
[] = { NULL
};
138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUTCTime",_kwnames
))
141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
142 _result
= (long )wxGetUTCTime();
144 wxPyEndAllowThreads(__tstate
);
145 if (PyErr_Occurred()) return NULL
;
146 } _resultobj
= Py_BuildValue("l",_result
);
150 static PyObject
*_wrap_wxGetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
151 PyObject
* _resultobj
;
153 char *_kwnames
[] = { NULL
};
156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentTime",_kwnames
))
159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
160 _result
= (long )wxGetCurrentTime();
162 wxPyEndAllowThreads(__tstate
);
163 if (PyErr_Occurred()) return NULL
;
164 } _resultobj
= Py_BuildValue("l",_result
);
168 static PyObject
*_wrap_wxGetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
169 PyObject
* _resultobj
;
170 wxLongLong
* _result
;
171 char *_kwnames
[] = { NULL
};
174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocalTimeMillis",_kwnames
))
177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
178 _result
= new wxLongLong (wxGetLocalTimeMillis());
180 wxPyEndAllowThreads(__tstate
);
181 if (PyErr_Occurred()) return NULL
;
183 PyObject
*hi
, *lo
, *shifter
, *shifted
;
184 hi
= PyLong_FromLong(_result
->GetHi());
185 lo
= PyLong_FromLong(_result
->GetLo());
186 shifter
= PyLong_FromLong(32);
187 shifted
= PyNumber_Lshift(hi
, shifter
);
188 _resultobj
= PyNumber_Or(shifted
, lo
);
197 #define delete_wxConfigBase(_swigobj) (delete _swigobj)
198 static PyObject
*_wrap_delete_wxConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
199 PyObject
* _resultobj
;
200 wxConfigBase
* _arg0
;
201 PyObject
* _argo0
= 0;
202 char *_kwnames
[] = { "self", NULL
};
205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxConfigBase",_kwnames
,&_argo0
))
208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxConfigBase. Expected _wxConfigBase_p.");
215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
216 delete_wxConfigBase(_arg0
);
218 wxPyEndAllowThreads(__tstate
);
219 if (PyErr_Occurred()) return NULL
;
220 } Py_INCREF(Py_None
);
221 _resultobj
= Py_None
;
225 static PyObject
*_wrap_wxConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
226 PyObject
* _resultobj
;
227 wxConfigBase
* _result
;
228 wxConfigBase
* _arg0
;
229 PyObject
* _argo0
= 0;
230 char *_kwnames
[] = { "pConfig", NULL
};
234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_Set",_kwnames
,&_argo0
))
237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Set. Expected _wxConfigBase_p.");
244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
245 _result
= (wxConfigBase
*)wxConfigBase::Set(_arg0
);
247 wxPyEndAllowThreads(__tstate
);
248 if (PyErr_Occurred()) return NULL
;
250 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
251 _resultobj
= Py_BuildValue("s",_ptemp
);
254 _resultobj
= Py_None
;
259 static PyObject
*_wrap_wxConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
260 PyObject
* _resultobj
;
261 wxConfigBase
* _result
;
262 bool _arg0
= (bool ) TRUE
;
263 int tempbool0
= (int) TRUE
;
264 char *_kwnames
[] = { "createOnDemand", NULL
};
268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxConfigBase_Get",_kwnames
,&tempbool0
))
270 _arg0
= (bool ) tempbool0
;
272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
273 _result
= (wxConfigBase
*)wxConfigBase::Get(_arg0
);
275 wxPyEndAllowThreads(__tstate
);
276 if (PyErr_Occurred()) return NULL
;
278 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
279 _resultobj
= Py_BuildValue("s",_ptemp
);
282 _resultobj
= Py_None
;
287 static PyObject
*_wrap_wxConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
288 PyObject
* _resultobj
;
289 wxConfigBase
* _result
;
290 char *_kwnames
[] = { NULL
};
294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxConfigBase_Create",_kwnames
))
297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
298 _result
= (wxConfigBase
*)wxConfigBase::Create();
300 wxPyEndAllowThreads(__tstate
);
301 if (PyErr_Occurred()) return NULL
;
303 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
304 _resultobj
= Py_BuildValue("s",_ptemp
);
307 _resultobj
= Py_None
;
312 static PyObject
*_wrap_wxConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
313 PyObject
* _resultobj
;
314 char *_kwnames
[] = { NULL
};
317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxConfigBase_DontCreateOnDemand",_kwnames
))
320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
321 wxConfigBase::DontCreateOnDemand();
323 wxPyEndAllowThreads(__tstate
);
324 if (PyErr_Occurred()) return NULL
;
325 } Py_INCREF(Py_None
);
326 _resultobj
= Py_None
;
330 #define wxConfigBase_DeleteAll(_swigobj) (_swigobj->DeleteAll())
331 static PyObject
*_wrap_wxConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
332 PyObject
* _resultobj
;
334 wxConfigBase
* _arg0
;
335 PyObject
* _argo0
= 0;
336 char *_kwnames
[] = { "self", NULL
};
339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_DeleteAll",_kwnames
,&_argo0
))
342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteAll. Expected _wxConfigBase_p.");
349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
350 _result
= (bool )wxConfigBase_DeleteAll(_arg0
);
352 wxPyEndAllowThreads(__tstate
);
353 if (PyErr_Occurred()) return NULL
;
354 } _resultobj
= Py_BuildValue("i",_result
);
358 #define wxConfigBase_DeleteEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteEntry(_swigarg0,_swigarg1))
359 static PyObject
*_wrap_wxConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
360 PyObject
* _resultobj
;
362 wxConfigBase
* _arg0
;
364 bool _arg2
= (bool ) TRUE
;
365 PyObject
* _argo0
= 0;
366 PyObject
* _obj1
= 0;
367 int tempbool2
= (int) TRUE
;
368 char *_kwnames
[] = { "self","key","bDeleteGroupIfEmpty", NULL
};
371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxConfigBase_DeleteEntry",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteEntry. Expected _wxConfigBase_p.");
381 _arg1
= wxString_in_helper(_obj1
);
385 _arg2
= (bool ) tempbool2
;
387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
388 _result
= (bool )wxConfigBase_DeleteEntry(_arg0
,*_arg1
,_arg2
);
390 wxPyEndAllowThreads(__tstate
);
391 if (PyErr_Occurred()) return NULL
;
392 } _resultobj
= Py_BuildValue("i",_result
);
400 #define wxConfigBase_DeleteGroup(_swigobj,_swigarg0) (_swigobj->DeleteGroup(_swigarg0))
401 static PyObject
*_wrap_wxConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
402 PyObject
* _resultobj
;
404 wxConfigBase
* _arg0
;
406 PyObject
* _argo0
= 0;
407 PyObject
* _obj1
= 0;
408 char *_kwnames
[] = { "self","key", NULL
};
411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_DeleteGroup",_kwnames
,&_argo0
,&_obj1
))
414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteGroup. Expected _wxConfigBase_p.");
421 _arg1
= wxString_in_helper(_obj1
);
426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
427 _result
= (bool )wxConfigBase_DeleteGroup(_arg0
,*_arg1
);
429 wxPyEndAllowThreads(__tstate
);
430 if (PyErr_Occurred()) return NULL
;
431 } _resultobj
= Py_BuildValue("i",_result
);
439 #define wxConfigBase_Exists(_swigobj,_swigarg0) (_swigobj->Exists(_swigarg0))
440 static PyObject
*_wrap_wxConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
441 PyObject
* _resultobj
;
443 wxConfigBase
* _arg0
;
445 PyObject
* _argo0
= 0;
446 PyObject
* _obj1
= 0;
447 char *_kwnames
[] = { "self","strName", NULL
};
450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_Exists",_kwnames
,&_argo0
,&_obj1
))
453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Exists. Expected _wxConfigBase_p.");
460 _arg1
= wxString_in_helper(_obj1
);
465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
466 _result
= (bool )wxConfigBase_Exists(_arg0
,*_arg1
);
468 wxPyEndAllowThreads(__tstate
);
469 if (PyErr_Occurred()) return NULL
;
470 } _resultobj
= Py_BuildValue("i",_result
);
478 #define wxConfigBase_Flush(_swigobj,_swigarg0) (_swigobj->Flush(_swigarg0))
479 static PyObject
*_wrap_wxConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
480 PyObject
* _resultobj
;
482 wxConfigBase
* _arg0
;
483 bool _arg1
= (bool ) FALSE
;
484 PyObject
* _argo0
= 0;
485 int tempbool1
= (int) FALSE
;
486 char *_kwnames
[] = { "self","bCurrentOnly", NULL
};
489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_Flush",_kwnames
,&_argo0
,&tempbool1
))
492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Flush. Expected _wxConfigBase_p.");
498 _arg1
= (bool ) tempbool1
;
500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
501 _result
= (bool )wxConfigBase_Flush(_arg0
,_arg1
);
503 wxPyEndAllowThreads(__tstate
);
504 if (PyErr_Occurred()) return NULL
;
505 } _resultobj
= Py_BuildValue("i",_result
);
509 #define wxConfigBase_GetAppName(_swigobj) (_swigobj->GetAppName())
510 static PyObject
*_wrap_wxConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
511 PyObject
* _resultobj
;
513 wxConfigBase
* _arg0
;
514 PyObject
* _argo0
= 0;
515 char *_kwnames
[] = { "self", NULL
};
518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetAppName",_kwnames
,&_argo0
))
521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetAppName. Expected _wxConfigBase_p.");
528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
529 _result
= new wxString (wxConfigBase_GetAppName(_arg0
));
531 wxPyEndAllowThreads(__tstate
);
532 if (PyErr_Occurred()) return NULL
;
535 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
537 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
546 static PyObject
* wxConfigBase_GetFirstGroup(wxConfigBase
*self
) {
551 cont
= self
->GetFirstGroup(value
, index
);
552 return __EnumerationHelper(cont
, value
, index
);
554 static PyObject
*_wrap_wxConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
555 PyObject
* _resultobj
;
557 wxConfigBase
* _arg0
;
558 PyObject
* _argo0
= 0;
559 char *_kwnames
[] = { "self", NULL
};
562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetFirstGroup",_kwnames
,&_argo0
))
565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetFirstGroup. Expected _wxConfigBase_p.");
572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
573 _result
= (PyObject
*)wxConfigBase_GetFirstGroup(_arg0
);
575 wxPyEndAllowThreads(__tstate
);
576 if (PyErr_Occurred()) return NULL
;
578 _resultobj
= _result
;
583 static PyObject
* wxConfigBase_GetFirstEntry(wxConfigBase
*self
) {
588 cont
= self
->GetFirstEntry(value
, index
);
589 return __EnumerationHelper(cont
, value
, index
);
591 static PyObject
*_wrap_wxConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
592 PyObject
* _resultobj
;
594 wxConfigBase
* _arg0
;
595 PyObject
* _argo0
= 0;
596 char *_kwnames
[] = { "self", NULL
};
599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetFirstEntry",_kwnames
,&_argo0
))
602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetFirstEntry. Expected _wxConfigBase_p.");
609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
610 _result
= (PyObject
*)wxConfigBase_GetFirstEntry(_arg0
);
612 wxPyEndAllowThreads(__tstate
);
613 if (PyErr_Occurred()) return NULL
;
615 _resultobj
= _result
;
620 static PyObject
* wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
) {
624 cont
= self
->GetNextGroup(value
, index
);
625 return __EnumerationHelper(cont
, value
, index
);
627 static PyObject
*_wrap_wxConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
628 PyObject
* _resultobj
;
630 wxConfigBase
* _arg0
;
632 PyObject
* _argo0
= 0;
633 char *_kwnames
[] = { "self","index", NULL
};
636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_GetNextGroup",_kwnames
,&_argo0
,&_arg1
))
639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNextGroup. Expected _wxConfigBase_p.");
646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
647 _result
= (PyObject
*)wxConfigBase_GetNextGroup(_arg0
,_arg1
);
649 wxPyEndAllowThreads(__tstate
);
650 if (PyErr_Occurred()) return NULL
;
652 _resultobj
= _result
;
657 static PyObject
* wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
) {
661 cont
= self
->GetNextEntry(value
, index
);
662 return __EnumerationHelper(cont
, value
, index
);
664 static PyObject
*_wrap_wxConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
665 PyObject
* _resultobj
;
667 wxConfigBase
* _arg0
;
669 PyObject
* _argo0
= 0;
670 char *_kwnames
[] = { "self","index", NULL
};
673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_GetNextEntry",_kwnames
,&_argo0
,&_arg1
))
676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNextEntry. Expected _wxConfigBase_p.");
683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
684 _result
= (PyObject
*)wxConfigBase_GetNextEntry(_arg0
,_arg1
);
686 wxPyEndAllowThreads(__tstate
);
687 if (PyErr_Occurred()) return NULL
;
689 _resultobj
= _result
;
694 #define wxConfigBase_GetNumberOfEntries(_swigobj,_swigarg0) (_swigobj->GetNumberOfEntries(_swigarg0))
695 static PyObject
*_wrap_wxConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
696 PyObject
* _resultobj
;
698 wxConfigBase
* _arg0
;
699 bool _arg1
= (bool ) FALSE
;
700 PyObject
* _argo0
= 0;
701 int tempbool1
= (int) FALSE
;
702 char *_kwnames
[] = { "self","bRecursive", NULL
};
705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_GetNumberOfEntries",_kwnames
,&_argo0
,&tempbool1
))
708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNumberOfEntries. Expected _wxConfigBase_p.");
714 _arg1
= (bool ) tempbool1
;
716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
717 _result
= (int )wxConfigBase_GetNumberOfEntries(_arg0
,_arg1
);
719 wxPyEndAllowThreads(__tstate
);
720 if (PyErr_Occurred()) return NULL
;
721 } _resultobj
= Py_BuildValue("i",_result
);
725 #define wxConfigBase_GetNumberOfGroups(_swigobj,_swigarg0) (_swigobj->GetNumberOfGroups(_swigarg0))
726 static PyObject
*_wrap_wxConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
727 PyObject
* _resultobj
;
729 wxConfigBase
* _arg0
;
730 bool _arg1
= (bool ) FALSE
;
731 PyObject
* _argo0
= 0;
732 int tempbool1
= (int) FALSE
;
733 char *_kwnames
[] = { "self","bRecursive", NULL
};
736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_GetNumberOfGroups",_kwnames
,&_argo0
,&tempbool1
))
739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNumberOfGroups. Expected _wxConfigBase_p.");
745 _arg1
= (bool ) tempbool1
;
747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
748 _result
= (int )wxConfigBase_GetNumberOfGroups(_arg0
,_arg1
);
750 wxPyEndAllowThreads(__tstate
);
751 if (PyErr_Occurred()) return NULL
;
752 } _resultobj
= Py_BuildValue("i",_result
);
756 #define wxConfigBase_GetPath(_swigobj) (_swigobj->GetPath())
757 static PyObject
*_wrap_wxConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
758 PyObject
* _resultobj
;
760 wxConfigBase
* _arg0
;
761 PyObject
* _argo0
= 0;
762 char *_kwnames
[] = { "self", NULL
};
765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetPath",_kwnames
,&_argo0
))
768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetPath. Expected _wxConfigBase_p.");
775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
776 _result
= new wxString (wxConfigBase_GetPath(_arg0
));
778 wxPyEndAllowThreads(__tstate
);
779 if (PyErr_Occurred()) return NULL
;
782 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
784 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
793 #define wxConfigBase_GetVendorName(_swigobj) (_swigobj->GetVendorName())
794 static PyObject
*_wrap_wxConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
795 PyObject
* _resultobj
;
797 wxConfigBase
* _arg0
;
798 PyObject
* _argo0
= 0;
799 char *_kwnames
[] = { "self", NULL
};
802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetVendorName",_kwnames
,&_argo0
))
805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetVendorName. Expected _wxConfigBase_p.");
812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
813 _result
= new wxString (wxConfigBase_GetVendorName(_arg0
));
815 wxPyEndAllowThreads(__tstate
);
816 if (PyErr_Occurred()) return NULL
;
819 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
821 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
830 #define wxConfigBase_HasEntry(_swigobj,_swigarg0) (_swigobj->HasEntry(_swigarg0))
831 static PyObject
*_wrap_wxConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
832 PyObject
* _resultobj
;
834 wxConfigBase
* _arg0
;
836 PyObject
* _argo0
= 0;
837 PyObject
* _obj1
= 0;
838 char *_kwnames
[] = { "self","strName", NULL
};
841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_HasEntry",_kwnames
,&_argo0
,&_obj1
))
844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_HasEntry. Expected _wxConfigBase_p.");
851 _arg1
= wxString_in_helper(_obj1
);
856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
857 _result
= (bool )wxConfigBase_HasEntry(_arg0
,*_arg1
);
859 wxPyEndAllowThreads(__tstate
);
860 if (PyErr_Occurred()) return NULL
;
861 } _resultobj
= Py_BuildValue("i",_result
);
869 #define wxConfigBase_HasGroup(_swigobj,_swigarg0) (_swigobj->HasGroup(_swigarg0))
870 static PyObject
*_wrap_wxConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
871 PyObject
* _resultobj
;
873 wxConfigBase
* _arg0
;
875 PyObject
* _argo0
= 0;
876 PyObject
* _obj1
= 0;
877 char *_kwnames
[] = { "self","strName", NULL
};
880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_HasGroup",_kwnames
,&_argo0
,&_obj1
))
883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_HasGroup. Expected _wxConfigBase_p.");
890 _arg1
= wxString_in_helper(_obj1
);
895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
896 _result
= (bool )wxConfigBase_HasGroup(_arg0
,*_arg1
);
898 wxPyEndAllowThreads(__tstate
);
899 if (PyErr_Occurred()) return NULL
;
900 } _resultobj
= Py_BuildValue("i",_result
);
908 #define wxConfigBase_IsExpandingEnvVars(_swigobj) (_swigobj->IsExpandingEnvVars())
909 static PyObject
*_wrap_wxConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
910 PyObject
* _resultobj
;
912 wxConfigBase
* _arg0
;
913 PyObject
* _argo0
= 0;
914 char *_kwnames
[] = { "self", NULL
};
917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_IsExpandingEnvVars",_kwnames
,&_argo0
))
920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_IsExpandingEnvVars. Expected _wxConfigBase_p.");
927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
928 _result
= (bool )wxConfigBase_IsExpandingEnvVars(_arg0
);
930 wxPyEndAllowThreads(__tstate
);
931 if (PyErr_Occurred()) return NULL
;
932 } _resultobj
= Py_BuildValue("i",_result
);
936 #define wxConfigBase_IsRecordingDefaults(_swigobj) (_swigobj->IsRecordingDefaults())
937 static PyObject
*_wrap_wxConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
938 PyObject
* _resultobj
;
940 wxConfigBase
* _arg0
;
941 PyObject
* _argo0
= 0;
942 char *_kwnames
[] = { "self", NULL
};
945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_IsRecordingDefaults",_kwnames
,&_argo0
))
948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_IsRecordingDefaults. Expected _wxConfigBase_p.");
955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
956 _result
= (bool )wxConfigBase_IsRecordingDefaults(_arg0
);
958 wxPyEndAllowThreads(__tstate
);
959 if (PyErr_Occurred()) return NULL
;
960 } _resultobj
= Py_BuildValue("i",_result
);
964 #define wxConfigBase_Read(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
965 static PyObject
*_wrap_wxConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
966 PyObject
* _resultobj
;
968 wxConfigBase
* _arg0
;
970 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
971 PyObject
* _argo0
= 0;
972 PyObject
* _obj1
= 0;
973 PyObject
* _obj2
= 0;
974 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxConfigBase_Read",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Read. Expected _wxConfigBase_p.");
987 _arg1
= wxString_in_helper(_obj1
);
993 _arg2
= wxString_in_helper(_obj2
);
998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
999 _result
= new wxString (wxConfigBase_Read(_arg0
,*_arg1
,*_arg2
));
1001 wxPyEndAllowThreads(__tstate
);
1002 if (PyErr_Occurred()) return NULL
;
1005 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1007 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1024 static long wxConfigBase_ReadInt(wxConfigBase
*self
,const wxString
& key
,long defaultVal
) {
1026 self
->Read(key
, &rv
, defaultVal
);
1029 static PyObject
*_wrap_wxConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1030 PyObject
* _resultobj
;
1032 wxConfigBase
* _arg0
;
1034 long _arg2
= (long ) 0;
1035 PyObject
* _argo0
= 0;
1036 PyObject
* _obj1
= 0;
1037 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|l:wxConfigBase_ReadInt",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadInt. Expected _wxConfigBase_p.");
1050 _arg1
= wxString_in_helper(_obj1
);
1055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1056 _result
= (long )wxConfigBase_ReadInt(_arg0
,*_arg1
,_arg2
);
1058 wxPyEndAllowThreads(__tstate
);
1059 if (PyErr_Occurred()) return NULL
;
1060 } _resultobj
= Py_BuildValue("l",_result
);
1068 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,const wxString
& key
,double defaultVal
) {
1070 self
->Read(key
, &rv
, defaultVal
);
1073 static PyObject
*_wrap_wxConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1074 PyObject
* _resultobj
;
1076 wxConfigBase
* _arg0
;
1078 double _arg2
= (double ) 0.0;
1079 PyObject
* _argo0
= 0;
1080 PyObject
* _obj1
= 0;
1081 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|d:wxConfigBase_ReadFloat",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadFloat. Expected _wxConfigBase_p.");
1094 _arg1
= wxString_in_helper(_obj1
);
1099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1100 _result
= (double )wxConfigBase_ReadFloat(_arg0
,*_arg1
,_arg2
);
1102 wxPyEndAllowThreads(__tstate
);
1103 if (PyErr_Occurred()) return NULL
;
1104 } _resultobj
= Py_BuildValue("d",_result
);
1112 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,const wxString
& key
,bool defaultVal
) {
1114 self
->Read(key
, &rv
, defaultVal
);
1117 static PyObject
*_wrap_wxConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1118 PyObject
* _resultobj
;
1120 wxConfigBase
* _arg0
;
1122 bool _arg2
= (bool ) FALSE
;
1123 PyObject
* _argo0
= 0;
1124 PyObject
* _obj1
= 0;
1125 int tempbool2
= (int) FALSE
;
1126 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxConfigBase_ReadBool",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadBool. Expected _wxConfigBase_p.");
1139 _arg1
= wxString_in_helper(_obj1
);
1143 _arg2
= (bool ) tempbool2
;
1145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1146 _result
= (bool )wxConfigBase_ReadBool(_arg0
,*_arg1
,_arg2
);
1148 wxPyEndAllowThreads(__tstate
);
1149 if (PyErr_Occurred()) return NULL
;
1150 } _resultobj
= Py_BuildValue("i",_result
);
1158 #define wxConfigBase_SetExpandEnvVars(_swigobj,_swigarg0) (_swigobj->SetExpandEnvVars(_swigarg0))
1159 static PyObject
*_wrap_wxConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1160 PyObject
* _resultobj
;
1161 wxConfigBase
* _arg0
;
1162 bool _arg1
= (bool ) TRUE
;
1163 PyObject
* _argo0
= 0;
1164 int tempbool1
= (int) TRUE
;
1165 char *_kwnames
[] = { "self","bDoIt", NULL
};
1168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_SetExpandEnvVars",_kwnames
,&_argo0
,&tempbool1
))
1171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetExpandEnvVars. Expected _wxConfigBase_p.");
1177 _arg1
= (bool ) tempbool1
;
1179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1180 wxConfigBase_SetExpandEnvVars(_arg0
,_arg1
);
1182 wxPyEndAllowThreads(__tstate
);
1183 if (PyErr_Occurred()) return NULL
;
1184 } Py_INCREF(Py_None
);
1185 _resultobj
= Py_None
;
1189 #define wxConfigBase_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1190 static PyObject
*_wrap_wxConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1191 PyObject
* _resultobj
;
1192 wxConfigBase
* _arg0
;
1194 PyObject
* _argo0
= 0;
1195 PyObject
* _obj1
= 0;
1196 char *_kwnames
[] = { "self","strPath", NULL
};
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetPath",_kwnames
,&_argo0
,&_obj1
))
1202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetPath. Expected _wxConfigBase_p.");
1209 _arg1
= wxString_in_helper(_obj1
);
1214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1215 wxConfigBase_SetPath(_arg0
,*_arg1
);
1217 wxPyEndAllowThreads(__tstate
);
1218 if (PyErr_Occurred()) return NULL
;
1219 } Py_INCREF(Py_None
);
1220 _resultobj
= Py_None
;
1228 #define wxConfigBase_SetRecordDefaults(_swigobj,_swigarg0) (_swigobj->SetRecordDefaults(_swigarg0))
1229 static PyObject
*_wrap_wxConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1230 PyObject
* _resultobj
;
1231 wxConfigBase
* _arg0
;
1232 bool _arg1
= (bool ) TRUE
;
1233 PyObject
* _argo0
= 0;
1234 int tempbool1
= (int) TRUE
;
1235 char *_kwnames
[] = { "self","bDoIt", NULL
};
1238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_SetRecordDefaults",_kwnames
,&_argo0
,&tempbool1
))
1241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetRecordDefaults. Expected _wxConfigBase_p.");
1247 _arg1
= (bool ) tempbool1
;
1249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1250 wxConfigBase_SetRecordDefaults(_arg0
,_arg1
);
1252 wxPyEndAllowThreads(__tstate
);
1253 if (PyErr_Occurred()) return NULL
;
1254 } Py_INCREF(Py_None
);
1255 _resultobj
= Py_None
;
1259 #define wxConfigBase_SetAppName(_swigobj,_swigarg0) (_swigobj->SetAppName(_swigarg0))
1260 static PyObject
*_wrap_wxConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1261 PyObject
* _resultobj
;
1262 wxConfigBase
* _arg0
;
1264 PyObject
* _argo0
= 0;
1265 PyObject
* _obj1
= 0;
1266 char *_kwnames
[] = { "self","appName", NULL
};
1269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetAppName",_kwnames
,&_argo0
,&_obj1
))
1272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetAppName. Expected _wxConfigBase_p.");
1279 _arg1
= wxString_in_helper(_obj1
);
1284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1285 wxConfigBase_SetAppName(_arg0
,*_arg1
);
1287 wxPyEndAllowThreads(__tstate
);
1288 if (PyErr_Occurred()) return NULL
;
1289 } Py_INCREF(Py_None
);
1290 _resultobj
= Py_None
;
1298 #define wxConfigBase_SetVendorName(_swigobj,_swigarg0) (_swigobj->SetVendorName(_swigarg0))
1299 static PyObject
*_wrap_wxConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
* _resultobj
;
1301 wxConfigBase
* _arg0
;
1303 PyObject
* _argo0
= 0;
1304 PyObject
* _obj1
= 0;
1305 char *_kwnames
[] = { "self","vendorName", NULL
};
1308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetVendorName",_kwnames
,&_argo0
,&_obj1
))
1311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetVendorName. Expected _wxConfigBase_p.");
1318 _arg1
= wxString_in_helper(_obj1
);
1323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1324 wxConfigBase_SetVendorName(_arg0
,*_arg1
);
1326 wxPyEndAllowThreads(__tstate
);
1327 if (PyErr_Occurred()) return NULL
;
1328 } Py_INCREF(Py_None
);
1329 _resultobj
= Py_None
;
1337 #define wxConfigBase_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1338 static PyObject
*_wrap_wxConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1339 PyObject
* _resultobj
;
1340 wxConfigBase
* _arg0
;
1342 PyObject
* _argo0
= 0;
1343 char *_kwnames
[] = { "self","style", NULL
};
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetStyle. Expected _wxConfigBase_p.");
1356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1357 wxConfigBase_SetStyle(_arg0
,_arg1
);
1359 wxPyEndAllowThreads(__tstate
);
1360 if (PyErr_Occurred()) return NULL
;
1361 } Py_INCREF(Py_None
);
1362 _resultobj
= Py_None
;
1366 #define wxConfigBase_GetStyle(_swigobj) (_swigobj->GetStyle())
1367 static PyObject
*_wrap_wxConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
* _resultobj
;
1370 wxConfigBase
* _arg0
;
1371 PyObject
* _argo0
= 0;
1372 char *_kwnames
[] = { "self", NULL
};
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetStyle",_kwnames
,&_argo0
))
1378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetStyle. Expected _wxConfigBase_p.");
1385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1386 _result
= (long )wxConfigBase_GetStyle(_arg0
);
1388 wxPyEndAllowThreads(__tstate
);
1389 if (PyErr_Occurred()) return NULL
;
1390 } _resultobj
= Py_BuildValue("l",_result
);
1394 #define wxConfigBase_Write(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1395 static PyObject
*_wrap_wxConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1396 PyObject
* _resultobj
;
1398 wxConfigBase
* _arg0
;
1401 PyObject
* _argo0
= 0;
1402 PyObject
* _obj1
= 0;
1403 PyObject
* _obj2
= 0;
1404 char *_kwnames
[] = { "self","key","value", NULL
};
1407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_Write",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Write. Expected _wxConfigBase_p.");
1417 _arg1
= wxString_in_helper(_obj1
);
1422 _arg2
= wxString_in_helper(_obj2
);
1427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1428 _result
= (bool )wxConfigBase_Write(_arg0
,*_arg1
,*_arg2
);
1430 wxPyEndAllowThreads(__tstate
);
1431 if (PyErr_Occurred()) return NULL
;
1432 } _resultobj
= Py_BuildValue("i",_result
);
1444 #define wxConfigBase_WriteInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1445 static PyObject
*_wrap_wxConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
* _resultobj
;
1448 wxConfigBase
* _arg0
;
1451 PyObject
* _argo0
= 0;
1452 PyObject
* _obj1
= 0;
1453 char *_kwnames
[] = { "self","key","value", NULL
};
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxConfigBase_WriteInt",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteInt. Expected _wxConfigBase_p.");
1466 _arg1
= wxString_in_helper(_obj1
);
1471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1472 _result
= (bool )wxConfigBase_WriteInt(_arg0
,*_arg1
,_arg2
);
1474 wxPyEndAllowThreads(__tstate
);
1475 if (PyErr_Occurred()) return NULL
;
1476 } _resultobj
= Py_BuildValue("i",_result
);
1484 #define wxConfigBase_WriteFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1485 static PyObject
*_wrap_wxConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1486 PyObject
* _resultobj
;
1488 wxConfigBase
* _arg0
;
1491 PyObject
* _argo0
= 0;
1492 PyObject
* _obj1
= 0;
1493 char *_kwnames
[] = { "self","key","value", NULL
};
1496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOd:wxConfigBase_WriteFloat",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteFloat. Expected _wxConfigBase_p.");
1506 _arg1
= wxString_in_helper(_obj1
);
1511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1512 _result
= (bool )wxConfigBase_WriteFloat(_arg0
,*_arg1
,_arg2
);
1514 wxPyEndAllowThreads(__tstate
);
1515 if (PyErr_Occurred()) return NULL
;
1516 } _resultobj
= Py_BuildValue("i",_result
);
1524 #define wxConfigBase_WriteBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1525 static PyObject
*_wrap_wxConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1526 PyObject
* _resultobj
;
1528 wxConfigBase
* _arg0
;
1531 PyObject
* _argo0
= 0;
1532 PyObject
* _obj1
= 0;
1534 char *_kwnames
[] = { "self","key","value", NULL
};
1537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxConfigBase_WriteBool",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteBool. Expected _wxConfigBase_p.");
1547 _arg1
= wxString_in_helper(_obj1
);
1551 _arg2
= (bool ) tempbool2
;
1553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1554 _result
= (bool )wxConfigBase_WriteBool(_arg0
,*_arg1
,_arg2
);
1556 wxPyEndAllowThreads(__tstate
);
1557 if (PyErr_Occurred()) return NULL
;
1558 } _resultobj
= Py_BuildValue("i",_result
);
1566 #define wxConfigBase_GetEntryType(_swigobj,_swigarg0) (_swigobj->GetEntryType(_swigarg0))
1567 static PyObject
*_wrap_wxConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1568 PyObject
* _resultobj
;
1569 wxConfigBase::EntryType _result
;
1570 wxConfigBase
* _arg0
;
1572 PyObject
* _argo0
= 0;
1573 PyObject
* _obj1
= 0;
1574 char *_kwnames
[] = { "self","name", NULL
};
1577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_GetEntryType",_kwnames
,&_argo0
,&_obj1
))
1580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetEntryType. Expected _wxConfigBase_p.");
1587 _arg1
= wxString_in_helper(_obj1
);
1592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1593 _result
= (wxConfigBase::EntryType
)wxConfigBase_GetEntryType(_arg0
,*_arg1
);
1595 wxPyEndAllowThreads(__tstate
);
1596 if (PyErr_Occurred()) return NULL
;
1597 } _resultobj
= Py_BuildValue("i",_result
);
1605 #define wxConfigBase_RenameEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameEntry(_swigarg0,_swigarg1))
1606 static PyObject
*_wrap_wxConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1607 PyObject
* _resultobj
;
1609 wxConfigBase
* _arg0
;
1612 PyObject
* _argo0
= 0;
1613 PyObject
* _obj1
= 0;
1614 PyObject
* _obj2
= 0;
1615 char *_kwnames
[] = { "self","oldName","newName", NULL
};
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_RenameEntry",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_RenameEntry. Expected _wxConfigBase_p.");
1628 _arg1
= wxString_in_helper(_obj1
);
1633 _arg2
= wxString_in_helper(_obj2
);
1638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1639 _result
= (bool )wxConfigBase_RenameEntry(_arg0
,*_arg1
,*_arg2
);
1641 wxPyEndAllowThreads(__tstate
);
1642 if (PyErr_Occurred()) return NULL
;
1643 } _resultobj
= Py_BuildValue("i",_result
);
1655 #define wxConfigBase_RenameGroup(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameGroup(_swigarg0,_swigarg1))
1656 static PyObject
*_wrap_wxConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
* _resultobj
;
1659 wxConfigBase
* _arg0
;
1662 PyObject
* _argo0
= 0;
1663 PyObject
* _obj1
= 0;
1664 PyObject
* _obj2
= 0;
1665 char *_kwnames
[] = { "self","oldName","newName", NULL
};
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_RenameGroup",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_RenameGroup. Expected _wxConfigBase_p.");
1678 _arg1
= wxString_in_helper(_obj1
);
1683 _arg2
= wxString_in_helper(_obj2
);
1688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1689 _result
= (bool )wxConfigBase_RenameGroup(_arg0
,*_arg1
,*_arg2
);
1691 wxPyEndAllowThreads(__tstate
);
1692 if (PyErr_Occurred()) return NULL
;
1693 } _resultobj
= Py_BuildValue("i",_result
);
1705 #define wxConfigBase_ExpandEnvVars(_swigobj,_swigarg0) (_swigobj->ExpandEnvVars(_swigarg0))
1706 static PyObject
*_wrap_wxConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
* _resultobj
;
1709 wxConfigBase
* _arg0
;
1711 PyObject
* _argo0
= 0;
1712 PyObject
* _obj1
= 0;
1713 char *_kwnames
[] = { "self","str", NULL
};
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_ExpandEnvVars",_kwnames
,&_argo0
,&_obj1
))
1719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ExpandEnvVars. Expected _wxConfigBase_p.");
1726 _arg1
= wxString_in_helper(_obj1
);
1731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1732 _result
= new wxString (wxConfigBase_ExpandEnvVars(_arg0
,*_arg1
));
1734 wxPyEndAllowThreads(__tstate
);
1735 if (PyErr_Occurred()) return NULL
;
1738 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1740 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1753 static void *SwigwxConfigTowxConfigBase(void *ptr
) {
1756 src
= (wxConfig
*) ptr
;
1757 dest
= (wxConfigBase
*) src
;
1758 return (void *) dest
;
1761 #define new_wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1762 static PyObject
*_wrap_new_wxConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1763 PyObject
* _resultobj
;
1765 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
1766 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
1767 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1768 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
1769 long _arg4
= (long ) 0;
1770 PyObject
* _obj0
= 0;
1771 PyObject
* _obj1
= 0;
1772 PyObject
* _obj2
= 0;
1773 PyObject
* _obj3
= 0;
1774 char *_kwnames
[] = { "appName","vendorName","localFilename","globalFilename","style", NULL
};
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOl:new_wxConfig",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
))
1782 _arg0
= wxString_in_helper(_obj0
);
1788 _arg1
= wxString_in_helper(_obj1
);
1794 _arg2
= wxString_in_helper(_obj2
);
1800 _arg3
= wxString_in_helper(_obj3
);
1805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1806 _result
= (wxConfig
*)new_wxConfig(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
1808 wxPyEndAllowThreads(__tstate
);
1809 if (PyErr_Occurred()) return NULL
;
1811 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfig_p");
1812 _resultobj
= Py_BuildValue("s",_ptemp
);
1815 _resultobj
= Py_None
;
1836 #define delete_wxConfig(_swigobj) (delete _swigobj)
1837 static PyObject
*_wrap_delete_wxConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
* _resultobj
;
1840 PyObject
* _argo0
= 0;
1841 char *_kwnames
[] = { "self", NULL
};
1844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxConfig",_kwnames
,&_argo0
))
1847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfig_p")) {
1849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxConfig. Expected _wxConfig_p.");
1854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1855 delete_wxConfig(_arg0
);
1857 wxPyEndAllowThreads(__tstate
);
1858 if (PyErr_Occurred()) return NULL
;
1859 } Py_INCREF(Py_None
);
1860 _resultobj
= Py_None
;
1864 static void *SwigwxFileConfigTowxConfigBase(void *ptr
) {
1867 src
= (wxFileConfig
*) ptr
;
1868 dest
= (wxConfigBase
*) src
;
1869 return (void *) dest
;
1872 #define new_wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1873 static PyObject
*_wrap_new_wxFileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
* _resultobj
;
1875 wxFileConfig
* _result
;
1876 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
1877 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
1878 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1879 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
1880 long _arg4
= (long ) 0;
1881 PyObject
* _obj0
= 0;
1882 PyObject
* _obj1
= 0;
1883 PyObject
* _obj2
= 0;
1884 PyObject
* _obj3
= 0;
1885 char *_kwnames
[] = { "appName","vendorName","localFilename","globalFilename","style", NULL
};
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOl:new_wxFileConfig",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
))
1893 _arg0
= wxString_in_helper(_obj0
);
1899 _arg1
= wxString_in_helper(_obj1
);
1905 _arg2
= wxString_in_helper(_obj2
);
1911 _arg3
= wxString_in_helper(_obj3
);
1916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1917 _result
= (wxFileConfig
*)new_wxFileConfig(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
1919 wxPyEndAllowThreads(__tstate
);
1920 if (PyErr_Occurred()) return NULL
;
1922 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileConfig_p");
1923 _resultobj
= Py_BuildValue("s",_ptemp
);
1926 _resultobj
= Py_None
;
1947 #define delete_wxFileConfig(_swigobj) (delete _swigobj)
1948 static PyObject
*_wrap_delete_wxFileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1949 PyObject
* _resultobj
;
1950 wxFileConfig
* _arg0
;
1951 PyObject
* _argo0
= 0;
1952 char *_kwnames
[] = { "self", NULL
};
1955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileConfig",_kwnames
,&_argo0
))
1958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileConfig_p")) {
1960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileConfig. Expected _wxFileConfig_p.");
1965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1966 delete_wxFileConfig(_arg0
);
1968 wxPyEndAllowThreads(__tstate
);
1969 if (PyErr_Occurred()) return NULL
;
1970 } Py_INCREF(Py_None
);
1971 _resultobj
= Py_None
;
1975 static PyObject
*_wrap_wxDateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1976 PyObject
* _resultobj
;
1977 wxDateTime::Country _arg0
;
1978 char *_kwnames
[] = { "country", NULL
};
1981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateTime_SetCountry",_kwnames
,&_arg0
))
1984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1985 wxDateTime::SetCountry(_arg0
);
1987 wxPyEndAllowThreads(__tstate
);
1988 if (PyErr_Occurred()) return NULL
;
1989 } Py_INCREF(Py_None
);
1990 _resultobj
= Py_None
;
1994 static PyObject
*_wrap_wxDateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
* _resultobj
;
1996 wxDateTime::Country _result
;
1997 char *_kwnames
[] = { NULL
};
2000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_GetCountry",_kwnames
))
2003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2004 _result
= (wxDateTime::Country
)wxDateTime::GetCountry();
2006 wxPyEndAllowThreads(__tstate
);
2007 if (PyErr_Occurred()) return NULL
;
2008 } _resultobj
= Py_BuildValue("i",_result
);
2012 static PyObject
*_wrap_wxDateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
* _resultobj
;
2015 wxDateTime::Country _arg0
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2016 char *_kwnames
[] = { "country", NULL
};
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_IsWestEuropeanCountry",_kwnames
,&_arg0
))
2022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2023 _result
= (bool )wxDateTime::IsWestEuropeanCountry(_arg0
);
2025 wxPyEndAllowThreads(__tstate
);
2026 if (PyErr_Occurred()) return NULL
;
2027 } _resultobj
= Py_BuildValue("i",_result
);
2031 static PyObject
*_wrap_wxDateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
* _resultobj
;
2034 wxDateTime::Calendar _arg0
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2035 char *_kwnames
[] = { "cal", NULL
};
2038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCurrentYear",_kwnames
,&_arg0
))
2041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2042 _result
= (int )wxDateTime::GetCurrentYear(_arg0
);
2044 wxPyEndAllowThreads(__tstate
);
2045 if (PyErr_Occurred()) return NULL
;
2046 } _resultobj
= Py_BuildValue("i",_result
);
2050 static PyObject
*_wrap_wxDateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2051 PyObject
* _resultobj
;
2054 char *_kwnames
[] = { "year", NULL
};
2057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateTime_ConvertYearToBC",_kwnames
,&_arg0
))
2060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2061 _result
= (int )wxDateTime::ConvertYearToBC(_arg0
);
2063 wxPyEndAllowThreads(__tstate
);
2064 if (PyErr_Occurred()) return NULL
;
2065 } _resultobj
= Py_BuildValue("i",_result
);
2069 static PyObject
*_wrap_wxDateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
* _resultobj
;
2071 wxDateTime::Month _result
;
2072 wxDateTime::Calendar _arg0
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2073 char *_kwnames
[] = { "cal", NULL
};
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCurrentMonth",_kwnames
,&_arg0
))
2079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2080 _result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(_arg0
);
2082 wxPyEndAllowThreads(__tstate
);
2083 if (PyErr_Occurred()) return NULL
;
2084 } _resultobj
= Py_BuildValue("i",_result
);
2088 static PyObject
*_wrap_wxDateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2089 PyObject
* _resultobj
;
2091 int _arg0
= (int ) wxDateTime::Inv_Year
;
2092 wxDateTime::Calendar _arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2093 char *_kwnames
[] = { "year","cal", NULL
};
2096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_IsLeapYear",_kwnames
,&_arg0
,&_arg1
))
2099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2100 _result
= (bool )wxDateTime::IsLeapYear(_arg0
,_arg1
);
2102 wxPyEndAllowThreads(__tstate
);
2103 if (PyErr_Occurred()) return NULL
;
2104 } _resultobj
= Py_BuildValue("i",_result
);
2108 static PyObject
*_wrap_wxDateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2109 PyObject
* _resultobj
;
2111 int _arg0
= (int ) wxDateTime::Inv_Year
;
2112 char *_kwnames
[] = { "year", NULL
};
2115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCentury",_kwnames
,&_arg0
))
2118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2119 _result
= (int )wxDateTime::GetCentury(_arg0
);
2121 wxPyEndAllowThreads(__tstate
);
2122 if (PyErr_Occurred()) return NULL
;
2123 } _resultobj
= Py_BuildValue("i",_result
);
2127 static PyObject
*_wrap_wxDateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2128 PyObject
* _resultobj
;
2129 wxDateTime::wxDateTime_t _result
;
2131 wxDateTime::Calendar _arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2132 char *_kwnames
[] = { "year","cal", NULL
};
2135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetNumberOfDaysinYear",_kwnames
,&_arg0
,&_arg1
))
2138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2139 _result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(_arg0
,_arg1
);
2141 wxPyEndAllowThreads(__tstate
);
2142 if (PyErr_Occurred()) return NULL
;
2143 } _resultobj
= Py_BuildValue("h",_result
);
2147 static PyObject
*_wrap_wxDateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
* _resultobj
;
2149 wxDateTime::wxDateTime_t _result
;
2150 wxDateTime::Month _arg0
;
2151 int _arg1
= (int ) wxDateTime::Inv_Year
;
2152 wxDateTime::Calendar _arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2153 char *_kwnames
[] = { "month","year","cal", NULL
};
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|ii:wxDateTime_GetNumberOfDaysInMonth",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2160 _result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(_arg0
,_arg1
,_arg2
);
2162 wxPyEndAllowThreads(__tstate
);
2163 if (PyErr_Occurred()) return NULL
;
2164 } _resultobj
= Py_BuildValue("h",_result
);
2168 static PyObject
*_wrap_wxDateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
* _resultobj
;
2171 wxDateTime::Month _arg0
;
2172 wxDateTime::NameFlags _arg1
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
2173 char *_kwnames
[] = { "month","flags", NULL
};
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetMonthName",_kwnames
,&_arg0
,&_arg1
))
2179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2180 _result
= new wxString (wxDateTime::GetMonthName(_arg0
,_arg1
));
2182 wxPyEndAllowThreads(__tstate
);
2183 if (PyErr_Occurred()) return NULL
;
2186 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2188 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2197 static PyObject
*_wrap_wxDateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
* _resultobj
;
2200 wxDateTime::WeekDay _arg0
;
2201 wxDateTime::NameFlags _arg1
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
2202 char *_kwnames
[] = { "weekday","flags", NULL
};
2205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetWeekDayName",_kwnames
,&_arg0
,&_arg1
))
2208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2209 _result
= new wxString (wxDateTime::GetWeekDayName(_arg0
,_arg1
));
2211 wxPyEndAllowThreads(__tstate
);
2212 if (PyErr_Occurred()) return NULL
;
2215 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2217 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2226 static PyObject
*_wrap_wxDateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
* _resultobj
;
2230 PyObject
* _obj0
= 0;
2231 PyObject
* _obj1
= 0;
2232 char *_kwnames
[] = { "OUTPUT","OUTPUT", NULL
};
2235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_GetAmPmStrings",_kwnames
,&_obj0
,&_obj1
))
2238 _arg0
= wxString_in_helper(_obj0
);
2243 _arg1
= wxString_in_helper(_obj1
);
2248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2249 wxDateTime::GetAmPmStrings(_arg0
,_arg1
);
2251 wxPyEndAllowThreads(__tstate
);
2252 if (PyErr_Occurred()) return NULL
;
2253 } Py_INCREF(Py_None
);
2254 _resultobj
= Py_None
;
2266 static PyObject
*_wrap_wxDateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
* _resultobj
;
2269 int _arg0
= (int ) wxDateTime::Inv_Year
;
2270 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2271 char *_kwnames
[] = { "year","country", NULL
};
2274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_IsDSTApplicable",_kwnames
,&_arg0
,&_arg1
))
2277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2278 _result
= (bool )wxDateTime::IsDSTApplicable(_arg0
,_arg1
);
2280 wxPyEndAllowThreads(__tstate
);
2281 if (PyErr_Occurred()) return NULL
;
2282 } _resultobj
= Py_BuildValue("i",_result
);
2286 static PyObject
*_wrap_wxDateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2287 PyObject
* _resultobj
;
2288 wxDateTime
* _result
;
2289 int _arg0
= (int ) wxDateTime::Inv_Year
;
2290 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2291 char *_kwnames
[] = { "year","country", NULL
};
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_GetBeginDST",_kwnames
,&_arg0
,&_arg1
))
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2299 _result
= new wxDateTime (wxDateTime::GetBeginDST(_arg0
,_arg1
));
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) return NULL
;
2303 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2304 _resultobj
= Py_BuildValue("s",_ptemp
);
2308 static PyObject
*_wrap_wxDateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
* _resultobj
;
2310 wxDateTime
* _result
;
2311 int _arg0
= (int ) wxDateTime::Inv_Year
;
2312 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2313 char *_kwnames
[] = { "year","country", NULL
};
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_GetEndDST",_kwnames
,&_arg0
,&_arg1
))
2320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2321 _result
= new wxDateTime (wxDateTime::GetEndDST(_arg0
,_arg1
));
2323 wxPyEndAllowThreads(__tstate
);
2324 if (PyErr_Occurred()) return NULL
;
2325 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2326 _resultobj
= Py_BuildValue("s",_ptemp
);
2330 static PyObject
*_wrap_wxDateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2331 PyObject
* _resultobj
;
2332 wxDateTime
* _result
;
2333 char *_kwnames
[] = { NULL
};
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_Now",_kwnames
))
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 _result
= new wxDateTime (wxDateTime::Now());
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) return NULL
;
2345 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2346 _resultobj
= Py_BuildValue("s",_ptemp
);
2350 static PyObject
*_wrap_wxDateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
* _resultobj
;
2352 wxDateTime
* _result
;
2353 char *_kwnames
[] = { NULL
};
2357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_Today",_kwnames
))
2360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2361 _result
= new wxDateTime (wxDateTime::Today());
2363 wxPyEndAllowThreads(__tstate
);
2364 if (PyErr_Occurred()) return NULL
;
2365 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2366 _resultobj
= Py_BuildValue("s",_ptemp
);
2370 #define new_wxDateTime() (new wxDateTime())
2371 static PyObject
*_wrap_new_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
* _resultobj
;
2373 wxDateTime
* _result
;
2374 char *_kwnames
[] = { NULL
};
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDateTime",_kwnames
))
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 _result
= (wxDateTime
*)new_wxDateTime();
2384 wxPyEndAllowThreads(__tstate
);
2385 if (PyErr_Occurred()) return NULL
;
2387 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2388 _resultobj
= Py_BuildValue("s",_ptemp
);
2391 _resultobj
= Py_None
;
2396 #define new_wxDateTimeFromTimeT(_swigarg0) (new wxDateTime(_swigarg0))
2397 static PyObject
*_wrap_new_wxDateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
* _resultobj
;
2399 wxDateTime
* _result
;
2401 char *_kwnames
[] = { "timet", NULL
};
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxDateTimeFromTimeT",_kwnames
,&_arg0
))
2408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2409 _result
= (wxDateTime
*)new_wxDateTimeFromTimeT(_arg0
);
2411 wxPyEndAllowThreads(__tstate
);
2412 if (PyErr_Occurred()) return NULL
;
2414 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2415 _resultobj
= Py_BuildValue("s",_ptemp
);
2418 _resultobj
= Py_None
;
2423 #define new_wxDateTimeFromJDN(_swigarg0) (new wxDateTime(_swigarg0))
2424 static PyObject
*_wrap_new_wxDateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
* _resultobj
;
2426 wxDateTime
* _result
;
2428 char *_kwnames
[] = { "jdn", NULL
};
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"d:new_wxDateTimeFromJDN",_kwnames
,&_arg0
))
2435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2436 _result
= (wxDateTime
*)new_wxDateTimeFromJDN(_arg0
);
2438 wxPyEndAllowThreads(__tstate
);
2439 if (PyErr_Occurred()) return NULL
;
2441 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2442 _resultobj
= Py_BuildValue("s",_ptemp
);
2445 _resultobj
= Py_None
;
2450 #define new_wxDateTimeFromHMS(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2451 static PyObject
*_wrap_new_wxDateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2452 PyObject
* _resultobj
;
2453 wxDateTime
* _result
;
2454 wxDateTime::wxDateTime_t _arg0
;
2455 wxDateTime::wxDateTime_t _arg1
= (wxDateTime::wxDateTime_t
) 0;
2456 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
2457 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2458 char *_kwnames
[] = { "hour","minute","second","millisec", NULL
};
2462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|hhh:new_wxDateTimeFromHMS",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2466 _result
= (wxDateTime
*)new_wxDateTimeFromHMS(_arg0
,_arg1
,_arg2
,_arg3
);
2468 wxPyEndAllowThreads(__tstate
);
2469 if (PyErr_Occurred()) return NULL
;
2471 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2472 _resultobj
= Py_BuildValue("s",_ptemp
);
2475 _resultobj
= Py_None
;
2480 #define new_wxDateTimeFromDMY(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2481 static PyObject
*_wrap_new_wxDateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2482 PyObject
* _resultobj
;
2483 wxDateTime
* _result
;
2484 wxDateTime::wxDateTime_t _arg0
;
2485 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
2486 int _arg2
= (int ) wxDateTime::Inv_Year
;
2487 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2488 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2489 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
2490 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
2491 char *_kwnames
[] = { "day","month","year","hour","minute","second","millisec", NULL
};
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|iihhhh:new_wxDateTimeFromDMY",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2499 _result
= (wxDateTime
*)new_wxDateTimeFromDMY(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2501 wxPyEndAllowThreads(__tstate
);
2502 if (PyErr_Occurred()) return NULL
;
2504 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2505 _resultobj
= Py_BuildValue("s",_ptemp
);
2508 _resultobj
= Py_None
;
2513 #define delete_wxDateTime(_swigobj) (delete _swigobj)
2514 static PyObject
*_wrap_delete_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
* _resultobj
;
2517 PyObject
* _argo0
= 0;
2518 char *_kwnames
[] = { "self", NULL
};
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateTime",_kwnames
,&_argo0
))
2524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateTime. Expected _wxDateTime_p.");
2531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2532 delete_wxDateTime(_arg0
);
2534 wxPyEndAllowThreads(__tstate
);
2535 if (PyErr_Occurred()) return NULL
;
2536 } Py_INCREF(Py_None
);
2537 _resultobj
= Py_None
;
2541 #define wxDateTime_SetToCurrent(_swigobj) (_swigobj->SetToCurrent())
2542 static PyObject
*_wrap_wxDateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2543 PyObject
* _resultobj
;
2544 wxDateTime
* _result
;
2546 PyObject
* _argo0
= 0;
2547 char *_kwnames
[] = { "self", NULL
};
2551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_SetToCurrent",_kwnames
,&_argo0
))
2554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToCurrent. Expected _wxDateTime_p.");
2561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2562 wxDateTime
& _result_ref
= wxDateTime_SetToCurrent(_arg0
);
2563 _result
= (wxDateTime
*) &_result_ref
;
2565 wxPyEndAllowThreads(__tstate
);
2566 if (PyErr_Occurred()) return NULL
;
2568 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2569 _resultobj
= Py_BuildValue("s",_ptemp
);
2572 _resultobj
= Py_None
;
2577 #define wxDateTime_SetTimeT(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2578 static PyObject
*_wrap_wxDateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
* _resultobj
;
2580 wxDateTime
* _result
;
2583 PyObject
* _argo0
= 0;
2584 char *_kwnames
[] = { "self","timet", NULL
};
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetTimeT",_kwnames
,&_argo0
,&_arg1
))
2591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetTimeT. Expected _wxDateTime_p.");
2598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2599 wxDateTime
& _result_ref
= wxDateTime_SetTimeT(_arg0
,_arg1
);
2600 _result
= (wxDateTime
*) &_result_ref
;
2602 wxPyEndAllowThreads(__tstate
);
2603 if (PyErr_Occurred()) return NULL
;
2605 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2606 _resultobj
= Py_BuildValue("s",_ptemp
);
2609 _resultobj
= Py_None
;
2614 #define wxDateTime_SetJDN(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2615 static PyObject
*_wrap_wxDateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
* _resultobj
;
2617 wxDateTime
* _result
;
2620 PyObject
* _argo0
= 0;
2621 char *_kwnames
[] = { "self","jdn", NULL
};
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxDateTime_SetJDN",_kwnames
,&_argo0
,&_arg1
))
2628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetJDN. Expected _wxDateTime_p.");
2635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2636 wxDateTime
& _result_ref
= wxDateTime_SetJDN(_arg0
,_arg1
);
2637 _result
= (wxDateTime
*) &_result_ref
;
2639 wxPyEndAllowThreads(__tstate
);
2640 if (PyErr_Occurred()) return NULL
;
2642 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2643 _resultobj
= Py_BuildValue("s",_ptemp
);
2646 _resultobj
= Py_None
;
2651 #define wxDateTime_SetHMS(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2652 static PyObject
*_wrap_wxDateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2653 PyObject
* _resultobj
;
2654 wxDateTime
* _result
;
2656 wxDateTime::wxDateTime_t _arg1
;
2657 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
2658 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2659 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2660 PyObject
* _argo0
= 0;
2661 char *_kwnames
[] = { "self","hour","minute","second","millisec", NULL
};
2665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|hhh:wxDateTime_SetHMS",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHMS. Expected _wxDateTime_p.");
2675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2676 wxDateTime
& _result_ref
= wxDateTime_SetHMS(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2677 _result
= (wxDateTime
*) &_result_ref
;
2679 wxPyEndAllowThreads(__tstate
);
2680 if (PyErr_Occurred()) return NULL
;
2682 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2683 _resultobj
= Py_BuildValue("s",_ptemp
);
2686 _resultobj
= Py_None
;
2691 #define wxDateTime_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2692 static PyObject
*_wrap_wxDateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
* _resultobj
;
2694 wxDateTime
* _result
;
2696 wxDateTime::wxDateTime_t _arg1
;
2697 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
2698 int _arg3
= (int ) wxDateTime::Inv_Year
;
2699 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2700 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
2701 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
2702 wxDateTime::wxDateTime_t _arg7
= (wxDateTime::wxDateTime_t
) 0;
2703 PyObject
* _argo0
= 0;
2704 char *_kwnames
[] = { "self","day","month","year","hour","minute","second","millisec", NULL
};
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|iihhhh:wxDateTime_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
2711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Set. Expected _wxDateTime_p.");
2718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2719 wxDateTime
& _result_ref
= wxDateTime_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
2720 _result
= (wxDateTime
*) &_result_ref
;
2722 wxPyEndAllowThreads(__tstate
);
2723 if (PyErr_Occurred()) return NULL
;
2725 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2726 _resultobj
= Py_BuildValue("s",_ptemp
);
2729 _resultobj
= Py_None
;
2734 #define wxDateTime_ResetTime(_swigobj) (_swigobj->ResetTime())
2735 static PyObject
*_wrap_wxDateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
* _resultobj
;
2737 wxDateTime
* _result
;
2739 PyObject
* _argo0
= 0;
2740 char *_kwnames
[] = { "self", NULL
};
2744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_ResetTime",_kwnames
,&_argo0
))
2747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ResetTime. Expected _wxDateTime_p.");
2754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2755 wxDateTime
& _result_ref
= wxDateTime_ResetTime(_arg0
);
2756 _result
= (wxDateTime
*) &_result_ref
;
2758 wxPyEndAllowThreads(__tstate
);
2759 if (PyErr_Occurred()) return NULL
;
2761 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2762 _resultobj
= Py_BuildValue("s",_ptemp
);
2765 _resultobj
= Py_None
;
2770 #define wxDateTime_SetYear(_swigobj,_swigarg0) (_swigobj->SetYear(_swigarg0))
2771 static PyObject
*_wrap_wxDateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
* _resultobj
;
2773 wxDateTime
* _result
;
2776 PyObject
* _argo0
= 0;
2777 char *_kwnames
[] = { "self","year", NULL
};
2781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetYear",_kwnames
,&_argo0
,&_arg1
))
2784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetYear. Expected _wxDateTime_p.");
2791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2792 wxDateTime
& _result_ref
= wxDateTime_SetYear(_arg0
,_arg1
);
2793 _result
= (wxDateTime
*) &_result_ref
;
2795 wxPyEndAllowThreads(__tstate
);
2796 if (PyErr_Occurred()) return NULL
;
2798 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2799 _resultobj
= Py_BuildValue("s",_ptemp
);
2802 _resultobj
= Py_None
;
2807 #define wxDateTime_SetMonth(_swigobj,_swigarg0) (_swigobj->SetMonth(_swigarg0))
2808 static PyObject
*_wrap_wxDateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
* _resultobj
;
2810 wxDateTime
* _result
;
2812 wxDateTime::Month _arg1
;
2813 PyObject
* _argo0
= 0;
2814 char *_kwnames
[] = { "self","month", NULL
};
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetMonth",_kwnames
,&_argo0
,&_arg1
))
2821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMonth. Expected _wxDateTime_p.");
2828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2829 wxDateTime
& _result_ref
= wxDateTime_SetMonth(_arg0
,_arg1
);
2830 _result
= (wxDateTime
*) &_result_ref
;
2832 wxPyEndAllowThreads(__tstate
);
2833 if (PyErr_Occurred()) return NULL
;
2835 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2836 _resultobj
= Py_BuildValue("s",_ptemp
);
2839 _resultobj
= Py_None
;
2844 #define wxDateTime_SetDay(_swigobj,_swigarg0) (_swigobj->SetDay(_swigarg0))
2845 static PyObject
*_wrap_wxDateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2846 PyObject
* _resultobj
;
2847 wxDateTime
* _result
;
2849 wxDateTime::wxDateTime_t _arg1
;
2850 PyObject
* _argo0
= 0;
2851 char *_kwnames
[] = { "self","day", NULL
};
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetDay",_kwnames
,&_argo0
,&_arg1
))
2858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetDay. Expected _wxDateTime_p.");
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 wxDateTime
& _result_ref
= wxDateTime_SetDay(_arg0
,_arg1
);
2867 _result
= (wxDateTime
*) &_result_ref
;
2869 wxPyEndAllowThreads(__tstate
);
2870 if (PyErr_Occurred()) return NULL
;
2872 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2873 _resultobj
= Py_BuildValue("s",_ptemp
);
2876 _resultobj
= Py_None
;
2881 #define wxDateTime_SetHour(_swigobj,_swigarg0) (_swigobj->SetHour(_swigarg0))
2882 static PyObject
*_wrap_wxDateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
* _resultobj
;
2884 wxDateTime
* _result
;
2886 wxDateTime::wxDateTime_t _arg1
;
2887 PyObject
* _argo0
= 0;
2888 char *_kwnames
[] = { "self","hour", NULL
};
2892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetHour",_kwnames
,&_argo0
,&_arg1
))
2895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHour. Expected _wxDateTime_p.");
2902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2903 wxDateTime
& _result_ref
= wxDateTime_SetHour(_arg0
,_arg1
);
2904 _result
= (wxDateTime
*) &_result_ref
;
2906 wxPyEndAllowThreads(__tstate
);
2907 if (PyErr_Occurred()) return NULL
;
2909 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2910 _resultobj
= Py_BuildValue("s",_ptemp
);
2913 _resultobj
= Py_None
;
2918 #define wxDateTime_SetMinute(_swigobj,_swigarg0) (_swigobj->SetMinute(_swigarg0))
2919 static PyObject
*_wrap_wxDateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
* _resultobj
;
2921 wxDateTime
* _result
;
2923 wxDateTime::wxDateTime_t _arg1
;
2924 PyObject
* _argo0
= 0;
2925 char *_kwnames
[] = { "self","minute", NULL
};
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMinute",_kwnames
,&_argo0
,&_arg1
))
2932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMinute. Expected _wxDateTime_p.");
2939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2940 wxDateTime
& _result_ref
= wxDateTime_SetMinute(_arg0
,_arg1
);
2941 _result
= (wxDateTime
*) &_result_ref
;
2943 wxPyEndAllowThreads(__tstate
);
2944 if (PyErr_Occurred()) return NULL
;
2946 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2947 _resultobj
= Py_BuildValue("s",_ptemp
);
2950 _resultobj
= Py_None
;
2955 #define wxDateTime_SetSecond(_swigobj,_swigarg0) (_swigobj->SetSecond(_swigarg0))
2956 static PyObject
*_wrap_wxDateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2957 PyObject
* _resultobj
;
2958 wxDateTime
* _result
;
2960 wxDateTime::wxDateTime_t _arg1
;
2961 PyObject
* _argo0
= 0;
2962 char *_kwnames
[] = { "self","second", NULL
};
2966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetSecond",_kwnames
,&_argo0
,&_arg1
))
2969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetSecond. Expected _wxDateTime_p.");
2976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2977 wxDateTime
& _result_ref
= wxDateTime_SetSecond(_arg0
,_arg1
);
2978 _result
= (wxDateTime
*) &_result_ref
;
2980 wxPyEndAllowThreads(__tstate
);
2981 if (PyErr_Occurred()) return NULL
;
2983 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2984 _resultobj
= Py_BuildValue("s",_ptemp
);
2987 _resultobj
= Py_None
;
2992 #define wxDateTime_SetMillisecond(_swigobj,_swigarg0) (_swigobj->SetMillisecond(_swigarg0))
2993 static PyObject
*_wrap_wxDateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2994 PyObject
* _resultobj
;
2995 wxDateTime
* _result
;
2997 wxDateTime::wxDateTime_t _arg1
;
2998 PyObject
* _argo0
= 0;
2999 char *_kwnames
[] = { "self","millisecond", NULL
};
3003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMillisecond",_kwnames
,&_argo0
,&_arg1
))
3006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMillisecond. Expected _wxDateTime_p.");
3013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3014 wxDateTime
& _result_ref
= wxDateTime_SetMillisecond(_arg0
,_arg1
);
3015 _result
= (wxDateTime
*) &_result_ref
;
3017 wxPyEndAllowThreads(__tstate
);
3018 if (PyErr_Occurred()) return NULL
;
3020 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3021 _resultobj
= Py_BuildValue("s",_ptemp
);
3024 _resultobj
= Py_None
;
3029 #define wxDateTime_SetToWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->SetToWeekDayInSameWeek(_swigarg0))
3030 static PyObject
*_wrap_wxDateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3031 PyObject
* _resultobj
;
3032 wxDateTime
* _result
;
3034 wxDateTime::WeekDay _arg1
;
3035 PyObject
* _argo0
= 0;
3036 char *_kwnames
[] = { "self","weekday", NULL
};
3040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
))
3043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDayInSameWeek. Expected _wxDateTime_p.");
3050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3051 wxDateTime
& _result_ref
= wxDateTime_SetToWeekDayInSameWeek(_arg0
,_arg1
);
3052 _result
= (wxDateTime
*) &_result_ref
;
3054 wxPyEndAllowThreads(__tstate
);
3055 if (PyErr_Occurred()) return NULL
;
3057 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3058 _resultobj
= Py_BuildValue("s",_ptemp
);
3061 _resultobj
= Py_None
;
3066 #define wxDateTime_GetWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->GetWeekDayInSameWeek(_swigarg0))
3067 static PyObject
*_wrap_wxDateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3068 PyObject
* _resultobj
;
3069 wxDateTime
* _result
;
3071 wxDateTime::WeekDay _arg1
;
3072 PyObject
* _argo0
= 0;
3073 char *_kwnames
[] = { "self","weekday", NULL
};
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
))
3080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDayInSameWeek. Expected _wxDateTime_p.");
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 _result
= new wxDateTime (wxDateTime_GetWeekDayInSameWeek(_arg0
,_arg1
));
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) return NULL
;
3092 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3093 _resultobj
= Py_BuildValue("s",_ptemp
);
3097 #define wxDateTime_SetToNextWeekDay(_swigobj,_swigarg0) (_swigobj->SetToNextWeekDay(_swigarg0))
3098 static PyObject
*_wrap_wxDateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
* _resultobj
;
3100 wxDateTime
* _result
;
3102 wxDateTime::WeekDay _arg1
;
3103 PyObject
* _argo0
= 0;
3104 char *_kwnames
[] = { "self","weekday", NULL
};
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
3111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToNextWeekDay. Expected _wxDateTime_p.");
3118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3119 wxDateTime
& _result_ref
= wxDateTime_SetToNextWeekDay(_arg0
,_arg1
);
3120 _result
= (wxDateTime
*) &_result_ref
;
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) return NULL
;
3125 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3126 _resultobj
= Py_BuildValue("s",_ptemp
);
3129 _resultobj
= Py_None
;
3134 #define wxDateTime_GetNextWeekDay(_swigobj,_swigarg0) (_swigobj->GetNextWeekDay(_swigarg0))
3135 static PyObject
*_wrap_wxDateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
* _resultobj
;
3137 wxDateTime
* _result
;
3139 wxDateTime::WeekDay _arg1
;
3140 PyObject
* _argo0
= 0;
3141 char *_kwnames
[] = { "self","weekday", NULL
};
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
3148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetNextWeekDay. Expected _wxDateTime_p.");
3155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3156 _result
= new wxDateTime (wxDateTime_GetNextWeekDay(_arg0
,_arg1
));
3158 wxPyEndAllowThreads(__tstate
);
3159 if (PyErr_Occurred()) return NULL
;
3160 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3161 _resultobj
= Py_BuildValue("s",_ptemp
);
3165 #define wxDateTime_SetToPrevWeekDay(_swigobj,_swigarg0) (_swigobj->SetToPrevWeekDay(_swigarg0))
3166 static PyObject
*_wrap_wxDateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
* _resultobj
;
3168 wxDateTime
* _result
;
3170 wxDateTime::WeekDay _arg1
;
3171 PyObject
* _argo0
= 0;
3172 char *_kwnames
[] = { "self","weekday", NULL
};
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToPrevWeekDay. Expected _wxDateTime_p.");
3186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3187 wxDateTime
& _result_ref
= wxDateTime_SetToPrevWeekDay(_arg0
,_arg1
);
3188 _result
= (wxDateTime
*) &_result_ref
;
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) return NULL
;
3193 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3194 _resultobj
= Py_BuildValue("s",_ptemp
);
3197 _resultobj
= Py_None
;
3202 #define wxDateTime_GetPrevWeekDay(_swigobj,_swigarg0) (_swigobj->GetPrevWeekDay(_swigarg0))
3203 static PyObject
*_wrap_wxDateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
* _resultobj
;
3205 wxDateTime
* _result
;
3207 wxDateTime::WeekDay _arg1
;
3208 PyObject
* _argo0
= 0;
3209 char *_kwnames
[] = { "self","weekday", NULL
};
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetPrevWeekDay. Expected _wxDateTime_p.");
3223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3224 _result
= new wxDateTime (wxDateTime_GetPrevWeekDay(_arg0
,_arg1
));
3226 wxPyEndAllowThreads(__tstate
);
3227 if (PyErr_Occurred()) return NULL
;
3228 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3229 _resultobj
= Py_BuildValue("s",_ptemp
);
3233 #define wxDateTime_SetToWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetToWeekDay(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3234 static PyObject
*_wrap_wxDateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
* _resultobj
;
3238 wxDateTime::WeekDay _arg1
;
3239 int _arg2
= (int ) 1;
3240 wxDateTime::Month _arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3241 int _arg4
= (int ) wxDateTime::Inv_Year
;
3242 PyObject
* _argo0
= 0;
3243 char *_kwnames
[] = { "self","weekday","n","month","year", NULL
};
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iii:wxDateTime_SetToWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDay. Expected _wxDateTime_p.");
3256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3257 _result
= (bool )wxDateTime_SetToWeekDay(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3259 wxPyEndAllowThreads(__tstate
);
3260 if (PyErr_Occurred()) return NULL
;
3261 } _resultobj
= Py_BuildValue("i",_result
);
3265 #define wxDateTime_SetToLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetToLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3266 static PyObject
*_wrap_wxDateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
* _resultobj
;
3270 wxDateTime::WeekDay _arg1
;
3271 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3272 int _arg3
= (int ) wxDateTime::Inv_Year
;
3273 PyObject
* _argo0
= 0;
3274 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_SetToLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastWeekDay. Expected _wxDateTime_p.");
3287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3288 _result
= (bool )wxDateTime_SetToLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
);
3290 wxPyEndAllowThreads(__tstate
);
3291 if (PyErr_Occurred()) return NULL
;
3292 } _resultobj
= Py_BuildValue("i",_result
);
3296 #define wxDateTime_GetLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3297 static PyObject
*_wrap_wxDateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3298 PyObject
* _resultobj
;
3299 wxDateTime
* _result
;
3301 wxDateTime::WeekDay _arg1
;
3302 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3303 int _arg3
= (int ) wxDateTime::Inv_Year
;
3304 PyObject
* _argo0
= 0;
3305 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_GetLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastWeekDay. Expected _wxDateTime_p.");
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 _result
= new wxDateTime (wxDateTime_GetLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
));
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) return NULL
;
3324 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3325 _resultobj
= Py_BuildValue("s",_ptemp
);
3329 #define wxDateTime_SetToTheWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToTheWeek(_swigarg0,_swigarg1))
3330 static PyObject
*_wrap_wxDateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3331 PyObject
* _resultobj
;
3334 wxDateTime::wxDateTime_t _arg1
;
3335 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3336 PyObject
* _argo0
= 0;
3337 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_SetToTheWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToTheWeek. Expected _wxDateTime_p.");
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 _result
= (bool )wxDateTime_SetToTheWeek(_arg0
,_arg1
,_arg2
);
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) return NULL
;
3355 } _resultobj
= Py_BuildValue("i",_result
);
3359 #define wxDateTime_GetWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeek(_swigarg0,_swigarg1))
3360 static PyObject
*_wrap_wxDateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
* _resultobj
;
3362 wxDateTime
* _result
;
3364 wxDateTime::wxDateTime_t _arg1
;
3365 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3366 PyObject
* _argo0
= 0;
3367 char *_kwnames
[] = { "self","numWeek","weekday", NULL
};
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|i:wxDateTime_GetWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeek. Expected _wxDateTime_p.");
3381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3382 _result
= new wxDateTime (wxDateTime_GetWeek(_arg0
,_arg1
,_arg2
));
3384 wxPyEndAllowThreads(__tstate
);
3385 if (PyErr_Occurred()) return NULL
;
3386 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3387 _resultobj
= Py_BuildValue("s",_ptemp
);
3391 #define wxDateTime_SetToLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToLastMonthDay(_swigarg0,_swigarg1))
3392 static PyObject
*_wrap_wxDateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3393 PyObject
* _resultobj
;
3394 wxDateTime
* _result
;
3396 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3397 int _arg2
= (int ) wxDateTime::Inv_Year
;
3398 PyObject
* _argo0
= 0;
3399 char *_kwnames
[] = { "self","month","year", NULL
};
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_SetToLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastMonthDay. Expected _wxDateTime_p.");
3413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3414 wxDateTime
& _result_ref
= wxDateTime_SetToLastMonthDay(_arg0
,_arg1
,_arg2
);
3415 _result
= (wxDateTime
*) &_result_ref
;
3417 wxPyEndAllowThreads(__tstate
);
3418 if (PyErr_Occurred()) return NULL
;
3420 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3421 _resultobj
= Py_BuildValue("s",_ptemp
);
3424 _resultobj
= Py_None
;
3429 #define wxDateTime_GetLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastMonthDay(_swigarg0,_swigarg1))
3430 static PyObject
*_wrap_wxDateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3431 PyObject
* _resultobj
;
3432 wxDateTime
* _result
;
3434 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3435 int _arg2
= (int ) wxDateTime::Inv_Year
;
3436 PyObject
* _argo0
= 0;
3437 char *_kwnames
[] = { "self","month","year", NULL
};
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_GetLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastMonthDay. Expected _wxDateTime_p.");
3451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3452 _result
= new wxDateTime (wxDateTime_GetLastMonthDay(_arg0
,_arg1
,_arg2
));
3454 wxPyEndAllowThreads(__tstate
);
3455 if (PyErr_Occurred()) return NULL
;
3456 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3457 _resultobj
= Py_BuildValue("s",_ptemp
);
3461 #define wxDateTime_SetToYearDay(_swigobj,_swigarg0) (_swigobj->SetToYearDay(_swigarg0))
3462 static PyObject
*_wrap_wxDateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3463 PyObject
* _resultobj
;
3464 wxDateTime
* _result
;
3466 wxDateTime::wxDateTime_t _arg1
;
3467 PyObject
* _argo0
= 0;
3468 char *_kwnames
[] = { "self","yday", NULL
};
3472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetToYearDay",_kwnames
,&_argo0
,&_arg1
))
3475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToYearDay. Expected _wxDateTime_p.");
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3483 wxDateTime
& _result_ref
= wxDateTime_SetToYearDay(_arg0
,_arg1
);
3484 _result
= (wxDateTime
*) &_result_ref
;
3486 wxPyEndAllowThreads(__tstate
);
3487 if (PyErr_Occurred()) return NULL
;
3489 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3490 _resultobj
= Py_BuildValue("s",_ptemp
);
3493 _resultobj
= Py_None
;
3498 #define wxDateTime_GetYearDay(_swigobj,_swigarg0) (_swigobj->GetYearDay(_swigarg0))
3499 static PyObject
*_wrap_wxDateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
* _resultobj
;
3501 wxDateTime
* _result
;
3503 wxDateTime::wxDateTime_t _arg1
;
3504 PyObject
* _argo0
= 0;
3505 char *_kwnames
[] = { "self","yday", NULL
};
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_GetYearDay",_kwnames
,&_argo0
,&_arg1
))
3512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYearDay. Expected _wxDateTime_p.");
3519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3520 _result
= new wxDateTime (wxDateTime_GetYearDay(_arg0
,_arg1
));
3522 wxPyEndAllowThreads(__tstate
);
3523 if (PyErr_Occurred()) return NULL
;
3524 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3525 _resultobj
= Py_BuildValue("s",_ptemp
);
3529 #define wxDateTime_GetJulianDayNumber(_swigobj) (_swigobj->GetJulianDayNumber())
3530 static PyObject
*_wrap_wxDateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3531 PyObject
* _resultobj
;
3534 PyObject
* _argo0
= 0;
3535 char *_kwnames
[] = { "self", NULL
};
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJulianDayNumber",_kwnames
,&_argo0
))
3541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJulianDayNumber. Expected _wxDateTime_p.");
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 _result
= (double )wxDateTime_GetJulianDayNumber(_arg0
);
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) return NULL
;
3553 } _resultobj
= Py_BuildValue("d",_result
);
3557 #define wxDateTime_GetJDN(_swigobj) (_swigobj->GetJDN())
3558 static PyObject
*_wrap_wxDateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
* _resultobj
;
3562 PyObject
* _argo0
= 0;
3563 char *_kwnames
[] = { "self", NULL
};
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJDN",_kwnames
,&_argo0
))
3569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJDN. Expected _wxDateTime_p.");
3576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3577 _result
= (double )wxDateTime_GetJDN(_arg0
);
3579 wxPyEndAllowThreads(__tstate
);
3580 if (PyErr_Occurred()) return NULL
;
3581 } _resultobj
= Py_BuildValue("d",_result
);
3585 #define wxDateTime_GetModifiedJulianDayNumber(_swigobj) (_swigobj->GetModifiedJulianDayNumber())
3586 static PyObject
*_wrap_wxDateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
* _resultobj
;
3590 PyObject
* _argo0
= 0;
3591 char *_kwnames
[] = { "self", NULL
};
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetModifiedJulianDayNumber",_kwnames
,&_argo0
))
3597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetModifiedJulianDayNumber. Expected _wxDateTime_p.");
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 _result
= (double )wxDateTime_GetModifiedJulianDayNumber(_arg0
);
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) return NULL
;
3609 } _resultobj
= Py_BuildValue("d",_result
);
3613 #define wxDateTime_GetMJD(_swigobj) (_swigobj->GetMJD())
3614 static PyObject
*_wrap_wxDateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
* _resultobj
;
3618 PyObject
* _argo0
= 0;
3619 char *_kwnames
[] = { "self", NULL
};
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetMJD",_kwnames
,&_argo0
))
3625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMJD. Expected _wxDateTime_p.");
3632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3633 _result
= (double )wxDateTime_GetMJD(_arg0
);
3635 wxPyEndAllowThreads(__tstate
);
3636 if (PyErr_Occurred()) return NULL
;
3637 } _resultobj
= Py_BuildValue("d",_result
);
3641 #define wxDateTime_GetRataDie(_swigobj) (_swigobj->GetRataDie())
3642 static PyObject
*_wrap_wxDateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
* _resultobj
;
3646 PyObject
* _argo0
= 0;
3647 char *_kwnames
[] = { "self", NULL
};
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetRataDie",_kwnames
,&_argo0
))
3653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetRataDie. Expected _wxDateTime_p.");
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 _result
= (double )wxDateTime_GetRataDie(_arg0
);
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) return NULL
;
3665 } _resultobj
= Py_BuildValue("d",_result
);
3669 #define wxDateTime_ToTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToTimezone(_swigarg0,_swigarg1))
3670 static PyObject
*_wrap_wxDateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
* _resultobj
;
3672 wxDateTime
* _result
;
3674 wxDateTime::TimeZone
* _arg1
;
3675 bool _arg2
= (bool ) FALSE
;
3676 PyObject
* _argo0
= 0;
3677 PyObject
* _obj1
= 0;
3678 int tempbool2
= (int) FALSE
;
3679 char *_kwnames
[] = { "self","tz","noDST", NULL
};
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_ToTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToTimezone. Expected _wxDateTime_p.");
3693 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3695 _arg2
= (bool ) tempbool2
;
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 _result
= new wxDateTime (wxDateTime_ToTimezone(_arg0
,*_arg1
,_arg2
));
3700 wxPyEndAllowThreads(__tstate
);
3701 if (PyErr_Occurred()) return NULL
;
3702 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3703 _resultobj
= Py_BuildValue("s",_ptemp
);
3705 if (_arg1
) delete _arg1
;
3710 #define wxDateTime_MakeTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeTimezone(_swigarg0,_swigarg1))
3711 static PyObject
*_wrap_wxDateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
* _resultobj
;
3713 wxDateTime
* _result
;
3715 wxDateTime::TimeZone
* _arg1
;
3716 bool _arg2
= (bool ) FALSE
;
3717 PyObject
* _argo0
= 0;
3718 PyObject
* _obj1
= 0;
3719 int tempbool2
= (int) FALSE
;
3720 char *_kwnames
[] = { "self","tz","noDST", NULL
};
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_MakeTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeTimezone. Expected _wxDateTime_p.");
3734 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3736 _arg2
= (bool ) tempbool2
;
3738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3739 wxDateTime
& _result_ref
= wxDateTime_MakeTimezone(_arg0
,*_arg1
,_arg2
);
3740 _result
= (wxDateTime
*) &_result_ref
;
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) return NULL
;
3745 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3746 _resultobj
= Py_BuildValue("s",_ptemp
);
3749 _resultobj
= Py_None
;
3752 if (_arg1
) delete _arg1
;
3757 #define wxDateTime_ToGMT(_swigobj,_swigarg0) (_swigobj->ToGMT(_swigarg0))
3758 static PyObject
*_wrap_wxDateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
* _resultobj
;
3760 wxDateTime
* _result
;
3762 bool _arg1
= (bool ) FALSE
;
3763 PyObject
* _argo0
= 0;
3764 int tempbool1
= (int) FALSE
;
3765 char *_kwnames
[] = { "self","noDST", NULL
};
3769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_ToGMT",_kwnames
,&_argo0
,&tempbool1
))
3772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToGMT. Expected _wxDateTime_p.");
3778 _arg1
= (bool ) tempbool1
;
3780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 _result
= new wxDateTime (wxDateTime_ToGMT(_arg0
,_arg1
));
3783 wxPyEndAllowThreads(__tstate
);
3784 if (PyErr_Occurred()) return NULL
;
3785 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3786 _resultobj
= Py_BuildValue("s",_ptemp
);
3790 #define wxDateTime_MakeGMT(_swigobj,_swigarg0) (_swigobj->MakeGMT(_swigarg0))
3791 static PyObject
*_wrap_wxDateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
* _resultobj
;
3793 wxDateTime
* _result
;
3795 bool _arg1
= (bool ) FALSE
;
3796 PyObject
* _argo0
= 0;
3797 int tempbool1
= (int) FALSE
;
3798 char *_kwnames
[] = { "self","noDST", NULL
};
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_MakeGMT",_kwnames
,&_argo0
,&tempbool1
))
3805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeGMT. Expected _wxDateTime_p.");
3811 _arg1
= (bool ) tempbool1
;
3813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3814 wxDateTime
& _result_ref
= wxDateTime_MakeGMT(_arg0
,_arg1
);
3815 _result
= (wxDateTime
*) &_result_ref
;
3817 wxPyEndAllowThreads(__tstate
);
3818 if (PyErr_Occurred()) return NULL
;
3820 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3821 _resultobj
= Py_BuildValue("s",_ptemp
);
3824 _resultobj
= Py_None
;
3829 #define wxDateTime_IsDST(_swigobj,_swigarg0) (_swigobj->IsDST(_swigarg0))
3830 static PyObject
*_wrap_wxDateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
* _resultobj
;
3834 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
3835 PyObject
* _argo0
= 0;
3836 char *_kwnames
[] = { "self","country", NULL
};
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsDST",_kwnames
,&_argo0
,&_arg1
))
3842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsDST. Expected _wxDateTime_p.");
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 _result
= (int )wxDateTime_IsDST(_arg0
,_arg1
);
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) return NULL
;
3854 } _resultobj
= Py_BuildValue("i",_result
);
3858 #define wxDateTime_IsValid(_swigobj) (_swigobj->IsValid())
3859 static PyObject
*_wrap_wxDateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
* _resultobj
;
3863 PyObject
* _argo0
= 0;
3864 char *_kwnames
[] = { "self", NULL
};
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_IsValid",_kwnames
,&_argo0
))
3870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsValid. Expected _wxDateTime_p.");
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 _result
= (bool )wxDateTime_IsValid(_arg0
);
3880 wxPyEndAllowThreads(__tstate
);
3881 if (PyErr_Occurred()) return NULL
;
3882 } _resultobj
= Py_BuildValue("i",_result
);
3886 #define wxDateTime_GetTicks(_swigobj) (_swigobj->GetTicks())
3887 static PyObject
*_wrap_wxDateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
* _resultobj
;
3891 PyObject
* _argo0
= 0;
3892 char *_kwnames
[] = { "self", NULL
};
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetTicks",_kwnames
,&_argo0
))
3898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetTicks. Expected _wxDateTime_p.");
3905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 _result
= (time_t )wxDateTime_GetTicks(_arg0
);
3908 wxPyEndAllowThreads(__tstate
);
3909 if (PyErr_Occurred()) return NULL
;
3910 } _resultobj
= Py_BuildValue("i",_result
);
3914 #define wxDateTime_GetYear(_swigobj,_swigarg0) (_swigobj->GetYear(_swigarg0))
3915 static PyObject
*_wrap_wxDateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
* _resultobj
;
3919 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3920 PyObject
* _argo0
= 0;
3921 PyObject
* _obj1
= 0;
3922 char *_kwnames
[] = { "self","tz", NULL
};
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetYear",_kwnames
,&_argo0
,&_obj1
))
3928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYear. Expected _wxDateTime_p.");
3936 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3940 _result
= (int )wxDateTime_GetYear(_arg0
,*_arg1
);
3942 wxPyEndAllowThreads(__tstate
);
3943 if (PyErr_Occurred()) return NULL
;
3944 } _resultobj
= Py_BuildValue("i",_result
);
3946 if (_arg1
) delete _arg1
;
3951 #define wxDateTime_GetMonth(_swigobj,_swigarg0) (_swigobj->GetMonth(_swigarg0))
3952 static PyObject
*_wrap_wxDateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
* _resultobj
;
3954 wxDateTime::Month _result
;
3956 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3957 PyObject
* _argo0
= 0;
3958 PyObject
* _obj1
= 0;
3959 char *_kwnames
[] = { "self","tz", NULL
};
3962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMonth",_kwnames
,&_argo0
,&_obj1
))
3965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMonth. Expected _wxDateTime_p.");
3973 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 _result
= (wxDateTime::Month
)wxDateTime_GetMonth(_arg0
,*_arg1
);
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) return NULL
;
3981 } _resultobj
= Py_BuildValue("i",_result
);
3983 if (_arg1
) delete _arg1
;
3988 #define wxDateTime_GetDay(_swigobj,_swigarg0) (_swigobj->GetDay(_swigarg0))
3989 static PyObject
*_wrap_wxDateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3990 PyObject
* _resultobj
;
3991 wxDateTime::wxDateTime_t _result
;
3993 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3994 PyObject
* _argo0
= 0;
3995 PyObject
* _obj1
= 0;
3996 char *_kwnames
[] = { "self","tz", NULL
};
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDay",_kwnames
,&_argo0
,&_obj1
))
4002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDay. Expected _wxDateTime_p.");
4010 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4014 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDay(_arg0
,*_arg1
);
4016 wxPyEndAllowThreads(__tstate
);
4017 if (PyErr_Occurred()) return NULL
;
4018 } _resultobj
= Py_BuildValue("h",_result
);
4020 if (_arg1
) delete _arg1
;
4025 #define wxDateTime_GetWeekDay(_swigobj,_swigarg0) (_swigobj->GetWeekDay(_swigarg0))
4026 static PyObject
*_wrap_wxDateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
* _resultobj
;
4028 wxDateTime::WeekDay _result
;
4030 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4031 PyObject
* _argo0
= 0;
4032 PyObject
* _obj1
= 0;
4033 char *_kwnames
[] = { "self","tz", NULL
};
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetWeekDay",_kwnames
,&_argo0
,&_obj1
))
4039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDay. Expected _wxDateTime_p.");
4047 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4051 _result
= (wxDateTime::WeekDay
)wxDateTime_GetWeekDay(_arg0
,*_arg1
);
4053 wxPyEndAllowThreads(__tstate
);
4054 if (PyErr_Occurred()) return NULL
;
4055 } _resultobj
= Py_BuildValue("i",_result
);
4057 if (_arg1
) delete _arg1
;
4062 #define wxDateTime_GetHour(_swigobj,_swigarg0) (_swigobj->GetHour(_swigarg0))
4063 static PyObject
*_wrap_wxDateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4064 PyObject
* _resultobj
;
4065 wxDateTime::wxDateTime_t _result
;
4067 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4068 PyObject
* _argo0
= 0;
4069 PyObject
* _obj1
= 0;
4070 char *_kwnames
[] = { "self","tz", NULL
};
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetHour",_kwnames
,&_argo0
,&_obj1
))
4076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetHour. Expected _wxDateTime_p.");
4084 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetHour(_arg0
,*_arg1
);
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) return NULL
;
4092 } _resultobj
= Py_BuildValue("h",_result
);
4094 if (_arg1
) delete _arg1
;
4099 #define wxDateTime_GetMinute(_swigobj,_swigarg0) (_swigobj->GetMinute(_swigarg0))
4100 static PyObject
*_wrap_wxDateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
* _resultobj
;
4102 wxDateTime::wxDateTime_t _result
;
4104 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4105 PyObject
* _argo0
= 0;
4106 PyObject
* _obj1
= 0;
4107 char *_kwnames
[] = { "self","tz", NULL
};
4110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMinute",_kwnames
,&_argo0
,&_obj1
))
4113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMinute. Expected _wxDateTime_p.");
4121 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMinute(_arg0
,*_arg1
);
4127 wxPyEndAllowThreads(__tstate
);
4128 if (PyErr_Occurred()) return NULL
;
4129 } _resultobj
= Py_BuildValue("h",_result
);
4131 if (_arg1
) delete _arg1
;
4136 #define wxDateTime_GetSecond(_swigobj,_swigarg0) (_swigobj->GetSecond(_swigarg0))
4137 static PyObject
*_wrap_wxDateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4138 PyObject
* _resultobj
;
4139 wxDateTime::wxDateTime_t _result
;
4141 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4142 PyObject
* _argo0
= 0;
4143 PyObject
* _obj1
= 0;
4144 char *_kwnames
[] = { "self","tz", NULL
};
4147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetSecond",_kwnames
,&_argo0
,&_obj1
))
4150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetSecond. Expected _wxDateTime_p.");
4158 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetSecond(_arg0
,*_arg1
);
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) return NULL
;
4166 } _resultobj
= Py_BuildValue("h",_result
);
4168 if (_arg1
) delete _arg1
;
4173 #define wxDateTime_GetMillisecond(_swigobj,_swigarg0) (_swigobj->GetMillisecond(_swigarg0))
4174 static PyObject
*_wrap_wxDateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
* _resultobj
;
4176 wxDateTime::wxDateTime_t _result
;
4178 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4179 PyObject
* _argo0
= 0;
4180 PyObject
* _obj1
= 0;
4181 char *_kwnames
[] = { "self","tz", NULL
};
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMillisecond",_kwnames
,&_argo0
,&_obj1
))
4187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMillisecond. Expected _wxDateTime_p.");
4195 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMillisecond(_arg0
,*_arg1
);
4201 wxPyEndAllowThreads(__tstate
);
4202 if (PyErr_Occurred()) return NULL
;
4203 } _resultobj
= Py_BuildValue("h",_result
);
4205 if (_arg1
) delete _arg1
;
4210 #define wxDateTime_GetDayOfYear(_swigobj,_swigarg0) (_swigobj->GetDayOfYear(_swigarg0))
4211 static PyObject
*_wrap_wxDateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
* _resultobj
;
4213 wxDateTime::wxDateTime_t _result
;
4215 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4216 PyObject
* _argo0
= 0;
4217 PyObject
* _obj1
= 0;
4218 char *_kwnames
[] = { "self","tz", NULL
};
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDayOfYear",_kwnames
,&_argo0
,&_obj1
))
4224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDayOfYear. Expected _wxDateTime_p.");
4232 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDayOfYear(_arg0
,*_arg1
);
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) return NULL
;
4240 } _resultobj
= Py_BuildValue("h",_result
);
4242 if (_arg1
) delete _arg1
;
4247 #define wxDateTime_GetWeekOfYear(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfYear(_swigarg0,_swigarg1))
4248 static PyObject
*_wrap_wxDateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
* _resultobj
;
4250 wxDateTime::wxDateTime_t _result
;
4252 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4253 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4254 PyObject
* _argo0
= 0;
4255 PyObject
* _obj2
= 0;
4256 char *_kwnames
[] = { "self","flags","tz", NULL
};
4259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfYear",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfYear. Expected _wxDateTime_p.");
4270 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4274 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfYear(_arg0
,_arg1
,*_arg2
);
4276 wxPyEndAllowThreads(__tstate
);
4277 if (PyErr_Occurred()) return NULL
;
4278 } _resultobj
= Py_BuildValue("h",_result
);
4280 if (_arg2
) delete _arg2
;
4285 #define wxDateTime_GetWeekOfMonth(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfMonth(_swigarg0,_swigarg1))
4286 static PyObject
*_wrap_wxDateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
* _resultobj
;
4288 wxDateTime::wxDateTime_t _result
;
4290 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4291 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4292 PyObject
* _argo0
= 0;
4293 PyObject
* _obj2
= 0;
4294 char *_kwnames
[] = { "self","flags","tz", NULL
};
4297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfMonth",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfMonth. Expected _wxDateTime_p.");
4308 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfMonth(_arg0
,_arg1
,*_arg2
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) return NULL
;
4316 } _resultobj
= Py_BuildValue("h",_result
);
4318 if (_arg2
) delete _arg2
;
4323 #define wxDateTime_IsWorkDay(_swigobj,_swigarg0) (_swigobj->IsWorkDay(_swigarg0))
4324 static PyObject
*_wrap_wxDateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4325 PyObject
* _resultobj
;
4328 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
4329 PyObject
* _argo0
= 0;
4330 char *_kwnames
[] = { "self","country", NULL
};
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsWorkDay",_kwnames
,&_argo0
,&_arg1
))
4336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsWorkDay. Expected _wxDateTime_p.");
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 _result
= (bool )wxDateTime_IsWorkDay(_arg0
,_arg1
);
4346 wxPyEndAllowThreads(__tstate
);
4347 if (PyErr_Occurred()) return NULL
;
4348 } _resultobj
= Py_BuildValue("i",_result
);
4352 #define wxDateTime_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
4353 static PyObject
*_wrap_wxDateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
* _resultobj
;
4358 PyObject
* _argo0
= 0;
4359 PyObject
* _argo1
= 0;
4360 char *_kwnames
[] = { "self","datetime", NULL
};
4363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
4366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4373 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4374 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 _result
= (bool )wxDateTime_IsEqualTo(_arg0
,*_arg1
);
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) return NULL
;
4385 } _resultobj
= Py_BuildValue("i",_result
);
4389 #define wxDateTime_IsEarlierThan(_swigobj,_swigarg0) (_swigobj->IsEarlierThan(_swigarg0))
4390 static PyObject
*_wrap_wxDateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
* _resultobj
;
4395 PyObject
* _argo0
= 0;
4396 PyObject
* _argo1
= 0;
4397 char *_kwnames
[] = { "self","datetime", NULL
};
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEarlierThan",_kwnames
,&_argo0
,&_argo1
))
4403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4410 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4411 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 _result
= (bool )wxDateTime_IsEarlierThan(_arg0
,*_arg1
);
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) return NULL
;
4422 } _resultobj
= Py_BuildValue("i",_result
);
4426 #define wxDateTime_IsLaterThan(_swigobj,_swigarg0) (_swigobj->IsLaterThan(_swigarg0))
4427 static PyObject
*_wrap_wxDateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
* _resultobj
;
4432 PyObject
* _argo0
= 0;
4433 PyObject
* _argo1
= 0;
4434 char *_kwnames
[] = { "self","datetime", NULL
};
4437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsLaterThan",_kwnames
,&_argo0
,&_argo1
))
4440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4447 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4448 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4455 _result
= (bool )wxDateTime_IsLaterThan(_arg0
,*_arg1
);
4457 wxPyEndAllowThreads(__tstate
);
4458 if (PyErr_Occurred()) return NULL
;
4459 } _resultobj
= Py_BuildValue("i",_result
);
4463 #define wxDateTime_IsStrictlyBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsStrictlyBetween(_swigarg0,_swigarg1))
4464 static PyObject
*_wrap_wxDateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
* _resultobj
;
4470 PyObject
* _argo0
= 0;
4471 PyObject
* _argo1
= 0;
4472 PyObject
* _argo2
= 0;
4473 char *_kwnames
[] = { "self","t1","t2", NULL
};
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsStrictlyBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4486 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4487 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4493 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4494 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 _result
= (bool )wxDateTime_IsStrictlyBetween(_arg0
,*_arg1
,*_arg2
);
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) return NULL
;
4505 } _resultobj
= Py_BuildValue("i",_result
);
4509 #define wxDateTime_IsBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsBetween(_swigarg0,_swigarg1))
4510 static PyObject
*_wrap_wxDateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4511 PyObject
* _resultobj
;
4516 PyObject
* _argo0
= 0;
4517 PyObject
* _argo1
= 0;
4518 PyObject
* _argo2
= 0;
4519 char *_kwnames
[] = { "self","t1","t2", NULL
};
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4532 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4533 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4539 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4540 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 _result
= (bool )wxDateTime_IsBetween(_arg0
,*_arg1
,*_arg2
);
4549 wxPyEndAllowThreads(__tstate
);
4550 if (PyErr_Occurred()) return NULL
;
4551 } _resultobj
= Py_BuildValue("i",_result
);
4555 #define wxDateTime_IsSameDate(_swigobj,_swigarg0) (_swigobj->IsSameDate(_swigarg0))
4556 static PyObject
*_wrap_wxDateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
* _resultobj
;
4561 PyObject
* _argo0
= 0;
4562 PyObject
* _argo1
= 0;
4563 char *_kwnames
[] = { "self","dt", NULL
};
4566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameDate",_kwnames
,&_argo0
,&_argo1
))
4569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4576 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4577 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 _result
= (bool )wxDateTime_IsSameDate(_arg0
,*_arg1
);
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) return NULL
;
4588 } _resultobj
= Py_BuildValue("i",_result
);
4592 #define wxDateTime_IsSameTime(_swigobj,_swigarg0) (_swigobj->IsSameTime(_swigarg0))
4593 static PyObject
*_wrap_wxDateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
* _resultobj
;
4598 PyObject
* _argo0
= 0;
4599 PyObject
* _argo1
= 0;
4600 char *_kwnames
[] = { "self","dt", NULL
};
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameTime",_kwnames
,&_argo0
,&_argo1
))
4606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
4613 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4614 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 _result
= (bool )wxDateTime_IsSameTime(_arg0
,*_arg1
);
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) return NULL
;
4625 } _resultobj
= Py_BuildValue("i",_result
);
4629 #define wxDateTime_IsEqualUpTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEqualUpTo(_swigarg0,_swigarg1))
4630 static PyObject
*_wrap_wxDateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
* _resultobj
;
4636 PyObject
* _argo0
= 0;
4637 PyObject
* _argo1
= 0;
4638 PyObject
* _argo2
= 0;
4639 char *_kwnames
[] = { "self","dt","ts", NULL
};
4642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsEqualUpTo",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4652 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4653 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4659 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4660 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTimeSpan_p")) {
4661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsEqualUpTo. Expected _wxTimeSpan_p.");
4666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4667 _result
= (bool )wxDateTime_IsEqualUpTo(_arg0
,*_arg1
,*_arg2
);
4669 wxPyEndAllowThreads(__tstate
);
4670 if (PyErr_Occurred()) return NULL
;
4671 } _resultobj
= Py_BuildValue("i",_result
);
4675 #define wxDateTime_AddTS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4676 static PyObject
*_wrap_wxDateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4677 PyObject
* _resultobj
;
4678 wxDateTime
* _result
;
4681 PyObject
* _argo0
= 0;
4682 PyObject
* _argo1
= 0;
4683 char *_kwnames
[] = { "self","diff", NULL
};
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddTS",_kwnames
,&_argo0
,&_argo1
))
4690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddTS. Expected _wxDateTime_p.");
4697 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4698 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddTS. Expected _wxTimeSpan_p.");
4704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4705 wxDateTime
& _result_ref
= wxDateTime_AddTS(_arg0
,*_arg1
);
4706 _result
= (wxDateTime
*) &_result_ref
;
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) return NULL
;
4711 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4712 _resultobj
= Py_BuildValue("s",_ptemp
);
4715 _resultobj
= Py_None
;
4720 #define wxDateTime_AddDS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4721 static PyObject
*_wrap_wxDateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4722 PyObject
* _resultobj
;
4723 wxDateTime
* _result
;
4726 PyObject
* _argo0
= 0;
4727 PyObject
* _argo1
= 0;
4728 char *_kwnames
[] = { "self","diff", NULL
};
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddDS",_kwnames
,&_argo0
,&_argo1
))
4735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddDS. Expected _wxDateTime_p.");
4742 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4743 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddDS. Expected _wxDateSpan_p.");
4749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4750 wxDateTime
& _result_ref
= wxDateTime_AddDS(_arg0
,*_arg1
);
4751 _result
= (wxDateTime
*) &_result_ref
;
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) return NULL
;
4756 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4757 _resultobj
= Py_BuildValue("s",_ptemp
);
4760 _resultobj
= Py_None
;
4765 #define wxDateTime_SubtractTS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4766 static PyObject
*_wrap_wxDateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4767 PyObject
* _resultobj
;
4768 wxDateTime
* _result
;
4771 PyObject
* _argo0
= 0;
4772 PyObject
* _argo1
= 0;
4773 char *_kwnames
[] = { "self","diff", NULL
};
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractTS",_kwnames
,&_argo0
,&_argo1
))
4780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractTS. Expected _wxDateTime_p.");
4787 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4788 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractTS. Expected _wxTimeSpan_p.");
4794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4795 wxDateTime
& _result_ref
= wxDateTime_SubtractTS(_arg0
,*_arg1
);
4796 _result
= (wxDateTime
*) &_result_ref
;
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) return NULL
;
4801 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4802 _resultobj
= Py_BuildValue("s",_ptemp
);
4805 _resultobj
= Py_None
;
4810 #define wxDateTime_SubtractDS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4811 static PyObject
*_wrap_wxDateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
* _resultobj
;
4813 wxDateTime
* _result
;
4816 PyObject
* _argo0
= 0;
4817 PyObject
* _argo1
= 0;
4818 char *_kwnames
[] = { "self","diff", NULL
};
4822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractDS",_kwnames
,&_argo0
,&_argo1
))
4825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractDS. Expected _wxDateTime_p.");
4832 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4833 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractDS. Expected _wxDateSpan_p.");
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 wxDateTime
& _result_ref
= wxDateTime_SubtractDS(_arg0
,*_arg1
);
4841 _result
= (wxDateTime
*) &_result_ref
;
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) return NULL
;
4846 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4847 _resultobj
= Py_BuildValue("s",_ptemp
);
4850 _resultobj
= Py_None
;
4855 #define wxDateTime_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4856 static PyObject
*_wrap_wxDateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
* _resultobj
;
4858 wxTimeSpan
* _result
;
4861 PyObject
* _argo0
= 0;
4862 PyObject
* _argo1
= 0;
4863 char *_kwnames
[] = { "self","dt", NULL
};
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_Subtract",_kwnames
,&_argo0
,&_argo1
))
4870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Subtract. Expected _wxDateTime_p.");
4877 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4878 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_Subtract. Expected _wxDateTime_p.");
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4885 _result
= new wxTimeSpan (wxDateTime_Subtract(_arg0
,*_arg1
));
4887 wxPyEndAllowThreads(__tstate
);
4888 if (PyErr_Occurred()) return NULL
;
4889 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
4890 _resultobj
= Py_BuildValue("s",_ptemp
);
4894 static wxDateTime
wxDateTime___add__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
4895 static PyObject
*_wrap_wxDateTime___add__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
* _resultobj
;
4897 wxDateTime
* _result
;
4900 PyObject
* _argo0
= 0;
4901 PyObject
* _argo1
= 0;
4902 char *_kwnames
[] = { "self","other", NULL
};
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__TS",_kwnames
,&_argo0
,&_argo1
))
4909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__TS. Expected _wxDateTime_p.");
4916 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4917 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__TS. Expected _wxTimeSpan_p.");
4923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4924 _result
= new wxDateTime (wxDateTime___add__TS(_arg0
,*_arg1
));
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) return NULL
;
4928 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4929 _resultobj
= Py_BuildValue("s",_ptemp
);
4933 static wxDateTime
wxDateTime___add__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
4934 static PyObject
*_wrap_wxDateTime___add__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
* _resultobj
;
4936 wxDateTime
* _result
;
4939 PyObject
* _argo0
= 0;
4940 PyObject
* _argo1
= 0;
4941 char *_kwnames
[] = { "self","other", NULL
};
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__DS",_kwnames
,&_argo0
,&_argo1
))
4948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__DS. Expected _wxDateTime_p.");
4955 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4956 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__DS. Expected _wxDateSpan_p.");
4962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4963 _result
= new wxDateTime (wxDateTime___add__DS(_arg0
,*_arg1
));
4965 wxPyEndAllowThreads(__tstate
);
4966 if (PyErr_Occurred()) return NULL
;
4967 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4968 _resultobj
= Py_BuildValue("s",_ptemp
);
4972 static wxTimeSpan
wxDateTime___sub__DT(wxDateTime
*self
,const wxDateTime
& other
) { return *self
- other
; }
4973 static PyObject
*_wrap_wxDateTime___sub__DT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
* _resultobj
;
4975 wxTimeSpan
* _result
;
4978 PyObject
* _argo0
= 0;
4979 PyObject
* _argo1
= 0;
4980 char *_kwnames
[] = { "self","other", NULL
};
4984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DT",_kwnames
,&_argo0
,&_argo1
))
4987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
4994 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4995 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
5001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5002 _result
= new wxTimeSpan (wxDateTime___sub__DT(_arg0
,*_arg1
));
5004 wxPyEndAllowThreads(__tstate
);
5005 if (PyErr_Occurred()) return NULL
;
5006 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5007 _resultobj
= Py_BuildValue("s",_ptemp
);
5011 static wxDateTime
wxDateTime___sub__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
5012 static PyObject
*_wrap_wxDateTime___sub__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5013 PyObject
* _resultobj
;
5014 wxDateTime
* _result
;
5017 PyObject
* _argo0
= 0;
5018 PyObject
* _argo1
= 0;
5019 char *_kwnames
[] = { "self","other", NULL
};
5023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__TS",_kwnames
,&_argo0
,&_argo1
))
5026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__TS. Expected _wxDateTime_p.");
5033 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5034 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__TS. Expected _wxTimeSpan_p.");
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 _result
= new wxDateTime (wxDateTime___sub__TS(_arg0
,*_arg1
));
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) return NULL
;
5045 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5046 _resultobj
= Py_BuildValue("s",_ptemp
);
5050 static wxDateTime
wxDateTime___sub__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
- other
; }
5051 static PyObject
*_wrap_wxDateTime___sub__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
* _resultobj
;
5053 wxDateTime
* _result
;
5056 PyObject
* _argo0
= 0;
5057 PyObject
* _argo1
= 0;
5058 char *_kwnames
[] = { "self","other", NULL
};
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DS",_kwnames
,&_argo0
,&_argo1
))
5065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DS. Expected _wxDateTime_p.");
5072 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5073 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DS. Expected _wxDateSpan_p.");
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 _result
= new wxDateTime (wxDateTime___sub__DS(_arg0
,*_arg1
));
5082 wxPyEndAllowThreads(__tstate
);
5083 if (PyErr_Occurred()) return NULL
;
5084 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5085 _resultobj
= Py_BuildValue("s",_ptemp
);
5089 static int wxDateTime___cmp__(wxDateTime
*self
,const wxDateTime
& other
) {
5090 if (*self
< other
) return -1;
5091 if (*self
== other
) return 0;
5094 static PyObject
*_wrap_wxDateTime___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
* _resultobj
;
5099 PyObject
* _argo0
= 0;
5100 PyObject
* _argo1
= 0;
5101 char *_kwnames
[] = { "self","other", NULL
};
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___cmp__",_kwnames
,&_argo0
,&_argo1
))
5107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5114 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5115 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5122 _result
= (int )wxDateTime___cmp__(_arg0
,*_arg1
);
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) return NULL
;
5126 } _resultobj
= Py_BuildValue("i",_result
);
5130 #define wxDateTime_ParseRfc822Date(_swigobj,_swigarg0) (_swigobj->ParseRfc822Date(_swigarg0))
5131 static PyObject
*_wrap_wxDateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
* _resultobj
;
5136 PyObject
* _argo0
= 0;
5137 PyObject
* _obj1
= 0;
5138 char *_kwnames
[] = { "self","date", NULL
};
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_ParseRfc822Date",_kwnames
,&_argo0
,&_obj1
))
5144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseRfc822Date. Expected _wxDateTime_p.");
5151 _arg1
= wxString_in_helper(_obj1
);
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 _result
= new wxString (wxDateTime_ParseRfc822Date(_arg0
,*_arg1
));
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) return NULL
;
5163 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5165 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5178 #define wxDateTime_ParseFormat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ParseFormat(_swigarg0,_swigarg1,_swigarg2))
5179 static PyObject
*_wrap_wxDateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5180 PyObject
* _resultobj
;
5184 wxString
* _arg2
= (wxString
*) &wxPyDateFormatStr
;
5185 wxDateTime
* _arg3
= (wxDateTime
*) &wxDefaultDateTime
;
5186 PyObject
* _argo0
= 0;
5187 PyObject
* _obj1
= 0;
5188 PyObject
* _obj2
= 0;
5189 PyObject
* _argo3
= 0;
5190 char *_kwnames
[] = { "self","date","format","dateDef", NULL
};
5193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxDateTime_ParseFormat",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_argo3
))
5196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5203 _arg1
= wxString_in_helper(_obj1
);
5209 _arg2
= wxString_in_helper(_obj2
);
5214 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5215 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime_p")) {
5216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5222 _result
= new wxString (wxDateTime_ParseFormat(_arg0
,*_arg1
,*_arg2
,*_arg3
));
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) return NULL
;
5228 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5230 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5247 #define wxDateTime_ParseDateTime(_swigobj,_swigarg0) (_swigobj->ParseDateTime(_swigarg0))
5248 static PyObject
*_wrap_wxDateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
* _resultobj
;
5253 PyObject
* _argo0
= 0;
5254 PyObject
* _obj1
= 0;
5255 char *_kwnames
[] = { "self","datetime", NULL
};
5258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_ParseDateTime",_kwnames
,&_argo0
,&_obj1
))
5261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDateTime. Expected _wxDateTime_p.");
5268 _arg1
= wxString_in_helper(_obj1
);
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 _result
= new wxString (wxDateTime_ParseDateTime(_arg0
,*_arg1
));
5276 wxPyEndAllowThreads(__tstate
);
5277 if (PyErr_Occurred()) return NULL
;
5280 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5282 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5295 #define wxDateTime_ParseDate(_swigobj,_swigarg0) (_swigobj->ParseDate(_swigarg0))
5296 static PyObject
*_wrap_wxDateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5297 PyObject
* _resultobj
;
5301 PyObject
* _argo0
= 0;
5302 PyObject
* _obj1
= 0;
5303 char *_kwnames
[] = { "self","date", NULL
};
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_ParseDate",_kwnames
,&_argo0
,&_obj1
))
5309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDate. Expected _wxDateTime_p.");
5316 _arg1
= wxString_in_helper(_obj1
);
5321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5322 _result
= new wxString (wxDateTime_ParseDate(_arg0
,*_arg1
));
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) return NULL
;
5328 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5330 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5343 #define wxDateTime_ParseTime(_swigobj,_swigarg0) (_swigobj->ParseTime(_swigarg0))
5344 static PyObject
*_wrap_wxDateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
* _resultobj
;
5349 PyObject
* _argo0
= 0;
5350 PyObject
* _obj1
= 0;
5351 char *_kwnames
[] = { "self","time", NULL
};
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_ParseTime",_kwnames
,&_argo0
,&_obj1
))
5357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseTime. Expected _wxDateTime_p.");
5364 _arg1
= wxString_in_helper(_obj1
);
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 _result
= new wxString (wxDateTime_ParseTime(_arg0
,*_arg1
));
5372 wxPyEndAllowThreads(__tstate
);
5373 if (PyErr_Occurred()) return NULL
;
5376 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5378 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5391 #define wxDateTime_Format(_swigobj,_swigarg0,_swigarg1) (_swigobj->Format(_swigarg0,_swigarg1))
5392 static PyObject
*_wrap_wxDateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
* _resultobj
;
5396 wxString
* _arg1
= (wxString
*) &wxPyDateFormatStr
;
5397 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
5398 PyObject
* _argo0
= 0;
5399 PyObject
* _obj1
= 0;
5400 PyObject
* _obj2
= 0;
5401 char *_kwnames
[] = { "self","format","tz", NULL
};
5404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxDateTime_Format",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Format. Expected _wxDateTime_p.");
5415 _arg1
= wxString_in_helper(_obj1
);
5421 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 _result
= new wxString (wxDateTime_Format(_arg0
,*_arg1
,*_arg2
));
5427 wxPyEndAllowThreads(__tstate
);
5428 if (PyErr_Occurred()) return NULL
;
5431 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5433 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5441 if (_arg2
) delete _arg2
;
5449 #define wxDateTime_FormatDate(_swigobj) (_swigobj->FormatDate())
5450 static PyObject
*_wrap_wxDateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
* _resultobj
;
5454 PyObject
* _argo0
= 0;
5455 char *_kwnames
[] = { "self", NULL
};
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatDate",_kwnames
,&_argo0
))
5461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatDate. Expected _wxDateTime_p.");
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 _result
= new wxString (wxDateTime_FormatDate(_arg0
));
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) return NULL
;
5475 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5477 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5486 #define wxDateTime_FormatTime(_swigobj) (_swigobj->FormatTime())
5487 static PyObject
*_wrap_wxDateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
* _resultobj
;
5491 PyObject
* _argo0
= 0;
5492 char *_kwnames
[] = { "self", NULL
};
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatTime",_kwnames
,&_argo0
))
5498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatTime. Expected _wxDateTime_p.");
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 _result
= new wxString (wxDateTime_FormatTime(_arg0
));
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) return NULL
;
5512 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5514 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5523 #define wxDateTime_FormatISODate(_swigobj) (_swigobj->FormatISODate())
5524 static PyObject
*_wrap_wxDateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
* _resultobj
;
5528 PyObject
* _argo0
= 0;
5529 char *_kwnames
[] = { "self", NULL
};
5532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISODate",_kwnames
,&_argo0
))
5535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISODate. Expected _wxDateTime_p.");
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 _result
= new wxString (wxDateTime_FormatISODate(_arg0
));
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) return NULL
;
5549 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5551 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5560 #define wxDateTime_FormatISOTime(_swigobj) (_swigobj->FormatISOTime())
5561 static PyObject
*_wrap_wxDateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
* _resultobj
;
5565 PyObject
* _argo0
= 0;
5566 char *_kwnames
[] = { "self", NULL
};
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISOTime",_kwnames
,&_argo0
))
5572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISOTime. Expected _wxDateTime_p.");
5579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5580 _result
= new wxString (wxDateTime_FormatISOTime(_arg0
));
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) return NULL
;
5586 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5588 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5597 static PyObject
*_wrap_wxTimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
* _resultobj
;
5599 wxTimeSpan
* _result
;
5601 char *_kwnames
[] = { "sec", NULL
};
5605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Seconds",_kwnames
,&_arg0
))
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5609 _result
= new wxTimeSpan (wxTimeSpan::Seconds(_arg0
));
5611 wxPyEndAllowThreads(__tstate
);
5612 if (PyErr_Occurred()) return NULL
;
5613 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5614 _resultobj
= Py_BuildValue("s",_ptemp
);
5618 static PyObject
*_wrap_wxTimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5619 PyObject
* _resultobj
;
5620 wxTimeSpan
* _result
;
5621 char *_kwnames
[] = { NULL
};
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Second",_kwnames
))
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 _result
= new wxTimeSpan (wxTimeSpan::Second());
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) return NULL
;
5633 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5634 _resultobj
= Py_BuildValue("s",_ptemp
);
5638 static PyObject
*_wrap_wxTimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
* _resultobj
;
5640 wxTimeSpan
* _result
;
5642 char *_kwnames
[] = { "min", NULL
};
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Minutes",_kwnames
,&_arg0
))
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 _result
= new wxTimeSpan (wxTimeSpan::Minutes(_arg0
));
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) return NULL
;
5654 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5655 _resultobj
= Py_BuildValue("s",_ptemp
);
5659 static PyObject
*_wrap_wxTimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
* _resultobj
;
5661 wxTimeSpan
* _result
;
5662 char *_kwnames
[] = { NULL
};
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Minute",_kwnames
))
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 _result
= new wxTimeSpan (wxTimeSpan::Minute());
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) return NULL
;
5674 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5675 _resultobj
= Py_BuildValue("s",_ptemp
);
5679 static PyObject
*_wrap_wxTimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5680 PyObject
* _resultobj
;
5681 wxTimeSpan
* _result
;
5683 char *_kwnames
[] = { "hours", NULL
};
5687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Hours",_kwnames
,&_arg0
))
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5691 _result
= new wxTimeSpan (wxTimeSpan::Hours(_arg0
));
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) return NULL
;
5695 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5696 _resultobj
= Py_BuildValue("s",_ptemp
);
5700 static PyObject
*_wrap_wxTimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
* _resultobj
;
5702 wxTimeSpan
* _result
;
5703 char *_kwnames
[] = { NULL
};
5707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Hour",_kwnames
))
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 _result
= new wxTimeSpan (wxTimeSpan::Hour());
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) return NULL
;
5715 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5716 _resultobj
= Py_BuildValue("s",_ptemp
);
5720 static PyObject
*_wrap_wxTimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
* _resultobj
;
5722 wxTimeSpan
* _result
;
5724 char *_kwnames
[] = { "days", NULL
};
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Days",_kwnames
,&_arg0
))
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 _result
= new wxTimeSpan (wxTimeSpan::Days(_arg0
));
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) return NULL
;
5736 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5737 _resultobj
= Py_BuildValue("s",_ptemp
);
5741 static PyObject
*_wrap_wxTimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5742 PyObject
* _resultobj
;
5743 wxTimeSpan
* _result
;
5744 char *_kwnames
[] = { NULL
};
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Day",_kwnames
))
5751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5752 _result
= new wxTimeSpan (wxTimeSpan::Day());
5754 wxPyEndAllowThreads(__tstate
);
5755 if (PyErr_Occurred()) return NULL
;
5756 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5757 _resultobj
= Py_BuildValue("s",_ptemp
);
5761 static PyObject
*_wrap_wxTimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
* _resultobj
;
5763 wxTimeSpan
* _result
;
5765 char *_kwnames
[] = { "days", NULL
};
5769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Weeks",_kwnames
,&_arg0
))
5772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5773 _result
= new wxTimeSpan (wxTimeSpan::Weeks(_arg0
));
5775 wxPyEndAllowThreads(__tstate
);
5776 if (PyErr_Occurred()) return NULL
;
5777 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5778 _resultobj
= Py_BuildValue("s",_ptemp
);
5782 static PyObject
*_wrap_wxTimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5783 PyObject
* _resultobj
;
5784 wxTimeSpan
* _result
;
5785 char *_kwnames
[] = { NULL
};
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Week",_kwnames
))
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 _result
= new wxTimeSpan (wxTimeSpan::Week());
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) return NULL
;
5797 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5798 _resultobj
= Py_BuildValue("s",_ptemp
);
5802 #define new_wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5803 static PyObject
*_wrap_new_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
* _resultobj
;
5805 wxTimeSpan
* _result
;
5806 long _arg0
= (long ) 0;
5807 long _arg1
= (long ) 0;
5808 long _arg2
= (long ) 0;
5809 long _arg3
= (long ) 0;
5810 char *_kwnames
[] = { "hours","minutes","seconds","milliseconds", NULL
};
5814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxTimeSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 _result
= (wxTimeSpan
*)new_wxTimeSpan(_arg0
,_arg1
,_arg2
,_arg3
);
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) return NULL
;
5823 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5824 _resultobj
= Py_BuildValue("s",_ptemp
);
5827 _resultobj
= Py_None
;
5832 #define delete_wxTimeSpan(_swigobj) (delete _swigobj)
5833 static PyObject
*_wrap_delete_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
* _resultobj
;
5836 PyObject
* _argo0
= 0;
5837 char *_kwnames
[] = { "self", NULL
};
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTimeSpan",_kwnames
,&_argo0
))
5843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTimeSpan. Expected _wxTimeSpan_p.");
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 delete_wxTimeSpan(_arg0
);
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) return NULL
;
5855 } Py_INCREF(Py_None
);
5856 _resultobj
= Py_None
;
5860 #define wxTimeSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
5861 static PyObject
*_wrap_wxTimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
* _resultobj
;
5863 wxTimeSpan
* _result
;
5866 PyObject
* _argo0
= 0;
5867 PyObject
* _argo1
= 0;
5868 char *_kwnames
[] = { "self","diff", NULL
};
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Add",_kwnames
,&_argo0
,&_argo1
))
5875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
5882 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5883 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 wxTimeSpan
& _result_ref
= wxTimeSpan_Add(_arg0
,*_arg1
);
5891 _result
= (wxTimeSpan
*) &_result_ref
;
5893 wxPyEndAllowThreads(__tstate
);
5894 if (PyErr_Occurred()) return NULL
;
5896 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5897 _resultobj
= Py_BuildValue("s",_ptemp
);
5900 _resultobj
= Py_None
;
5905 #define wxTimeSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5906 static PyObject
*_wrap_wxTimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5907 PyObject
* _resultobj
;
5908 wxTimeSpan
* _result
;
5911 PyObject
* _argo0
= 0;
5912 PyObject
* _argo1
= 0;
5913 char *_kwnames
[] = { "self","diff", NULL
};
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
5920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
5927 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5928 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 wxTimeSpan
& _result_ref
= wxTimeSpan_Subtract(_arg0
,*_arg1
);
5936 _result
= (wxTimeSpan
*) &_result_ref
;
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) return NULL
;
5941 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5942 _resultobj
= Py_BuildValue("s",_ptemp
);
5945 _resultobj
= Py_None
;
5950 #define wxTimeSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
5951 static PyObject
*_wrap_wxTimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5952 PyObject
* _resultobj
;
5953 wxTimeSpan
* _result
;
5956 PyObject
* _argo0
= 0;
5957 char *_kwnames
[] = { "self","n", NULL
};
5961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
5964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Multiply. Expected _wxTimeSpan_p.");
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 wxTimeSpan
& _result_ref
= wxTimeSpan_Multiply(_arg0
,_arg1
);
5973 _result
= (wxTimeSpan
*) &_result_ref
;
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) return NULL
;
5978 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5979 _resultobj
= Py_BuildValue("s",_ptemp
);
5982 _resultobj
= Py_None
;
5987 #define wxTimeSpan_Neg(_swigobj) (_swigobj->Neg())
5988 static PyObject
*_wrap_wxTimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5989 PyObject
* _resultobj
;
5990 wxTimeSpan
* _result
;
5992 PyObject
* _argo0
= 0;
5993 char *_kwnames
[] = { "self", NULL
};
5997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Neg",_kwnames
,&_argo0
))
6000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Neg. Expected _wxTimeSpan_p.");
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 wxTimeSpan
& _result_ref
= wxTimeSpan_Neg(_arg0
);
6009 _result
= (wxTimeSpan
*) &_result_ref
;
6011 wxPyEndAllowThreads(__tstate
);
6012 if (PyErr_Occurred()) return NULL
;
6014 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
6015 _resultobj
= Py_BuildValue("s",_ptemp
);
6018 _resultobj
= Py_None
;
6023 #define wxTimeSpan_Abs(_swigobj) (_swigobj->Abs())
6024 static PyObject
*_wrap_wxTimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
* _resultobj
;
6026 wxTimeSpan
* _result
;
6028 PyObject
* _argo0
= 0;
6029 char *_kwnames
[] = { "self", NULL
};
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Abs",_kwnames
,&_argo0
))
6036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Abs. Expected _wxTimeSpan_p.");
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6044 _result
= new wxTimeSpan (wxTimeSpan_Abs(_arg0
));
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) return NULL
;
6048 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6049 _resultobj
= Py_BuildValue("s",_ptemp
);
6053 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
6054 static PyObject
*_wrap_wxTimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
* _resultobj
;
6056 wxTimeSpan
* _result
;
6059 PyObject
* _argo0
= 0;
6060 PyObject
* _argo1
= 0;
6061 char *_kwnames
[] = { "self","other", NULL
};
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___add__",_kwnames
,&_argo0
,&_argo1
))
6068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6075 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6076 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6083 _result
= new wxTimeSpan (wxTimeSpan___add__(_arg0
,*_arg1
));
6085 wxPyEndAllowThreads(__tstate
);
6086 if (PyErr_Occurred()) return NULL
;
6087 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6088 _resultobj
= Py_BuildValue("s",_ptemp
);
6092 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
6093 static PyObject
*_wrap_wxTimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
* _resultobj
;
6095 wxTimeSpan
* _result
;
6098 PyObject
* _argo0
= 0;
6099 PyObject
* _argo1
= 0;
6100 char *_kwnames
[] = { "self","other", NULL
};
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
6107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6114 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6115 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 _result
= new wxTimeSpan (wxTimeSpan___sub__(_arg0
,*_arg1
));
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) return NULL
;
6126 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6127 _resultobj
= Py_BuildValue("s",_ptemp
);
6131 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
) { return *self
* n
; }
6132 static PyObject
*_wrap_wxTimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
* _resultobj
;
6134 wxTimeSpan
* _result
;
6137 PyObject
* _argo0
= 0;
6138 char *_kwnames
[] = { "self","n", NULL
};
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
6145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___mul__. Expected _wxTimeSpan_p.");
6152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 _result
= new wxTimeSpan (wxTimeSpan___mul__(_arg0
,_arg1
));
6155 wxPyEndAllowThreads(__tstate
);
6156 if (PyErr_Occurred()) return NULL
;
6157 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6158 _resultobj
= Py_BuildValue("s",_ptemp
);
6162 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
) { return n
* *self
; }
6163 static PyObject
*_wrap_wxTimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
* _resultobj
;
6165 wxTimeSpan
* _result
;
6168 PyObject
* _argo0
= 0;
6169 char *_kwnames
[] = { "self","n", NULL
};
6173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
6176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___rmul__. Expected _wxTimeSpan_p.");
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 _result
= new wxTimeSpan (wxTimeSpan___rmul__(_arg0
,_arg1
));
6186 wxPyEndAllowThreads(__tstate
);
6187 if (PyErr_Occurred()) return NULL
;
6188 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6189 _resultobj
= Py_BuildValue("s",_ptemp
);
6193 static wxTimeSpan
wxTimeSpan___neg__(wxTimeSpan
*self
) { return self
->Negate(); }
6194 static PyObject
*_wrap_wxTimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
* _resultobj
;
6196 wxTimeSpan
* _result
;
6198 PyObject
* _argo0
= 0;
6199 char *_kwnames
[] = { "self", NULL
};
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan___neg__",_kwnames
,&_argo0
))
6206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___neg__. Expected _wxTimeSpan_p.");
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 _result
= new wxTimeSpan (wxTimeSpan___neg__(_arg0
));
6216 wxPyEndAllowThreads(__tstate
);
6217 if (PyErr_Occurred()) return NULL
;
6218 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6219 _resultobj
= Py_BuildValue("s",_ptemp
);
6223 static int wxTimeSpan___cmp__(wxTimeSpan
*self
,const wxTimeSpan
& other
) {
6224 if (*self
< other
) return -1;
6225 if (*self
== other
) return 0;
6228 static PyObject
*_wrap_wxTimeSpan___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6229 PyObject
* _resultobj
;
6233 PyObject
* _argo0
= 0;
6234 PyObject
* _argo1
= 0;
6235 char *_kwnames
[] = { "self","other", NULL
};
6238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___cmp__",_kwnames
,&_argo0
,&_argo1
))
6241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6248 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6249 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 _result
= (int )wxTimeSpan___cmp__(_arg0
,*_arg1
);
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) return NULL
;
6260 } _resultobj
= Py_BuildValue("i",_result
);
6264 #define wxTimeSpan_IsNull(_swigobj) (_swigobj->IsNull())
6265 static PyObject
*_wrap_wxTimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
* _resultobj
;
6269 PyObject
* _argo0
= 0;
6270 char *_kwnames
[] = { "self", NULL
};
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNull",_kwnames
,&_argo0
))
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_IsNull. Expected _wxTimeSpan_p.");
6283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6284 _result
= (bool )wxTimeSpan_IsNull(_arg0
);
6286 wxPyEndAllowThreads(__tstate
);
6287 if (PyErr_Occurred()) return NULL
;
6288 } _resultobj
= Py_BuildValue("i",_result
);
6292 #define wxTimeSpan_IsPositive(_swigobj) (_swigobj->IsPositive())
6293 static PyObject
*_wrap_wxTimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
* _resultobj
;
6297 PyObject
* _argo0
= 0;
6298 char *_kwnames
[] = { "self", NULL
};
6301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsPositive",_kwnames
,&_argo0
))
6304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsPositive. Expected _wxTimeSpan_p.");
6311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6312 _result
= (bool )wxTimeSpan_IsPositive(_arg0
);
6314 wxPyEndAllowThreads(__tstate
);
6315 if (PyErr_Occurred()) return NULL
;
6316 } _resultobj
= Py_BuildValue("i",_result
);
6320 #define wxTimeSpan_IsNegative(_swigobj) (_swigobj->IsNegative())
6321 static PyObject
*_wrap_wxTimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
* _resultobj
;
6325 PyObject
* _argo0
= 0;
6326 char *_kwnames
[] = { "self", NULL
};
6329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNegative",_kwnames
,&_argo0
))
6332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNegative. Expected _wxTimeSpan_p.");
6339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6340 _result
= (bool )wxTimeSpan_IsNegative(_arg0
);
6342 wxPyEndAllowThreads(__tstate
);
6343 if (PyErr_Occurred()) return NULL
;
6344 } _resultobj
= Py_BuildValue("i",_result
);
6348 #define wxTimeSpan_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
6349 static PyObject
*_wrap_wxTimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
* _resultobj
;
6354 PyObject
* _argo0
= 0;
6355 PyObject
* _argo1
= 0;
6356 char *_kwnames
[] = { "self","ts", NULL
};
6359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
6362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6369 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6370 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 _result
= (bool )wxTimeSpan_IsEqualTo(_arg0
,*_arg1
);
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) return NULL
;
6381 } _resultobj
= Py_BuildValue("i",_result
);
6385 #define wxTimeSpan_IsLongerThan(_swigobj,_swigarg0) (_swigobj->IsLongerThan(_swigarg0))
6386 static PyObject
*_wrap_wxTimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
* _resultobj
;
6391 PyObject
* _argo0
= 0;
6392 PyObject
* _argo1
= 0;
6393 char *_kwnames
[] = { "self","ts", NULL
};
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsLongerThan",_kwnames
,&_argo0
,&_argo1
))
6399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6406 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6407 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 _result
= (bool )wxTimeSpan_IsLongerThan(_arg0
,*_arg1
);
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) return NULL
;
6418 } _resultobj
= Py_BuildValue("i",_result
);
6422 #define wxTimeSpan_IsShorterThan(_swigobj,_swigarg0) (_swigobj->IsShorterThan(_swigarg0))
6423 static PyObject
*_wrap_wxTimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
* _resultobj
;
6428 PyObject
* _argo0
= 0;
6429 PyObject
* _argo1
= 0;
6430 char *_kwnames
[] = { "self","t", NULL
};
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsShorterThan",_kwnames
,&_argo0
,&_argo1
))
6436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6443 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6444 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 _result
= (bool )wxTimeSpan_IsShorterThan(_arg0
,*_arg1
);
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) return NULL
;
6455 } _resultobj
= Py_BuildValue("i",_result
);
6459 #define wxTimeSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
6460 static PyObject
*_wrap_wxTimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6461 PyObject
* _resultobj
;
6464 PyObject
* _argo0
= 0;
6465 char *_kwnames
[] = { "self", NULL
};
6468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetWeeks",_kwnames
,&_argo0
))
6471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetWeeks. Expected _wxTimeSpan_p.");
6478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6479 _result
= (int )wxTimeSpan_GetWeeks(_arg0
);
6481 wxPyEndAllowThreads(__tstate
);
6482 if (PyErr_Occurred()) return NULL
;
6483 } _resultobj
= Py_BuildValue("i",_result
);
6487 #define wxTimeSpan_GetDays(_swigobj) (_swigobj->GetDays())
6488 static PyObject
*_wrap_wxTimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6489 PyObject
* _resultobj
;
6492 PyObject
* _argo0
= 0;
6493 char *_kwnames
[] = { "self", NULL
};
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetDays",_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_GetDays. Expected _wxTimeSpan_p.");
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 _result
= (int )wxTimeSpan_GetDays(_arg0
);
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) return NULL
;
6511 } _resultobj
= Py_BuildValue("i",_result
);
6515 #define wxTimeSpan_GetHours(_swigobj) (_swigobj->GetHours())
6516 static PyObject
*_wrap_wxTimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6517 PyObject
* _resultobj
;
6520 PyObject
* _argo0
= 0;
6521 char *_kwnames
[] = { "self", NULL
};
6524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetHours",_kwnames
,&_argo0
))
6527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetHours. Expected _wxTimeSpan_p.");
6534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6535 _result
= (int )wxTimeSpan_GetHours(_arg0
);
6537 wxPyEndAllowThreads(__tstate
);
6538 if (PyErr_Occurred()) return NULL
;
6539 } _resultobj
= Py_BuildValue("i",_result
);
6543 #define wxTimeSpan_GetMinutes(_swigobj) (_swigobj->GetMinutes())
6544 static PyObject
*_wrap_wxTimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6545 PyObject
* _resultobj
;
6548 PyObject
* _argo0
= 0;
6549 char *_kwnames
[] = { "self", NULL
};
6552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMinutes",_kwnames
,&_argo0
))
6555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMinutes. Expected _wxTimeSpan_p.");
6562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6563 _result
= (int )wxTimeSpan_GetMinutes(_arg0
);
6565 wxPyEndAllowThreads(__tstate
);
6566 if (PyErr_Occurred()) return NULL
;
6567 } _resultobj
= Py_BuildValue("i",_result
);
6571 #define wxTimeSpan_GetSeconds(_swigobj) (_swigobj->GetSeconds())
6572 static PyObject
*_wrap_wxTimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6573 PyObject
* _resultobj
;
6574 wxLongLong
* _result
;
6576 PyObject
* _argo0
= 0;
6577 char *_kwnames
[] = { "self", NULL
};
6580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetSeconds",_kwnames
,&_argo0
))
6583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetSeconds. Expected _wxTimeSpan_p.");
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6591 _result
= new wxLongLong (wxTimeSpan_GetSeconds(_arg0
));
6593 wxPyEndAllowThreads(__tstate
);
6594 if (PyErr_Occurred()) return NULL
;
6596 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6597 hi
= PyLong_FromLong(_result
->GetHi());
6598 lo
= PyLong_FromLong(_result
->GetLo());
6599 shifter
= PyLong_FromLong(32);
6600 shifted
= PyNumber_Lshift(hi
, shifter
);
6601 _resultobj
= PyNumber_Or(shifted
, lo
);
6610 #define wxTimeSpan_GetMilliseconds(_swigobj) (_swigobj->GetMilliseconds())
6611 static PyObject
*_wrap_wxTimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
* _resultobj
;
6613 wxLongLong
* _result
;
6615 PyObject
* _argo0
= 0;
6616 char *_kwnames
[] = { "self", NULL
};
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMilliseconds",_kwnames
,&_argo0
))
6622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMilliseconds. Expected _wxTimeSpan_p.");
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 _result
= new wxLongLong (wxTimeSpan_GetMilliseconds(_arg0
));
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) return NULL
;
6635 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6636 hi
= PyLong_FromLong(_result
->GetHi());
6637 lo
= PyLong_FromLong(_result
->GetLo());
6638 shifter
= PyLong_FromLong(32);
6639 shifted
= PyNumber_Lshift(hi
, shifter
);
6640 _resultobj
= PyNumber_Or(shifted
, lo
);
6649 #define wxTimeSpan_Format(_swigobj,_swigarg0) (_swigobj->Format(_swigarg0))
6650 static PyObject
*_wrap_wxTimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
* _resultobj
;
6654 wxString
* _arg1
= (wxString
*) &wxPyDateFormatStr
;
6655 PyObject
* _argo0
= 0;
6656 PyObject
* _obj1
= 0;
6657 char *_kwnames
[] = { "self","format", NULL
};
6660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTimeSpan_Format",_kwnames
,&_argo0
,&_obj1
))
6663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Format. Expected _wxTimeSpan_p.");
6671 _arg1
= wxString_in_helper(_obj1
);
6676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6677 _result
= new wxString (wxTimeSpan_Format(_arg0
,*_arg1
));
6679 wxPyEndAllowThreads(__tstate
);
6680 if (PyErr_Occurred()) return NULL
;
6683 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6685 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6698 #define new_wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6699 static PyObject
*_wrap_new_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
* _resultobj
;
6701 wxDateSpan
* _result
;
6702 int _arg0
= (int ) 0;
6703 int _arg1
= (int ) 0;
6704 int _arg2
= (int ) 0;
6705 int _arg3
= (int ) 0;
6706 char *_kwnames
[] = { "years","months","weeks","days", NULL
};
6710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxDateSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 _result
= (wxDateSpan
*)new_wxDateSpan(_arg0
,_arg1
,_arg2
,_arg3
);
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) return NULL
;
6719 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6720 _resultobj
= Py_BuildValue("s",_ptemp
);
6723 _resultobj
= Py_None
;
6728 #define delete_wxDateSpan(_swigobj) (delete _swigobj)
6729 static PyObject
*_wrap_delete_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6730 PyObject
* _resultobj
;
6732 PyObject
* _argo0
= 0;
6733 char *_kwnames
[] = { "self", NULL
};
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateSpan",_kwnames
,&_argo0
))
6739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateSpan. Expected _wxDateSpan_p.");
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 delete_wxDateSpan(_arg0
);
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) return NULL
;
6751 } Py_INCREF(Py_None
);
6752 _resultobj
= Py_None
;
6756 static PyObject
*_wrap_wxDateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
* _resultobj
;
6758 wxDateSpan
* _result
;
6760 char *_kwnames
[] = { "days", NULL
};
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Days",_kwnames
,&_arg0
))
6767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6768 _result
= new wxDateSpan (wxDateSpan::Days(_arg0
));
6770 wxPyEndAllowThreads(__tstate
);
6771 if (PyErr_Occurred()) return NULL
;
6772 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6773 _resultobj
= Py_BuildValue("s",_ptemp
);
6777 static PyObject
*_wrap_wxDateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
* _resultobj
;
6779 wxDateSpan
* _result
;
6780 char *_kwnames
[] = { NULL
};
6784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Day",_kwnames
))
6787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6788 _result
= new wxDateSpan (wxDateSpan::Day());
6790 wxPyEndAllowThreads(__tstate
);
6791 if (PyErr_Occurred()) return NULL
;
6792 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6793 _resultobj
= Py_BuildValue("s",_ptemp
);
6797 static PyObject
*_wrap_wxDateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
* _resultobj
;
6799 wxDateSpan
* _result
;
6801 char *_kwnames
[] = { "weeks", NULL
};
6805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Weeks",_kwnames
,&_arg0
))
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 _result
= new wxDateSpan (wxDateSpan::Weeks(_arg0
));
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) return NULL
;
6813 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6814 _resultobj
= Py_BuildValue("s",_ptemp
);
6818 static PyObject
*_wrap_wxDateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
* _resultobj
;
6820 wxDateSpan
* _result
;
6821 char *_kwnames
[] = { NULL
};
6825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Week",_kwnames
))
6828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6829 _result
= new wxDateSpan (wxDateSpan::Week());
6831 wxPyEndAllowThreads(__tstate
);
6832 if (PyErr_Occurred()) return NULL
;
6833 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6834 _resultobj
= Py_BuildValue("s",_ptemp
);
6838 static PyObject
*_wrap_wxDateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
* _resultobj
;
6840 wxDateSpan
* _result
;
6842 char *_kwnames
[] = { "mon", NULL
};
6846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Months",_kwnames
,&_arg0
))
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 _result
= new wxDateSpan (wxDateSpan::Months(_arg0
));
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) return NULL
;
6854 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6855 _resultobj
= Py_BuildValue("s",_ptemp
);
6859 static PyObject
*_wrap_wxDateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6860 PyObject
* _resultobj
;
6861 wxDateSpan
* _result
;
6862 char *_kwnames
[] = { NULL
};
6866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Month",_kwnames
))
6869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6870 _result
= new wxDateSpan (wxDateSpan::Month());
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) return NULL
;
6874 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6875 _resultobj
= Py_BuildValue("s",_ptemp
);
6879 static PyObject
*_wrap_wxDateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
* _resultobj
;
6881 wxDateSpan
* _result
;
6883 char *_kwnames
[] = { "years", NULL
};
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Years",_kwnames
,&_arg0
))
6890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6891 _result
= new wxDateSpan (wxDateSpan::Years(_arg0
));
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) return NULL
;
6895 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6896 _resultobj
= Py_BuildValue("s",_ptemp
);
6900 static PyObject
*_wrap_wxDateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
* _resultobj
;
6902 wxDateSpan
* _result
;
6903 char *_kwnames
[] = { NULL
};
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Year",_kwnames
))
6910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6911 _result
= new wxDateSpan (wxDateSpan::Year());
6913 wxPyEndAllowThreads(__tstate
);
6914 if (PyErr_Occurred()) return NULL
;
6915 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6916 _resultobj
= Py_BuildValue("s",_ptemp
);
6920 #define wxDateSpan_SetYears(_swigobj,_swigarg0) (_swigobj->SetYears(_swigarg0))
6921 static PyObject
*_wrap_wxDateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
* _resultobj
;
6923 wxDateSpan
* _result
;
6926 PyObject
* _argo0
= 0;
6927 char *_kwnames
[] = { "self","n", NULL
};
6931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetYears",_kwnames
,&_argo0
,&_arg1
))
6934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetYears. Expected _wxDateSpan_p.");
6941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6942 wxDateSpan
& _result_ref
= wxDateSpan_SetYears(_arg0
,_arg1
);
6943 _result
= (wxDateSpan
*) &_result_ref
;
6945 wxPyEndAllowThreads(__tstate
);
6946 if (PyErr_Occurred()) return NULL
;
6948 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6949 _resultobj
= Py_BuildValue("s",_ptemp
);
6952 _resultobj
= Py_None
;
6957 #define wxDateSpan_SetMonths(_swigobj,_swigarg0) (_swigobj->SetMonths(_swigarg0))
6958 static PyObject
*_wrap_wxDateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6959 PyObject
* _resultobj
;
6960 wxDateSpan
* _result
;
6963 PyObject
* _argo0
= 0;
6964 char *_kwnames
[] = { "self","n", NULL
};
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetMonths",_kwnames
,&_argo0
,&_arg1
))
6971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetMonths. Expected _wxDateSpan_p.");
6978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6979 wxDateSpan
& _result_ref
= wxDateSpan_SetMonths(_arg0
,_arg1
);
6980 _result
= (wxDateSpan
*) &_result_ref
;
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) return NULL
;
6985 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6986 _resultobj
= Py_BuildValue("s",_ptemp
);
6989 _resultobj
= Py_None
;
6994 #define wxDateSpan_SetWeeks(_swigobj,_swigarg0) (_swigobj->SetWeeks(_swigarg0))
6995 static PyObject
*_wrap_wxDateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
* _resultobj
;
6997 wxDateSpan
* _result
;
7000 PyObject
* _argo0
= 0;
7001 char *_kwnames
[] = { "self","n", NULL
};
7005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetWeeks",_kwnames
,&_argo0
,&_arg1
))
7008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetWeeks. Expected _wxDateSpan_p.");
7015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7016 wxDateSpan
& _result_ref
= wxDateSpan_SetWeeks(_arg0
,_arg1
);
7017 _result
= (wxDateSpan
*) &_result_ref
;
7019 wxPyEndAllowThreads(__tstate
);
7020 if (PyErr_Occurred()) return NULL
;
7022 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7023 _resultobj
= Py_BuildValue("s",_ptemp
);
7026 _resultobj
= Py_None
;
7031 #define wxDateSpan_SetDays(_swigobj,_swigarg0) (_swigobj->SetDays(_swigarg0))
7032 static PyObject
*_wrap_wxDateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
* _resultobj
;
7034 wxDateSpan
* _result
;
7037 PyObject
* _argo0
= 0;
7038 char *_kwnames
[] = { "self","n", NULL
};
7042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetDays",_kwnames
,&_argo0
,&_arg1
))
7045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetDays. Expected _wxDateSpan_p.");
7052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7053 wxDateSpan
& _result_ref
= wxDateSpan_SetDays(_arg0
,_arg1
);
7054 _result
= (wxDateSpan
*) &_result_ref
;
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) return NULL
;
7059 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7060 _resultobj
= Py_BuildValue("s",_ptemp
);
7063 _resultobj
= Py_None
;
7068 #define wxDateSpan_GetYears(_swigobj) (_swigobj->GetYears())
7069 static PyObject
*_wrap_wxDateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
* _resultobj
;
7073 PyObject
* _argo0
= 0;
7074 char *_kwnames
[] = { "self", NULL
};
7077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetYears",_kwnames
,&_argo0
))
7080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetYears. Expected _wxDateSpan_p.");
7087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7088 _result
= (int )wxDateSpan_GetYears(_arg0
);
7090 wxPyEndAllowThreads(__tstate
);
7091 if (PyErr_Occurred()) return NULL
;
7092 } _resultobj
= Py_BuildValue("i",_result
);
7096 #define wxDateSpan_GetMonths(_swigobj) (_swigobj->GetMonths())
7097 static PyObject
*_wrap_wxDateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
* _resultobj
;
7101 PyObject
* _argo0
= 0;
7102 char *_kwnames
[] = { "self", NULL
};
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetMonths",_kwnames
,&_argo0
))
7108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetMonths. Expected _wxDateSpan_p.");
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 _result
= (int )wxDateSpan_GetMonths(_arg0
);
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) return NULL
;
7120 } _resultobj
= Py_BuildValue("i",_result
);
7124 #define wxDateSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
7125 static PyObject
*_wrap_wxDateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7126 PyObject
* _resultobj
;
7129 PyObject
* _argo0
= 0;
7130 char *_kwnames
[] = { "self", NULL
};
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetWeeks",_kwnames
,&_argo0
))
7136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetWeeks. Expected _wxDateSpan_p.");
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7144 _result
= (int )wxDateSpan_GetWeeks(_arg0
);
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) return NULL
;
7148 } _resultobj
= Py_BuildValue("i",_result
);
7152 #define wxDateSpan_GetDays(_swigobj) (_swigobj->GetDays())
7153 static PyObject
*_wrap_wxDateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
* _resultobj
;
7157 PyObject
* _argo0
= 0;
7158 char *_kwnames
[] = { "self", NULL
};
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetDays",_kwnames
,&_argo0
))
7164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetDays. Expected _wxDateSpan_p.");
7171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7172 _result
= (int )wxDateSpan_GetDays(_arg0
);
7174 wxPyEndAllowThreads(__tstate
);
7175 if (PyErr_Occurred()) return NULL
;
7176 } _resultobj
= Py_BuildValue("i",_result
);
7180 #define wxDateSpan_GetTotalDays(_swigobj) (_swigobj->GetTotalDays())
7181 static PyObject
*_wrap_wxDateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
* _resultobj
;
7185 PyObject
* _argo0
= 0;
7186 char *_kwnames
[] = { "self", NULL
};
7189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetTotalDays",_kwnames
,&_argo0
))
7192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetTotalDays. Expected _wxDateSpan_p.");
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 _result
= (int )wxDateSpan_GetTotalDays(_arg0
);
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) return NULL
;
7204 } _resultobj
= Py_BuildValue("i",_result
);
7208 #define wxDateSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
7209 static PyObject
*_wrap_wxDateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7210 PyObject
* _resultobj
;
7211 wxDateSpan
* _result
;
7214 PyObject
* _argo0
= 0;
7215 PyObject
* _argo1
= 0;
7216 char *_kwnames
[] = { "self","other", NULL
};
7220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Add",_kwnames
,&_argo0
,&_argo1
))
7223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7230 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7231 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 wxDateSpan
& _result_ref
= wxDateSpan_Add(_arg0
,*_arg1
);
7239 _result
= (wxDateSpan
*) &_result_ref
;
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) return NULL
;
7244 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7245 _resultobj
= Py_BuildValue("s",_ptemp
);
7248 _resultobj
= Py_None
;
7253 #define wxDateSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
7254 static PyObject
*_wrap_wxDateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
* _resultobj
;
7256 wxDateSpan
* _result
;
7259 PyObject
* _argo0
= 0;
7260 PyObject
* _argo1
= 0;
7261 char *_kwnames
[] = { "self","other", NULL
};
7265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
7268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7275 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7276 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 wxDateSpan
& _result_ref
= wxDateSpan_Subtract(_arg0
,*_arg1
);
7284 _result
= (wxDateSpan
*) &_result_ref
;
7286 wxPyEndAllowThreads(__tstate
);
7287 if (PyErr_Occurred()) return NULL
;
7289 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7290 _resultobj
= Py_BuildValue("s",_ptemp
);
7293 _resultobj
= Py_None
;
7298 #define wxDateSpan_Neg(_swigobj) (_swigobj->Neg())
7299 static PyObject
*_wrap_wxDateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
* _resultobj
;
7301 wxDateSpan
* _result
;
7303 PyObject
* _argo0
= 0;
7304 char *_kwnames
[] = { "self", NULL
};
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_Neg",_kwnames
,&_argo0
))
7311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Neg. Expected _wxDateSpan_p.");
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 wxDateSpan
& _result_ref
= wxDateSpan_Neg(_arg0
);
7320 _result
= (wxDateSpan
*) &_result_ref
;
7322 wxPyEndAllowThreads(__tstate
);
7323 if (PyErr_Occurred()) return NULL
;
7325 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7326 _resultobj
= Py_BuildValue("s",_ptemp
);
7329 _resultobj
= Py_None
;
7334 #define wxDateSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
7335 static PyObject
*_wrap_wxDateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7336 PyObject
* _resultobj
;
7337 wxDateSpan
* _result
;
7340 PyObject
* _argo0
= 0;
7341 char *_kwnames
[] = { "self","factor", NULL
};
7345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
7348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Multiply. Expected _wxDateSpan_p.");
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 wxDateSpan
& _result_ref
= wxDateSpan_Multiply(_arg0
,_arg1
);
7357 _result
= (wxDateSpan
*) &_result_ref
;
7359 wxPyEndAllowThreads(__tstate
);
7360 if (PyErr_Occurred()) return NULL
;
7362 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7363 _resultobj
= Py_BuildValue("s",_ptemp
);
7366 _resultobj
= Py_None
;
7371 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
7372 static PyObject
*_wrap_wxDateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7373 PyObject
* _resultobj
;
7374 wxDateSpan
* _result
;
7377 PyObject
* _argo0
= 0;
7378 PyObject
* _argo1
= 0;
7379 char *_kwnames
[] = { "self","other", NULL
};
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___add__",_kwnames
,&_argo0
,&_argo1
))
7386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7393 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7394 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7401 _result
= new wxDateSpan (wxDateSpan___add__(_arg0
,*_arg1
));
7403 wxPyEndAllowThreads(__tstate
);
7404 if (PyErr_Occurred()) return NULL
;
7405 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7406 _resultobj
= Py_BuildValue("s",_ptemp
);
7410 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
- other
; }
7411 static PyObject
*_wrap_wxDateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7412 PyObject
* _resultobj
;
7413 wxDateSpan
* _result
;
7416 PyObject
* _argo0
= 0;
7417 PyObject
* _argo1
= 0;
7418 char *_kwnames
[] = { "self","other", NULL
};
7422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
7425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7432 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7433 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7440 _result
= new wxDateSpan (wxDateSpan___sub__(_arg0
,*_arg1
));
7442 wxPyEndAllowThreads(__tstate
);
7443 if (PyErr_Occurred()) return NULL
;
7444 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7445 _resultobj
= Py_BuildValue("s",_ptemp
);
7449 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
) { return *self
* n
; }
7450 static PyObject
*_wrap_wxDateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7451 PyObject
* _resultobj
;
7452 wxDateSpan
* _result
;
7455 PyObject
* _argo0
= 0;
7456 char *_kwnames
[] = { "self","n", NULL
};
7460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
7463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___mul__. Expected _wxDateSpan_p.");
7470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7471 _result
= new wxDateSpan (wxDateSpan___mul__(_arg0
,_arg1
));
7473 wxPyEndAllowThreads(__tstate
);
7474 if (PyErr_Occurred()) return NULL
;
7475 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7476 _resultobj
= Py_BuildValue("s",_ptemp
);
7480 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
) { return n
* *self
; }
7481 static PyObject
*_wrap_wxDateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7482 PyObject
* _resultobj
;
7483 wxDateSpan
* _result
;
7486 PyObject
* _argo0
= 0;
7487 char *_kwnames
[] = { "self","n", NULL
};
7491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
7494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___rmul__. Expected _wxDateSpan_p.");
7501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7502 _result
= new wxDateSpan (wxDateSpan___rmul__(_arg0
,_arg1
));
7504 wxPyEndAllowThreads(__tstate
);
7505 if (PyErr_Occurred()) return NULL
;
7506 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7507 _resultobj
= Py_BuildValue("s",_ptemp
);
7511 static wxDateSpan
wxDateSpan___neg__(wxDateSpan
*self
) { return self
->Negate(); }
7512 static PyObject
*_wrap_wxDateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
* _resultobj
;
7514 wxDateSpan
* _result
;
7516 PyObject
* _argo0
= 0;
7517 char *_kwnames
[] = { "self", NULL
};
7521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan___neg__",_kwnames
,&_argo0
))
7524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___neg__. Expected _wxDateSpan_p.");
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 _result
= new wxDateSpan (wxDateSpan___neg__(_arg0
));
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) return NULL
;
7536 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7537 _resultobj
= Py_BuildValue("s",_ptemp
);
7541 static PyMethodDef utilscMethods
[] = {
7542 { "wxDateSpan___neg__", (PyCFunction
) _wrap_wxDateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7543 { "wxDateSpan___rmul__", (PyCFunction
) _wrap_wxDateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7544 { "wxDateSpan___mul__", (PyCFunction
) _wrap_wxDateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7545 { "wxDateSpan___sub__", (PyCFunction
) _wrap_wxDateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7546 { "wxDateSpan___add__", (PyCFunction
) _wrap_wxDateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7547 { "wxDateSpan_Multiply", (PyCFunction
) _wrap_wxDateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7548 { "wxDateSpan_Neg", (PyCFunction
) _wrap_wxDateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7549 { "wxDateSpan_Subtract", (PyCFunction
) _wrap_wxDateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7550 { "wxDateSpan_Add", (PyCFunction
) _wrap_wxDateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7551 { "wxDateSpan_GetTotalDays", (PyCFunction
) _wrap_wxDateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
7552 { "wxDateSpan_GetDays", (PyCFunction
) _wrap_wxDateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7553 { "wxDateSpan_GetWeeks", (PyCFunction
) _wrap_wxDateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7554 { "wxDateSpan_GetMonths", (PyCFunction
) _wrap_wxDateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7555 { "wxDateSpan_GetYears", (PyCFunction
) _wrap_wxDateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
7556 { "wxDateSpan_SetDays", (PyCFunction
) _wrap_wxDateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
7557 { "wxDateSpan_SetWeeks", (PyCFunction
) _wrap_wxDateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7558 { "wxDateSpan_SetMonths", (PyCFunction
) _wrap_wxDateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7559 { "wxDateSpan_SetYears", (PyCFunction
) _wrap_wxDateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
7560 { "wxDateSpan_Year", (PyCFunction
) _wrap_wxDateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
7561 { "wxDateSpan_Years", (PyCFunction
) _wrap_wxDateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
7562 { "wxDateSpan_Month", (PyCFunction
) _wrap_wxDateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
7563 { "wxDateSpan_Months", (PyCFunction
) _wrap_wxDateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
7564 { "wxDateSpan_Week", (PyCFunction
) _wrap_wxDateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7565 { "wxDateSpan_Weeks", (PyCFunction
) _wrap_wxDateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7566 { "wxDateSpan_Day", (PyCFunction
) _wrap_wxDateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7567 { "wxDateSpan_Days", (PyCFunction
) _wrap_wxDateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7568 { "delete_wxDateSpan", (PyCFunction
) _wrap_delete_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7569 { "new_wxDateSpan", (PyCFunction
) _wrap_new_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7570 { "wxTimeSpan_Format", (PyCFunction
) _wrap_wxTimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
7571 { "wxTimeSpan_GetMilliseconds", (PyCFunction
) _wrap_wxTimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
7572 { "wxTimeSpan_GetSeconds", (PyCFunction
) _wrap_wxTimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
7573 { "wxTimeSpan_GetMinutes", (PyCFunction
) _wrap_wxTimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
7574 { "wxTimeSpan_GetHours", (PyCFunction
) _wrap_wxTimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
7575 { "wxTimeSpan_GetDays", (PyCFunction
) _wrap_wxTimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7576 { "wxTimeSpan_GetWeeks", (PyCFunction
) _wrap_wxTimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7577 { "wxTimeSpan_IsShorterThan", (PyCFunction
) _wrap_wxTimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
7578 { "wxTimeSpan_IsLongerThan", (PyCFunction
) _wrap_wxTimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
7579 { "wxTimeSpan_IsEqualTo", (PyCFunction
) _wrap_wxTimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7580 { "wxTimeSpan_IsNegative", (PyCFunction
) _wrap_wxTimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
7581 { "wxTimeSpan_IsPositive", (PyCFunction
) _wrap_wxTimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
7582 { "wxTimeSpan_IsNull", (PyCFunction
) _wrap_wxTimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
7583 { "wxTimeSpan___cmp__", (PyCFunction
) _wrap_wxTimeSpan___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7584 { "wxTimeSpan___neg__", (PyCFunction
) _wrap_wxTimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7585 { "wxTimeSpan___rmul__", (PyCFunction
) _wrap_wxTimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7586 { "wxTimeSpan___mul__", (PyCFunction
) _wrap_wxTimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7587 { "wxTimeSpan___sub__", (PyCFunction
) _wrap_wxTimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7588 { "wxTimeSpan___add__", (PyCFunction
) _wrap_wxTimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7589 { "wxTimeSpan_Abs", (PyCFunction
) _wrap_wxTimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
7590 { "wxTimeSpan_Neg", (PyCFunction
) _wrap_wxTimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7591 { "wxTimeSpan_Multiply", (PyCFunction
) _wrap_wxTimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7592 { "wxTimeSpan_Subtract", (PyCFunction
) _wrap_wxTimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7593 { "wxTimeSpan_Add", (PyCFunction
) _wrap_wxTimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7594 { "delete_wxTimeSpan", (PyCFunction
) _wrap_delete_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7595 { "new_wxTimeSpan", (PyCFunction
) _wrap_new_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7596 { "wxTimeSpan_Week", (PyCFunction
) _wrap_wxTimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7597 { "wxTimeSpan_Weeks", (PyCFunction
) _wrap_wxTimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7598 { "wxTimeSpan_Day", (PyCFunction
) _wrap_wxTimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7599 { "wxTimeSpan_Days", (PyCFunction
) _wrap_wxTimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7600 { "wxTimeSpan_Hour", (PyCFunction
) _wrap_wxTimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
7601 { "wxTimeSpan_Hours", (PyCFunction
) _wrap_wxTimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
7602 { "wxTimeSpan_Minute", (PyCFunction
) _wrap_wxTimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
7603 { "wxTimeSpan_Minutes", (PyCFunction
) _wrap_wxTimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
7604 { "wxTimeSpan_Second", (PyCFunction
) _wrap_wxTimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
7605 { "wxTimeSpan_Seconds", (PyCFunction
) _wrap_wxTimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
7606 { "wxDateTime_FormatISOTime", (PyCFunction
) _wrap_wxDateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
7607 { "wxDateTime_FormatISODate", (PyCFunction
) _wrap_wxDateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
7608 { "wxDateTime_FormatTime", (PyCFunction
) _wrap_wxDateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
7609 { "wxDateTime_FormatDate", (PyCFunction
) _wrap_wxDateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
7610 { "wxDateTime_Format", (PyCFunction
) _wrap_wxDateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
7611 { "wxDateTime_ParseTime", (PyCFunction
) _wrap_wxDateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
7612 { "wxDateTime_ParseDate", (PyCFunction
) _wrap_wxDateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
7613 { "wxDateTime_ParseDateTime", (PyCFunction
) _wrap_wxDateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7614 { "wxDateTime_ParseFormat", (PyCFunction
) _wrap_wxDateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
7615 { "wxDateTime_ParseRfc822Date", (PyCFunction
) _wrap_wxDateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
7616 { "wxDateTime___cmp__", (PyCFunction
) _wrap_wxDateTime___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7617 { "wxDateTime___sub__DS", (PyCFunction
) _wrap_wxDateTime___sub__DS
, METH_VARARGS
| METH_KEYWORDS
},
7618 { "wxDateTime___sub__TS", (PyCFunction
) _wrap_wxDateTime___sub__TS
, METH_VARARGS
| METH_KEYWORDS
},
7619 { "wxDateTime___sub__DT", (PyCFunction
) _wrap_wxDateTime___sub__DT
, METH_VARARGS
| METH_KEYWORDS
},
7620 { "wxDateTime___add__DS", (PyCFunction
) _wrap_wxDateTime___add__DS
, METH_VARARGS
| METH_KEYWORDS
},
7621 { "wxDateTime___add__TS", (PyCFunction
) _wrap_wxDateTime___add__TS
, METH_VARARGS
| METH_KEYWORDS
},
7622 { "wxDateTime_Subtract", (PyCFunction
) _wrap_wxDateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7623 { "wxDateTime_SubtractDS", (PyCFunction
) _wrap_wxDateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
7624 { "wxDateTime_SubtractTS", (PyCFunction
) _wrap_wxDateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
7625 { "wxDateTime_AddDS", (PyCFunction
) _wrap_wxDateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
7626 { "wxDateTime_AddTS", (PyCFunction
) _wrap_wxDateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
7627 { "wxDateTime_IsEqualUpTo", (PyCFunction
) _wrap_wxDateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
7628 { "wxDateTime_IsSameTime", (PyCFunction
) _wrap_wxDateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
7629 { "wxDateTime_IsSameDate", (PyCFunction
) _wrap_wxDateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
7630 { "wxDateTime_IsBetween", (PyCFunction
) _wrap_wxDateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
7631 { "wxDateTime_IsStrictlyBetween", (PyCFunction
) _wrap_wxDateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
7632 { "wxDateTime_IsLaterThan", (PyCFunction
) _wrap_wxDateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
7633 { "wxDateTime_IsEarlierThan", (PyCFunction
) _wrap_wxDateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
7634 { "wxDateTime_IsEqualTo", (PyCFunction
) _wrap_wxDateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7635 { "wxDateTime_IsWorkDay", (PyCFunction
) _wrap_wxDateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
7636 { "wxDateTime_GetWeekOfMonth", (PyCFunction
) _wrap_wxDateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
7637 { "wxDateTime_GetWeekOfYear", (PyCFunction
) _wrap_wxDateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7638 { "wxDateTime_GetDayOfYear", (PyCFunction
) _wrap_wxDateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7639 { "wxDateTime_GetMillisecond", (PyCFunction
) _wrap_wxDateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7640 { "wxDateTime_GetSecond", (PyCFunction
) _wrap_wxDateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7641 { "wxDateTime_GetMinute", (PyCFunction
) _wrap_wxDateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7642 { "wxDateTime_GetHour", (PyCFunction
) _wrap_wxDateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
7643 { "wxDateTime_GetWeekDay", (PyCFunction
) _wrap_wxDateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7644 { "wxDateTime_GetDay", (PyCFunction
) _wrap_wxDateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
7645 { "wxDateTime_GetMonth", (PyCFunction
) _wrap_wxDateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7646 { "wxDateTime_GetYear", (PyCFunction
) _wrap_wxDateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
7647 { "wxDateTime_GetTicks", (PyCFunction
) _wrap_wxDateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
7648 { "wxDateTime_IsValid", (PyCFunction
) _wrap_wxDateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
7649 { "wxDateTime_IsDST", (PyCFunction
) _wrap_wxDateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
7650 { "wxDateTime_MakeGMT", (PyCFunction
) _wrap_wxDateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
7651 { "wxDateTime_ToGMT", (PyCFunction
) _wrap_wxDateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
7652 { "wxDateTime_MakeTimezone", (PyCFunction
) _wrap_wxDateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7653 { "wxDateTime_ToTimezone", (PyCFunction
) _wrap_wxDateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7654 { "wxDateTime_GetRataDie", (PyCFunction
) _wrap_wxDateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
7655 { "wxDateTime_GetMJD", (PyCFunction
) _wrap_wxDateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
7656 { "wxDateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7657 { "wxDateTime_GetJDN", (PyCFunction
) _wrap_wxDateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7658 { "wxDateTime_GetJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7659 { "wxDateTime_GetYearDay", (PyCFunction
) _wrap_wxDateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7660 { "wxDateTime_SetToYearDay", (PyCFunction
) _wrap_wxDateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7661 { "wxDateTime_GetLastMonthDay", (PyCFunction
) _wrap_wxDateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7662 { "wxDateTime_SetToLastMonthDay", (PyCFunction
) _wrap_wxDateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7663 { "wxDateTime_GetWeek", (PyCFunction
) _wrap_wxDateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
7664 { "wxDateTime_SetToTheWeek", (PyCFunction
) _wrap_wxDateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
7665 { "wxDateTime_GetLastWeekDay", (PyCFunction
) _wrap_wxDateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7666 { "wxDateTime_SetToLastWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7667 { "wxDateTime_SetToWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7668 { "wxDateTime_GetPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7669 { "wxDateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7670 { "wxDateTime_GetNextWeekDay", (PyCFunction
) _wrap_wxDateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7671 { "wxDateTime_SetToNextWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7672 { "wxDateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7673 { "wxDateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7674 { "wxDateTime_SetMillisecond", (PyCFunction
) _wrap_wxDateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7675 { "wxDateTime_SetSecond", (PyCFunction
) _wrap_wxDateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7676 { "wxDateTime_SetMinute", (PyCFunction
) _wrap_wxDateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7677 { "wxDateTime_SetHour", (PyCFunction
) _wrap_wxDateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
7678 { "wxDateTime_SetDay", (PyCFunction
) _wrap_wxDateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
7679 { "wxDateTime_SetMonth", (PyCFunction
) _wrap_wxDateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7680 { "wxDateTime_SetYear", (PyCFunction
) _wrap_wxDateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
7681 { "wxDateTime_ResetTime", (PyCFunction
) _wrap_wxDateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
7682 { "wxDateTime_Set", (PyCFunction
) _wrap_wxDateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
7683 { "wxDateTime_SetHMS", (PyCFunction
) _wrap_wxDateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
7684 { "wxDateTime_SetJDN", (PyCFunction
) _wrap_wxDateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7685 { "wxDateTime_SetTimeT", (PyCFunction
) _wrap_wxDateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7686 { "wxDateTime_SetToCurrent", (PyCFunction
) _wrap_wxDateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
7687 { "delete_wxDateTime", (PyCFunction
) _wrap_delete_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7688 { "new_wxDateTimeFromDMY", (PyCFunction
) _wrap_new_wxDateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
7689 { "new_wxDateTimeFromHMS", (PyCFunction
) _wrap_new_wxDateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
7690 { "new_wxDateTimeFromJDN", (PyCFunction
) _wrap_new_wxDateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
7691 { "new_wxDateTimeFromTimeT", (PyCFunction
) _wrap_new_wxDateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7692 { "new_wxDateTime", (PyCFunction
) _wrap_new_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7693 { "wxDateTime_Today", (PyCFunction
) _wrap_wxDateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
7694 { "wxDateTime_Now", (PyCFunction
) _wrap_wxDateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
7695 { "wxDateTime_GetEndDST", (PyCFunction
) _wrap_wxDateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
7696 { "wxDateTime_GetBeginDST", (PyCFunction
) _wrap_wxDateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
7697 { "wxDateTime_IsDSTApplicable", (PyCFunction
) _wrap_wxDateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
7698 { "wxDateTime_GetAmPmStrings", (PyCFunction
) _wrap_wxDateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
7699 { "wxDateTime_GetWeekDayName", (PyCFunction
) _wrap_wxDateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
7700 { "wxDateTime_GetMonthName", (PyCFunction
) _wrap_wxDateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
7701 { "wxDateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
7702 { "wxDateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
7703 { "wxDateTime_GetCentury", (PyCFunction
) _wrap_wxDateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
7704 { "wxDateTime_IsLeapYear", (PyCFunction
) _wrap_wxDateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
7705 { "wxDateTime_GetCurrentMonth", (PyCFunction
) _wrap_wxDateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
7706 { "wxDateTime_ConvertYearToBC", (PyCFunction
) _wrap_wxDateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
7707 { "wxDateTime_GetCurrentYear", (PyCFunction
) _wrap_wxDateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
7708 { "wxDateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_wxDateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
7709 { "wxDateTime_GetCountry", (PyCFunction
) _wrap_wxDateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7710 { "wxDateTime_SetCountry", (PyCFunction
) _wrap_wxDateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7711 { "delete_wxFileConfig", (PyCFunction
) _wrap_delete_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7712 { "new_wxFileConfig", (PyCFunction
) _wrap_new_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7713 { "delete_wxConfig", (PyCFunction
) _wrap_delete_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7714 { "new_wxConfig", (PyCFunction
) _wrap_new_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7715 { "wxConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7716 { "wxConfigBase_RenameGroup", (PyCFunction
) _wrap_wxConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
7717 { "wxConfigBase_RenameEntry", (PyCFunction
) _wrap_wxConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
7718 { "wxConfigBase_GetEntryType", (PyCFunction
) _wrap_wxConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
7719 { "wxConfigBase_WriteBool", (PyCFunction
) _wrap_wxConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
7720 { "wxConfigBase_WriteFloat", (PyCFunction
) _wrap_wxConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
7721 { "wxConfigBase_WriteInt", (PyCFunction
) _wrap_wxConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
7722 { "wxConfigBase_Write", (PyCFunction
) _wrap_wxConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
7723 { "wxConfigBase_GetStyle", (PyCFunction
) _wrap_wxConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7724 { "wxConfigBase_SetStyle", (PyCFunction
) _wrap_wxConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7725 { "wxConfigBase_SetVendorName", (PyCFunction
) _wrap_wxConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7726 { "wxConfigBase_SetAppName", (PyCFunction
) _wrap_wxConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7727 { "wxConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_wxConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7728 { "wxConfigBase_SetPath", (PyCFunction
) _wrap_wxConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
7729 { "wxConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7730 { "wxConfigBase_ReadBool", (PyCFunction
) _wrap_wxConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
7731 { "wxConfigBase_ReadFloat", (PyCFunction
) _wrap_wxConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
7732 { "wxConfigBase_ReadInt", (PyCFunction
) _wrap_wxConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
7733 { "wxConfigBase_Read", (PyCFunction
) _wrap_wxConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
7734 { "wxConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_wxConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7735 { "wxConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_wxConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7736 { "wxConfigBase_HasGroup", (PyCFunction
) _wrap_wxConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
7737 { "wxConfigBase_HasEntry", (PyCFunction
) _wrap_wxConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
7738 { "wxConfigBase_GetVendorName", (PyCFunction
) _wrap_wxConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7739 { "wxConfigBase_GetPath", (PyCFunction
) _wrap_wxConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
7740 { "wxConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
7741 { "wxConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
7742 { "wxConfigBase_GetNextEntry", (PyCFunction
) _wrap_wxConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
7743 { "wxConfigBase_GetNextGroup", (PyCFunction
) _wrap_wxConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
7744 { "wxConfigBase_GetFirstEntry", (PyCFunction
) _wrap_wxConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
7745 { "wxConfigBase_GetFirstGroup", (PyCFunction
) _wrap_wxConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
7746 { "wxConfigBase_GetAppName", (PyCFunction
) _wrap_wxConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7747 { "wxConfigBase_Flush", (PyCFunction
) _wrap_wxConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
7748 { "wxConfigBase_Exists", (PyCFunction
) _wrap_wxConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
7749 { "wxConfigBase_DeleteGroup", (PyCFunction
) _wrap_wxConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
7750 { "wxConfigBase_DeleteEntry", (PyCFunction
) _wrap_wxConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
7751 { "wxConfigBase_DeleteAll", (PyCFunction
) _wrap_wxConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
7752 { "wxConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_wxConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
7753 { "wxConfigBase_Create", (PyCFunction
) _wrap_wxConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
7754 { "wxConfigBase_Get", (PyCFunction
) _wrap_wxConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
7755 { "wxConfigBase_Set", (PyCFunction
) _wrap_wxConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
7756 { "delete_wxConfigBase", (PyCFunction
) _wrap_delete_wxConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
7757 { "wxGetLocalTimeMillis", (PyCFunction
) _wrap_wxGetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
7758 { "wxGetCurrentTime", (PyCFunction
) _wrap_wxGetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
7759 { "wxGetUTCTime", (PyCFunction
) _wrap_wxGetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
7760 { "wxGetLocalTime", (PyCFunction
) _wrap_wxGetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
7767 * This table is used by the pointer type-checker
7769 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7770 { "_signed_long","_long",0},
7771 { "_wxPrintQuality","_wxCoord",0},
7772 { "_wxPrintQuality","_int",0},
7773 { "_wxPrintQuality","_signed_int",0},
7774 { "_wxPrintQuality","_unsigned_int",0},
7775 { "_wxPrintQuality","_wxWindowID",0},
7776 { "_wxPrintQuality","_uint",0},
7777 { "_wxPrintQuality","_EBool",0},
7778 { "_wxPrintQuality","_size_t",0},
7779 { "_wxPrintQuality","_time_t",0},
7780 { "_byte","_unsigned_char",0},
7781 { "_long","_unsigned_long",0},
7782 { "_long","_signed_long",0},
7783 { "_size_t","_wxCoord",0},
7784 { "_size_t","_wxPrintQuality",0},
7785 { "_size_t","_time_t",0},
7786 { "_size_t","_unsigned_int",0},
7787 { "_size_t","_int",0},
7788 { "_size_t","_wxWindowID",0},
7789 { "_size_t","_uint",0},
7790 { "_uint","_wxCoord",0},
7791 { "_uint","_wxPrintQuality",0},
7792 { "_uint","_time_t",0},
7793 { "_uint","_size_t",0},
7794 { "_uint","_unsigned_int",0},
7795 { "_uint","_int",0},
7796 { "_uint","_wxWindowID",0},
7797 { "_wxChar","_char",0},
7798 { "_char","_wxChar",0},
7799 { "_EBool","_wxCoord",0},
7800 { "_EBool","_wxPrintQuality",0},
7801 { "_EBool","_signed_int",0},
7802 { "_EBool","_int",0},
7803 { "_EBool","_wxWindowID",0},
7804 { "_unsigned_long","_long",0},
7805 { "_signed_int","_wxCoord",0},
7806 { "_signed_int","_wxPrintQuality",0},
7807 { "_signed_int","_EBool",0},
7808 { "_signed_int","_wxWindowID",0},
7809 { "_signed_int","_int",0},
7810 { "_WXTYPE","_wxDateTime_t",0},
7811 { "_WXTYPE","_short",0},
7812 { "_WXTYPE","_signed_short",0},
7813 { "_WXTYPE","_unsigned_short",0},
7814 { "_unsigned_short","_wxDateTime_t",0},
7815 { "_unsigned_short","_WXTYPE",0},
7816 { "_unsigned_short","_short",0},
7817 { "_signed_short","_WXTYPE",0},
7818 { "_signed_short","_short",0},
7819 { "_unsigned_char","_byte",0},
7820 { "_unsigned_int","_wxCoord",0},
7821 { "_unsigned_int","_wxPrintQuality",0},
7822 { "_unsigned_int","_time_t",0},
7823 { "_unsigned_int","_size_t",0},
7824 { "_unsigned_int","_uint",0},
7825 { "_unsigned_int","_wxWindowID",0},
7826 { "_unsigned_int","_int",0},
7827 { "_wxConfigBase","_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7828 { "_wxConfigBase","_wxConfig",SwigwxConfigTowxConfigBase
},
7829 { "_short","_wxDateTime_t",0},
7830 { "_short","_WXTYPE",0},
7831 { "_short","_unsigned_short",0},
7832 { "_short","_signed_short",0},
7833 { "_wxWindowID","_wxCoord",0},
7834 { "_wxWindowID","_wxPrintQuality",0},
7835 { "_wxWindowID","_time_t",0},
7836 { "_wxWindowID","_size_t",0},
7837 { "_wxWindowID","_EBool",0},
7838 { "_wxWindowID","_uint",0},
7839 { "_wxWindowID","_int",0},
7840 { "_wxWindowID","_signed_int",0},
7841 { "_wxWindowID","_unsigned_int",0},
7842 { "_int","_wxCoord",0},
7843 { "_int","_wxPrintQuality",0},
7844 { "_int","_time_t",0},
7845 { "_int","_size_t",0},
7846 { "_int","_EBool",0},
7847 { "_int","_uint",0},
7848 { "_int","_wxWindowID",0},
7849 { "_int","_unsigned_int",0},
7850 { "_int","_signed_int",0},
7851 { "_wxDateTime_t","_unsigned_short",0},
7852 { "_wxDateTime_t","_short",0},
7853 { "_wxDateTime_t","_WXTYPE",0},
7854 { "_time_t","_wxCoord",0},
7855 { "_time_t","_wxPrintQuality",0},
7856 { "_time_t","_unsigned_int",0},
7857 { "_time_t","_int",0},
7858 { "_time_t","_wxWindowID",0},
7859 { "_time_t","_uint",0},
7860 { "_time_t","_size_t",0},
7861 { "_wxCoord","_int",0},
7862 { "_wxCoord","_signed_int",0},
7863 { "_wxCoord","_unsigned_int",0},
7864 { "_wxCoord","_wxWindowID",0},
7865 { "_wxCoord","_uint",0},
7866 { "_wxCoord","_EBool",0},
7867 { "_wxCoord","_size_t",0},
7868 { "_wxCoord","_time_t",0},
7869 { "_wxCoord","_wxPrintQuality",0},
7872 static PyObject
*SWIG_globals
;
7876 SWIGEXPORT(void) initutilsc() {
7878 SWIG_globals
= SWIG_newvarlink();
7879 m
= Py_InitModule("utilsc", utilscMethods
);
7880 d
= PyModule_GetDict(m
);
7881 PyDict_SetItemString(d
,"wxCONFIG_USE_LOCAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_LOCAL_FILE
));
7882 PyDict_SetItemString(d
,"wxCONFIG_USE_GLOBAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_GLOBAL_FILE
));
7883 PyDict_SetItemString(d
,"wxCONFIG_USE_RELATIVE_PATH", PyInt_FromLong((long) wxCONFIG_USE_RELATIVE_PATH
));
7885 wxClassInfo::CleanUpClasses();
7886 wxClassInfo::InitializeClasses();
7887 PyDict_SetItemString(d
,"wxConfigBase_Type_Unknown", PyInt_FromLong((long) wxConfigBase::Type_Unknown
));
7888 PyDict_SetItemString(d
,"wxConfigBase_Type_String", PyInt_FromLong((long) wxConfigBase::Type_String
));
7889 PyDict_SetItemString(d
,"wxConfigBase_Type_Boolean", PyInt_FromLong((long) wxConfigBase::Type_Boolean
));
7890 PyDict_SetItemString(d
,"wxConfigBase_Type_Integer", PyInt_FromLong((long) wxConfigBase::Type_Integer
));
7891 PyDict_SetItemString(d
,"wxConfigBase_Type_Float", PyInt_FromLong((long) wxConfigBase::Type_Float
));
7892 PyDict_SetItemString(d
,"wxDateTime_Local", PyInt_FromLong((long) wxDateTime::Local
));
7893 PyDict_SetItemString(d
,"wxDateTime_GMT_12", PyInt_FromLong((long) wxDateTime::GMT_12
));
7894 PyDict_SetItemString(d
,"wxDateTime_GMT_11", PyInt_FromLong((long) wxDateTime::GMT_11
));
7895 PyDict_SetItemString(d
,"wxDateTime_GMT_10", PyInt_FromLong((long) wxDateTime::GMT_10
));
7896 PyDict_SetItemString(d
,"wxDateTime_GMT_9", PyInt_FromLong((long) wxDateTime::GMT_9
));
7897 PyDict_SetItemString(d
,"wxDateTime_GMT_8", PyInt_FromLong((long) wxDateTime::GMT_8
));
7898 PyDict_SetItemString(d
,"wxDateTime_GMT_7", PyInt_FromLong((long) wxDateTime::GMT_7
));
7899 PyDict_SetItemString(d
,"wxDateTime_GMT_6", PyInt_FromLong((long) wxDateTime::GMT_6
));
7900 PyDict_SetItemString(d
,"wxDateTime_GMT_5", PyInt_FromLong((long) wxDateTime::GMT_5
));
7901 PyDict_SetItemString(d
,"wxDateTime_GMT_4", PyInt_FromLong((long) wxDateTime::GMT_4
));
7902 PyDict_SetItemString(d
,"wxDateTime_GMT_3", PyInt_FromLong((long) wxDateTime::GMT_3
));
7903 PyDict_SetItemString(d
,"wxDateTime_GMT_2", PyInt_FromLong((long) wxDateTime::GMT_2
));
7904 PyDict_SetItemString(d
,"wxDateTime_GMT_1", PyInt_FromLong((long) wxDateTime::GMT_1
));
7905 PyDict_SetItemString(d
,"wxDateTime_GMT0", PyInt_FromLong((long) wxDateTime::GMT0
));
7906 PyDict_SetItemString(d
,"wxDateTime_GMT1", PyInt_FromLong((long) wxDateTime::GMT1
));
7907 PyDict_SetItemString(d
,"wxDateTime_GMT2", PyInt_FromLong((long) wxDateTime::GMT2
));
7908 PyDict_SetItemString(d
,"wxDateTime_GMT3", PyInt_FromLong((long) wxDateTime::GMT3
));
7909 PyDict_SetItemString(d
,"wxDateTime_GMT4", PyInt_FromLong((long) wxDateTime::GMT4
));
7910 PyDict_SetItemString(d
,"wxDateTime_GMT5", PyInt_FromLong((long) wxDateTime::GMT5
));
7911 PyDict_SetItemString(d
,"wxDateTime_GMT6", PyInt_FromLong((long) wxDateTime::GMT6
));
7912 PyDict_SetItemString(d
,"wxDateTime_GMT7", PyInt_FromLong((long) wxDateTime::GMT7
));
7913 PyDict_SetItemString(d
,"wxDateTime_GMT8", PyInt_FromLong((long) wxDateTime::GMT8
));
7914 PyDict_SetItemString(d
,"wxDateTime_GMT9", PyInt_FromLong((long) wxDateTime::GMT9
));
7915 PyDict_SetItemString(d
,"wxDateTime_GMT10", PyInt_FromLong((long) wxDateTime::GMT10
));
7916 PyDict_SetItemString(d
,"wxDateTime_GMT11", PyInt_FromLong((long) wxDateTime::GMT11
));
7917 PyDict_SetItemString(d
,"wxDateTime_GMT12", PyInt_FromLong((long) wxDateTime::GMT12
));
7918 PyDict_SetItemString(d
,"wxDateTime_WET", PyInt_FromLong((long) wxDateTime::WET
));
7919 PyDict_SetItemString(d
,"wxDateTime_WEST", PyInt_FromLong((long) wxDateTime::WEST
));
7920 PyDict_SetItemString(d
,"wxDateTime_CET", PyInt_FromLong((long) wxDateTime::CET
));
7921 PyDict_SetItemString(d
,"wxDateTime_CEST", PyInt_FromLong((long) wxDateTime::CEST
));
7922 PyDict_SetItemString(d
,"wxDateTime_EET", PyInt_FromLong((long) wxDateTime::EET
));
7923 PyDict_SetItemString(d
,"wxDateTime_EEST", PyInt_FromLong((long) wxDateTime::EEST
));
7924 PyDict_SetItemString(d
,"wxDateTime_MSK", PyInt_FromLong((long) wxDateTime::MSK
));
7925 PyDict_SetItemString(d
,"wxDateTime_MSD", PyInt_FromLong((long) wxDateTime::MSD
));
7926 PyDict_SetItemString(d
,"wxDateTime_AST", PyInt_FromLong((long) wxDateTime::AST
));
7927 PyDict_SetItemString(d
,"wxDateTime_ADT", PyInt_FromLong((long) wxDateTime::ADT
));
7928 PyDict_SetItemString(d
,"wxDateTime_EST", PyInt_FromLong((long) wxDateTime::EST
));
7929 PyDict_SetItemString(d
,"wxDateTime_EDT", PyInt_FromLong((long) wxDateTime::EDT
));
7930 PyDict_SetItemString(d
,"wxDateTime_CST", PyInt_FromLong((long) wxDateTime::CST
));
7931 PyDict_SetItemString(d
,"wxDateTime_CDT", PyInt_FromLong((long) wxDateTime::CDT
));
7932 PyDict_SetItemString(d
,"wxDateTime_MST", PyInt_FromLong((long) wxDateTime::MST
));
7933 PyDict_SetItemString(d
,"wxDateTime_MDT", PyInt_FromLong((long) wxDateTime::MDT
));
7934 PyDict_SetItemString(d
,"wxDateTime_PST", PyInt_FromLong((long) wxDateTime::PST
));
7935 PyDict_SetItemString(d
,"wxDateTime_PDT", PyInt_FromLong((long) wxDateTime::PDT
));
7936 PyDict_SetItemString(d
,"wxDateTime_HST", PyInt_FromLong((long) wxDateTime::HST
));
7937 PyDict_SetItemString(d
,"wxDateTime_AKST", PyInt_FromLong((long) wxDateTime::AKST
));
7938 PyDict_SetItemString(d
,"wxDateTime_AKDT", PyInt_FromLong((long) wxDateTime::AKDT
));
7939 PyDict_SetItemString(d
,"wxDateTime_A_WST", PyInt_FromLong((long) wxDateTime::A_WST
));
7940 PyDict_SetItemString(d
,"wxDateTime_A_CST", PyInt_FromLong((long) wxDateTime::A_CST
));
7941 PyDict_SetItemString(d
,"wxDateTime_A_EST", PyInt_FromLong((long) wxDateTime::A_EST
));
7942 PyDict_SetItemString(d
,"wxDateTime_A_ESST", PyInt_FromLong((long) wxDateTime::A_ESST
));
7943 PyDict_SetItemString(d
,"wxDateTime_UTC", PyInt_FromLong((long) wxDateTime::UTC
));
7944 PyDict_SetItemString(d
,"wxDateTime_Gregorian", PyInt_FromLong((long) wxDateTime::Gregorian
));
7945 PyDict_SetItemString(d
,"wxDateTime_Julian", PyInt_FromLong((long) wxDateTime::Julian
));
7946 PyDict_SetItemString(d
,"wxDateTime_Country_Unknown", PyInt_FromLong((long) wxDateTime::Country_Unknown
));
7947 PyDict_SetItemString(d
,"wxDateTime_Country_Default", PyInt_FromLong((long) wxDateTime::Country_Default
));
7948 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_Start", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_Start
));
7949 PyDict_SetItemString(d
,"wxDateTime_Country_EEC", PyInt_FromLong((long) wxDateTime::Country_EEC
));
7950 PyDict_SetItemString(d
,"wxDateTime_France", PyInt_FromLong((long) wxDateTime::France
));
7951 PyDict_SetItemString(d
,"wxDateTime_Germany", PyInt_FromLong((long) wxDateTime::Germany
));
7952 PyDict_SetItemString(d
,"wxDateTime_UK", PyInt_FromLong((long) wxDateTime::UK
));
7953 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_End", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_End
));
7954 PyDict_SetItemString(d
,"wxDateTime_Russia", PyInt_FromLong((long) wxDateTime::Russia
));
7955 PyDict_SetItemString(d
,"wxDateTime_USA", PyInt_FromLong((long) wxDateTime::USA
));
7956 PyDict_SetItemString(d
,"wxDateTime_Jan", PyInt_FromLong((long) wxDateTime::Jan
));
7957 PyDict_SetItemString(d
,"wxDateTime_Feb", PyInt_FromLong((long) wxDateTime::Feb
));
7958 PyDict_SetItemString(d
,"wxDateTime_Mar", PyInt_FromLong((long) wxDateTime::Mar
));
7959 PyDict_SetItemString(d
,"wxDateTime_Apr", PyInt_FromLong((long) wxDateTime::Apr
));
7960 PyDict_SetItemString(d
,"wxDateTime_May", PyInt_FromLong((long) wxDateTime::May
));
7961 PyDict_SetItemString(d
,"wxDateTime_Jun", PyInt_FromLong((long) wxDateTime::Jun
));
7962 PyDict_SetItemString(d
,"wxDateTime_Jul", PyInt_FromLong((long) wxDateTime::Jul
));
7963 PyDict_SetItemString(d
,"wxDateTime_Aug", PyInt_FromLong((long) wxDateTime::Aug
));
7964 PyDict_SetItemString(d
,"wxDateTime_Sep", PyInt_FromLong((long) wxDateTime::Sep
));
7965 PyDict_SetItemString(d
,"wxDateTime_Oct", PyInt_FromLong((long) wxDateTime::Oct
));
7966 PyDict_SetItemString(d
,"wxDateTime_Nov", PyInt_FromLong((long) wxDateTime::Nov
));
7967 PyDict_SetItemString(d
,"wxDateTime_Dec", PyInt_FromLong((long) wxDateTime::Dec
));
7968 PyDict_SetItemString(d
,"wxDateTime_Inv_Month", PyInt_FromLong((long) wxDateTime::Inv_Month
));
7969 PyDict_SetItemString(d
,"wxDateTime_Sun", PyInt_FromLong((long) wxDateTime::Sun
));
7970 PyDict_SetItemString(d
,"wxDateTime_Mon", PyInt_FromLong((long) wxDateTime::Mon
));
7971 PyDict_SetItemString(d
,"wxDateTime_Tue", PyInt_FromLong((long) wxDateTime::Tue
));
7972 PyDict_SetItemString(d
,"wxDateTime_Wed", PyInt_FromLong((long) wxDateTime::Wed
));
7973 PyDict_SetItemString(d
,"wxDateTime_Thu", PyInt_FromLong((long) wxDateTime::Thu
));
7974 PyDict_SetItemString(d
,"wxDateTime_Fri", PyInt_FromLong((long) wxDateTime::Fri
));
7975 PyDict_SetItemString(d
,"wxDateTime_Sat", PyInt_FromLong((long) wxDateTime::Sat
));
7976 PyDict_SetItemString(d
,"wxDateTime_Inv_WeekDay", PyInt_FromLong((long) wxDateTime::Inv_WeekDay
));
7977 PyDict_SetItemString(d
,"wxDateTime_Inv_Year", PyInt_FromLong((long) wxDateTime::Inv_Year
));
7978 PyDict_SetItemString(d
,"wxDateTime_Name_Full", PyInt_FromLong((long) wxDateTime::Name_Full
));
7979 PyDict_SetItemString(d
,"wxDateTime_Name_Abbr", PyInt_FromLong((long) wxDateTime::Name_Abbr
));
7980 PyDict_SetItemString(d
,"wxDateTime_Default_First", PyInt_FromLong((long) wxDateTime::Default_First
));
7981 PyDict_SetItemString(d
,"wxDateTime_Monday_First", PyInt_FromLong((long) wxDateTime::Monday_First
));
7982 PyDict_SetItemString(d
,"wxDateTime_Sunday_First", PyInt_FromLong((long) wxDateTime::Sunday_First
));
7985 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7986 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);