2 * FILE : src/msw/utils.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initutilsc
55 #define SWIG_name "utilsc"
58 #include <wx/config.h>
59 #include <wx/fileconf.h>
60 #include <wx/datetime.h>
62 // Put some wx default wxChar* values into wxStrings.
63 DECLARE_DEF_STRING2(DateFormatStr
, wxT("%c"));
64 static const wxString
wxPyEmptyString(wxT(""));
68 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
74 } else if (target
== Py_None
) {
78 if (!PyTuple_Check(target
)) {
80 target
= PyTuple_New(1);
81 PyTuple_SetItem(target
, 0, o2
);
84 PyTuple_SetItem(o3
, 0, o
);
87 target
= PySequence_Concat(o2
, o3
);
94 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
95 PyObject
* ret
= PyTuple_New(3);
97 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
99 PyTuple_SET_ITEM(ret
, 1, PyUnicode_FromWideChar(str
.c_str(), str
.Len()));
101 PyTuple_SET_ITEM(ret
, 1, PyString_FromStringAndSize(str
.c_str(), str
.Len()));
103 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
108 #define LOCAL *(new wxDateTime::TimeZone(wxDateTime::Local))
112 static PyObject
*_wrap_wxGetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
113 PyObject
* _resultobj
;
115 char *_kwnames
[] = { NULL
};
118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocalTime",_kwnames
))
121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
122 _result
= (long )wxGetLocalTime();
124 wxPyEndAllowThreads(__tstate
);
125 if (PyErr_Occurred()) return NULL
;
126 } _resultobj
= Py_BuildValue("l",_result
);
130 static PyObject
*_wrap_wxGetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
131 PyObject
* _resultobj
;
133 char *_kwnames
[] = { NULL
};
136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUTCTime",_kwnames
))
139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
140 _result
= (long )wxGetUTCTime();
142 wxPyEndAllowThreads(__tstate
);
143 if (PyErr_Occurred()) return NULL
;
144 } _resultobj
= Py_BuildValue("l",_result
);
148 static PyObject
*_wrap_wxGetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
149 PyObject
* _resultobj
;
151 char *_kwnames
[] = { NULL
};
154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentTime",_kwnames
))
157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
158 _result
= (long )wxGetCurrentTime();
160 wxPyEndAllowThreads(__tstate
);
161 if (PyErr_Occurred()) return NULL
;
162 } _resultobj
= Py_BuildValue("l",_result
);
166 static PyObject
*_wrap_wxGetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
167 PyObject
* _resultobj
;
168 wxLongLong
* _result
;
169 char *_kwnames
[] = { NULL
};
172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocalTimeMillis",_kwnames
))
175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
176 _result
= new wxLongLong (wxGetLocalTimeMillis());
178 wxPyEndAllowThreads(__tstate
);
179 if (PyErr_Occurred()) return NULL
;
181 PyObject
*hi
, *lo
, *shifter
, *shifted
;
182 hi
= PyLong_FromLong(_result
->GetHi());
183 lo
= PyLong_FromLong(_result
->GetLo());
184 shifter
= PyLong_FromLong(32);
185 shifted
= PyNumber_Lshift(hi
, shifter
);
186 _resultobj
= PyNumber_Or(shifted
, lo
);
195 #define delete_wxConfigBase(_swigobj) (delete _swigobj)
196 static PyObject
*_wrap_delete_wxConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
197 PyObject
* _resultobj
;
198 wxConfigBase
* _arg0
;
199 PyObject
* _argo0
= 0;
200 char *_kwnames
[] = { "self", NULL
};
203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxConfigBase",_kwnames
,&_argo0
))
206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxConfigBase. Expected _wxConfigBase_p.");
213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
214 delete_wxConfigBase(_arg0
);
216 wxPyEndAllowThreads(__tstate
);
217 if (PyErr_Occurred()) return NULL
;
218 } Py_INCREF(Py_None
);
219 _resultobj
= Py_None
;
223 static PyObject
*_wrap_wxConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
224 PyObject
* _resultobj
;
225 wxConfigBase
* _result
;
226 wxConfigBase
* _arg0
;
227 PyObject
* _argo0
= 0;
228 char *_kwnames
[] = { "pConfig", NULL
};
232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_Set",_kwnames
,&_argo0
))
235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Set. Expected _wxConfigBase_p.");
242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
243 _result
= (wxConfigBase
*)wxConfigBase::Set(_arg0
);
245 wxPyEndAllowThreads(__tstate
);
246 if (PyErr_Occurred()) return NULL
;
248 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
249 _resultobj
= Py_BuildValue("s",_ptemp
);
252 _resultobj
= Py_None
;
257 static PyObject
*_wrap_wxConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
258 PyObject
* _resultobj
;
259 wxConfigBase
* _result
;
260 bool _arg0
= (bool ) TRUE
;
261 int tempbool0
= (int) TRUE
;
262 char *_kwnames
[] = { "createOnDemand", NULL
};
266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxConfigBase_Get",_kwnames
,&tempbool0
))
268 _arg0
= (bool ) tempbool0
;
270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
271 _result
= (wxConfigBase
*)wxConfigBase::Get(_arg0
);
273 wxPyEndAllowThreads(__tstate
);
274 if (PyErr_Occurred()) return NULL
;
276 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
277 _resultobj
= Py_BuildValue("s",_ptemp
);
280 _resultobj
= Py_None
;
285 static PyObject
*_wrap_wxConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
286 PyObject
* _resultobj
;
287 wxConfigBase
* _result
;
288 char *_kwnames
[] = { NULL
};
292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxConfigBase_Create",_kwnames
))
295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
296 _result
= (wxConfigBase
*)wxConfigBase::Create();
298 wxPyEndAllowThreads(__tstate
);
299 if (PyErr_Occurred()) return NULL
;
301 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfigBase_p");
302 _resultobj
= Py_BuildValue("s",_ptemp
);
305 _resultobj
= Py_None
;
310 static PyObject
*_wrap_wxConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
311 PyObject
* _resultobj
;
312 char *_kwnames
[] = { NULL
};
315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxConfigBase_DontCreateOnDemand",_kwnames
))
318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
319 wxConfigBase::DontCreateOnDemand();
321 wxPyEndAllowThreads(__tstate
);
322 if (PyErr_Occurred()) return NULL
;
323 } Py_INCREF(Py_None
);
324 _resultobj
= Py_None
;
328 #define wxConfigBase_DeleteAll(_swigobj) (_swigobj->DeleteAll())
329 static PyObject
*_wrap_wxConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
330 PyObject
* _resultobj
;
332 wxConfigBase
* _arg0
;
333 PyObject
* _argo0
= 0;
334 char *_kwnames
[] = { "self", NULL
};
337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_DeleteAll",_kwnames
,&_argo0
))
340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteAll. Expected _wxConfigBase_p.");
347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
348 _result
= (bool )wxConfigBase_DeleteAll(_arg0
);
350 wxPyEndAllowThreads(__tstate
);
351 if (PyErr_Occurred()) return NULL
;
352 } _resultobj
= Py_BuildValue("i",_result
);
356 #define wxConfigBase_DeleteEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteEntry(_swigarg0,_swigarg1))
357 static PyObject
*_wrap_wxConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
358 PyObject
* _resultobj
;
360 wxConfigBase
* _arg0
;
362 bool _arg2
= (bool ) TRUE
;
363 PyObject
* _argo0
= 0;
364 PyObject
* _obj1
= 0;
365 int tempbool2
= (int) TRUE
;
366 char *_kwnames
[] = { "self","key","bDeleteGroupIfEmpty", NULL
};
369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxConfigBase_DeleteEntry",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteEntry. Expected _wxConfigBase_p.");
379 _arg1
= wxString_in_helper(_obj1
);
383 _arg2
= (bool ) tempbool2
;
385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
386 _result
= (bool )wxConfigBase_DeleteEntry(_arg0
,*_arg1
,_arg2
);
388 wxPyEndAllowThreads(__tstate
);
389 if (PyErr_Occurred()) return NULL
;
390 } _resultobj
= Py_BuildValue("i",_result
);
398 #define wxConfigBase_DeleteGroup(_swigobj,_swigarg0) (_swigobj->DeleteGroup(_swigarg0))
399 static PyObject
*_wrap_wxConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
400 PyObject
* _resultobj
;
402 wxConfigBase
* _arg0
;
404 PyObject
* _argo0
= 0;
405 PyObject
* _obj1
= 0;
406 char *_kwnames
[] = { "self","key", NULL
};
409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_DeleteGroup",_kwnames
,&_argo0
,&_obj1
))
412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_DeleteGroup. Expected _wxConfigBase_p.");
419 _arg1
= wxString_in_helper(_obj1
);
424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
425 _result
= (bool )wxConfigBase_DeleteGroup(_arg0
,*_arg1
);
427 wxPyEndAllowThreads(__tstate
);
428 if (PyErr_Occurred()) return NULL
;
429 } _resultobj
= Py_BuildValue("i",_result
);
437 #define wxConfigBase_Exists(_swigobj,_swigarg0) (_swigobj->Exists(_swigarg0))
438 static PyObject
*_wrap_wxConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
439 PyObject
* _resultobj
;
441 wxConfigBase
* _arg0
;
443 PyObject
* _argo0
= 0;
444 PyObject
* _obj1
= 0;
445 char *_kwnames
[] = { "self","strName", NULL
};
448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_Exists",_kwnames
,&_argo0
,&_obj1
))
451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Exists. Expected _wxConfigBase_p.");
458 _arg1
= wxString_in_helper(_obj1
);
463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
464 _result
= (bool )wxConfigBase_Exists(_arg0
,*_arg1
);
466 wxPyEndAllowThreads(__tstate
);
467 if (PyErr_Occurred()) return NULL
;
468 } _resultobj
= Py_BuildValue("i",_result
);
476 #define wxConfigBase_Flush(_swigobj,_swigarg0) (_swigobj->Flush(_swigarg0))
477 static PyObject
*_wrap_wxConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
478 PyObject
* _resultobj
;
480 wxConfigBase
* _arg0
;
481 bool _arg1
= (bool ) FALSE
;
482 PyObject
* _argo0
= 0;
483 int tempbool1
= (int) FALSE
;
484 char *_kwnames
[] = { "self","bCurrentOnly", NULL
};
487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_Flush",_kwnames
,&_argo0
,&tempbool1
))
490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Flush. Expected _wxConfigBase_p.");
496 _arg1
= (bool ) tempbool1
;
498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
499 _result
= (bool )wxConfigBase_Flush(_arg0
,_arg1
);
501 wxPyEndAllowThreads(__tstate
);
502 if (PyErr_Occurred()) return NULL
;
503 } _resultobj
= Py_BuildValue("i",_result
);
507 #define wxConfigBase_GetAppName(_swigobj) (_swigobj->GetAppName())
508 static PyObject
*_wrap_wxConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
509 PyObject
* _resultobj
;
511 wxConfigBase
* _arg0
;
512 PyObject
* _argo0
= 0;
513 char *_kwnames
[] = { "self", NULL
};
516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetAppName",_kwnames
,&_argo0
))
519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetAppName. Expected _wxConfigBase_p.");
526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
527 _result
= new wxString (wxConfigBase_GetAppName(_arg0
));
529 wxPyEndAllowThreads(__tstate
);
530 if (PyErr_Occurred()) return NULL
;
533 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
535 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
544 static PyObject
* wxConfigBase_GetFirstGroup(wxConfigBase
*self
) {
549 cont
= self
->GetFirstGroup(value
, index
);
550 return __EnumerationHelper(cont
, value
, index
);
552 static PyObject
*_wrap_wxConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
553 PyObject
* _resultobj
;
555 wxConfigBase
* _arg0
;
556 PyObject
* _argo0
= 0;
557 char *_kwnames
[] = { "self", NULL
};
560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetFirstGroup",_kwnames
,&_argo0
))
563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetFirstGroup. Expected _wxConfigBase_p.");
570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
571 _result
= (PyObject
*)wxConfigBase_GetFirstGroup(_arg0
);
573 wxPyEndAllowThreads(__tstate
);
574 if (PyErr_Occurred()) return NULL
;
576 _resultobj
= _result
;
581 static PyObject
* wxConfigBase_GetFirstEntry(wxConfigBase
*self
) {
586 cont
= self
->GetFirstEntry(value
, index
);
587 return __EnumerationHelper(cont
, value
, index
);
589 static PyObject
*_wrap_wxConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
590 PyObject
* _resultobj
;
592 wxConfigBase
* _arg0
;
593 PyObject
* _argo0
= 0;
594 char *_kwnames
[] = { "self", NULL
};
597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetFirstEntry",_kwnames
,&_argo0
))
600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetFirstEntry. Expected _wxConfigBase_p.");
607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
608 _result
= (PyObject
*)wxConfigBase_GetFirstEntry(_arg0
);
610 wxPyEndAllowThreads(__tstate
);
611 if (PyErr_Occurred()) return NULL
;
613 _resultobj
= _result
;
618 static PyObject
* wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
) {
622 cont
= self
->GetNextGroup(value
, index
);
623 return __EnumerationHelper(cont
, value
, index
);
625 static PyObject
*_wrap_wxConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
626 PyObject
* _resultobj
;
628 wxConfigBase
* _arg0
;
630 PyObject
* _argo0
= 0;
631 char *_kwnames
[] = { "self","index", NULL
};
634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_GetNextGroup",_kwnames
,&_argo0
,&_arg1
))
637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNextGroup. Expected _wxConfigBase_p.");
644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
645 _result
= (PyObject
*)wxConfigBase_GetNextGroup(_arg0
,_arg1
);
647 wxPyEndAllowThreads(__tstate
);
648 if (PyErr_Occurred()) return NULL
;
650 _resultobj
= _result
;
655 static PyObject
* wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
) {
659 cont
= self
->GetNextEntry(value
, index
);
660 return __EnumerationHelper(cont
, value
, index
);
662 static PyObject
*_wrap_wxConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
663 PyObject
* _resultobj
;
665 wxConfigBase
* _arg0
;
667 PyObject
* _argo0
= 0;
668 char *_kwnames
[] = { "self","index", NULL
};
671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_GetNextEntry",_kwnames
,&_argo0
,&_arg1
))
674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNextEntry. Expected _wxConfigBase_p.");
681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
682 _result
= (PyObject
*)wxConfigBase_GetNextEntry(_arg0
,_arg1
);
684 wxPyEndAllowThreads(__tstate
);
685 if (PyErr_Occurred()) return NULL
;
687 _resultobj
= _result
;
692 #define wxConfigBase_GetNumberOfEntries(_swigobj,_swigarg0) (_swigobj->GetNumberOfEntries(_swigarg0))
693 static PyObject
*_wrap_wxConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
694 PyObject
* _resultobj
;
696 wxConfigBase
* _arg0
;
697 bool _arg1
= (bool ) FALSE
;
698 PyObject
* _argo0
= 0;
699 int tempbool1
= (int) FALSE
;
700 char *_kwnames
[] = { "self","bRecursive", NULL
};
703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_GetNumberOfEntries",_kwnames
,&_argo0
,&tempbool1
))
706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNumberOfEntries. Expected _wxConfigBase_p.");
712 _arg1
= (bool ) tempbool1
;
714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
715 _result
= (int )wxConfigBase_GetNumberOfEntries(_arg0
,_arg1
);
717 wxPyEndAllowThreads(__tstate
);
718 if (PyErr_Occurred()) return NULL
;
719 } _resultobj
= Py_BuildValue("i",_result
);
723 #define wxConfigBase_GetNumberOfGroups(_swigobj,_swigarg0) (_swigobj->GetNumberOfGroups(_swigarg0))
724 static PyObject
*_wrap_wxConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
725 PyObject
* _resultobj
;
727 wxConfigBase
* _arg0
;
728 bool _arg1
= (bool ) FALSE
;
729 PyObject
* _argo0
= 0;
730 int tempbool1
= (int) FALSE
;
731 char *_kwnames
[] = { "self","bRecursive", NULL
};
734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_GetNumberOfGroups",_kwnames
,&_argo0
,&tempbool1
))
737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetNumberOfGroups. Expected _wxConfigBase_p.");
743 _arg1
= (bool ) tempbool1
;
745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
746 _result
= (int )wxConfigBase_GetNumberOfGroups(_arg0
,_arg1
);
748 wxPyEndAllowThreads(__tstate
);
749 if (PyErr_Occurred()) return NULL
;
750 } _resultobj
= Py_BuildValue("i",_result
);
754 #define wxConfigBase_GetPath(_swigobj) (_swigobj->GetPath())
755 static PyObject
*_wrap_wxConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
756 PyObject
* _resultobj
;
758 wxConfigBase
* _arg0
;
759 PyObject
* _argo0
= 0;
760 char *_kwnames
[] = { "self", NULL
};
763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetPath",_kwnames
,&_argo0
))
766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetPath. Expected _wxConfigBase_p.");
773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
774 _result
= new wxString (wxConfigBase_GetPath(_arg0
));
776 wxPyEndAllowThreads(__tstate
);
777 if (PyErr_Occurred()) return NULL
;
780 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
782 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
791 #define wxConfigBase_GetVendorName(_swigobj) (_swigobj->GetVendorName())
792 static PyObject
*_wrap_wxConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
793 PyObject
* _resultobj
;
795 wxConfigBase
* _arg0
;
796 PyObject
* _argo0
= 0;
797 char *_kwnames
[] = { "self", NULL
};
800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetVendorName",_kwnames
,&_argo0
))
803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetVendorName. Expected _wxConfigBase_p.");
810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
811 _result
= new wxString (wxConfigBase_GetVendorName(_arg0
));
813 wxPyEndAllowThreads(__tstate
);
814 if (PyErr_Occurred()) return NULL
;
817 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
819 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
828 #define wxConfigBase_HasEntry(_swigobj,_swigarg0) (_swigobj->HasEntry(_swigarg0))
829 static PyObject
*_wrap_wxConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
830 PyObject
* _resultobj
;
832 wxConfigBase
* _arg0
;
834 PyObject
* _argo0
= 0;
835 PyObject
* _obj1
= 0;
836 char *_kwnames
[] = { "self","strName", NULL
};
839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_HasEntry",_kwnames
,&_argo0
,&_obj1
))
842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_HasEntry. Expected _wxConfigBase_p.");
849 _arg1
= wxString_in_helper(_obj1
);
854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
855 _result
= (bool )wxConfigBase_HasEntry(_arg0
,*_arg1
);
857 wxPyEndAllowThreads(__tstate
);
858 if (PyErr_Occurred()) return NULL
;
859 } _resultobj
= Py_BuildValue("i",_result
);
867 #define wxConfigBase_HasGroup(_swigobj,_swigarg0) (_swigobj->HasGroup(_swigarg0))
868 static PyObject
*_wrap_wxConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
869 PyObject
* _resultobj
;
871 wxConfigBase
* _arg0
;
873 PyObject
* _argo0
= 0;
874 PyObject
* _obj1
= 0;
875 char *_kwnames
[] = { "self","strName", NULL
};
878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_HasGroup",_kwnames
,&_argo0
,&_obj1
))
881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_HasGroup. Expected _wxConfigBase_p.");
888 _arg1
= wxString_in_helper(_obj1
);
893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
894 _result
= (bool )wxConfigBase_HasGroup(_arg0
,*_arg1
);
896 wxPyEndAllowThreads(__tstate
);
897 if (PyErr_Occurred()) return NULL
;
898 } _resultobj
= Py_BuildValue("i",_result
);
906 #define wxConfigBase_IsExpandingEnvVars(_swigobj) (_swigobj->IsExpandingEnvVars())
907 static PyObject
*_wrap_wxConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
908 PyObject
* _resultobj
;
910 wxConfigBase
* _arg0
;
911 PyObject
* _argo0
= 0;
912 char *_kwnames
[] = { "self", NULL
};
915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_IsExpandingEnvVars",_kwnames
,&_argo0
))
918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_IsExpandingEnvVars. Expected _wxConfigBase_p.");
925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
926 _result
= (bool )wxConfigBase_IsExpandingEnvVars(_arg0
);
928 wxPyEndAllowThreads(__tstate
);
929 if (PyErr_Occurred()) return NULL
;
930 } _resultobj
= Py_BuildValue("i",_result
);
934 #define wxConfigBase_IsRecordingDefaults(_swigobj) (_swigobj->IsRecordingDefaults())
935 static PyObject
*_wrap_wxConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
936 PyObject
* _resultobj
;
938 wxConfigBase
* _arg0
;
939 PyObject
* _argo0
= 0;
940 char *_kwnames
[] = { "self", NULL
};
943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_IsRecordingDefaults",_kwnames
,&_argo0
))
946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_IsRecordingDefaults. Expected _wxConfigBase_p.");
953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
954 _result
= (bool )wxConfigBase_IsRecordingDefaults(_arg0
);
956 wxPyEndAllowThreads(__tstate
);
957 if (PyErr_Occurred()) return NULL
;
958 } _resultobj
= Py_BuildValue("i",_result
);
962 #define wxConfigBase_Read(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
963 static PyObject
*_wrap_wxConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
964 PyObject
* _resultobj
;
966 wxConfigBase
* _arg0
;
968 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
969 PyObject
* _argo0
= 0;
970 PyObject
* _obj1
= 0;
971 PyObject
* _obj2
= 0;
972 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxConfigBase_Read",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Read. Expected _wxConfigBase_p.");
985 _arg1
= wxString_in_helper(_obj1
);
991 _arg2
= wxString_in_helper(_obj2
);
996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
997 _result
= new wxString (wxConfigBase_Read(_arg0
,*_arg1
,*_arg2
));
999 wxPyEndAllowThreads(__tstate
);
1000 if (PyErr_Occurred()) return NULL
;
1003 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1005 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1022 static long wxConfigBase_ReadInt(wxConfigBase
*self
,const wxString
& key
,long defaultVal
) {
1024 self
->Read(key
, &rv
, defaultVal
);
1027 static PyObject
*_wrap_wxConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1028 PyObject
* _resultobj
;
1030 wxConfigBase
* _arg0
;
1032 long _arg2
= (long ) 0;
1033 PyObject
* _argo0
= 0;
1034 PyObject
* _obj1
= 0;
1035 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|l:wxConfigBase_ReadInt",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadInt. Expected _wxConfigBase_p.");
1048 _arg1
= wxString_in_helper(_obj1
);
1053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1054 _result
= (long )wxConfigBase_ReadInt(_arg0
,*_arg1
,_arg2
);
1056 wxPyEndAllowThreads(__tstate
);
1057 if (PyErr_Occurred()) return NULL
;
1058 } _resultobj
= Py_BuildValue("l",_result
);
1066 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,const wxString
& key
,double defaultVal
) {
1068 self
->Read(key
, &rv
, defaultVal
);
1071 static PyObject
*_wrap_wxConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1072 PyObject
* _resultobj
;
1074 wxConfigBase
* _arg0
;
1076 double _arg2
= (double ) 0.0;
1077 PyObject
* _argo0
= 0;
1078 PyObject
* _obj1
= 0;
1079 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|d:wxConfigBase_ReadFloat",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadFloat. Expected _wxConfigBase_p.");
1092 _arg1
= wxString_in_helper(_obj1
);
1097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1098 _result
= (double )wxConfigBase_ReadFloat(_arg0
,*_arg1
,_arg2
);
1100 wxPyEndAllowThreads(__tstate
);
1101 if (PyErr_Occurred()) return NULL
;
1102 } _resultobj
= Py_BuildValue("d",_result
);
1110 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,const wxString
& key
,bool defaultVal
) {
1112 self
->Read(key
, &rv
, defaultVal
);
1115 static PyObject
*_wrap_wxConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1116 PyObject
* _resultobj
;
1118 wxConfigBase
* _arg0
;
1120 bool _arg2
= (bool ) FALSE
;
1121 PyObject
* _argo0
= 0;
1122 PyObject
* _obj1
= 0;
1123 int tempbool2
= (int) FALSE
;
1124 char *_kwnames
[] = { "self","key","defaultVal", NULL
};
1127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxConfigBase_ReadBool",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ReadBool. Expected _wxConfigBase_p.");
1137 _arg1
= wxString_in_helper(_obj1
);
1141 _arg2
= (bool ) tempbool2
;
1143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1144 _result
= (bool )wxConfigBase_ReadBool(_arg0
,*_arg1
,_arg2
);
1146 wxPyEndAllowThreads(__tstate
);
1147 if (PyErr_Occurred()) return NULL
;
1148 } _resultobj
= Py_BuildValue("i",_result
);
1156 #define wxConfigBase_SetExpandEnvVars(_swigobj,_swigarg0) (_swigobj->SetExpandEnvVars(_swigarg0))
1157 static PyObject
*_wrap_wxConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1158 PyObject
* _resultobj
;
1159 wxConfigBase
* _arg0
;
1160 bool _arg1
= (bool ) TRUE
;
1161 PyObject
* _argo0
= 0;
1162 int tempbool1
= (int) TRUE
;
1163 char *_kwnames
[] = { "self","bDoIt", NULL
};
1166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_SetExpandEnvVars",_kwnames
,&_argo0
,&tempbool1
))
1169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetExpandEnvVars. Expected _wxConfigBase_p.");
1175 _arg1
= (bool ) tempbool1
;
1177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1178 wxConfigBase_SetExpandEnvVars(_arg0
,_arg1
);
1180 wxPyEndAllowThreads(__tstate
);
1181 if (PyErr_Occurred()) return NULL
;
1182 } Py_INCREF(Py_None
);
1183 _resultobj
= Py_None
;
1187 #define wxConfigBase_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1188 static PyObject
*_wrap_wxConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1189 PyObject
* _resultobj
;
1190 wxConfigBase
* _arg0
;
1192 PyObject
* _argo0
= 0;
1193 PyObject
* _obj1
= 0;
1194 char *_kwnames
[] = { "self","strPath", NULL
};
1197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetPath",_kwnames
,&_argo0
,&_obj1
))
1200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetPath. Expected _wxConfigBase_p.");
1207 _arg1
= wxString_in_helper(_obj1
);
1212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1213 wxConfigBase_SetPath(_arg0
,*_arg1
);
1215 wxPyEndAllowThreads(__tstate
);
1216 if (PyErr_Occurred()) return NULL
;
1217 } Py_INCREF(Py_None
);
1218 _resultobj
= Py_None
;
1226 #define wxConfigBase_SetRecordDefaults(_swigobj,_swigarg0) (_swigobj->SetRecordDefaults(_swigarg0))
1227 static PyObject
*_wrap_wxConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1228 PyObject
* _resultobj
;
1229 wxConfigBase
* _arg0
;
1230 bool _arg1
= (bool ) TRUE
;
1231 PyObject
* _argo0
= 0;
1232 int tempbool1
= (int) TRUE
;
1233 char *_kwnames
[] = { "self","bDoIt", NULL
};
1236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxConfigBase_SetRecordDefaults",_kwnames
,&_argo0
,&tempbool1
))
1239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetRecordDefaults. Expected _wxConfigBase_p.");
1245 _arg1
= (bool ) tempbool1
;
1247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1248 wxConfigBase_SetRecordDefaults(_arg0
,_arg1
);
1250 wxPyEndAllowThreads(__tstate
);
1251 if (PyErr_Occurred()) return NULL
;
1252 } Py_INCREF(Py_None
);
1253 _resultobj
= Py_None
;
1257 #define wxConfigBase_SetAppName(_swigobj,_swigarg0) (_swigobj->SetAppName(_swigarg0))
1258 static PyObject
*_wrap_wxConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1259 PyObject
* _resultobj
;
1260 wxConfigBase
* _arg0
;
1262 PyObject
* _argo0
= 0;
1263 PyObject
* _obj1
= 0;
1264 char *_kwnames
[] = { "self","appName", NULL
};
1267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetAppName",_kwnames
,&_argo0
,&_obj1
))
1270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetAppName. Expected _wxConfigBase_p.");
1277 _arg1
= wxString_in_helper(_obj1
);
1282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1283 wxConfigBase_SetAppName(_arg0
,*_arg1
);
1285 wxPyEndAllowThreads(__tstate
);
1286 if (PyErr_Occurred()) return NULL
;
1287 } Py_INCREF(Py_None
);
1288 _resultobj
= Py_None
;
1296 #define wxConfigBase_SetVendorName(_swigobj,_swigarg0) (_swigobj->SetVendorName(_swigarg0))
1297 static PyObject
*_wrap_wxConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1298 PyObject
* _resultobj
;
1299 wxConfigBase
* _arg0
;
1301 PyObject
* _argo0
= 0;
1302 PyObject
* _obj1
= 0;
1303 char *_kwnames
[] = { "self","vendorName", NULL
};
1306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_SetVendorName",_kwnames
,&_argo0
,&_obj1
))
1309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetVendorName. Expected _wxConfigBase_p.");
1316 _arg1
= wxString_in_helper(_obj1
);
1321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1322 wxConfigBase_SetVendorName(_arg0
,*_arg1
);
1324 wxPyEndAllowThreads(__tstate
);
1325 if (PyErr_Occurred()) return NULL
;
1326 } Py_INCREF(Py_None
);
1327 _resultobj
= Py_None
;
1335 #define wxConfigBase_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1336 static PyObject
*_wrap_wxConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1337 PyObject
* _resultobj
;
1338 wxConfigBase
* _arg0
;
1340 PyObject
* _argo0
= 0;
1341 char *_kwnames
[] = { "self","style", NULL
};
1344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxConfigBase_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_SetStyle. Expected _wxConfigBase_p.");
1354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1355 wxConfigBase_SetStyle(_arg0
,_arg1
);
1357 wxPyEndAllowThreads(__tstate
);
1358 if (PyErr_Occurred()) return NULL
;
1359 } Py_INCREF(Py_None
);
1360 _resultobj
= Py_None
;
1364 #define wxConfigBase_GetStyle(_swigobj) (_swigobj->GetStyle())
1365 static PyObject
*_wrap_wxConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
* _resultobj
;
1368 wxConfigBase
* _arg0
;
1369 PyObject
* _argo0
= 0;
1370 char *_kwnames
[] = { "self", NULL
};
1373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxConfigBase_GetStyle",_kwnames
,&_argo0
))
1376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetStyle. Expected _wxConfigBase_p.");
1383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1384 _result
= (long )wxConfigBase_GetStyle(_arg0
);
1386 wxPyEndAllowThreads(__tstate
);
1387 if (PyErr_Occurred()) return NULL
;
1388 } _resultobj
= Py_BuildValue("l",_result
);
1392 #define wxConfigBase_Write(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1393 static PyObject
*_wrap_wxConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1394 PyObject
* _resultobj
;
1396 wxConfigBase
* _arg0
;
1399 PyObject
* _argo0
= 0;
1400 PyObject
* _obj1
= 0;
1401 PyObject
* _obj2
= 0;
1402 char *_kwnames
[] = { "self","key","value", NULL
};
1405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_Write",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_Write. Expected _wxConfigBase_p.");
1415 _arg1
= wxString_in_helper(_obj1
);
1420 _arg2
= wxString_in_helper(_obj2
);
1425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1426 _result
= (bool )wxConfigBase_Write(_arg0
,*_arg1
,*_arg2
);
1428 wxPyEndAllowThreads(__tstate
);
1429 if (PyErr_Occurred()) return NULL
;
1430 } _resultobj
= Py_BuildValue("i",_result
);
1442 #define wxConfigBase_WriteInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1443 static PyObject
*_wrap_wxConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1444 PyObject
* _resultobj
;
1446 wxConfigBase
* _arg0
;
1449 PyObject
* _argo0
= 0;
1450 PyObject
* _obj1
= 0;
1451 char *_kwnames
[] = { "self","key","value", NULL
};
1454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxConfigBase_WriteInt",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteInt. Expected _wxConfigBase_p.");
1464 _arg1
= wxString_in_helper(_obj1
);
1469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1470 _result
= (bool )wxConfigBase_WriteInt(_arg0
,*_arg1
,_arg2
);
1472 wxPyEndAllowThreads(__tstate
);
1473 if (PyErr_Occurred()) return NULL
;
1474 } _resultobj
= Py_BuildValue("i",_result
);
1482 #define wxConfigBase_WriteFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1483 static PyObject
*_wrap_wxConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1484 PyObject
* _resultobj
;
1486 wxConfigBase
* _arg0
;
1489 PyObject
* _argo0
= 0;
1490 PyObject
* _obj1
= 0;
1491 char *_kwnames
[] = { "self","key","value", NULL
};
1494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOd:wxConfigBase_WriteFloat",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteFloat. Expected _wxConfigBase_p.");
1504 _arg1
= wxString_in_helper(_obj1
);
1509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1510 _result
= (bool )wxConfigBase_WriteFloat(_arg0
,*_arg1
,_arg2
);
1512 wxPyEndAllowThreads(__tstate
);
1513 if (PyErr_Occurred()) return NULL
;
1514 } _resultobj
= Py_BuildValue("i",_result
);
1522 #define wxConfigBase_WriteBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1523 static PyObject
*_wrap_wxConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
* _resultobj
;
1526 wxConfigBase
* _arg0
;
1529 PyObject
* _argo0
= 0;
1530 PyObject
* _obj1
= 0;
1532 char *_kwnames
[] = { "self","key","value", NULL
};
1535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxConfigBase_WriteBool",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_WriteBool. Expected _wxConfigBase_p.");
1545 _arg1
= wxString_in_helper(_obj1
);
1549 _arg2
= (bool ) tempbool2
;
1551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1552 _result
= (bool )wxConfigBase_WriteBool(_arg0
,*_arg1
,_arg2
);
1554 wxPyEndAllowThreads(__tstate
);
1555 if (PyErr_Occurred()) return NULL
;
1556 } _resultobj
= Py_BuildValue("i",_result
);
1564 #define wxConfigBase_GetEntryType(_swigobj,_swigarg0) (_swigobj->GetEntryType(_swigarg0))
1565 static PyObject
*_wrap_wxConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
* _resultobj
;
1567 wxConfigBase::EntryType _result
;
1568 wxConfigBase
* _arg0
;
1570 PyObject
* _argo0
= 0;
1571 PyObject
* _obj1
= 0;
1572 char *_kwnames
[] = { "self","name", NULL
};
1575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_GetEntryType",_kwnames
,&_argo0
,&_obj1
))
1578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_GetEntryType. Expected _wxConfigBase_p.");
1585 _arg1
= wxString_in_helper(_obj1
);
1590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1591 _result
= (wxConfigBase::EntryType
)wxConfigBase_GetEntryType(_arg0
,*_arg1
);
1593 wxPyEndAllowThreads(__tstate
);
1594 if (PyErr_Occurred()) return NULL
;
1595 } _resultobj
= Py_BuildValue("i",_result
);
1603 #define wxConfigBase_RenameEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameEntry(_swigarg0,_swigarg1))
1604 static PyObject
*_wrap_wxConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1605 PyObject
* _resultobj
;
1607 wxConfigBase
* _arg0
;
1610 PyObject
* _argo0
= 0;
1611 PyObject
* _obj1
= 0;
1612 PyObject
* _obj2
= 0;
1613 char *_kwnames
[] = { "self","oldName","newName", NULL
};
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_RenameEntry",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_RenameEntry. Expected _wxConfigBase_p.");
1626 _arg1
= wxString_in_helper(_obj1
);
1631 _arg2
= wxString_in_helper(_obj2
);
1636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1637 _result
= (bool )wxConfigBase_RenameEntry(_arg0
,*_arg1
,*_arg2
);
1639 wxPyEndAllowThreads(__tstate
);
1640 if (PyErr_Occurred()) return NULL
;
1641 } _resultobj
= Py_BuildValue("i",_result
);
1653 #define wxConfigBase_RenameGroup(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameGroup(_swigarg0,_swigarg1))
1654 static PyObject
*_wrap_wxConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1655 PyObject
* _resultobj
;
1657 wxConfigBase
* _arg0
;
1660 PyObject
* _argo0
= 0;
1661 PyObject
* _obj1
= 0;
1662 PyObject
* _obj2
= 0;
1663 char *_kwnames
[] = { "self","oldName","newName", NULL
};
1666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxConfigBase_RenameGroup",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_RenameGroup. Expected _wxConfigBase_p.");
1676 _arg1
= wxString_in_helper(_obj1
);
1681 _arg2
= wxString_in_helper(_obj2
);
1686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1687 _result
= (bool )wxConfigBase_RenameGroup(_arg0
,*_arg1
,*_arg2
);
1689 wxPyEndAllowThreads(__tstate
);
1690 if (PyErr_Occurred()) return NULL
;
1691 } _resultobj
= Py_BuildValue("i",_result
);
1703 #define wxConfigBase_ExpandEnvVars(_swigobj,_swigarg0) (_swigobj->ExpandEnvVars(_swigarg0))
1704 static PyObject
*_wrap_wxConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
* _resultobj
;
1707 wxConfigBase
* _arg0
;
1709 PyObject
* _argo0
= 0;
1710 PyObject
* _obj1
= 0;
1711 char *_kwnames
[] = { "self","str", NULL
};
1714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxConfigBase_ExpandEnvVars",_kwnames
,&_argo0
,&_obj1
))
1717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfigBase_p")) {
1719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxConfigBase_ExpandEnvVars. Expected _wxConfigBase_p.");
1724 _arg1
= wxString_in_helper(_obj1
);
1729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1730 _result
= new wxString (wxConfigBase_ExpandEnvVars(_arg0
,*_arg1
));
1732 wxPyEndAllowThreads(__tstate
);
1733 if (PyErr_Occurred()) return NULL
;
1736 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1738 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1751 static void *SwigwxConfigTowxConfigBase(void *ptr
) {
1754 src
= (wxConfig
*) ptr
;
1755 dest
= (wxConfigBase
*) src
;
1756 return (void *) dest
;
1759 #define new_wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1760 static PyObject
*_wrap_new_wxConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
* _resultobj
;
1763 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
1764 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
1765 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1766 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
1767 long _arg4
= (long ) 0;
1768 PyObject
* _obj0
= 0;
1769 PyObject
* _obj1
= 0;
1770 PyObject
* _obj2
= 0;
1771 PyObject
* _obj3
= 0;
1772 char *_kwnames
[] = { "appName","vendorName","localFilename","globalFilename","style", NULL
};
1776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOl:new_wxConfig",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
))
1780 _arg0
= wxString_in_helper(_obj0
);
1786 _arg1
= wxString_in_helper(_obj1
);
1792 _arg2
= wxString_in_helper(_obj2
);
1798 _arg3
= wxString_in_helper(_obj3
);
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 _result
= (wxConfig
*)new_wxConfig(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) return NULL
;
1809 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxConfig_p");
1810 _resultobj
= Py_BuildValue("s",_ptemp
);
1813 _resultobj
= Py_None
;
1834 #define delete_wxConfig(_swigobj) (delete _swigobj)
1835 static PyObject
*_wrap_delete_wxConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
* _resultobj
;
1838 PyObject
* _argo0
= 0;
1839 char *_kwnames
[] = { "self", NULL
};
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxConfig",_kwnames
,&_argo0
))
1845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxConfig_p")) {
1847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxConfig. Expected _wxConfig_p.");
1852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1853 delete_wxConfig(_arg0
);
1855 wxPyEndAllowThreads(__tstate
);
1856 if (PyErr_Occurred()) return NULL
;
1857 } Py_INCREF(Py_None
);
1858 _resultobj
= Py_None
;
1862 static void *SwigwxFileConfigTowxConfigBase(void *ptr
) {
1865 src
= (wxFileConfig
*) ptr
;
1866 dest
= (wxConfigBase
*) src
;
1867 return (void *) dest
;
1870 #define new_wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1871 static PyObject
*_wrap_new_wxFileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1872 PyObject
* _resultobj
;
1873 wxFileConfig
* _result
;
1874 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
1875 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
1876 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1877 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
1878 long _arg4
= (long ) 0;
1879 PyObject
* _obj0
= 0;
1880 PyObject
* _obj1
= 0;
1881 PyObject
* _obj2
= 0;
1882 PyObject
* _obj3
= 0;
1883 char *_kwnames
[] = { "appName","vendorName","localFilename","globalFilename","style", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOl:new_wxFileConfig",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
))
1891 _arg0
= wxString_in_helper(_obj0
);
1897 _arg1
= wxString_in_helper(_obj1
);
1903 _arg2
= wxString_in_helper(_obj2
);
1909 _arg3
= wxString_in_helper(_obj3
);
1914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1915 _result
= (wxFileConfig
*)new_wxFileConfig(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
1917 wxPyEndAllowThreads(__tstate
);
1918 if (PyErr_Occurred()) return NULL
;
1920 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileConfig_p");
1921 _resultobj
= Py_BuildValue("s",_ptemp
);
1924 _resultobj
= Py_None
;
1945 #define delete_wxFileConfig(_swigobj) (delete _swigobj)
1946 static PyObject
*_wrap_delete_wxFileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
* _resultobj
;
1948 wxFileConfig
* _arg0
;
1949 PyObject
* _argo0
= 0;
1950 char *_kwnames
[] = { "self", NULL
};
1953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileConfig",_kwnames
,&_argo0
))
1956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileConfig_p")) {
1958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileConfig. Expected _wxFileConfig_p.");
1963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1964 delete_wxFileConfig(_arg0
);
1966 wxPyEndAllowThreads(__tstate
);
1967 if (PyErr_Occurred()) return NULL
;
1968 } Py_INCREF(Py_None
);
1969 _resultobj
= Py_None
;
1973 static PyObject
*_wrap_wxDateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1974 PyObject
* _resultobj
;
1975 wxDateTime::Country _arg0
;
1976 char *_kwnames
[] = { "country", NULL
};
1979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateTime_SetCountry",_kwnames
,&_arg0
))
1982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1983 wxDateTime::SetCountry(_arg0
);
1985 wxPyEndAllowThreads(__tstate
);
1986 if (PyErr_Occurred()) return NULL
;
1987 } Py_INCREF(Py_None
);
1988 _resultobj
= Py_None
;
1992 static PyObject
*_wrap_wxDateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1993 PyObject
* _resultobj
;
1994 wxDateTime::Country _result
;
1995 char *_kwnames
[] = { NULL
};
1998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_GetCountry",_kwnames
))
2001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2002 _result
= (wxDateTime::Country
)wxDateTime::GetCountry();
2004 wxPyEndAllowThreads(__tstate
);
2005 if (PyErr_Occurred()) return NULL
;
2006 } _resultobj
= Py_BuildValue("i",_result
);
2010 static PyObject
*_wrap_wxDateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
* _resultobj
;
2013 wxDateTime::Country _arg0
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2014 char *_kwnames
[] = { "country", NULL
};
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_IsWestEuropeanCountry",_kwnames
,&_arg0
))
2020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2021 _result
= (bool )wxDateTime::IsWestEuropeanCountry(_arg0
);
2023 wxPyEndAllowThreads(__tstate
);
2024 if (PyErr_Occurred()) return NULL
;
2025 } _resultobj
= Py_BuildValue("i",_result
);
2029 static PyObject
*_wrap_wxDateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2030 PyObject
* _resultobj
;
2032 wxDateTime::Calendar _arg0
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2033 char *_kwnames
[] = { "cal", NULL
};
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCurrentYear",_kwnames
,&_arg0
))
2039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2040 _result
= (int )wxDateTime::GetCurrentYear(_arg0
);
2042 wxPyEndAllowThreads(__tstate
);
2043 if (PyErr_Occurred()) return NULL
;
2044 } _resultobj
= Py_BuildValue("i",_result
);
2048 static PyObject
*_wrap_wxDateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2049 PyObject
* _resultobj
;
2052 char *_kwnames
[] = { "year", NULL
};
2055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateTime_ConvertYearToBC",_kwnames
,&_arg0
))
2058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2059 _result
= (int )wxDateTime::ConvertYearToBC(_arg0
);
2061 wxPyEndAllowThreads(__tstate
);
2062 if (PyErr_Occurred()) return NULL
;
2063 } _resultobj
= Py_BuildValue("i",_result
);
2067 static PyObject
*_wrap_wxDateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
* _resultobj
;
2069 wxDateTime::Month _result
;
2070 wxDateTime::Calendar _arg0
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2071 char *_kwnames
[] = { "cal", NULL
};
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCurrentMonth",_kwnames
,&_arg0
))
2077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2078 _result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(_arg0
);
2080 wxPyEndAllowThreads(__tstate
);
2081 if (PyErr_Occurred()) return NULL
;
2082 } _resultobj
= Py_BuildValue("i",_result
);
2086 static PyObject
*_wrap_wxDateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
* _resultobj
;
2089 int _arg0
= (int ) wxDateTime::Inv_Year
;
2090 wxDateTime::Calendar _arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2091 char *_kwnames
[] = { "year","cal", NULL
};
2094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_IsLeapYear",_kwnames
,&_arg0
,&_arg1
))
2097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2098 _result
= (bool )wxDateTime::IsLeapYear(_arg0
,_arg1
);
2100 wxPyEndAllowThreads(__tstate
);
2101 if (PyErr_Occurred()) return NULL
;
2102 } _resultobj
= Py_BuildValue("i",_result
);
2106 static PyObject
*_wrap_wxDateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2107 PyObject
* _resultobj
;
2109 int _arg0
= (int ) wxDateTime::Inv_Year
;
2110 char *_kwnames
[] = { "year", NULL
};
2113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxDateTime_GetCentury",_kwnames
,&_arg0
))
2116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2117 _result
= (int )wxDateTime::GetCentury(_arg0
);
2119 wxPyEndAllowThreads(__tstate
);
2120 if (PyErr_Occurred()) return NULL
;
2121 } _resultobj
= Py_BuildValue("i",_result
);
2125 static PyObject
*_wrap_wxDateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
* _resultobj
;
2127 wxDateTime::wxDateTime_t _result
;
2129 wxDateTime::Calendar _arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2130 char *_kwnames
[] = { "year","cal", NULL
};
2133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetNumberOfDaysinYear",_kwnames
,&_arg0
,&_arg1
))
2136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2137 _result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(_arg0
,_arg1
);
2139 wxPyEndAllowThreads(__tstate
);
2140 if (PyErr_Occurred()) return NULL
;
2141 } _resultobj
= Py_BuildValue("h",_result
);
2145 static PyObject
*_wrap_wxDateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2146 PyObject
* _resultobj
;
2147 wxDateTime::wxDateTime_t _result
;
2148 wxDateTime::Month _arg0
;
2149 int _arg1
= (int ) wxDateTime::Inv_Year
;
2150 wxDateTime::Calendar _arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
2151 char *_kwnames
[] = { "month","year","cal", NULL
};
2154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|ii:wxDateTime_GetNumberOfDaysInMonth",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2158 _result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(_arg0
,_arg1
,_arg2
);
2160 wxPyEndAllowThreads(__tstate
);
2161 if (PyErr_Occurred()) return NULL
;
2162 } _resultobj
= Py_BuildValue("h",_result
);
2166 static PyObject
*_wrap_wxDateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
* _resultobj
;
2169 wxDateTime::Month _arg0
;
2170 wxDateTime::NameFlags _arg1
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
2171 char *_kwnames
[] = { "month","flags", NULL
};
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetMonthName",_kwnames
,&_arg0
,&_arg1
))
2177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2178 _result
= new wxString (wxDateTime::GetMonthName(_arg0
,_arg1
));
2180 wxPyEndAllowThreads(__tstate
);
2181 if (PyErr_Occurred()) return NULL
;
2184 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2186 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2195 static PyObject
*_wrap_wxDateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2196 PyObject
* _resultobj
;
2198 wxDateTime::WeekDay _arg0
;
2199 wxDateTime::NameFlags _arg1
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
2200 char *_kwnames
[] = { "weekday","flags", NULL
};
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxDateTime_GetWeekDayName",_kwnames
,&_arg0
,&_arg1
))
2206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2207 _result
= new wxString (wxDateTime::GetWeekDayName(_arg0
,_arg1
));
2209 wxPyEndAllowThreads(__tstate
);
2210 if (PyErr_Occurred()) return NULL
;
2213 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2215 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2224 static PyObject
*_wrap_wxDateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2225 PyObject
* _resultobj
;
2228 PyObject
* _obj0
= 0;
2229 PyObject
* _obj1
= 0;
2230 char *_kwnames
[] = { "OUTPUT","OUTPUT", NULL
};
2233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_GetAmPmStrings",_kwnames
,&_obj0
,&_obj1
))
2236 _arg0
= wxString_in_helper(_obj0
);
2241 _arg1
= wxString_in_helper(_obj1
);
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 wxDateTime::GetAmPmStrings(_arg0
,_arg1
);
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) return NULL
;
2251 } Py_INCREF(Py_None
);
2252 _resultobj
= Py_None
;
2264 static PyObject
*_wrap_wxDateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
* _resultobj
;
2267 int _arg0
= (int ) wxDateTime::Inv_Year
;
2268 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2269 char *_kwnames
[] = { "year","country", NULL
};
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_IsDSTApplicable",_kwnames
,&_arg0
,&_arg1
))
2275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2276 _result
= (bool )wxDateTime::IsDSTApplicable(_arg0
,_arg1
);
2278 wxPyEndAllowThreads(__tstate
);
2279 if (PyErr_Occurred()) return NULL
;
2280 } _resultobj
= Py_BuildValue("i",_result
);
2284 static PyObject
*_wrap_wxDateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
* _resultobj
;
2286 wxDateTime
* _result
;
2287 int _arg0
= (int ) wxDateTime::Inv_Year
;
2288 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2289 char *_kwnames
[] = { "year","country", NULL
};
2293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_GetBeginDST",_kwnames
,&_arg0
,&_arg1
))
2296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2297 _result
= new wxDateTime (wxDateTime::GetBeginDST(_arg0
,_arg1
));
2299 wxPyEndAllowThreads(__tstate
);
2300 if (PyErr_Occurred()) return NULL
;
2301 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2302 _resultobj
= Py_BuildValue("s",_ptemp
);
2306 static PyObject
*_wrap_wxDateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2307 PyObject
* _resultobj
;
2308 wxDateTime
* _result
;
2309 int _arg0
= (int ) wxDateTime::Inv_Year
;
2310 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
2311 char *_kwnames
[] = { "year","country", NULL
};
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:wxDateTime_GetEndDST",_kwnames
,&_arg0
,&_arg1
))
2318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2319 _result
= new wxDateTime (wxDateTime::GetEndDST(_arg0
,_arg1
));
2321 wxPyEndAllowThreads(__tstate
);
2322 if (PyErr_Occurred()) return NULL
;
2323 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2324 _resultobj
= Py_BuildValue("s",_ptemp
);
2328 static PyObject
*_wrap_wxDateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
* _resultobj
;
2330 wxDateTime
* _result
;
2331 char *_kwnames
[] = { NULL
};
2335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_Now",_kwnames
))
2338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2339 _result
= new wxDateTime (wxDateTime::Now());
2341 wxPyEndAllowThreads(__tstate
);
2342 if (PyErr_Occurred()) return NULL
;
2343 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2344 _resultobj
= Py_BuildValue("s",_ptemp
);
2348 static PyObject
*_wrap_wxDateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
* _resultobj
;
2350 wxDateTime
* _result
;
2351 char *_kwnames
[] = { NULL
};
2355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_UNow",_kwnames
))
2358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2359 _result
= new wxDateTime (wxDateTime::UNow());
2361 wxPyEndAllowThreads(__tstate
);
2362 if (PyErr_Occurred()) return NULL
;
2363 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2364 _resultobj
= Py_BuildValue("s",_ptemp
);
2368 static PyObject
*_wrap_wxDateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
* _resultobj
;
2370 wxDateTime
* _result
;
2371 char *_kwnames
[] = { NULL
};
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateTime_Today",_kwnames
))
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 _result
= new wxDateTime (wxDateTime::Today());
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) return NULL
;
2383 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
2384 _resultobj
= Py_BuildValue("s",_ptemp
);
2388 #define new_wxDateTime() (new wxDateTime())
2389 static PyObject
*_wrap_new_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
* _resultobj
;
2391 wxDateTime
* _result
;
2392 char *_kwnames
[] = { NULL
};
2396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDateTime",_kwnames
))
2399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2400 _result
= (wxDateTime
*)new_wxDateTime();
2402 wxPyEndAllowThreads(__tstate
);
2403 if (PyErr_Occurred()) return NULL
;
2405 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2406 _resultobj
= Py_BuildValue("s",_ptemp
);
2409 _resultobj
= Py_None
;
2414 #define new_wxDateTimeFromTimeT(_swigarg0) (new wxDateTime(_swigarg0))
2415 static PyObject
*_wrap_new_wxDateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2416 PyObject
* _resultobj
;
2417 wxDateTime
* _result
;
2419 char *_kwnames
[] = { "timet", NULL
};
2423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxDateTimeFromTimeT",_kwnames
,&_arg0
))
2426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2427 _result
= (wxDateTime
*)new_wxDateTimeFromTimeT(_arg0
);
2429 wxPyEndAllowThreads(__tstate
);
2430 if (PyErr_Occurred()) return NULL
;
2432 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2433 _resultobj
= Py_BuildValue("s",_ptemp
);
2436 _resultobj
= Py_None
;
2441 #define new_wxDateTimeFromJDN(_swigarg0) (new wxDateTime(_swigarg0))
2442 static PyObject
*_wrap_new_wxDateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2443 PyObject
* _resultobj
;
2444 wxDateTime
* _result
;
2446 char *_kwnames
[] = { "jdn", NULL
};
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"d:new_wxDateTimeFromJDN",_kwnames
,&_arg0
))
2453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2454 _result
= (wxDateTime
*)new_wxDateTimeFromJDN(_arg0
);
2456 wxPyEndAllowThreads(__tstate
);
2457 if (PyErr_Occurred()) return NULL
;
2459 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2460 _resultobj
= Py_BuildValue("s",_ptemp
);
2463 _resultobj
= Py_None
;
2468 #define new_wxDateTimeFromHMS(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2469 static PyObject
*_wrap_new_wxDateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
* _resultobj
;
2471 wxDateTime
* _result
;
2472 wxDateTime::wxDateTime_t _arg0
;
2473 wxDateTime::wxDateTime_t _arg1
= (wxDateTime::wxDateTime_t
) 0;
2474 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
2475 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2476 char *_kwnames
[] = { "hour","minute","second","millisec", NULL
};
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|hhh:new_wxDateTimeFromHMS",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2484 _result
= (wxDateTime
*)new_wxDateTimeFromHMS(_arg0
,_arg1
,_arg2
,_arg3
);
2486 wxPyEndAllowThreads(__tstate
);
2487 if (PyErr_Occurred()) return NULL
;
2489 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2490 _resultobj
= Py_BuildValue("s",_ptemp
);
2493 _resultobj
= Py_None
;
2498 #define new_wxDateTimeFromDMY(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2499 static PyObject
*_wrap_new_wxDateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2500 PyObject
* _resultobj
;
2501 wxDateTime
* _result
;
2502 wxDateTime::wxDateTime_t _arg0
;
2503 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
2504 int _arg2
= (int ) wxDateTime::Inv_Year
;
2505 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2506 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2507 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
2508 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
2509 char *_kwnames
[] = { "day","month","year","hour","minute","second","millisec", NULL
};
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"h|iihhhh:new_wxDateTimeFromDMY",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2517 _result
= (wxDateTime
*)new_wxDateTimeFromDMY(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2519 wxPyEndAllowThreads(__tstate
);
2520 if (PyErr_Occurred()) return NULL
;
2522 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2523 _resultobj
= Py_BuildValue("s",_ptemp
);
2526 _resultobj
= Py_None
;
2531 #define delete_wxDateTime(_swigobj) (delete _swigobj)
2532 static PyObject
*_wrap_delete_wxDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2533 PyObject
* _resultobj
;
2535 PyObject
* _argo0
= 0;
2536 char *_kwnames
[] = { "self", NULL
};
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateTime",_kwnames
,&_argo0
))
2542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateTime. Expected _wxDateTime_p.");
2549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2550 delete_wxDateTime(_arg0
);
2552 wxPyEndAllowThreads(__tstate
);
2553 if (PyErr_Occurred()) return NULL
;
2554 } Py_INCREF(Py_None
);
2555 _resultobj
= Py_None
;
2559 #define wxDateTime_SetToCurrent(_swigobj) (_swigobj->SetToCurrent())
2560 static PyObject
*_wrap_wxDateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
* _resultobj
;
2562 wxDateTime
* _result
;
2564 PyObject
* _argo0
= 0;
2565 char *_kwnames
[] = { "self", NULL
};
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_SetToCurrent",_kwnames
,&_argo0
))
2572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToCurrent. Expected _wxDateTime_p.");
2579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2580 wxDateTime
& _result_ref
= wxDateTime_SetToCurrent(_arg0
);
2581 _result
= (wxDateTime
*) &_result_ref
;
2583 wxPyEndAllowThreads(__tstate
);
2584 if (PyErr_Occurred()) return NULL
;
2586 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2587 _resultobj
= Py_BuildValue("s",_ptemp
);
2590 _resultobj
= Py_None
;
2595 #define wxDateTime_SetTimeT(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2596 static PyObject
*_wrap_wxDateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2597 PyObject
* _resultobj
;
2598 wxDateTime
* _result
;
2601 PyObject
* _argo0
= 0;
2602 char *_kwnames
[] = { "self","timet", NULL
};
2606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetTimeT",_kwnames
,&_argo0
,&_arg1
))
2609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetTimeT. Expected _wxDateTime_p.");
2616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2617 wxDateTime
& _result_ref
= wxDateTime_SetTimeT(_arg0
,_arg1
);
2618 _result
= (wxDateTime
*) &_result_ref
;
2620 wxPyEndAllowThreads(__tstate
);
2621 if (PyErr_Occurred()) return NULL
;
2623 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2624 _resultobj
= Py_BuildValue("s",_ptemp
);
2627 _resultobj
= Py_None
;
2632 #define wxDateTime_SetJDN(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2633 static PyObject
*_wrap_wxDateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2634 PyObject
* _resultobj
;
2635 wxDateTime
* _result
;
2638 PyObject
* _argo0
= 0;
2639 char *_kwnames
[] = { "self","jdn", NULL
};
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxDateTime_SetJDN",_kwnames
,&_argo0
,&_arg1
))
2646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetJDN. Expected _wxDateTime_p.");
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 wxDateTime
& _result_ref
= wxDateTime_SetJDN(_arg0
,_arg1
);
2655 _result
= (wxDateTime
*) &_result_ref
;
2657 wxPyEndAllowThreads(__tstate
);
2658 if (PyErr_Occurred()) return NULL
;
2660 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2661 _resultobj
= Py_BuildValue("s",_ptemp
);
2664 _resultobj
= Py_None
;
2669 #define wxDateTime_SetHMS(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2670 static PyObject
*_wrap_wxDateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2671 PyObject
* _resultobj
;
2672 wxDateTime
* _result
;
2674 wxDateTime::wxDateTime_t _arg1
;
2675 wxDateTime::wxDateTime_t _arg2
= (wxDateTime::wxDateTime_t
) 0;
2676 wxDateTime::wxDateTime_t _arg3
= (wxDateTime::wxDateTime_t
) 0;
2677 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2678 PyObject
* _argo0
= 0;
2679 char *_kwnames
[] = { "self","hour","minute","second","millisec", NULL
};
2683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|hhh:wxDateTime_SetHMS",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHMS. Expected _wxDateTime_p.");
2693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2694 wxDateTime
& _result_ref
= wxDateTime_SetHMS(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2695 _result
= (wxDateTime
*) &_result_ref
;
2697 wxPyEndAllowThreads(__tstate
);
2698 if (PyErr_Occurred()) return NULL
;
2700 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2701 _resultobj
= Py_BuildValue("s",_ptemp
);
2704 _resultobj
= Py_None
;
2709 #define wxDateTime_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2710 static PyObject
*_wrap_wxDateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2711 PyObject
* _resultobj
;
2712 wxDateTime
* _result
;
2714 wxDateTime::wxDateTime_t _arg1
;
2715 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
2716 int _arg3
= (int ) wxDateTime::Inv_Year
;
2717 wxDateTime::wxDateTime_t _arg4
= (wxDateTime::wxDateTime_t
) 0;
2718 wxDateTime::wxDateTime_t _arg5
= (wxDateTime::wxDateTime_t
) 0;
2719 wxDateTime::wxDateTime_t _arg6
= (wxDateTime::wxDateTime_t
) 0;
2720 wxDateTime::wxDateTime_t _arg7
= (wxDateTime::wxDateTime_t
) 0;
2721 PyObject
* _argo0
= 0;
2722 char *_kwnames
[] = { "self","day","month","year","hour","minute","second","millisec", NULL
};
2726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|iihhhh:wxDateTime_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
2729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Set. Expected _wxDateTime_p.");
2736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2737 wxDateTime
& _result_ref
= wxDateTime_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
2738 _result
= (wxDateTime
*) &_result_ref
;
2740 wxPyEndAllowThreads(__tstate
);
2741 if (PyErr_Occurred()) return NULL
;
2743 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2744 _resultobj
= Py_BuildValue("s",_ptemp
);
2747 _resultobj
= Py_None
;
2752 #define wxDateTime_ResetTime(_swigobj) (_swigobj->ResetTime())
2753 static PyObject
*_wrap_wxDateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
* _resultobj
;
2755 wxDateTime
* _result
;
2757 PyObject
* _argo0
= 0;
2758 char *_kwnames
[] = { "self", NULL
};
2762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_ResetTime",_kwnames
,&_argo0
))
2765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ResetTime. Expected _wxDateTime_p.");
2772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2773 wxDateTime
& _result_ref
= wxDateTime_ResetTime(_arg0
);
2774 _result
= (wxDateTime
*) &_result_ref
;
2776 wxPyEndAllowThreads(__tstate
);
2777 if (PyErr_Occurred()) return NULL
;
2779 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2780 _resultobj
= Py_BuildValue("s",_ptemp
);
2783 _resultobj
= Py_None
;
2788 #define wxDateTime_SetYear(_swigobj,_swigarg0) (_swigobj->SetYear(_swigarg0))
2789 static PyObject
*_wrap_wxDateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2790 PyObject
* _resultobj
;
2791 wxDateTime
* _result
;
2794 PyObject
* _argo0
= 0;
2795 char *_kwnames
[] = { "self","year", NULL
};
2799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetYear",_kwnames
,&_argo0
,&_arg1
))
2802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetYear. Expected _wxDateTime_p.");
2809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2810 wxDateTime
& _result_ref
= wxDateTime_SetYear(_arg0
,_arg1
);
2811 _result
= (wxDateTime
*) &_result_ref
;
2813 wxPyEndAllowThreads(__tstate
);
2814 if (PyErr_Occurred()) return NULL
;
2816 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2817 _resultobj
= Py_BuildValue("s",_ptemp
);
2820 _resultobj
= Py_None
;
2825 #define wxDateTime_SetMonth(_swigobj,_swigarg0) (_swigobj->SetMonth(_swigarg0))
2826 static PyObject
*_wrap_wxDateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
* _resultobj
;
2828 wxDateTime
* _result
;
2830 wxDateTime::Month _arg1
;
2831 PyObject
* _argo0
= 0;
2832 char *_kwnames
[] = { "self","month", NULL
};
2836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetMonth",_kwnames
,&_argo0
,&_arg1
))
2839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMonth. Expected _wxDateTime_p.");
2846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2847 wxDateTime
& _result_ref
= wxDateTime_SetMonth(_arg0
,_arg1
);
2848 _result
= (wxDateTime
*) &_result_ref
;
2850 wxPyEndAllowThreads(__tstate
);
2851 if (PyErr_Occurred()) return NULL
;
2853 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2854 _resultobj
= Py_BuildValue("s",_ptemp
);
2857 _resultobj
= Py_None
;
2862 #define wxDateTime_SetDay(_swigobj,_swigarg0) (_swigobj->SetDay(_swigarg0))
2863 static PyObject
*_wrap_wxDateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
* _resultobj
;
2865 wxDateTime
* _result
;
2867 wxDateTime::wxDateTime_t _arg1
;
2868 PyObject
* _argo0
= 0;
2869 char *_kwnames
[] = { "self","day", NULL
};
2873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetDay",_kwnames
,&_argo0
,&_arg1
))
2876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetDay. Expected _wxDateTime_p.");
2883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2884 wxDateTime
& _result_ref
= wxDateTime_SetDay(_arg0
,_arg1
);
2885 _result
= (wxDateTime
*) &_result_ref
;
2887 wxPyEndAllowThreads(__tstate
);
2888 if (PyErr_Occurred()) return NULL
;
2890 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2891 _resultobj
= Py_BuildValue("s",_ptemp
);
2894 _resultobj
= Py_None
;
2899 #define wxDateTime_SetHour(_swigobj,_swigarg0) (_swigobj->SetHour(_swigarg0))
2900 static PyObject
*_wrap_wxDateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2901 PyObject
* _resultobj
;
2902 wxDateTime
* _result
;
2904 wxDateTime::wxDateTime_t _arg1
;
2905 PyObject
* _argo0
= 0;
2906 char *_kwnames
[] = { "self","hour", NULL
};
2910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetHour",_kwnames
,&_argo0
,&_arg1
))
2913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetHour. Expected _wxDateTime_p.");
2920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2921 wxDateTime
& _result_ref
= wxDateTime_SetHour(_arg0
,_arg1
);
2922 _result
= (wxDateTime
*) &_result_ref
;
2924 wxPyEndAllowThreads(__tstate
);
2925 if (PyErr_Occurred()) return NULL
;
2927 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2928 _resultobj
= Py_BuildValue("s",_ptemp
);
2931 _resultobj
= Py_None
;
2936 #define wxDateTime_SetMinute(_swigobj,_swigarg0) (_swigobj->SetMinute(_swigarg0))
2937 static PyObject
*_wrap_wxDateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2938 PyObject
* _resultobj
;
2939 wxDateTime
* _result
;
2941 wxDateTime::wxDateTime_t _arg1
;
2942 PyObject
* _argo0
= 0;
2943 char *_kwnames
[] = { "self","minute", NULL
};
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMinute",_kwnames
,&_argo0
,&_arg1
))
2950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMinute. Expected _wxDateTime_p.");
2957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2958 wxDateTime
& _result_ref
= wxDateTime_SetMinute(_arg0
,_arg1
);
2959 _result
= (wxDateTime
*) &_result_ref
;
2961 wxPyEndAllowThreads(__tstate
);
2962 if (PyErr_Occurred()) return NULL
;
2964 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
2965 _resultobj
= Py_BuildValue("s",_ptemp
);
2968 _resultobj
= Py_None
;
2973 #define wxDateTime_SetSecond(_swigobj,_swigarg0) (_swigobj->SetSecond(_swigarg0))
2974 static PyObject
*_wrap_wxDateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2975 PyObject
* _resultobj
;
2976 wxDateTime
* _result
;
2978 wxDateTime::wxDateTime_t _arg1
;
2979 PyObject
* _argo0
= 0;
2980 char *_kwnames
[] = { "self","second", NULL
};
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetSecond",_kwnames
,&_argo0
,&_arg1
))
2987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
2989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetSecond. Expected _wxDateTime_p.");
2994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2995 wxDateTime
& _result_ref
= wxDateTime_SetSecond(_arg0
,_arg1
);
2996 _result
= (wxDateTime
*) &_result_ref
;
2998 wxPyEndAllowThreads(__tstate
);
2999 if (PyErr_Occurred()) return NULL
;
3001 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3002 _resultobj
= Py_BuildValue("s",_ptemp
);
3005 _resultobj
= Py_None
;
3010 #define wxDateTime_SetMillisecond(_swigobj,_swigarg0) (_swigobj->SetMillisecond(_swigarg0))
3011 static PyObject
*_wrap_wxDateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3012 PyObject
* _resultobj
;
3013 wxDateTime
* _result
;
3015 wxDateTime::wxDateTime_t _arg1
;
3016 PyObject
* _argo0
= 0;
3017 char *_kwnames
[] = { "self","millisecond", NULL
};
3021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetMillisecond",_kwnames
,&_argo0
,&_arg1
))
3024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetMillisecond. Expected _wxDateTime_p.");
3031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 wxDateTime
& _result_ref
= wxDateTime_SetMillisecond(_arg0
,_arg1
);
3033 _result
= (wxDateTime
*) &_result_ref
;
3035 wxPyEndAllowThreads(__tstate
);
3036 if (PyErr_Occurred()) return NULL
;
3038 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3039 _resultobj
= Py_BuildValue("s",_ptemp
);
3042 _resultobj
= Py_None
;
3047 #define wxDateTime_SetToWeekDayInSameWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToWeekDayInSameWeek(_swigarg0,_swigarg1))
3048 static PyObject
*_wrap_wxDateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3049 PyObject
* _resultobj
;
3050 wxDateTime
* _result
;
3052 wxDateTime::WeekDay _arg1
;
3053 wxDateTime::WeekFlags _arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
3054 PyObject
* _argo0
= 0;
3055 char *_kwnames
[] = { "self","weekday","flags", NULL
};
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxDateTime_SetToWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDayInSameWeek. Expected _wxDateTime_p.");
3069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3070 wxDateTime
& _result_ref
= wxDateTime_SetToWeekDayInSameWeek(_arg0
,_arg1
,_arg2
);
3071 _result
= (wxDateTime
*) &_result_ref
;
3073 wxPyEndAllowThreads(__tstate
);
3074 if (PyErr_Occurred()) return NULL
;
3076 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3077 _resultobj
= Py_BuildValue("s",_ptemp
);
3080 _resultobj
= Py_None
;
3085 #define wxDateTime_GetWeekDayInSameWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekDayInSameWeek(_swigarg0,_swigarg1))
3086 static PyObject
*_wrap_wxDateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3087 PyObject
* _resultobj
;
3088 wxDateTime
* _result
;
3090 wxDateTime::WeekDay _arg1
;
3091 wxDateTime::WeekFlags _arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
3092 PyObject
* _argo0
= 0;
3093 char *_kwnames
[] = { "self","weekday","flags", NULL
};
3097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxDateTime_GetWeekDayInSameWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDayInSameWeek. Expected _wxDateTime_p.");
3107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3108 _result
= new wxDateTime (wxDateTime_GetWeekDayInSameWeek(_arg0
,_arg1
,_arg2
));
3110 wxPyEndAllowThreads(__tstate
);
3111 if (PyErr_Occurred()) return NULL
;
3112 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3113 _resultobj
= Py_BuildValue("s",_ptemp
);
3117 #define wxDateTime_SetToNextWeekDay(_swigobj,_swigarg0) (_swigobj->SetToNextWeekDay(_swigarg0))
3118 static PyObject
*_wrap_wxDateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
* _resultobj
;
3120 wxDateTime
* _result
;
3122 wxDateTime::WeekDay _arg1
;
3123 PyObject
* _argo0
= 0;
3124 char *_kwnames
[] = { "self","weekday", NULL
};
3128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
3131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToNextWeekDay. Expected _wxDateTime_p.");
3138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3139 wxDateTime
& _result_ref
= wxDateTime_SetToNextWeekDay(_arg0
,_arg1
);
3140 _result
= (wxDateTime
*) &_result_ref
;
3142 wxPyEndAllowThreads(__tstate
);
3143 if (PyErr_Occurred()) return NULL
;
3145 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3146 _resultobj
= Py_BuildValue("s",_ptemp
);
3149 _resultobj
= Py_None
;
3154 #define wxDateTime_GetNextWeekDay(_swigobj,_swigarg0) (_swigobj->GetNextWeekDay(_swigarg0))
3155 static PyObject
*_wrap_wxDateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3156 PyObject
* _resultobj
;
3157 wxDateTime
* _result
;
3159 wxDateTime::WeekDay _arg1
;
3160 PyObject
* _argo0
= 0;
3161 char *_kwnames
[] = { "self","weekday", NULL
};
3165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetNextWeekDay",_kwnames
,&_argo0
,&_arg1
))
3168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetNextWeekDay. Expected _wxDateTime_p.");
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3176 _result
= new wxDateTime (wxDateTime_GetNextWeekDay(_arg0
,_arg1
));
3178 wxPyEndAllowThreads(__tstate
);
3179 if (PyErr_Occurred()) return NULL
;
3180 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3181 _resultobj
= Py_BuildValue("s",_ptemp
);
3185 #define wxDateTime_SetToPrevWeekDay(_swigobj,_swigarg0) (_swigobj->SetToPrevWeekDay(_swigarg0))
3186 static PyObject
*_wrap_wxDateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
* _resultobj
;
3188 wxDateTime
* _result
;
3190 wxDateTime::WeekDay _arg1
;
3191 PyObject
* _argo0
= 0;
3192 char *_kwnames
[] = { "self","weekday", NULL
};
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_SetToPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToPrevWeekDay. Expected _wxDateTime_p.");
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 wxDateTime
& _result_ref
= wxDateTime_SetToPrevWeekDay(_arg0
,_arg1
);
3208 _result
= (wxDateTime
*) &_result_ref
;
3210 wxPyEndAllowThreads(__tstate
);
3211 if (PyErr_Occurred()) return NULL
;
3213 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3214 _resultobj
= Py_BuildValue("s",_ptemp
);
3217 _resultobj
= Py_None
;
3222 #define wxDateTime_GetPrevWeekDay(_swigobj,_swigarg0) (_swigobj->GetPrevWeekDay(_swigarg0))
3223 static PyObject
*_wrap_wxDateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
* _resultobj
;
3225 wxDateTime
* _result
;
3227 wxDateTime::WeekDay _arg1
;
3228 PyObject
* _argo0
= 0;
3229 char *_kwnames
[] = { "self","weekday", NULL
};
3233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateTime_GetPrevWeekDay",_kwnames
,&_argo0
,&_arg1
))
3236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetPrevWeekDay. Expected _wxDateTime_p.");
3243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3244 _result
= new wxDateTime (wxDateTime_GetPrevWeekDay(_arg0
,_arg1
));
3246 wxPyEndAllowThreads(__tstate
);
3247 if (PyErr_Occurred()) return NULL
;
3248 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3249 _resultobj
= Py_BuildValue("s",_ptemp
);
3253 #define wxDateTime_SetToWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetToWeekDay(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3254 static PyObject
*_wrap_wxDateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
* _resultobj
;
3258 wxDateTime::WeekDay _arg1
;
3259 int _arg2
= (int ) 1;
3260 wxDateTime::Month _arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3261 int _arg4
= (int ) wxDateTime::Inv_Year
;
3262 PyObject
* _argo0
= 0;
3263 char *_kwnames
[] = { "self","weekday","n","month","year", NULL
};
3266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iii:wxDateTime_SetToWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToWeekDay. Expected _wxDateTime_p.");
3276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3277 _result
= (bool )wxDateTime_SetToWeekDay(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3279 wxPyEndAllowThreads(__tstate
);
3280 if (PyErr_Occurred()) return NULL
;
3281 } _resultobj
= Py_BuildValue("i",_result
);
3285 #define wxDateTime_SetToLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetToLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3286 static PyObject
*_wrap_wxDateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
* _resultobj
;
3290 wxDateTime::WeekDay _arg1
;
3291 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3292 int _arg3
= (int ) wxDateTime::Inv_Year
;
3293 PyObject
* _argo0
= 0;
3294 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_SetToLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastWeekDay. Expected _wxDateTime_p.");
3307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3308 _result
= (bool )wxDateTime_SetToLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
);
3310 wxPyEndAllowThreads(__tstate
);
3311 if (PyErr_Occurred()) return NULL
;
3312 } _resultobj
= Py_BuildValue("i",_result
);
3316 #define wxDateTime_GetLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3317 static PyObject
*_wrap_wxDateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
* _resultobj
;
3319 wxDateTime
* _result
;
3321 wxDateTime::WeekDay _arg1
;
3322 wxDateTime::Month _arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3323 int _arg3
= (int ) wxDateTime::Inv_Year
;
3324 PyObject
* _argo0
= 0;
3325 char *_kwnames
[] = { "self","weekday","month","year", NULL
};
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxDateTime_GetLastWeekDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastWeekDay. Expected _wxDateTime_p.");
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 _result
= new wxDateTime (wxDateTime_GetLastWeekDay(_arg0
,_arg1
,_arg2
,_arg3
));
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) return NULL
;
3344 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3345 _resultobj
= Py_BuildValue("s",_ptemp
);
3349 #define wxDateTime_SetToTheWeek(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetToTheWeek(_swigarg0,_swigarg1,_swigarg2))
3350 static PyObject
*_wrap_wxDateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
* _resultobj
;
3354 wxDateTime::wxDateTime_t _arg1
;
3355 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3356 wxDateTime::WeekFlags _arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
3357 PyObject
* _argo0
= 0;
3358 char *_kwnames
[] = { "self","numWeek","weekday","flags", NULL
};
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|ii:wxDateTime_SetToTheWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToTheWeek. Expected _wxDateTime_p.");
3371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3372 _result
= (bool )wxDateTime_SetToTheWeek(_arg0
,_arg1
,_arg2
,_arg3
);
3374 wxPyEndAllowThreads(__tstate
);
3375 if (PyErr_Occurred()) return NULL
;
3376 } _resultobj
= Py_BuildValue("i",_result
);
3380 #define wxDateTime_GetWeek(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetWeek(_swigarg0,_swigarg1,_swigarg2))
3381 static PyObject
*_wrap_wxDateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3382 PyObject
* _resultobj
;
3383 wxDateTime
* _result
;
3385 wxDateTime::wxDateTime_t _arg1
;
3386 wxDateTime::WeekDay _arg2
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
3387 wxDateTime::WeekFlags _arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
3388 PyObject
* _argo0
= 0;
3389 char *_kwnames
[] = { "self","numWeek","weekday","flags", NULL
};
3393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh|ii:wxDateTime_GetWeek",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeek. Expected _wxDateTime_p.");
3403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3404 _result
= new wxDateTime (wxDateTime_GetWeek(_arg0
,_arg1
,_arg2
,_arg3
));
3406 wxPyEndAllowThreads(__tstate
);
3407 if (PyErr_Occurred()) return NULL
;
3408 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3409 _resultobj
= Py_BuildValue("s",_ptemp
);
3413 #define wxDateTime_SetToLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToLastMonthDay(_swigarg0,_swigarg1))
3414 static PyObject
*_wrap_wxDateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
* _resultobj
;
3416 wxDateTime
* _result
;
3418 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3419 int _arg2
= (int ) wxDateTime::Inv_Year
;
3420 PyObject
* _argo0
= 0;
3421 char *_kwnames
[] = { "self","month","year", NULL
};
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_SetToLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToLastMonthDay. Expected _wxDateTime_p.");
3435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3436 wxDateTime
& _result_ref
= wxDateTime_SetToLastMonthDay(_arg0
,_arg1
,_arg2
);
3437 _result
= (wxDateTime
*) &_result_ref
;
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) return NULL
;
3442 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3443 _resultobj
= Py_BuildValue("s",_ptemp
);
3446 _resultobj
= Py_None
;
3451 #define wxDateTime_GetLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastMonthDay(_swigarg0,_swigarg1))
3452 static PyObject
*_wrap_wxDateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
* _resultobj
;
3454 wxDateTime
* _result
;
3456 wxDateTime::Month _arg1
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
3457 int _arg2
= (int ) wxDateTime::Inv_Year
;
3458 PyObject
* _argo0
= 0;
3459 char *_kwnames
[] = { "self","month","year", NULL
};
3463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxDateTime_GetLastMonthDay",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetLastMonthDay. Expected _wxDateTime_p.");
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 _result
= new wxDateTime (wxDateTime_GetLastMonthDay(_arg0
,_arg1
,_arg2
));
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) return NULL
;
3478 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3479 _resultobj
= Py_BuildValue("s",_ptemp
);
3483 #define wxDateTime_SetToYearDay(_swigobj,_swigarg0) (_swigobj->SetToYearDay(_swigarg0))
3484 static PyObject
*_wrap_wxDateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3485 PyObject
* _resultobj
;
3486 wxDateTime
* _result
;
3488 wxDateTime::wxDateTime_t _arg1
;
3489 PyObject
* _argo0
= 0;
3490 char *_kwnames
[] = { "self","yday", NULL
};
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_SetToYearDay",_kwnames
,&_argo0
,&_arg1
))
3497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SetToYearDay. Expected _wxDateTime_p.");
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3505 wxDateTime
& _result_ref
= wxDateTime_SetToYearDay(_arg0
,_arg1
);
3506 _result
= (wxDateTime
*) &_result_ref
;
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) return NULL
;
3511 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3512 _resultobj
= Py_BuildValue("s",_ptemp
);
3515 _resultobj
= Py_None
;
3520 #define wxDateTime_GetYearDay(_swigobj,_swigarg0) (_swigobj->GetYearDay(_swigarg0))
3521 static PyObject
*_wrap_wxDateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
* _resultobj
;
3523 wxDateTime
* _result
;
3525 wxDateTime::wxDateTime_t _arg1
;
3526 PyObject
* _argo0
= 0;
3527 char *_kwnames
[] = { "self","yday", NULL
};
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxDateTime_GetYearDay",_kwnames
,&_argo0
,&_arg1
))
3534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYearDay. Expected _wxDateTime_p.");
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 _result
= new wxDateTime (wxDateTime_GetYearDay(_arg0
,_arg1
));
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) return NULL
;
3546 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3547 _resultobj
= Py_BuildValue("s",_ptemp
);
3551 #define wxDateTime_GetJulianDayNumber(_swigobj) (_swigobj->GetJulianDayNumber())
3552 static PyObject
*_wrap_wxDateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
* _resultobj
;
3556 PyObject
* _argo0
= 0;
3557 char *_kwnames
[] = { "self", NULL
};
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJulianDayNumber",_kwnames
,&_argo0
))
3563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJulianDayNumber. Expected _wxDateTime_p.");
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 _result
= (double )wxDateTime_GetJulianDayNumber(_arg0
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) return NULL
;
3575 } _resultobj
= Py_BuildValue("d",_result
);
3579 #define wxDateTime_GetJDN(_swigobj) (_swigobj->GetJDN())
3580 static PyObject
*_wrap_wxDateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
* _resultobj
;
3584 PyObject
* _argo0
= 0;
3585 char *_kwnames
[] = { "self", NULL
};
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetJDN",_kwnames
,&_argo0
))
3591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetJDN. Expected _wxDateTime_p.");
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 _result
= (double )wxDateTime_GetJDN(_arg0
);
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) return NULL
;
3603 } _resultobj
= Py_BuildValue("d",_result
);
3607 #define wxDateTime_GetModifiedJulianDayNumber(_swigobj) (_swigobj->GetModifiedJulianDayNumber())
3608 static PyObject
*_wrap_wxDateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
* _resultobj
;
3612 PyObject
* _argo0
= 0;
3613 char *_kwnames
[] = { "self", NULL
};
3616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetModifiedJulianDayNumber",_kwnames
,&_argo0
))
3619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetModifiedJulianDayNumber. Expected _wxDateTime_p.");
3626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3627 _result
= (double )wxDateTime_GetModifiedJulianDayNumber(_arg0
);
3629 wxPyEndAllowThreads(__tstate
);
3630 if (PyErr_Occurred()) return NULL
;
3631 } _resultobj
= Py_BuildValue("d",_result
);
3635 #define wxDateTime_GetMJD(_swigobj) (_swigobj->GetMJD())
3636 static PyObject
*_wrap_wxDateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3637 PyObject
* _resultobj
;
3640 PyObject
* _argo0
= 0;
3641 char *_kwnames
[] = { "self", NULL
};
3644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetMJD",_kwnames
,&_argo0
))
3647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMJD. Expected _wxDateTime_p.");
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 _result
= (double )wxDateTime_GetMJD(_arg0
);
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) return NULL
;
3659 } _resultobj
= Py_BuildValue("d",_result
);
3663 #define wxDateTime_GetRataDie(_swigobj) (_swigobj->GetRataDie())
3664 static PyObject
*_wrap_wxDateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3665 PyObject
* _resultobj
;
3668 PyObject
* _argo0
= 0;
3669 char *_kwnames
[] = { "self", NULL
};
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetRataDie",_kwnames
,&_argo0
))
3675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetRataDie. Expected _wxDateTime_p.");
3682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3683 _result
= (double )wxDateTime_GetRataDie(_arg0
);
3685 wxPyEndAllowThreads(__tstate
);
3686 if (PyErr_Occurred()) return NULL
;
3687 } _resultobj
= Py_BuildValue("d",_result
);
3691 #define wxDateTime_ToTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToTimezone(_swigarg0,_swigarg1))
3692 static PyObject
*_wrap_wxDateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3693 PyObject
* _resultobj
;
3694 wxDateTime
* _result
;
3696 wxDateTime::TimeZone
* _arg1
;
3697 bool _arg2
= (bool ) FALSE
;
3698 PyObject
* _argo0
= 0;
3699 PyObject
* _obj1
= 0;
3700 int tempbool2
= (int) FALSE
;
3701 char *_kwnames
[] = { "self","tz","noDST", NULL
};
3705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_ToTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToTimezone. Expected _wxDateTime_p.");
3715 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3717 _arg2
= (bool ) tempbool2
;
3719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3720 _result
= new wxDateTime (wxDateTime_ToTimezone(_arg0
,*_arg1
,_arg2
));
3722 wxPyEndAllowThreads(__tstate
);
3723 if (PyErr_Occurred()) return NULL
;
3724 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3725 _resultobj
= Py_BuildValue("s",_ptemp
);
3727 if (_arg1
) delete _arg1
;
3732 #define wxDateTime_MakeTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeTimezone(_swigarg0,_swigarg1))
3733 static PyObject
*_wrap_wxDateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
* _resultobj
;
3735 wxDateTime
* _result
;
3737 wxDateTime::TimeZone
* _arg1
;
3738 bool _arg2
= (bool ) FALSE
;
3739 PyObject
* _argo0
= 0;
3740 PyObject
* _obj1
= 0;
3741 int tempbool2
= (int) FALSE
;
3742 char *_kwnames
[] = { "self","tz","noDST", NULL
};
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDateTime_MakeTimezone",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeTimezone. Expected _wxDateTime_p.");
3756 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3758 _arg2
= (bool ) tempbool2
;
3760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3761 wxDateTime
& _result_ref
= wxDateTime_MakeTimezone(_arg0
,*_arg1
,_arg2
);
3762 _result
= (wxDateTime
*) &_result_ref
;
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) return NULL
;
3767 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3768 _resultobj
= Py_BuildValue("s",_ptemp
);
3771 _resultobj
= Py_None
;
3774 if (_arg1
) delete _arg1
;
3779 #define wxDateTime_ToGMT(_swigobj,_swigarg0) (_swigobj->ToGMT(_swigarg0))
3780 static PyObject
*_wrap_wxDateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
* _resultobj
;
3782 wxDateTime
* _result
;
3784 bool _arg1
= (bool ) FALSE
;
3785 PyObject
* _argo0
= 0;
3786 int tempbool1
= (int) FALSE
;
3787 char *_kwnames
[] = { "self","noDST", NULL
};
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_ToGMT",_kwnames
,&_argo0
,&tempbool1
))
3794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ToGMT. Expected _wxDateTime_p.");
3800 _arg1
= (bool ) tempbool1
;
3802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 _result
= new wxDateTime (wxDateTime_ToGMT(_arg0
,_arg1
));
3805 wxPyEndAllowThreads(__tstate
);
3806 if (PyErr_Occurred()) return NULL
;
3807 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
3808 _resultobj
= Py_BuildValue("s",_ptemp
);
3812 #define wxDateTime_MakeGMT(_swigobj,_swigarg0) (_swigobj->MakeGMT(_swigarg0))
3813 static PyObject
*_wrap_wxDateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
* _resultobj
;
3815 wxDateTime
* _result
;
3817 bool _arg1
= (bool ) FALSE
;
3818 PyObject
* _argo0
= 0;
3819 int tempbool1
= (int) FALSE
;
3820 char *_kwnames
[] = { "self","noDST", NULL
};
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_MakeGMT",_kwnames
,&_argo0
,&tempbool1
))
3827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_MakeGMT. Expected _wxDateTime_p.");
3833 _arg1
= (bool ) tempbool1
;
3835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3836 wxDateTime
& _result_ref
= wxDateTime_MakeGMT(_arg0
,_arg1
);
3837 _result
= (wxDateTime
*) &_result_ref
;
3839 wxPyEndAllowThreads(__tstate
);
3840 if (PyErr_Occurred()) return NULL
;
3842 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
3843 _resultobj
= Py_BuildValue("s",_ptemp
);
3846 _resultobj
= Py_None
;
3851 #define wxDateTime_IsDST(_swigobj,_swigarg0) (_swigobj->IsDST(_swigarg0))
3852 static PyObject
*_wrap_wxDateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
* _resultobj
;
3856 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
3857 PyObject
* _argo0
= 0;
3858 char *_kwnames
[] = { "self","country", NULL
};
3861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsDST",_kwnames
,&_argo0
,&_arg1
))
3864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsDST. Expected _wxDateTime_p.");
3871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3872 _result
= (int )wxDateTime_IsDST(_arg0
,_arg1
);
3874 wxPyEndAllowThreads(__tstate
);
3875 if (PyErr_Occurred()) return NULL
;
3876 } _resultobj
= Py_BuildValue("i",_result
);
3880 #define wxDateTime_IsValid(_swigobj) (_swigobj->IsValid())
3881 static PyObject
*_wrap_wxDateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
* _resultobj
;
3885 PyObject
* _argo0
= 0;
3886 char *_kwnames
[] = { "self", NULL
};
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_IsValid",_kwnames
,&_argo0
))
3892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsValid. Expected _wxDateTime_p.");
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 _result
= (bool )wxDateTime_IsValid(_arg0
);
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) return NULL
;
3904 } _resultobj
= Py_BuildValue("i",_result
);
3908 #define wxDateTime_GetTicks(_swigobj) (_swigobj->GetTicks())
3909 static PyObject
*_wrap_wxDateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
* _resultobj
;
3913 PyObject
* _argo0
= 0;
3914 char *_kwnames
[] = { "self", NULL
};
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_GetTicks",_kwnames
,&_argo0
))
3920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetTicks. Expected _wxDateTime_p.");
3927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3928 _result
= (time_t )wxDateTime_GetTicks(_arg0
);
3930 wxPyEndAllowThreads(__tstate
);
3931 if (PyErr_Occurred()) return NULL
;
3932 } _resultobj
= Py_BuildValue("i",_result
);
3936 #define wxDateTime_GetYear(_swigobj,_swigarg0) (_swigobj->GetYear(_swigarg0))
3937 static PyObject
*_wrap_wxDateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
* _resultobj
;
3941 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3942 PyObject
* _argo0
= 0;
3943 PyObject
* _obj1
= 0;
3944 char *_kwnames
[] = { "self","tz", NULL
};
3947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetYear",_kwnames
,&_argo0
,&_obj1
))
3950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetYear. Expected _wxDateTime_p.");
3958 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 _result
= (int )wxDateTime_GetYear(_arg0
,*_arg1
);
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) return NULL
;
3966 } _resultobj
= Py_BuildValue("i",_result
);
3968 if (_arg1
) delete _arg1
;
3973 #define wxDateTime_GetMonth(_swigobj,_swigarg0) (_swigobj->GetMonth(_swigarg0))
3974 static PyObject
*_wrap_wxDateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
* _resultobj
;
3976 wxDateTime::Month _result
;
3978 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
3979 PyObject
* _argo0
= 0;
3980 PyObject
* _obj1
= 0;
3981 char *_kwnames
[] = { "self","tz", NULL
};
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMonth",_kwnames
,&_argo0
,&_obj1
))
3987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
3989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMonth. Expected _wxDateTime_p.");
3995 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
3998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3999 _result
= (wxDateTime::Month
)wxDateTime_GetMonth(_arg0
,*_arg1
);
4001 wxPyEndAllowThreads(__tstate
);
4002 if (PyErr_Occurred()) return NULL
;
4003 } _resultobj
= Py_BuildValue("i",_result
);
4005 if (_arg1
) delete _arg1
;
4010 #define wxDateTime_GetDay(_swigobj,_swigarg0) (_swigobj->GetDay(_swigarg0))
4011 static PyObject
*_wrap_wxDateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
* _resultobj
;
4013 wxDateTime::wxDateTime_t _result
;
4015 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4016 PyObject
* _argo0
= 0;
4017 PyObject
* _obj1
= 0;
4018 char *_kwnames
[] = { "self","tz", NULL
};
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDay",_kwnames
,&_argo0
,&_obj1
))
4024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDay. Expected _wxDateTime_p.");
4032 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDay(_arg0
,*_arg1
);
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) return NULL
;
4040 } _resultobj
= Py_BuildValue("h",_result
);
4042 if (_arg1
) delete _arg1
;
4047 #define wxDateTime_GetWeekDay(_swigobj,_swigarg0) (_swigobj->GetWeekDay(_swigarg0))
4048 static PyObject
*_wrap_wxDateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
* _resultobj
;
4050 wxDateTime::WeekDay _result
;
4052 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4053 PyObject
* _argo0
= 0;
4054 PyObject
* _obj1
= 0;
4055 char *_kwnames
[] = { "self","tz", NULL
};
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetWeekDay",_kwnames
,&_argo0
,&_obj1
))
4061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekDay. Expected _wxDateTime_p.");
4069 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 _result
= (wxDateTime::WeekDay
)wxDateTime_GetWeekDay(_arg0
,*_arg1
);
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) return NULL
;
4077 } _resultobj
= Py_BuildValue("i",_result
);
4079 if (_arg1
) delete _arg1
;
4084 #define wxDateTime_GetHour(_swigobj,_swigarg0) (_swigobj->GetHour(_swigarg0))
4085 static PyObject
*_wrap_wxDateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4086 PyObject
* _resultobj
;
4087 wxDateTime::wxDateTime_t _result
;
4089 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4090 PyObject
* _argo0
= 0;
4091 PyObject
* _obj1
= 0;
4092 char *_kwnames
[] = { "self","tz", NULL
};
4095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetHour",_kwnames
,&_argo0
,&_obj1
))
4098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetHour. Expected _wxDateTime_p.");
4106 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetHour(_arg0
,*_arg1
);
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) return NULL
;
4114 } _resultobj
= Py_BuildValue("h",_result
);
4116 if (_arg1
) delete _arg1
;
4121 #define wxDateTime_GetMinute(_swigobj,_swigarg0) (_swigobj->GetMinute(_swigarg0))
4122 static PyObject
*_wrap_wxDateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4123 PyObject
* _resultobj
;
4124 wxDateTime::wxDateTime_t _result
;
4126 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4127 PyObject
* _argo0
= 0;
4128 PyObject
* _obj1
= 0;
4129 char *_kwnames
[] = { "self","tz", NULL
};
4132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMinute",_kwnames
,&_argo0
,&_obj1
))
4135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMinute. Expected _wxDateTime_p.");
4143 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMinute(_arg0
,*_arg1
);
4149 wxPyEndAllowThreads(__tstate
);
4150 if (PyErr_Occurred()) return NULL
;
4151 } _resultobj
= Py_BuildValue("h",_result
);
4153 if (_arg1
) delete _arg1
;
4158 #define wxDateTime_GetSecond(_swigobj,_swigarg0) (_swigobj->GetSecond(_swigarg0))
4159 static PyObject
*_wrap_wxDateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
* _resultobj
;
4161 wxDateTime::wxDateTime_t _result
;
4163 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4164 PyObject
* _argo0
= 0;
4165 PyObject
* _obj1
= 0;
4166 char *_kwnames
[] = { "self","tz", NULL
};
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetSecond",_kwnames
,&_argo0
,&_obj1
))
4172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetSecond. Expected _wxDateTime_p.");
4180 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4184 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetSecond(_arg0
,*_arg1
);
4186 wxPyEndAllowThreads(__tstate
);
4187 if (PyErr_Occurred()) return NULL
;
4188 } _resultobj
= Py_BuildValue("h",_result
);
4190 if (_arg1
) delete _arg1
;
4195 #define wxDateTime_GetMillisecond(_swigobj,_swigarg0) (_swigobj->GetMillisecond(_swigarg0))
4196 static PyObject
*_wrap_wxDateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
* _resultobj
;
4198 wxDateTime::wxDateTime_t _result
;
4200 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4201 PyObject
* _argo0
= 0;
4202 PyObject
* _obj1
= 0;
4203 char *_kwnames
[] = { "self","tz", NULL
};
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetMillisecond",_kwnames
,&_argo0
,&_obj1
))
4209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetMillisecond. Expected _wxDateTime_p.");
4217 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetMillisecond(_arg0
,*_arg1
);
4223 wxPyEndAllowThreads(__tstate
);
4224 if (PyErr_Occurred()) return NULL
;
4225 } _resultobj
= Py_BuildValue("h",_result
);
4227 if (_arg1
) delete _arg1
;
4232 #define wxDateTime_GetDayOfYear(_swigobj,_swigarg0) (_swigobj->GetDayOfYear(_swigarg0))
4233 static PyObject
*_wrap_wxDateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4234 PyObject
* _resultobj
;
4235 wxDateTime::wxDateTime_t _result
;
4237 wxDateTime::TimeZone
* _arg1
= (wxDateTime::TimeZone
*) &LOCAL
;
4238 PyObject
* _argo0
= 0;
4239 PyObject
* _obj1
= 0;
4240 char *_kwnames
[] = { "self","tz", NULL
};
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDateTime_GetDayOfYear",_kwnames
,&_argo0
,&_obj1
))
4246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetDayOfYear. Expected _wxDateTime_p.");
4254 _arg1
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj1
));
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetDayOfYear(_arg0
,*_arg1
);
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) return NULL
;
4262 } _resultobj
= Py_BuildValue("h",_result
);
4264 if (_arg1
) delete _arg1
;
4269 #define wxDateTime_GetWeekOfYear(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfYear(_swigarg0,_swigarg1))
4270 static PyObject
*_wrap_wxDateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
* _resultobj
;
4272 wxDateTime::wxDateTime_t _result
;
4274 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4275 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4276 PyObject
* _argo0
= 0;
4277 PyObject
* _obj2
= 0;
4278 char *_kwnames
[] = { "self","flags","tz", NULL
};
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfYear",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfYear. Expected _wxDateTime_p.");
4292 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfYear(_arg0
,_arg1
,*_arg2
);
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) return NULL
;
4300 } _resultobj
= Py_BuildValue("h",_result
);
4302 if (_arg2
) delete _arg2
;
4307 #define wxDateTime_GetWeekOfMonth(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfMonth(_swigarg0,_swigarg1))
4308 static PyObject
*_wrap_wxDateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
* _resultobj
;
4310 wxDateTime::wxDateTime_t _result
;
4312 wxDateTime::WeekFlags _arg1
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
4313 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
4314 PyObject
* _argo0
= 0;
4315 PyObject
* _obj2
= 0;
4316 char *_kwnames
[] = { "self","flags","tz", NULL
};
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxDateTime_GetWeekOfMonth",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_GetWeekOfMonth. Expected _wxDateTime_p.");
4330 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 _result
= (wxDateTime::wxDateTime_t
)wxDateTime_GetWeekOfMonth(_arg0
,_arg1
,*_arg2
);
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) return NULL
;
4338 } _resultobj
= Py_BuildValue("h",_result
);
4340 if (_arg2
) delete _arg2
;
4345 #define wxDateTime_IsWorkDay(_swigobj,_swigarg0) (_swigobj->IsWorkDay(_swigarg0))
4346 static PyObject
*_wrap_wxDateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
* _resultobj
;
4350 wxDateTime::Country _arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
4351 PyObject
* _argo0
= 0;
4352 char *_kwnames
[] = { "self","country", NULL
};
4355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDateTime_IsWorkDay",_kwnames
,&_argo0
,&_arg1
))
4358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsWorkDay. Expected _wxDateTime_p.");
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4366 _result
= (bool )wxDateTime_IsWorkDay(_arg0
,_arg1
);
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) return NULL
;
4370 } _resultobj
= Py_BuildValue("i",_result
);
4374 #define wxDateTime_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
4375 static PyObject
*_wrap_wxDateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
* _resultobj
;
4380 PyObject
* _argo0
= 0;
4381 PyObject
* _argo1
= 0;
4382 char *_kwnames
[] = { "self","datetime", NULL
};
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
4388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4395 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 _result
= (bool )wxDateTime_IsEqualTo(_arg0
,*_arg1
);
4404 wxPyEndAllowThreads(__tstate
);
4405 if (PyErr_Occurred()) return NULL
;
4406 } _resultobj
= Py_BuildValue("i",_result
);
4410 #define wxDateTime_IsEarlierThan(_swigobj,_swigarg0) (_swigobj->IsEarlierThan(_swigarg0))
4411 static PyObject
*_wrap_wxDateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
* _resultobj
;
4416 PyObject
* _argo0
= 0;
4417 PyObject
* _argo1
= 0;
4418 char *_kwnames
[] = { "self","datetime", NULL
};
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsEarlierThan",_kwnames
,&_argo0
,&_argo1
))
4424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4431 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4438 _result
= (bool )wxDateTime_IsEarlierThan(_arg0
,*_arg1
);
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) return NULL
;
4442 } _resultobj
= Py_BuildValue("i",_result
);
4446 #define wxDateTime_IsLaterThan(_swigobj,_swigarg0) (_swigobj->IsLaterThan(_swigarg0))
4447 static PyObject
*_wrap_wxDateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4448 PyObject
* _resultobj
;
4452 PyObject
* _argo0
= 0;
4453 PyObject
* _argo1
= 0;
4454 char *_kwnames
[] = { "self","datetime", NULL
};
4457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsLaterThan",_kwnames
,&_argo0
,&_argo1
))
4460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4467 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 _result
= (bool )wxDateTime_IsLaterThan(_arg0
,*_arg1
);
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) return NULL
;
4478 } _resultobj
= Py_BuildValue("i",_result
);
4482 #define wxDateTime_IsStrictlyBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsStrictlyBetween(_swigarg0,_swigarg1))
4483 static PyObject
*_wrap_wxDateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
* _resultobj
;
4489 PyObject
* _argo0
= 0;
4490 PyObject
* _argo1
= 0;
4491 PyObject
* _argo2
= 0;
4492 char *_kwnames
[] = { "self","t1","t2", NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsStrictlyBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4505 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4511 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4518 _result
= (bool )wxDateTime_IsStrictlyBetween(_arg0
,*_arg1
,*_arg2
);
4520 wxPyEndAllowThreads(__tstate
);
4521 if (PyErr_Occurred()) return NULL
;
4522 } _resultobj
= Py_BuildValue("i",_result
);
4526 #define wxDateTime_IsBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsBetween(_swigarg0,_swigarg1))
4527 static PyObject
*_wrap_wxDateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
* _resultobj
;
4533 PyObject
* _argo0
= 0;
4534 PyObject
* _argo1
= 0;
4535 PyObject
* _argo2
= 0;
4536 char *_kwnames
[] = { "self","t1","t2", NULL
};
4539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsBetween",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4549 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4555 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
4556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4562 _result
= (bool )wxDateTime_IsBetween(_arg0
,*_arg1
,*_arg2
);
4564 wxPyEndAllowThreads(__tstate
);
4565 if (PyErr_Occurred()) return NULL
;
4566 } _resultobj
= Py_BuildValue("i",_result
);
4570 #define wxDateTime_IsSameDate(_swigobj,_swigarg0) (_swigobj->IsSameDate(_swigarg0))
4571 static PyObject
*_wrap_wxDateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
* _resultobj
;
4576 PyObject
* _argo0
= 0;
4577 PyObject
* _argo1
= 0;
4578 char *_kwnames
[] = { "self","dt", NULL
};
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameDate",_kwnames
,&_argo0
,&_argo1
))
4584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4591 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4598 _result
= (bool )wxDateTime_IsSameDate(_arg0
,*_arg1
);
4600 wxPyEndAllowThreads(__tstate
);
4601 if (PyErr_Occurred()) return NULL
;
4602 } _resultobj
= Py_BuildValue("i",_result
);
4606 #define wxDateTime_IsSameTime(_swigobj,_swigarg0) (_swigobj->IsSameTime(_swigarg0))
4607 static PyObject
*_wrap_wxDateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
* _resultobj
;
4612 PyObject
* _argo0
= 0;
4613 PyObject
* _argo1
= 0;
4614 char *_kwnames
[] = { "self","dt", NULL
};
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_IsSameTime",_kwnames
,&_argo0
,&_argo1
))
4620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
4627 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
4633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4634 _result
= (bool )wxDateTime_IsSameTime(_arg0
,*_arg1
);
4636 wxPyEndAllowThreads(__tstate
);
4637 if (PyErr_Occurred()) return NULL
;
4638 } _resultobj
= Py_BuildValue("i",_result
);
4642 #define wxDateTime_IsEqualUpTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEqualUpTo(_swigarg0,_swigarg1))
4643 static PyObject
*_wrap_wxDateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4644 PyObject
* _resultobj
;
4649 PyObject
* _argo0
= 0;
4650 PyObject
* _argo1
= 0;
4651 PyObject
* _argo2
= 0;
4652 char *_kwnames
[] = { "self","dt","ts", NULL
};
4655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDateTime_IsEqualUpTo",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4665 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4671 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTimeSpan_p")) {
4672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDateTime_IsEqualUpTo. Expected _wxTimeSpan_p.");
4677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4678 _result
= (bool )wxDateTime_IsEqualUpTo(_arg0
,*_arg1
,*_arg2
);
4680 wxPyEndAllowThreads(__tstate
);
4681 if (PyErr_Occurred()) return NULL
;
4682 } _resultobj
= Py_BuildValue("i",_result
);
4686 #define wxDateTime_AddTS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4687 static PyObject
*_wrap_wxDateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
* _resultobj
;
4689 wxDateTime
* _result
;
4692 PyObject
* _argo0
= 0;
4693 PyObject
* _argo1
= 0;
4694 char *_kwnames
[] = { "self","diff", NULL
};
4698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddTS",_kwnames
,&_argo0
,&_argo1
))
4701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddTS. Expected _wxDateTime_p.");
4708 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddTS. Expected _wxTimeSpan_p.");
4714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4715 wxDateTime
& _result_ref
= wxDateTime_AddTS(_arg0
,*_arg1
);
4716 _result
= (wxDateTime
*) &_result_ref
;
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) return NULL
;
4721 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4722 _resultobj
= Py_BuildValue("s",_ptemp
);
4725 _resultobj
= Py_None
;
4730 #define wxDateTime_AddDS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4731 static PyObject
*_wrap_wxDateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4732 PyObject
* _resultobj
;
4733 wxDateTime
* _result
;
4736 PyObject
* _argo0
= 0;
4737 PyObject
* _argo1
= 0;
4738 char *_kwnames
[] = { "self","diff", NULL
};
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_AddDS",_kwnames
,&_argo0
,&_argo1
))
4745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_AddDS. Expected _wxDateTime_p.");
4752 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_AddDS. Expected _wxDateSpan_p.");
4758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4759 wxDateTime
& _result_ref
= wxDateTime_AddDS(_arg0
,*_arg1
);
4760 _result
= (wxDateTime
*) &_result_ref
;
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) return NULL
;
4765 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4766 _resultobj
= Py_BuildValue("s",_ptemp
);
4769 _resultobj
= Py_None
;
4774 #define wxDateTime_SubtractTS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4775 static PyObject
*_wrap_wxDateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4776 PyObject
* _resultobj
;
4777 wxDateTime
* _result
;
4780 PyObject
* _argo0
= 0;
4781 PyObject
* _argo1
= 0;
4782 char *_kwnames
[] = { "self","diff", NULL
};
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractTS",_kwnames
,&_argo0
,&_argo1
))
4789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractTS. Expected _wxDateTime_p.");
4796 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractTS. Expected _wxTimeSpan_p.");
4802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 wxDateTime
& _result_ref
= wxDateTime_SubtractTS(_arg0
,*_arg1
);
4804 _result
= (wxDateTime
*) &_result_ref
;
4806 wxPyEndAllowThreads(__tstate
);
4807 if (PyErr_Occurred()) return NULL
;
4809 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4810 _resultobj
= Py_BuildValue("s",_ptemp
);
4813 _resultobj
= Py_None
;
4818 #define wxDateTime_SubtractDS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4819 static PyObject
*_wrap_wxDateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4820 PyObject
* _resultobj
;
4821 wxDateTime
* _result
;
4824 PyObject
* _argo0
= 0;
4825 PyObject
* _argo1
= 0;
4826 char *_kwnames
[] = { "self","diff", NULL
};
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_SubtractDS",_kwnames
,&_argo0
,&_argo1
))
4833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_SubtractDS. Expected _wxDateTime_p.");
4840 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_SubtractDS. Expected _wxDateSpan_p.");
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 wxDateTime
& _result_ref
= wxDateTime_SubtractDS(_arg0
,*_arg1
);
4848 _result
= (wxDateTime
*) &_result_ref
;
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) return NULL
;
4853 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
4854 _resultobj
= Py_BuildValue("s",_ptemp
);
4857 _resultobj
= Py_None
;
4862 #define wxDateTime_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4863 static PyObject
*_wrap_wxDateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4864 PyObject
* _resultobj
;
4865 wxTimeSpan
* _result
;
4868 PyObject
* _argo0
= 0;
4869 PyObject
* _argo1
= 0;
4870 char *_kwnames
[] = { "self","dt", NULL
};
4874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_Subtract",_kwnames
,&_argo0
,&_argo1
))
4877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Subtract. Expected _wxDateTime_p.");
4884 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime_Subtract. Expected _wxDateTime_p.");
4890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4891 _result
= new wxTimeSpan (wxDateTime_Subtract(_arg0
,*_arg1
));
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) return NULL
;
4895 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
4896 _resultobj
= Py_BuildValue("s",_ptemp
);
4900 static wxDateTime
wxDateTime___add__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
4901 static PyObject
*_wrap_wxDateTime___add__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4902 PyObject
* _resultobj
;
4903 wxDateTime
* _result
;
4906 PyObject
* _argo0
= 0;
4907 PyObject
* _argo1
= 0;
4908 char *_kwnames
[] = { "self","other", NULL
};
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__TS",_kwnames
,&_argo0
,&_argo1
))
4915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__TS. Expected _wxDateTime_p.");
4922 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
4923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__TS. Expected _wxTimeSpan_p.");
4928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4929 _result
= new wxDateTime (wxDateTime___add__TS(_arg0
,*_arg1
));
4931 wxPyEndAllowThreads(__tstate
);
4932 if (PyErr_Occurred()) return NULL
;
4933 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4934 _resultobj
= Py_BuildValue("s",_ptemp
);
4938 static wxDateTime
wxDateTime___add__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
4939 static PyObject
*_wrap_wxDateTime___add__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
* _resultobj
;
4941 wxDateTime
* _result
;
4944 PyObject
* _argo0
= 0;
4945 PyObject
* _argo1
= 0;
4946 char *_kwnames
[] = { "self","other", NULL
};
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___add__DS",_kwnames
,&_argo0
,&_argo1
))
4953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___add__DS. Expected _wxDateTime_p.");
4960 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
4961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___add__DS. Expected _wxDateSpan_p.");
4966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4967 _result
= new wxDateTime (wxDateTime___add__DS(_arg0
,*_arg1
));
4969 wxPyEndAllowThreads(__tstate
);
4970 if (PyErr_Occurred()) return NULL
;
4971 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
4972 _resultobj
= Py_BuildValue("s",_ptemp
);
4976 static wxTimeSpan
wxDateTime___sub__DT(wxDateTime
*self
,const wxDateTime
& other
) { return *self
- other
; }
4977 static PyObject
*_wrap_wxDateTime___sub__DT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
* _resultobj
;
4979 wxTimeSpan
* _result
;
4982 PyObject
* _argo0
= 0;
4983 PyObject
* _argo1
= 0;
4984 char *_kwnames
[] = { "self","other", NULL
};
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DT",_kwnames
,&_argo0
,&_argo1
))
4991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
4993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
4998 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
4999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 _result
= new wxTimeSpan (wxDateTime___sub__DT(_arg0
,*_arg1
));
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) return NULL
;
5009 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5010 _resultobj
= Py_BuildValue("s",_ptemp
);
5014 static wxDateTime
wxDateTime___sub__TS(wxDateTime
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
5015 static PyObject
*_wrap_wxDateTime___sub__TS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
* _resultobj
;
5017 wxDateTime
* _result
;
5020 PyObject
* _argo0
= 0;
5021 PyObject
* _argo1
= 0;
5022 char *_kwnames
[] = { "self","other", NULL
};
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__TS",_kwnames
,&_argo0
,&_argo1
))
5029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__TS. Expected _wxDateTime_p.");
5036 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__TS. Expected _wxTimeSpan_p.");
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 _result
= new wxDateTime (wxDateTime___sub__TS(_arg0
,*_arg1
));
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) return NULL
;
5047 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5048 _resultobj
= Py_BuildValue("s",_ptemp
);
5052 static wxDateTime
wxDateTime___sub__DS(wxDateTime
*self
,const wxDateSpan
& other
) { return *self
- other
; }
5053 static PyObject
*_wrap_wxDateTime___sub__DS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
* _resultobj
;
5055 wxDateTime
* _result
;
5058 PyObject
* _argo0
= 0;
5059 PyObject
* _argo1
= 0;
5060 char *_kwnames
[] = { "self","other", NULL
};
5064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___sub__DS",_kwnames
,&_argo0
,&_argo1
))
5067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___sub__DS. Expected _wxDateTime_p.");
5074 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
5075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___sub__DS. Expected _wxDateSpan_p.");
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 _result
= new wxDateTime (wxDateTime___sub__DS(_arg0
,*_arg1
));
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) return NULL
;
5085 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
5086 _resultobj
= Py_BuildValue("s",_ptemp
);
5090 static int wxDateTime___cmp__(wxDateTime
*self
,const wxDateTime
* other
) {
5091 if (! other
) return -1;
5092 if (*self
< *other
) return -1;
5093 if (*self
== *other
) return 0;
5096 static PyObject
*_wrap_wxDateTime___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
* _resultobj
;
5101 PyObject
* _argo0
= 0;
5102 PyObject
* _argo1
= 0;
5103 char *_kwnames
[] = { "self","other", NULL
};
5106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime___cmp__",_kwnames
,&_argo0
,&_argo1
))
5109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5116 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5117 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
5118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 _result
= (int )wxDateTime___cmp__(_arg0
,_arg1
);
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) return NULL
;
5128 } _resultobj
= Py_BuildValue("i",_result
);
5132 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,const wxString
& date
) {
5134 const wxChar
* _date
= date
;
5135 rv
= self
->ParseRfc822Date(_date
);
5136 if (rv
== NULL
) return -1;
5139 static PyObject
*_wrap_wxDateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
* _resultobj
;
5144 PyObject
* _argo0
= 0;
5145 PyObject
* _obj1
= 0;
5146 char *_kwnames
[] = { "self","date", NULL
};
5149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_ParseRfc822Date",_kwnames
,&_argo0
,&_obj1
))
5152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseRfc822Date. Expected _wxDateTime_p.");
5159 _arg1
= wxString_in_helper(_obj1
);
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 _result
= (int )wxDateTime_ParseRfc822Date(_arg0
,*_arg1
);
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) return NULL
;
5169 } _resultobj
= Py_BuildValue("i",_result
);
5177 static int wxDateTime_ParseFormat(wxDateTime
*self
,const wxString
& date
,const wxString
& format
,const wxDateTime
& dateDef
) {
5179 const wxChar
* _date
= date
;
5180 rv
= self
->ParseFormat(_date
, format
, dateDef
);
5181 if (rv
== NULL
) return -1;
5184 static PyObject
*_wrap_wxDateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
* _resultobj
;
5189 wxString
* _arg2
= (wxString
*) &wxPyDateFormatStr
;
5190 wxDateTime
* _arg3
= (wxDateTime
*) &wxDefaultDateTime
;
5191 PyObject
* _argo0
= 0;
5192 PyObject
* _obj1
= 0;
5193 PyObject
* _obj2
= 0;
5194 PyObject
* _argo3
= 0;
5195 char *_kwnames
[] = { "self","date","format","dateDef", NULL
};
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxDateTime_ParseFormat",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_argo3
))
5201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5208 _arg1
= wxString_in_helper(_obj1
);
5214 _arg2
= wxString_in_helper(_obj2
);
5219 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime_p")) {
5220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 _result
= (int )wxDateTime_ParseFormat(_arg0
,*_arg1
,*_arg2
,*_arg3
);
5228 wxPyEndAllowThreads(__tstate
);
5229 if (PyErr_Occurred()) return NULL
;
5230 } _resultobj
= Py_BuildValue("i",_result
);
5242 static int wxDateTime_ParseDateTime(wxDateTime
*self
,const wxString
& datetime
) {
5244 const wxChar
* _datetime
= datetime
;
5245 rv
= self
->ParseDateTime(_datetime
);
5246 if (rv
== NULL
) return -1;
5247 return rv
- _datetime
;
5249 static PyObject
*_wrap_wxDateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
* _resultobj
;
5254 PyObject
* _argo0
= 0;
5255 PyObject
* _obj1
= 0;
5256 char *_kwnames
[] = { "self","datetime", NULL
};
5259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_ParseDateTime",_kwnames
,&_argo0
,&_obj1
))
5262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDateTime. Expected _wxDateTime_p.");
5269 _arg1
= wxString_in_helper(_obj1
);
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 _result
= (int )wxDateTime_ParseDateTime(_arg0
,*_arg1
);
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) return NULL
;
5279 } _resultobj
= Py_BuildValue("i",_result
);
5287 static int wxDateTime_ParseDate(wxDateTime
*self
,const wxString
& date
) {
5289 const wxChar
* _date
= date
;
5290 rv
= self
->ParseDate(_date
);
5291 if (rv
== NULL
) return -1;
5294 static PyObject
*_wrap_wxDateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
* _resultobj
;
5299 PyObject
* _argo0
= 0;
5300 PyObject
* _obj1
= 0;
5301 char *_kwnames
[] = { "self","date", NULL
};
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_ParseDate",_kwnames
,&_argo0
,&_obj1
))
5307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseDate. Expected _wxDateTime_p.");
5314 _arg1
= wxString_in_helper(_obj1
);
5319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5320 _result
= (int )wxDateTime_ParseDate(_arg0
,*_arg1
);
5322 wxPyEndAllowThreads(__tstate
);
5323 if (PyErr_Occurred()) return NULL
;
5324 } _resultobj
= Py_BuildValue("i",_result
);
5332 static int wxDateTime_ParseTime(wxDateTime
*self
,const wxString
& time
) {
5334 const wxChar
* _time
= time
;
5335 rv
= self
->ParseTime(_time
);
5336 if (rv
== NULL
) return -1;
5339 static PyObject
*_wrap_wxDateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
* _resultobj
;
5344 PyObject
* _argo0
= 0;
5345 PyObject
* _obj1
= 0;
5346 char *_kwnames
[] = { "self","time", NULL
};
5349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateTime_ParseTime",_kwnames
,&_argo0
,&_obj1
))
5352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_ParseTime. Expected _wxDateTime_p.");
5359 _arg1
= wxString_in_helper(_obj1
);
5364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 _result
= (int )wxDateTime_ParseTime(_arg0
,*_arg1
);
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) return NULL
;
5369 } _resultobj
= Py_BuildValue("i",_result
);
5377 #define wxDateTime_Format(_swigobj,_swigarg0,_swigarg1) (_swigobj->Format(_swigarg0,_swigarg1))
5378 static PyObject
*_wrap_wxDateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
* _resultobj
;
5382 wxString
* _arg1
= (wxString
*) &wxPyDateFormatStr
;
5383 wxDateTime::TimeZone
* _arg2
= (wxDateTime::TimeZone
*) &LOCAL
;
5384 PyObject
* _argo0
= 0;
5385 PyObject
* _obj1
= 0;
5386 PyObject
* _obj2
= 0;
5387 char *_kwnames
[] = { "self","format","tz", NULL
};
5390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxDateTime_Format",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_Format. Expected _wxDateTime_p.");
5401 _arg1
= wxString_in_helper(_obj1
);
5407 _arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(_obj2
));
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 _result
= new wxString (wxDateTime_Format(_arg0
,*_arg1
,*_arg2
));
5413 wxPyEndAllowThreads(__tstate
);
5414 if (PyErr_Occurred()) return NULL
;
5417 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5419 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5427 if (_arg2
) delete _arg2
;
5435 #define wxDateTime_FormatDate(_swigobj) (_swigobj->FormatDate())
5436 static PyObject
*_wrap_wxDateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
* _resultobj
;
5440 PyObject
* _argo0
= 0;
5441 char *_kwnames
[] = { "self", NULL
};
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatDate",_kwnames
,&_argo0
))
5447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatDate. Expected _wxDateTime_p.");
5454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5455 _result
= new wxString (wxDateTime_FormatDate(_arg0
));
5457 wxPyEndAllowThreads(__tstate
);
5458 if (PyErr_Occurred()) return NULL
;
5461 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5463 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5472 #define wxDateTime_FormatTime(_swigobj) (_swigobj->FormatTime())
5473 static PyObject
*_wrap_wxDateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
* _resultobj
;
5477 PyObject
* _argo0
= 0;
5478 char *_kwnames
[] = { "self", NULL
};
5481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatTime",_kwnames
,&_argo0
))
5484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatTime. Expected _wxDateTime_p.");
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 _result
= new wxString (wxDateTime_FormatTime(_arg0
));
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) return NULL
;
5498 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5500 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5509 #define wxDateTime_FormatISODate(_swigobj) (_swigobj->FormatISODate())
5510 static PyObject
*_wrap_wxDateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
* _resultobj
;
5514 PyObject
* _argo0
= 0;
5515 char *_kwnames
[] = { "self", NULL
};
5518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISODate",_kwnames
,&_argo0
))
5521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISODate. Expected _wxDateTime_p.");
5528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 _result
= new wxString (wxDateTime_FormatISODate(_arg0
));
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) return NULL
;
5535 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5537 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5546 #define wxDateTime_FormatISOTime(_swigobj) (_swigobj->FormatISOTime())
5547 static PyObject
*_wrap_wxDateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
* _resultobj
;
5551 PyObject
* _argo0
= 0;
5552 char *_kwnames
[] = { "self", NULL
};
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateTime_FormatISOTime",_kwnames
,&_argo0
))
5558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateTime_p")) {
5560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateTime_FormatISOTime. Expected _wxDateTime_p.");
5565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5566 _result
= new wxString (wxDateTime_FormatISOTime(_arg0
));
5568 wxPyEndAllowThreads(__tstate
);
5569 if (PyErr_Occurred()) return NULL
;
5572 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5574 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5583 static PyObject
*_wrap_wxTimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5584 PyObject
* _resultobj
;
5585 wxTimeSpan
* _result
;
5587 char *_kwnames
[] = { "sec", NULL
};
5591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Seconds",_kwnames
,&_arg0
))
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 _result
= new wxTimeSpan (wxTimeSpan::Seconds(_arg0
));
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) return NULL
;
5599 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5600 _resultobj
= Py_BuildValue("s",_ptemp
);
5604 static PyObject
*_wrap_wxTimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
* _resultobj
;
5606 wxTimeSpan
* _result
;
5607 char *_kwnames
[] = { NULL
};
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Second",_kwnames
))
5614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5615 _result
= new wxTimeSpan (wxTimeSpan::Second());
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) return NULL
;
5619 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5620 _resultobj
= Py_BuildValue("s",_ptemp
);
5624 static PyObject
*_wrap_wxTimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5625 PyObject
* _resultobj
;
5626 wxTimeSpan
* _result
;
5628 char *_kwnames
[] = { "min", NULL
};
5632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Minutes",_kwnames
,&_arg0
))
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 _result
= new wxTimeSpan (wxTimeSpan::Minutes(_arg0
));
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) return NULL
;
5640 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5641 _resultobj
= Py_BuildValue("s",_ptemp
);
5645 static PyObject
*_wrap_wxTimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
* _resultobj
;
5647 wxTimeSpan
* _result
;
5648 char *_kwnames
[] = { NULL
};
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Minute",_kwnames
))
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 _result
= new wxTimeSpan (wxTimeSpan::Minute());
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) return NULL
;
5660 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5661 _resultobj
= Py_BuildValue("s",_ptemp
);
5665 static PyObject
*_wrap_wxTimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
* _resultobj
;
5667 wxTimeSpan
* _result
;
5669 char *_kwnames
[] = { "hours", NULL
};
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Hours",_kwnames
,&_arg0
))
5676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5677 _result
= new wxTimeSpan (wxTimeSpan::Hours(_arg0
));
5679 wxPyEndAllowThreads(__tstate
);
5680 if (PyErr_Occurred()) return NULL
;
5681 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5682 _resultobj
= Py_BuildValue("s",_ptemp
);
5686 static PyObject
*_wrap_wxTimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
* _resultobj
;
5688 wxTimeSpan
* _result
;
5689 char *_kwnames
[] = { NULL
};
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Hour",_kwnames
))
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 _result
= new wxTimeSpan (wxTimeSpan::Hour());
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) return NULL
;
5701 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5702 _resultobj
= Py_BuildValue("s",_ptemp
);
5706 static PyObject
*_wrap_wxTimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
* _resultobj
;
5708 wxTimeSpan
* _result
;
5710 char *_kwnames
[] = { "days", NULL
};
5714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Days",_kwnames
,&_arg0
))
5717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5718 _result
= new wxTimeSpan (wxTimeSpan::Days(_arg0
));
5720 wxPyEndAllowThreads(__tstate
);
5721 if (PyErr_Occurred()) return NULL
;
5722 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5723 _resultobj
= Py_BuildValue("s",_ptemp
);
5727 static PyObject
*_wrap_wxTimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
* _resultobj
;
5729 wxTimeSpan
* _result
;
5730 char *_kwnames
[] = { NULL
};
5734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Day",_kwnames
))
5737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5738 _result
= new wxTimeSpan (wxTimeSpan::Day());
5740 wxPyEndAllowThreads(__tstate
);
5741 if (PyErr_Occurred()) return NULL
;
5742 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5743 _resultobj
= Py_BuildValue("s",_ptemp
);
5747 static PyObject
*_wrap_wxTimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
* _resultobj
;
5749 wxTimeSpan
* _result
;
5751 char *_kwnames
[] = { "days", NULL
};
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxTimeSpan_Weeks",_kwnames
,&_arg0
))
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 _result
= new wxTimeSpan (wxTimeSpan::Weeks(_arg0
));
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) return NULL
;
5763 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5764 _resultobj
= Py_BuildValue("s",_ptemp
);
5768 static PyObject
*_wrap_wxTimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5769 PyObject
* _resultobj
;
5770 wxTimeSpan
* _result
;
5771 char *_kwnames
[] = { NULL
};
5775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTimeSpan_Week",_kwnames
))
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 _result
= new wxTimeSpan (wxTimeSpan::Week());
5781 wxPyEndAllowThreads(__tstate
);
5782 if (PyErr_Occurred()) return NULL
;
5783 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
5784 _resultobj
= Py_BuildValue("s",_ptemp
);
5788 #define new_wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5789 static PyObject
*_wrap_new_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
* _resultobj
;
5791 wxTimeSpan
* _result
;
5792 long _arg0
= (long ) 0;
5793 long _arg1
= (long ) 0;
5794 long _arg2
= (long ) 0;
5795 long _arg3
= (long ) 0;
5796 char *_kwnames
[] = { "hours","minutes","seconds","milliseconds", NULL
};
5800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxTimeSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
5803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5804 _result
= (wxTimeSpan
*)new_wxTimeSpan(_arg0
,_arg1
,_arg2
,_arg3
);
5806 wxPyEndAllowThreads(__tstate
);
5807 if (PyErr_Occurred()) return NULL
;
5809 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5810 _resultobj
= Py_BuildValue("s",_ptemp
);
5813 _resultobj
= Py_None
;
5818 #define delete_wxTimeSpan(_swigobj) (delete _swigobj)
5819 static PyObject
*_wrap_delete_wxTimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5820 PyObject
* _resultobj
;
5822 PyObject
* _argo0
= 0;
5823 char *_kwnames
[] = { "self", NULL
};
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTimeSpan",_kwnames
,&_argo0
))
5829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTimeSpan. Expected _wxTimeSpan_p.");
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 delete_wxTimeSpan(_arg0
);
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) return NULL
;
5841 } Py_INCREF(Py_None
);
5842 _resultobj
= Py_None
;
5846 #define wxTimeSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
5847 static PyObject
*_wrap_wxTimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
* _resultobj
;
5849 wxTimeSpan
* _result
;
5852 PyObject
* _argo0
= 0;
5853 PyObject
* _argo1
= 0;
5854 char *_kwnames
[] = { "self","diff", NULL
};
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Add",_kwnames
,&_argo0
,&_argo1
))
5861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
5868 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
5874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5875 wxTimeSpan
& _result_ref
= wxTimeSpan_Add(_arg0
,*_arg1
);
5876 _result
= (wxTimeSpan
*) &_result_ref
;
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) return NULL
;
5881 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5882 _resultobj
= Py_BuildValue("s",_ptemp
);
5885 _resultobj
= Py_None
;
5890 #define wxTimeSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5891 static PyObject
*_wrap_wxTimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5892 PyObject
* _resultobj
;
5893 wxTimeSpan
* _result
;
5896 PyObject
* _argo0
= 0;
5897 PyObject
* _argo1
= 0;
5898 char *_kwnames
[] = { "self","diff", NULL
};
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
5905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
5912 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
5913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 wxTimeSpan
& _result_ref
= wxTimeSpan_Subtract(_arg0
,*_arg1
);
5920 _result
= (wxTimeSpan
*) &_result_ref
;
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) return NULL
;
5925 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5926 _resultobj
= Py_BuildValue("s",_ptemp
);
5929 _resultobj
= Py_None
;
5934 #define wxTimeSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
5935 static PyObject
*_wrap_wxTimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
* _resultobj
;
5937 wxTimeSpan
* _result
;
5940 PyObject
* _argo0
= 0;
5941 char *_kwnames
[] = { "self","n", NULL
};
5945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
5948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Multiply. Expected _wxTimeSpan_p.");
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 wxTimeSpan
& _result_ref
= wxTimeSpan_Multiply(_arg0
,_arg1
);
5957 _result
= (wxTimeSpan
*) &_result_ref
;
5959 wxPyEndAllowThreads(__tstate
);
5960 if (PyErr_Occurred()) return NULL
;
5962 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5963 _resultobj
= Py_BuildValue("s",_ptemp
);
5966 _resultobj
= Py_None
;
5971 #define wxTimeSpan_Neg(_swigobj) (_swigobj->Neg())
5972 static PyObject
*_wrap_wxTimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
* _resultobj
;
5974 wxTimeSpan
* _result
;
5976 PyObject
* _argo0
= 0;
5977 char *_kwnames
[] = { "self", NULL
};
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Neg",_kwnames
,&_argo0
))
5984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
5986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Neg. Expected _wxTimeSpan_p.");
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 wxTimeSpan
& _result_ref
= wxTimeSpan_Neg(_arg0
);
5993 _result
= (wxTimeSpan
*) &_result_ref
;
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) return NULL
;
5998 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimeSpan_p");
5999 _resultobj
= Py_BuildValue("s",_ptemp
);
6002 _resultobj
= Py_None
;
6007 #define wxTimeSpan_Abs(_swigobj) (_swigobj->Abs())
6008 static PyObject
*_wrap_wxTimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
* _resultobj
;
6010 wxTimeSpan
* _result
;
6012 PyObject
* _argo0
= 0;
6013 char *_kwnames
[] = { "self", NULL
};
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_Abs",_kwnames
,&_argo0
))
6020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Abs. Expected _wxTimeSpan_p.");
6027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 _result
= new wxTimeSpan (wxTimeSpan_Abs(_arg0
));
6030 wxPyEndAllowThreads(__tstate
);
6031 if (PyErr_Occurred()) return NULL
;
6032 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6033 _resultobj
= Py_BuildValue("s",_ptemp
);
6037 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
+ other
; }
6038 static PyObject
*_wrap_wxTimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
* _resultobj
;
6040 wxTimeSpan
* _result
;
6043 PyObject
* _argo0
= 0;
6044 PyObject
* _argo1
= 0;
6045 char *_kwnames
[] = { "self","other", NULL
};
6049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___add__",_kwnames
,&_argo0
,&_argo1
))
6052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6059 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6066 _result
= new wxTimeSpan (wxTimeSpan___add__(_arg0
,*_arg1
));
6068 wxPyEndAllowThreads(__tstate
);
6069 if (PyErr_Occurred()) return NULL
;
6070 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6071 _resultobj
= Py_BuildValue("s",_ptemp
);
6075 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,const wxTimeSpan
& other
) { return *self
- other
; }
6076 static PyObject
*_wrap_wxTimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6077 PyObject
* _resultobj
;
6078 wxTimeSpan
* _result
;
6081 PyObject
* _argo0
= 0;
6082 PyObject
* _argo1
= 0;
6083 char *_kwnames
[] = { "self","other", NULL
};
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
6090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6097 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6104 _result
= new wxTimeSpan (wxTimeSpan___sub__(_arg0
,*_arg1
));
6106 wxPyEndAllowThreads(__tstate
);
6107 if (PyErr_Occurred()) return NULL
;
6108 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6109 _resultobj
= Py_BuildValue("s",_ptemp
);
6113 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
) { return *self
* n
; }
6114 static PyObject
*_wrap_wxTimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
* _resultobj
;
6116 wxTimeSpan
* _result
;
6119 PyObject
* _argo0
= 0;
6120 char *_kwnames
[] = { "self","n", NULL
};
6124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
6127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___mul__. Expected _wxTimeSpan_p.");
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6135 _result
= new wxTimeSpan (wxTimeSpan___mul__(_arg0
,_arg1
));
6137 wxPyEndAllowThreads(__tstate
);
6138 if (PyErr_Occurred()) return NULL
;
6139 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6140 _resultobj
= Py_BuildValue("s",_ptemp
);
6144 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
) { return n
* *self
; }
6145 static PyObject
*_wrap_wxTimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
* _resultobj
;
6147 wxTimeSpan
* _result
;
6150 PyObject
* _argo0
= 0;
6151 char *_kwnames
[] = { "self","n", NULL
};
6155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTimeSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
6158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___rmul__. Expected _wxTimeSpan_p.");
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 _result
= new wxTimeSpan (wxTimeSpan___rmul__(_arg0
,_arg1
));
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) return NULL
;
6170 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6171 _resultobj
= Py_BuildValue("s",_ptemp
);
6175 static wxTimeSpan
wxTimeSpan___neg__(wxTimeSpan
*self
) { return self
->Negate(); }
6176 static PyObject
*_wrap_wxTimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6177 PyObject
* _resultobj
;
6178 wxTimeSpan
* _result
;
6180 PyObject
* _argo0
= 0;
6181 char *_kwnames
[] = { "self", NULL
};
6185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan___neg__",_kwnames
,&_argo0
))
6188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___neg__. Expected _wxTimeSpan_p.");
6195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6196 _result
= new wxTimeSpan (wxTimeSpan___neg__(_arg0
));
6198 wxPyEndAllowThreads(__tstate
);
6199 if (PyErr_Occurred()) return NULL
;
6200 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTimeSpan_p");
6201 _resultobj
= Py_BuildValue("s",_ptemp
);
6205 static int wxTimeSpan___cmp__(wxTimeSpan
*self
,const wxTimeSpan
* other
) {
6206 if (! other
) return -1;
6207 if (*self
< *other
) return -1;
6208 if (*self
== *other
) return 0;
6211 static PyObject
*_wrap_wxTimeSpan___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
* _resultobj
;
6216 PyObject
* _argo0
= 0;
6217 PyObject
* _argo1
= 0;
6218 char *_kwnames
[] = { "self","other", NULL
};
6221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan___cmp__",_kwnames
,&_argo0
,&_argo1
))
6224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6231 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6232 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 _result
= (int )wxTimeSpan___cmp__(_arg0
,_arg1
);
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) return NULL
;
6243 } _resultobj
= Py_BuildValue("i",_result
);
6247 #define wxTimeSpan_IsNull(_swigobj) (_swigobj->IsNull())
6248 static PyObject
*_wrap_wxTimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
* _resultobj
;
6252 PyObject
* _argo0
= 0;
6253 char *_kwnames
[] = { "self", NULL
};
6256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNull",_kwnames
,&_argo0
))
6259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNull. Expected _wxTimeSpan_p.");
6266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6267 _result
= (bool )wxTimeSpan_IsNull(_arg0
);
6269 wxPyEndAllowThreads(__tstate
);
6270 if (PyErr_Occurred()) return NULL
;
6271 } _resultobj
= Py_BuildValue("i",_result
);
6275 #define wxTimeSpan_IsPositive(_swigobj) (_swigobj->IsPositive())
6276 static PyObject
*_wrap_wxTimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6277 PyObject
* _resultobj
;
6280 PyObject
* _argo0
= 0;
6281 char *_kwnames
[] = { "self", NULL
};
6284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsPositive",_kwnames
,&_argo0
))
6287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsPositive. Expected _wxTimeSpan_p.");
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 _result
= (bool )wxTimeSpan_IsPositive(_arg0
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) return NULL
;
6299 } _resultobj
= Py_BuildValue("i",_result
);
6303 #define wxTimeSpan_IsNegative(_swigobj) (_swigobj->IsNegative())
6304 static PyObject
*_wrap_wxTimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
* _resultobj
;
6308 PyObject
* _argo0
= 0;
6309 char *_kwnames
[] = { "self", NULL
};
6312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_IsNegative",_kwnames
,&_argo0
))
6315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsNegative. Expected _wxTimeSpan_p.");
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 _result
= (bool )wxTimeSpan_IsNegative(_arg0
);
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) return NULL
;
6327 } _resultobj
= Py_BuildValue("i",_result
);
6331 #define wxTimeSpan_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
6332 static PyObject
*_wrap_wxTimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
* _resultobj
;
6337 PyObject
* _argo0
= 0;
6338 PyObject
* _argo1
= 0;
6339 char *_kwnames
[] = { "self","ts", NULL
};
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsEqualTo",_kwnames
,&_argo0
,&_argo1
))
6345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6352 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 _result
= (bool )wxTimeSpan_IsEqualTo(_arg0
,*_arg1
);
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) return NULL
;
6363 } _resultobj
= Py_BuildValue("i",_result
);
6367 #define wxTimeSpan_IsLongerThan(_swigobj,_swigarg0) (_swigobj->IsLongerThan(_swigarg0))
6368 static PyObject
*_wrap_wxTimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
* _resultobj
;
6373 PyObject
* _argo0
= 0;
6374 PyObject
* _argo1
= 0;
6375 char *_kwnames
[] = { "self","ts", NULL
};
6378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsLongerThan",_kwnames
,&_argo0
,&_argo1
))
6381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6388 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 _result
= (bool )wxTimeSpan_IsLongerThan(_arg0
,*_arg1
);
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) return NULL
;
6399 } _resultobj
= Py_BuildValue("i",_result
);
6403 #define wxTimeSpan_IsShorterThan(_swigobj,_swigarg0) (_swigobj->IsShorterThan(_swigarg0))
6404 static PyObject
*_wrap_wxTimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
* _resultobj
;
6409 PyObject
* _argo0
= 0;
6410 PyObject
* _argo1
= 0;
6411 char *_kwnames
[] = { "self","t", NULL
};
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTimeSpan_IsShorterThan",_kwnames
,&_argo0
,&_argo1
))
6417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6424 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTimeSpan_p")) {
6425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 _result
= (bool )wxTimeSpan_IsShorterThan(_arg0
,*_arg1
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) return NULL
;
6435 } _resultobj
= Py_BuildValue("i",_result
);
6439 #define wxTimeSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
6440 static PyObject
*_wrap_wxTimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6441 PyObject
* _resultobj
;
6444 PyObject
* _argo0
= 0;
6445 char *_kwnames
[] = { "self", NULL
};
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetWeeks",_kwnames
,&_argo0
))
6451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetWeeks. Expected _wxTimeSpan_p.");
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 _result
= (int )wxTimeSpan_GetWeeks(_arg0
);
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) return NULL
;
6463 } _resultobj
= Py_BuildValue("i",_result
);
6467 #define wxTimeSpan_GetDays(_swigobj) (_swigobj->GetDays())
6468 static PyObject
*_wrap_wxTimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
* _resultobj
;
6472 PyObject
* _argo0
= 0;
6473 char *_kwnames
[] = { "self", NULL
};
6476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetDays",_kwnames
,&_argo0
))
6479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetDays. Expected _wxTimeSpan_p.");
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 _result
= (int )wxTimeSpan_GetDays(_arg0
);
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) return NULL
;
6491 } _resultobj
= Py_BuildValue("i",_result
);
6495 #define wxTimeSpan_GetHours(_swigobj) (_swigobj->GetHours())
6496 static PyObject
*_wrap_wxTimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6497 PyObject
* _resultobj
;
6500 PyObject
* _argo0
= 0;
6501 char *_kwnames
[] = { "self", NULL
};
6504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetHours",_kwnames
,&_argo0
))
6507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetHours. Expected _wxTimeSpan_p.");
6514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6515 _result
= (int )wxTimeSpan_GetHours(_arg0
);
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) return NULL
;
6519 } _resultobj
= Py_BuildValue("i",_result
);
6523 #define wxTimeSpan_GetMinutes(_swigobj) (_swigobj->GetMinutes())
6524 static PyObject
*_wrap_wxTimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
* _resultobj
;
6528 PyObject
* _argo0
= 0;
6529 char *_kwnames
[] = { "self", NULL
};
6532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMinutes",_kwnames
,&_argo0
))
6535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMinutes. Expected _wxTimeSpan_p.");
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 _result
= (int )wxTimeSpan_GetMinutes(_arg0
);
6545 wxPyEndAllowThreads(__tstate
);
6546 if (PyErr_Occurred()) return NULL
;
6547 } _resultobj
= Py_BuildValue("i",_result
);
6551 #define wxTimeSpan_GetSeconds(_swigobj) (_swigobj->GetSeconds())
6552 static PyObject
*_wrap_wxTimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6553 PyObject
* _resultobj
;
6554 wxLongLong
* _result
;
6556 PyObject
* _argo0
= 0;
6557 char *_kwnames
[] = { "self", NULL
};
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetSeconds",_kwnames
,&_argo0
))
6563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetSeconds. Expected _wxTimeSpan_p.");
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 _result
= new wxLongLong (wxTimeSpan_GetSeconds(_arg0
));
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) return NULL
;
6576 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6577 hi
= PyLong_FromLong(_result
->GetHi());
6578 lo
= PyLong_FromLong(_result
->GetLo());
6579 shifter
= PyLong_FromLong(32);
6580 shifted
= PyNumber_Lshift(hi
, shifter
);
6581 _resultobj
= PyNumber_Or(shifted
, lo
);
6590 #define wxTimeSpan_GetMilliseconds(_swigobj) (_swigobj->GetMilliseconds())
6591 static PyObject
*_wrap_wxTimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
* _resultobj
;
6593 wxLongLong
* _result
;
6595 PyObject
* _argo0
= 0;
6596 char *_kwnames
[] = { "self", NULL
};
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimeSpan_GetMilliseconds",_kwnames
,&_argo0
))
6602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_GetMilliseconds. Expected _wxTimeSpan_p.");
6609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6610 _result
= new wxLongLong (wxTimeSpan_GetMilliseconds(_arg0
));
6612 wxPyEndAllowThreads(__tstate
);
6613 if (PyErr_Occurred()) return NULL
;
6615 PyObject
*hi
, *lo
, *shifter
, *shifted
;
6616 hi
= PyLong_FromLong(_result
->GetHi());
6617 lo
= PyLong_FromLong(_result
->GetLo());
6618 shifter
= PyLong_FromLong(32);
6619 shifted
= PyNumber_Lshift(hi
, shifter
);
6620 _resultobj
= PyNumber_Or(shifted
, lo
);
6629 #define wxTimeSpan_Format(_swigobj,_swigarg0) (_swigobj->Format(_swigarg0))
6630 static PyObject
*_wrap_wxTimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
* _resultobj
;
6634 wxString
* _arg1
= (wxString
*) &wxPyDateFormatStr
;
6635 PyObject
* _argo0
= 0;
6636 PyObject
* _obj1
= 0;
6637 char *_kwnames
[] = { "self","format", NULL
};
6640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTimeSpan_Format",_kwnames
,&_argo0
,&_obj1
))
6643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimeSpan_p")) {
6645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimeSpan_Format. Expected _wxTimeSpan_p.");
6651 _arg1
= wxString_in_helper(_obj1
);
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 _result
= new wxString (wxTimeSpan_Format(_arg0
,*_arg1
));
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) return NULL
;
6663 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6665 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6678 #define new_wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6679 static PyObject
*_wrap_new_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
* _resultobj
;
6681 wxDateSpan
* _result
;
6682 int _arg0
= (int ) 0;
6683 int _arg1
= (int ) 0;
6684 int _arg2
= (int ) 0;
6685 int _arg3
= (int ) 0;
6686 char *_kwnames
[] = { "years","months","weeks","days", NULL
};
6690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxDateSpan",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 _result
= (wxDateSpan
*)new_wxDateSpan(_arg0
,_arg1
,_arg2
,_arg3
);
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) return NULL
;
6699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6700 _resultobj
= Py_BuildValue("s",_ptemp
);
6703 _resultobj
= Py_None
;
6708 #define delete_wxDateSpan(_swigobj) (delete _swigobj)
6709 static PyObject
*_wrap_delete_wxDateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
* _resultobj
;
6712 PyObject
* _argo0
= 0;
6713 char *_kwnames
[] = { "self", NULL
};
6716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDateSpan",_kwnames
,&_argo0
))
6719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDateSpan. Expected _wxDateSpan_p.");
6726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6727 delete_wxDateSpan(_arg0
);
6729 wxPyEndAllowThreads(__tstate
);
6730 if (PyErr_Occurred()) return NULL
;
6731 } Py_INCREF(Py_None
);
6732 _resultobj
= Py_None
;
6736 static PyObject
*_wrap_wxDateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6737 PyObject
* _resultobj
;
6738 wxDateSpan
* _result
;
6740 char *_kwnames
[] = { "days", NULL
};
6744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Days",_kwnames
,&_arg0
))
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 _result
= new wxDateSpan (wxDateSpan::Days(_arg0
));
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) return NULL
;
6752 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6753 _resultobj
= Py_BuildValue("s",_ptemp
);
6757 static PyObject
*_wrap_wxDateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
* _resultobj
;
6759 wxDateSpan
* _result
;
6760 char *_kwnames
[] = { NULL
};
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Day",_kwnames
))
6767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6768 _result
= new wxDateSpan (wxDateSpan::Day());
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_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
* _resultobj
;
6779 wxDateSpan
* _result
;
6781 char *_kwnames
[] = { "weeks", NULL
};
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Weeks",_kwnames
,&_arg0
))
6788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6789 _result
= new wxDateSpan (wxDateSpan::Weeks(_arg0
));
6791 wxPyEndAllowThreads(__tstate
);
6792 if (PyErr_Occurred()) return NULL
;
6793 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6794 _resultobj
= Py_BuildValue("s",_ptemp
);
6798 static PyObject
*_wrap_wxDateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
* _resultobj
;
6800 wxDateSpan
* _result
;
6801 char *_kwnames
[] = { NULL
};
6805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Week",_kwnames
))
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 _result
= new wxDateSpan (wxDateSpan::Week());
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_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
* _resultobj
;
6820 wxDateSpan
* _result
;
6822 char *_kwnames
[] = { "mon", NULL
};
6826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Months",_kwnames
,&_arg0
))
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 _result
= new wxDateSpan (wxDateSpan::Months(_arg0
));
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) return NULL
;
6834 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6835 _resultobj
= Py_BuildValue("s",_ptemp
);
6839 static PyObject
*_wrap_wxDateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
* _resultobj
;
6841 wxDateSpan
* _result
;
6842 char *_kwnames
[] = { NULL
};
6846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Month",_kwnames
))
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 _result
= new wxDateSpan (wxDateSpan::Month());
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_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6860 PyObject
* _resultobj
;
6861 wxDateSpan
* _result
;
6863 char *_kwnames
[] = { "years", NULL
};
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxDateSpan_Years",_kwnames
,&_arg0
))
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 _result
= new wxDateSpan (wxDateSpan::Years(_arg0
));
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) return NULL
;
6875 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6876 _resultobj
= Py_BuildValue("s",_ptemp
);
6880 static PyObject
*_wrap_wxDateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
* _resultobj
;
6882 wxDateSpan
* _result
;
6883 char *_kwnames
[] = { NULL
};
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDateSpan_Year",_kwnames
))
6890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6891 _result
= new wxDateSpan (wxDateSpan::Year());
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) return NULL
;
6895 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
6896 _resultobj
= Py_BuildValue("s",_ptemp
);
6900 #define wxDateSpan_SetYears(_swigobj,_swigarg0) (_swigobj->SetYears(_swigarg0))
6901 static PyObject
*_wrap_wxDateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6902 PyObject
* _resultobj
;
6903 wxDateSpan
* _result
;
6906 PyObject
* _argo0
= 0;
6907 char *_kwnames
[] = { "self","n", NULL
};
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetYears",_kwnames
,&_argo0
,&_arg1
))
6914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetYears. Expected _wxDateSpan_p.");
6921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6922 wxDateSpan
& _result_ref
= wxDateSpan_SetYears(_arg0
,_arg1
);
6923 _result
= (wxDateSpan
*) &_result_ref
;
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) return NULL
;
6928 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6929 _resultobj
= Py_BuildValue("s",_ptemp
);
6932 _resultobj
= Py_None
;
6937 #define wxDateSpan_SetMonths(_swigobj,_swigarg0) (_swigobj->SetMonths(_swigarg0))
6938 static PyObject
*_wrap_wxDateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
* _resultobj
;
6940 wxDateSpan
* _result
;
6943 PyObject
* _argo0
= 0;
6944 char *_kwnames
[] = { "self","n", NULL
};
6948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetMonths",_kwnames
,&_argo0
,&_arg1
))
6951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetMonths. Expected _wxDateSpan_p.");
6958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6959 wxDateSpan
& _result_ref
= wxDateSpan_SetMonths(_arg0
,_arg1
);
6960 _result
= (wxDateSpan
*) &_result_ref
;
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) return NULL
;
6965 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
6966 _resultobj
= Py_BuildValue("s",_ptemp
);
6969 _resultobj
= Py_None
;
6974 #define wxDateSpan_SetWeeks(_swigobj,_swigarg0) (_swigobj->SetWeeks(_swigarg0))
6975 static PyObject
*_wrap_wxDateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
* _resultobj
;
6977 wxDateSpan
* _result
;
6980 PyObject
* _argo0
= 0;
6981 char *_kwnames
[] = { "self","n", NULL
};
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetWeeks",_kwnames
,&_argo0
,&_arg1
))
6988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
6990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetWeeks. Expected _wxDateSpan_p.");
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 wxDateSpan
& _result_ref
= wxDateSpan_SetWeeks(_arg0
,_arg1
);
6997 _result
= (wxDateSpan
*) &_result_ref
;
6999 wxPyEndAllowThreads(__tstate
);
7000 if (PyErr_Occurred()) return NULL
;
7002 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7003 _resultobj
= Py_BuildValue("s",_ptemp
);
7006 _resultobj
= Py_None
;
7011 #define wxDateSpan_SetDays(_swigobj,_swigarg0) (_swigobj->SetDays(_swigarg0))
7012 static PyObject
*_wrap_wxDateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7013 PyObject
* _resultobj
;
7014 wxDateSpan
* _result
;
7017 PyObject
* _argo0
= 0;
7018 char *_kwnames
[] = { "self","n", NULL
};
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_SetDays",_kwnames
,&_argo0
,&_arg1
))
7025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_SetDays. Expected _wxDateSpan_p.");
7032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 wxDateSpan
& _result_ref
= wxDateSpan_SetDays(_arg0
,_arg1
);
7034 _result
= (wxDateSpan
*) &_result_ref
;
7036 wxPyEndAllowThreads(__tstate
);
7037 if (PyErr_Occurred()) return NULL
;
7039 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7040 _resultobj
= Py_BuildValue("s",_ptemp
);
7043 _resultobj
= Py_None
;
7048 #define wxDateSpan_GetYears(_swigobj) (_swigobj->GetYears())
7049 static PyObject
*_wrap_wxDateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
* _resultobj
;
7053 PyObject
* _argo0
= 0;
7054 char *_kwnames
[] = { "self", NULL
};
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetYears",_kwnames
,&_argo0
))
7060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetYears. Expected _wxDateSpan_p.");
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 _result
= (int )wxDateSpan_GetYears(_arg0
);
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) return NULL
;
7072 } _resultobj
= Py_BuildValue("i",_result
);
7076 #define wxDateSpan_GetMonths(_swigobj) (_swigobj->GetMonths())
7077 static PyObject
*_wrap_wxDateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
* _resultobj
;
7081 PyObject
* _argo0
= 0;
7082 char *_kwnames
[] = { "self", NULL
};
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetMonths",_kwnames
,&_argo0
))
7088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetMonths. Expected _wxDateSpan_p.");
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 _result
= (int )wxDateSpan_GetMonths(_arg0
);
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) return NULL
;
7100 } _resultobj
= Py_BuildValue("i",_result
);
7104 #define wxDateSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
7105 static PyObject
*_wrap_wxDateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
* _resultobj
;
7109 PyObject
* _argo0
= 0;
7110 char *_kwnames
[] = { "self", NULL
};
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetWeeks",_kwnames
,&_argo0
))
7116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetWeeks. Expected _wxDateSpan_p.");
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 _result
= (int )wxDateSpan_GetWeeks(_arg0
);
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) return NULL
;
7128 } _resultobj
= Py_BuildValue("i",_result
);
7132 #define wxDateSpan_GetDays(_swigobj) (_swigobj->GetDays())
7133 static PyObject
*_wrap_wxDateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
* _resultobj
;
7137 PyObject
* _argo0
= 0;
7138 char *_kwnames
[] = { "self", NULL
};
7141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetDays",_kwnames
,&_argo0
))
7144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetDays. Expected _wxDateSpan_p.");
7151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7152 _result
= (int )wxDateSpan_GetDays(_arg0
);
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) return NULL
;
7156 } _resultobj
= Py_BuildValue("i",_result
);
7160 #define wxDateSpan_GetTotalDays(_swigobj) (_swigobj->GetTotalDays())
7161 static PyObject
*_wrap_wxDateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
* _resultobj
;
7165 PyObject
* _argo0
= 0;
7166 char *_kwnames
[] = { "self", NULL
};
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_GetTotalDays",_kwnames
,&_argo0
))
7172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_GetTotalDays. Expected _wxDateSpan_p.");
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 _result
= (int )wxDateSpan_GetTotalDays(_arg0
);
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) return NULL
;
7184 } _resultobj
= Py_BuildValue("i",_result
);
7188 #define wxDateSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
7189 static PyObject
*_wrap_wxDateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7190 PyObject
* _resultobj
;
7191 wxDateSpan
* _result
;
7194 PyObject
* _argo0
= 0;
7195 PyObject
* _argo1
= 0;
7196 char *_kwnames
[] = { "self","other", NULL
};
7200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Add",_kwnames
,&_argo0
,&_argo1
))
7203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7210 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 wxDateSpan
& _result_ref
= wxDateSpan_Add(_arg0
,*_arg1
);
7218 _result
= (wxDateSpan
*) &_result_ref
;
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) return NULL
;
7223 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7224 _resultobj
= Py_BuildValue("s",_ptemp
);
7227 _resultobj
= Py_None
;
7232 #define wxDateSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
7233 static PyObject
*_wrap_wxDateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
* _resultobj
;
7235 wxDateSpan
* _result
;
7238 PyObject
* _argo0
= 0;
7239 PyObject
* _argo1
= 0;
7240 char *_kwnames
[] = { "self","other", NULL
};
7244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan_Subtract",_kwnames
,&_argo0
,&_argo1
))
7247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7254 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 wxDateSpan
& _result_ref
= wxDateSpan_Subtract(_arg0
,*_arg1
);
7262 _result
= (wxDateSpan
*) &_result_ref
;
7264 wxPyEndAllowThreads(__tstate
);
7265 if (PyErr_Occurred()) return NULL
;
7267 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7268 _resultobj
= Py_BuildValue("s",_ptemp
);
7271 _resultobj
= Py_None
;
7276 #define wxDateSpan_Neg(_swigobj) (_swigobj->Neg())
7277 static PyObject
*_wrap_wxDateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
* _resultobj
;
7279 wxDateSpan
* _result
;
7281 PyObject
* _argo0
= 0;
7282 char *_kwnames
[] = { "self", NULL
};
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan_Neg",_kwnames
,&_argo0
))
7289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Neg. Expected _wxDateSpan_p.");
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 wxDateSpan
& _result_ref
= wxDateSpan_Neg(_arg0
);
7298 _result
= (wxDateSpan
*) &_result_ref
;
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) return NULL
;
7303 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7304 _resultobj
= Py_BuildValue("s",_ptemp
);
7307 _resultobj
= Py_None
;
7312 #define wxDateSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
7313 static PyObject
*_wrap_wxDateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7314 PyObject
* _resultobj
;
7315 wxDateSpan
* _result
;
7318 PyObject
* _argo0
= 0;
7319 char *_kwnames
[] = { "self","factor", NULL
};
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan_Multiply",_kwnames
,&_argo0
,&_arg1
))
7326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan_Multiply. Expected _wxDateSpan_p.");
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 wxDateSpan
& _result_ref
= wxDateSpan_Multiply(_arg0
,_arg1
);
7335 _result
= (wxDateSpan
*) &_result_ref
;
7337 wxPyEndAllowThreads(__tstate
);
7338 if (PyErr_Occurred()) return NULL
;
7340 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateSpan_p");
7341 _resultobj
= Py_BuildValue("s",_ptemp
);
7344 _resultobj
= Py_None
;
7349 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
+ other
; }
7350 static PyObject
*_wrap_wxDateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7351 PyObject
* _resultobj
;
7352 wxDateSpan
* _result
;
7355 PyObject
* _argo0
= 0;
7356 PyObject
* _argo1
= 0;
7357 char *_kwnames
[] = { "self","other", NULL
};
7361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___add__",_kwnames
,&_argo0
,&_argo1
))
7364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7371 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7378 _result
= new wxDateSpan (wxDateSpan___add__(_arg0
,*_arg1
));
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) return NULL
;
7382 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7383 _resultobj
= Py_BuildValue("s",_ptemp
);
7387 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,const wxDateSpan
& other
) { return *self
- other
; }
7388 static PyObject
*_wrap_wxDateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
* _resultobj
;
7390 wxDateSpan
* _result
;
7393 PyObject
* _argo0
= 0;
7394 PyObject
* _argo1
= 0;
7395 char *_kwnames
[] = { "self","other", NULL
};
7399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDateSpan___sub__",_kwnames
,&_argo0
,&_argo1
))
7402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7409 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateSpan_p")) {
7410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7416 _result
= new wxDateSpan (wxDateSpan___sub__(_arg0
,*_arg1
));
7418 wxPyEndAllowThreads(__tstate
);
7419 if (PyErr_Occurred()) return NULL
;
7420 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7421 _resultobj
= Py_BuildValue("s",_ptemp
);
7425 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
) { return *self
* n
; }
7426 static PyObject
*_wrap_wxDateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7427 PyObject
* _resultobj
;
7428 wxDateSpan
* _result
;
7431 PyObject
* _argo0
= 0;
7432 char *_kwnames
[] = { "self","n", NULL
};
7436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___mul__",_kwnames
,&_argo0
,&_arg1
))
7439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___mul__. Expected _wxDateSpan_p.");
7446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7447 _result
= new wxDateSpan (wxDateSpan___mul__(_arg0
,_arg1
));
7449 wxPyEndAllowThreads(__tstate
);
7450 if (PyErr_Occurred()) return NULL
;
7451 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7452 _resultobj
= Py_BuildValue("s",_ptemp
);
7456 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
) { return n
* *self
; }
7457 static PyObject
*_wrap_wxDateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7458 PyObject
* _resultobj
;
7459 wxDateSpan
* _result
;
7462 PyObject
* _argo0
= 0;
7463 char *_kwnames
[] = { "self","n", NULL
};
7467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDateSpan___rmul__",_kwnames
,&_argo0
,&_arg1
))
7470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___rmul__. Expected _wxDateSpan_p.");
7477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7478 _result
= new wxDateSpan (wxDateSpan___rmul__(_arg0
,_arg1
));
7480 wxPyEndAllowThreads(__tstate
);
7481 if (PyErr_Occurred()) return NULL
;
7482 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7483 _resultobj
= Py_BuildValue("s",_ptemp
);
7487 static wxDateSpan
wxDateSpan___neg__(wxDateSpan
*self
) { return self
->Negate(); }
7488 static PyObject
*_wrap_wxDateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
* _resultobj
;
7490 wxDateSpan
* _result
;
7492 PyObject
* _argo0
= 0;
7493 char *_kwnames
[] = { "self", NULL
};
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDateSpan___neg__",_kwnames
,&_argo0
))
7500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDateSpan_p")) {
7502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDateSpan___neg__. Expected _wxDateSpan_p.");
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 _result
= new wxDateSpan (wxDateSpan___neg__(_arg0
));
7510 wxPyEndAllowThreads(__tstate
);
7511 if (PyErr_Occurred()) return NULL
;
7512 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateSpan_p");
7513 _resultobj
= Py_BuildValue("s",_ptemp
);
7517 static PyMethodDef utilscMethods
[] = {
7518 { "wxDateSpan___neg__", (PyCFunction
) _wrap_wxDateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7519 { "wxDateSpan___rmul__", (PyCFunction
) _wrap_wxDateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7520 { "wxDateSpan___mul__", (PyCFunction
) _wrap_wxDateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7521 { "wxDateSpan___sub__", (PyCFunction
) _wrap_wxDateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7522 { "wxDateSpan___add__", (PyCFunction
) _wrap_wxDateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7523 { "wxDateSpan_Multiply", (PyCFunction
) _wrap_wxDateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7524 { "wxDateSpan_Neg", (PyCFunction
) _wrap_wxDateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7525 { "wxDateSpan_Subtract", (PyCFunction
) _wrap_wxDateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7526 { "wxDateSpan_Add", (PyCFunction
) _wrap_wxDateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7527 { "wxDateSpan_GetTotalDays", (PyCFunction
) _wrap_wxDateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
7528 { "wxDateSpan_GetDays", (PyCFunction
) _wrap_wxDateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7529 { "wxDateSpan_GetWeeks", (PyCFunction
) _wrap_wxDateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7530 { "wxDateSpan_GetMonths", (PyCFunction
) _wrap_wxDateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7531 { "wxDateSpan_GetYears", (PyCFunction
) _wrap_wxDateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
7532 { "wxDateSpan_SetDays", (PyCFunction
) _wrap_wxDateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
7533 { "wxDateSpan_SetWeeks", (PyCFunction
) _wrap_wxDateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7534 { "wxDateSpan_SetMonths", (PyCFunction
) _wrap_wxDateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
7535 { "wxDateSpan_SetYears", (PyCFunction
) _wrap_wxDateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
7536 { "wxDateSpan_Year", (PyCFunction
) _wrap_wxDateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
7537 { "wxDateSpan_Years", (PyCFunction
) _wrap_wxDateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
7538 { "wxDateSpan_Month", (PyCFunction
) _wrap_wxDateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
7539 { "wxDateSpan_Months", (PyCFunction
) _wrap_wxDateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
7540 { "wxDateSpan_Week", (PyCFunction
) _wrap_wxDateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7541 { "wxDateSpan_Weeks", (PyCFunction
) _wrap_wxDateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7542 { "wxDateSpan_Day", (PyCFunction
) _wrap_wxDateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7543 { "wxDateSpan_Days", (PyCFunction
) _wrap_wxDateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7544 { "delete_wxDateSpan", (PyCFunction
) _wrap_delete_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7545 { "new_wxDateSpan", (PyCFunction
) _wrap_new_wxDateSpan
, METH_VARARGS
| METH_KEYWORDS
},
7546 { "wxTimeSpan_Format", (PyCFunction
) _wrap_wxTimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
7547 { "wxTimeSpan_GetMilliseconds", (PyCFunction
) _wrap_wxTimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
7548 { "wxTimeSpan_GetSeconds", (PyCFunction
) _wrap_wxTimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
7549 { "wxTimeSpan_GetMinutes", (PyCFunction
) _wrap_wxTimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
7550 { "wxTimeSpan_GetHours", (PyCFunction
) _wrap_wxTimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
7551 { "wxTimeSpan_GetDays", (PyCFunction
) _wrap_wxTimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
7552 { "wxTimeSpan_GetWeeks", (PyCFunction
) _wrap_wxTimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
7553 { "wxTimeSpan_IsShorterThan", (PyCFunction
) _wrap_wxTimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
7554 { "wxTimeSpan_IsLongerThan", (PyCFunction
) _wrap_wxTimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
7555 { "wxTimeSpan_IsEqualTo", (PyCFunction
) _wrap_wxTimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7556 { "wxTimeSpan_IsNegative", (PyCFunction
) _wrap_wxTimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
7557 { "wxTimeSpan_IsPositive", (PyCFunction
) _wrap_wxTimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
7558 { "wxTimeSpan_IsNull", (PyCFunction
) _wrap_wxTimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
7559 { "wxTimeSpan___cmp__", (PyCFunction
) _wrap_wxTimeSpan___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7560 { "wxTimeSpan___neg__", (PyCFunction
) _wrap_wxTimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
7561 { "wxTimeSpan___rmul__", (PyCFunction
) _wrap_wxTimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
7562 { "wxTimeSpan___mul__", (PyCFunction
) _wrap_wxTimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
7563 { "wxTimeSpan___sub__", (PyCFunction
) _wrap_wxTimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
7564 { "wxTimeSpan___add__", (PyCFunction
) _wrap_wxTimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
7565 { "wxTimeSpan_Abs", (PyCFunction
) _wrap_wxTimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
7566 { "wxTimeSpan_Neg", (PyCFunction
) _wrap_wxTimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
7567 { "wxTimeSpan_Multiply", (PyCFunction
) _wrap_wxTimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
7568 { "wxTimeSpan_Subtract", (PyCFunction
) _wrap_wxTimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7569 { "wxTimeSpan_Add", (PyCFunction
) _wrap_wxTimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
7570 { "delete_wxTimeSpan", (PyCFunction
) _wrap_delete_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7571 { "new_wxTimeSpan", (PyCFunction
) _wrap_new_wxTimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
7572 { "wxTimeSpan_Week", (PyCFunction
) _wrap_wxTimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
7573 { "wxTimeSpan_Weeks", (PyCFunction
) _wrap_wxTimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
7574 { "wxTimeSpan_Day", (PyCFunction
) _wrap_wxTimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
7575 { "wxTimeSpan_Days", (PyCFunction
) _wrap_wxTimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
7576 { "wxTimeSpan_Hour", (PyCFunction
) _wrap_wxTimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
7577 { "wxTimeSpan_Hours", (PyCFunction
) _wrap_wxTimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
7578 { "wxTimeSpan_Minute", (PyCFunction
) _wrap_wxTimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
7579 { "wxTimeSpan_Minutes", (PyCFunction
) _wrap_wxTimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
7580 { "wxTimeSpan_Second", (PyCFunction
) _wrap_wxTimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
7581 { "wxTimeSpan_Seconds", (PyCFunction
) _wrap_wxTimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
7582 { "wxDateTime_FormatISOTime", (PyCFunction
) _wrap_wxDateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
7583 { "wxDateTime_FormatISODate", (PyCFunction
) _wrap_wxDateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
7584 { "wxDateTime_FormatTime", (PyCFunction
) _wrap_wxDateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
7585 { "wxDateTime_FormatDate", (PyCFunction
) _wrap_wxDateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
7586 { "wxDateTime_Format", (PyCFunction
) _wrap_wxDateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
7587 { "wxDateTime_ParseTime", (PyCFunction
) _wrap_wxDateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
7588 { "wxDateTime_ParseDate", (PyCFunction
) _wrap_wxDateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
7589 { "wxDateTime_ParseDateTime", (PyCFunction
) _wrap_wxDateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7590 { "wxDateTime_ParseFormat", (PyCFunction
) _wrap_wxDateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
7591 { "wxDateTime_ParseRfc822Date", (PyCFunction
) _wrap_wxDateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
7592 { "wxDateTime___cmp__", (PyCFunction
) _wrap_wxDateTime___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7593 { "wxDateTime___sub__DS", (PyCFunction
) _wrap_wxDateTime___sub__DS
, METH_VARARGS
| METH_KEYWORDS
},
7594 { "wxDateTime___sub__TS", (PyCFunction
) _wrap_wxDateTime___sub__TS
, METH_VARARGS
| METH_KEYWORDS
},
7595 { "wxDateTime___sub__DT", (PyCFunction
) _wrap_wxDateTime___sub__DT
, METH_VARARGS
| METH_KEYWORDS
},
7596 { "wxDateTime___add__DS", (PyCFunction
) _wrap_wxDateTime___add__DS
, METH_VARARGS
| METH_KEYWORDS
},
7597 { "wxDateTime___add__TS", (PyCFunction
) _wrap_wxDateTime___add__TS
, METH_VARARGS
| METH_KEYWORDS
},
7598 { "wxDateTime_Subtract", (PyCFunction
) _wrap_wxDateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
7599 { "wxDateTime_SubtractDS", (PyCFunction
) _wrap_wxDateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
7600 { "wxDateTime_SubtractTS", (PyCFunction
) _wrap_wxDateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
7601 { "wxDateTime_AddDS", (PyCFunction
) _wrap_wxDateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
7602 { "wxDateTime_AddTS", (PyCFunction
) _wrap_wxDateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
7603 { "wxDateTime_IsEqualUpTo", (PyCFunction
) _wrap_wxDateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
7604 { "wxDateTime_IsSameTime", (PyCFunction
) _wrap_wxDateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
7605 { "wxDateTime_IsSameDate", (PyCFunction
) _wrap_wxDateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
7606 { "wxDateTime_IsBetween", (PyCFunction
) _wrap_wxDateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
7607 { "wxDateTime_IsStrictlyBetween", (PyCFunction
) _wrap_wxDateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
7608 { "wxDateTime_IsLaterThan", (PyCFunction
) _wrap_wxDateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
7609 { "wxDateTime_IsEarlierThan", (PyCFunction
) _wrap_wxDateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
7610 { "wxDateTime_IsEqualTo", (PyCFunction
) _wrap_wxDateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
7611 { "wxDateTime_IsWorkDay", (PyCFunction
) _wrap_wxDateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
7612 { "wxDateTime_GetWeekOfMonth", (PyCFunction
) _wrap_wxDateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
7613 { "wxDateTime_GetWeekOfYear", (PyCFunction
) _wrap_wxDateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7614 { "wxDateTime_GetDayOfYear", (PyCFunction
) _wrap_wxDateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
7615 { "wxDateTime_GetMillisecond", (PyCFunction
) _wrap_wxDateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7616 { "wxDateTime_GetSecond", (PyCFunction
) _wrap_wxDateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7617 { "wxDateTime_GetMinute", (PyCFunction
) _wrap_wxDateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7618 { "wxDateTime_GetHour", (PyCFunction
) _wrap_wxDateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
7619 { "wxDateTime_GetWeekDay", (PyCFunction
) _wrap_wxDateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7620 { "wxDateTime_GetDay", (PyCFunction
) _wrap_wxDateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
7621 { "wxDateTime_GetMonth", (PyCFunction
) _wrap_wxDateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7622 { "wxDateTime_GetYear", (PyCFunction
) _wrap_wxDateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
7623 { "wxDateTime_GetTicks", (PyCFunction
) _wrap_wxDateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
7624 { "wxDateTime_IsValid", (PyCFunction
) _wrap_wxDateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
7625 { "wxDateTime_IsDST", (PyCFunction
) _wrap_wxDateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
7626 { "wxDateTime_MakeGMT", (PyCFunction
) _wrap_wxDateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
7627 { "wxDateTime_ToGMT", (PyCFunction
) _wrap_wxDateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
7628 { "wxDateTime_MakeTimezone", (PyCFunction
) _wrap_wxDateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7629 { "wxDateTime_ToTimezone", (PyCFunction
) _wrap_wxDateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
7630 { "wxDateTime_GetRataDie", (PyCFunction
) _wrap_wxDateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
7631 { "wxDateTime_GetMJD", (PyCFunction
) _wrap_wxDateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
7632 { "wxDateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7633 { "wxDateTime_GetJDN", (PyCFunction
) _wrap_wxDateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7634 { "wxDateTime_GetJulianDayNumber", (PyCFunction
) _wrap_wxDateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
7635 { "wxDateTime_GetYearDay", (PyCFunction
) _wrap_wxDateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7636 { "wxDateTime_SetToYearDay", (PyCFunction
) _wrap_wxDateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
7637 { "wxDateTime_GetLastMonthDay", (PyCFunction
) _wrap_wxDateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7638 { "wxDateTime_SetToLastMonthDay", (PyCFunction
) _wrap_wxDateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
7639 { "wxDateTime_GetWeek", (PyCFunction
) _wrap_wxDateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
7640 { "wxDateTime_SetToTheWeek", (PyCFunction
) _wrap_wxDateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
7641 { "wxDateTime_GetLastWeekDay", (PyCFunction
) _wrap_wxDateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7642 { "wxDateTime_SetToLastWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7643 { "wxDateTime_SetToWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7644 { "wxDateTime_GetPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7645 { "wxDateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7646 { "wxDateTime_GetNextWeekDay", (PyCFunction
) _wrap_wxDateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7647 { "wxDateTime_SetToNextWeekDay", (PyCFunction
) _wrap_wxDateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
7648 { "wxDateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7649 { "wxDateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_wxDateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
7650 { "wxDateTime_SetMillisecond", (PyCFunction
) _wrap_wxDateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
7651 { "wxDateTime_SetSecond", (PyCFunction
) _wrap_wxDateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
7652 { "wxDateTime_SetMinute", (PyCFunction
) _wrap_wxDateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
7653 { "wxDateTime_SetHour", (PyCFunction
) _wrap_wxDateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
7654 { "wxDateTime_SetDay", (PyCFunction
) _wrap_wxDateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
7655 { "wxDateTime_SetMonth", (PyCFunction
) _wrap_wxDateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
7656 { "wxDateTime_SetYear", (PyCFunction
) _wrap_wxDateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
7657 { "wxDateTime_ResetTime", (PyCFunction
) _wrap_wxDateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
7658 { "wxDateTime_Set", (PyCFunction
) _wrap_wxDateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
7659 { "wxDateTime_SetHMS", (PyCFunction
) _wrap_wxDateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
7660 { "wxDateTime_SetJDN", (PyCFunction
) _wrap_wxDateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
7661 { "wxDateTime_SetTimeT", (PyCFunction
) _wrap_wxDateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7662 { "wxDateTime_SetToCurrent", (PyCFunction
) _wrap_wxDateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
7663 { "delete_wxDateTime", (PyCFunction
) _wrap_delete_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7664 { "new_wxDateTimeFromDMY", (PyCFunction
) _wrap_new_wxDateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
7665 { "new_wxDateTimeFromHMS", (PyCFunction
) _wrap_new_wxDateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
7666 { "new_wxDateTimeFromJDN", (PyCFunction
) _wrap_new_wxDateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
7667 { "new_wxDateTimeFromTimeT", (PyCFunction
) _wrap_new_wxDateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
7668 { "new_wxDateTime", (PyCFunction
) _wrap_new_wxDateTime
, METH_VARARGS
| METH_KEYWORDS
},
7669 { "wxDateTime_Today", (PyCFunction
) _wrap_wxDateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
7670 { "wxDateTime_UNow", (PyCFunction
) _wrap_wxDateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
7671 { "wxDateTime_Now", (PyCFunction
) _wrap_wxDateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
7672 { "wxDateTime_GetEndDST", (PyCFunction
) _wrap_wxDateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
7673 { "wxDateTime_GetBeginDST", (PyCFunction
) _wrap_wxDateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
7674 { "wxDateTime_IsDSTApplicable", (PyCFunction
) _wrap_wxDateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
7675 { "wxDateTime_GetAmPmStrings", (PyCFunction
) _wrap_wxDateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
7676 { "wxDateTime_GetWeekDayName", (PyCFunction
) _wrap_wxDateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
7677 { "wxDateTime_GetMonthName", (PyCFunction
) _wrap_wxDateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
7678 { "wxDateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
7679 { "wxDateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_wxDateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
7680 { "wxDateTime_GetCentury", (PyCFunction
) _wrap_wxDateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
7681 { "wxDateTime_IsLeapYear", (PyCFunction
) _wrap_wxDateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
7682 { "wxDateTime_GetCurrentMonth", (PyCFunction
) _wrap_wxDateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
7683 { "wxDateTime_ConvertYearToBC", (PyCFunction
) _wrap_wxDateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
7684 { "wxDateTime_GetCurrentYear", (PyCFunction
) _wrap_wxDateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
7685 { "wxDateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_wxDateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
7686 { "wxDateTime_GetCountry", (PyCFunction
) _wrap_wxDateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7687 { "wxDateTime_SetCountry", (PyCFunction
) _wrap_wxDateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
7688 { "delete_wxFileConfig", (PyCFunction
) _wrap_delete_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7689 { "new_wxFileConfig", (PyCFunction
) _wrap_new_wxFileConfig
, METH_VARARGS
| METH_KEYWORDS
},
7690 { "delete_wxConfig", (PyCFunction
) _wrap_delete_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7691 { "new_wxConfig", (PyCFunction
) _wrap_new_wxConfig
, METH_VARARGS
| METH_KEYWORDS
},
7692 { "wxConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7693 { "wxConfigBase_RenameGroup", (PyCFunction
) _wrap_wxConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
7694 { "wxConfigBase_RenameEntry", (PyCFunction
) _wrap_wxConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
7695 { "wxConfigBase_GetEntryType", (PyCFunction
) _wrap_wxConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
7696 { "wxConfigBase_WriteBool", (PyCFunction
) _wrap_wxConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
7697 { "wxConfigBase_WriteFloat", (PyCFunction
) _wrap_wxConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
7698 { "wxConfigBase_WriteInt", (PyCFunction
) _wrap_wxConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
7699 { "wxConfigBase_Write", (PyCFunction
) _wrap_wxConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
7700 { "wxConfigBase_GetStyle", (PyCFunction
) _wrap_wxConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7701 { "wxConfigBase_SetStyle", (PyCFunction
) _wrap_wxConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7702 { "wxConfigBase_SetVendorName", (PyCFunction
) _wrap_wxConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7703 { "wxConfigBase_SetAppName", (PyCFunction
) _wrap_wxConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7704 { "wxConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_wxConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7705 { "wxConfigBase_SetPath", (PyCFunction
) _wrap_wxConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
7706 { "wxConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_wxConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7707 { "wxConfigBase_ReadBool", (PyCFunction
) _wrap_wxConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
7708 { "wxConfigBase_ReadFloat", (PyCFunction
) _wrap_wxConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
7709 { "wxConfigBase_ReadInt", (PyCFunction
) _wrap_wxConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
7710 { "wxConfigBase_Read", (PyCFunction
) _wrap_wxConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
7711 { "wxConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_wxConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
7712 { "wxConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_wxConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
7713 { "wxConfigBase_HasGroup", (PyCFunction
) _wrap_wxConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
7714 { "wxConfigBase_HasEntry", (PyCFunction
) _wrap_wxConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
7715 { "wxConfigBase_GetVendorName", (PyCFunction
) _wrap_wxConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
7716 { "wxConfigBase_GetPath", (PyCFunction
) _wrap_wxConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
7717 { "wxConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
7718 { "wxConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_wxConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
7719 { "wxConfigBase_GetNextEntry", (PyCFunction
) _wrap_wxConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
7720 { "wxConfigBase_GetNextGroup", (PyCFunction
) _wrap_wxConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
7721 { "wxConfigBase_GetFirstEntry", (PyCFunction
) _wrap_wxConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
7722 { "wxConfigBase_GetFirstGroup", (PyCFunction
) _wrap_wxConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
7723 { "wxConfigBase_GetAppName", (PyCFunction
) _wrap_wxConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
7724 { "wxConfigBase_Flush", (PyCFunction
) _wrap_wxConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
7725 { "wxConfigBase_Exists", (PyCFunction
) _wrap_wxConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
7726 { "wxConfigBase_DeleteGroup", (PyCFunction
) _wrap_wxConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
7727 { "wxConfigBase_DeleteEntry", (PyCFunction
) _wrap_wxConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
7728 { "wxConfigBase_DeleteAll", (PyCFunction
) _wrap_wxConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
7729 { "wxConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_wxConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
7730 { "wxConfigBase_Create", (PyCFunction
) _wrap_wxConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
7731 { "wxConfigBase_Get", (PyCFunction
) _wrap_wxConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
7732 { "wxConfigBase_Set", (PyCFunction
) _wrap_wxConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
7733 { "delete_wxConfigBase", (PyCFunction
) _wrap_delete_wxConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
7734 { "wxGetLocalTimeMillis", (PyCFunction
) _wrap_wxGetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
7735 { "wxGetCurrentTime", (PyCFunction
) _wrap_wxGetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
7736 { "wxGetUTCTime", (PyCFunction
) _wrap_wxGetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
7737 { "wxGetLocalTime", (PyCFunction
) _wrap_wxGetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
7744 * This table is used by the pointer type-checker
7746 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7747 { "_signed_long","_long",0},
7748 { "_wxPrintQuality","_wxCoord",0},
7749 { "_wxPrintQuality","_int",0},
7750 { "_wxPrintQuality","_signed_int",0},
7751 { "_wxPrintQuality","_unsigned_int",0},
7752 { "_wxPrintQuality","_wxWindowID",0},
7753 { "_wxPrintQuality","_uint",0},
7754 { "_wxPrintQuality","_EBool",0},
7755 { "_wxPrintQuality","_size_t",0},
7756 { "_wxPrintQuality","_time_t",0},
7757 { "_byte","_unsigned_char",0},
7758 { "_long","_unsigned_long",0},
7759 { "_long","_signed_long",0},
7760 { "_size_t","_wxCoord",0},
7761 { "_size_t","_wxPrintQuality",0},
7762 { "_size_t","_time_t",0},
7763 { "_size_t","_unsigned_int",0},
7764 { "_size_t","_int",0},
7765 { "_size_t","_wxWindowID",0},
7766 { "_size_t","_uint",0},
7767 { "_uint","_wxCoord",0},
7768 { "_uint","_wxPrintQuality",0},
7769 { "_uint","_time_t",0},
7770 { "_uint","_size_t",0},
7771 { "_uint","_unsigned_int",0},
7772 { "_uint","_int",0},
7773 { "_uint","_wxWindowID",0},
7774 { "_wxChar","_char",0},
7775 { "_char","_wxChar",0},
7776 { "_EBool","_wxCoord",0},
7777 { "_EBool","_wxPrintQuality",0},
7778 { "_EBool","_signed_int",0},
7779 { "_EBool","_int",0},
7780 { "_EBool","_wxWindowID",0},
7781 { "_unsigned_long","_long",0},
7782 { "_signed_int","_wxCoord",0},
7783 { "_signed_int","_wxPrintQuality",0},
7784 { "_signed_int","_EBool",0},
7785 { "_signed_int","_wxWindowID",0},
7786 { "_signed_int","_int",0},
7787 { "_WXTYPE","_wxDateTime_t",0},
7788 { "_WXTYPE","_short",0},
7789 { "_WXTYPE","_signed_short",0},
7790 { "_WXTYPE","_unsigned_short",0},
7791 { "_unsigned_short","_wxDateTime_t",0},
7792 { "_unsigned_short","_WXTYPE",0},
7793 { "_unsigned_short","_short",0},
7794 { "_signed_short","_WXTYPE",0},
7795 { "_signed_short","_short",0},
7796 { "_unsigned_char","_byte",0},
7797 { "_unsigned_int","_wxCoord",0},
7798 { "_unsigned_int","_wxPrintQuality",0},
7799 { "_unsigned_int","_time_t",0},
7800 { "_unsigned_int","_size_t",0},
7801 { "_unsigned_int","_uint",0},
7802 { "_unsigned_int","_wxWindowID",0},
7803 { "_unsigned_int","_int",0},
7804 { "_wxConfigBase","_wxFileConfig",SwigwxFileConfigTowxConfigBase
},
7805 { "_wxConfigBase","_wxConfig",SwigwxConfigTowxConfigBase
},
7806 { "_short","_wxDateTime_t",0},
7807 { "_short","_WXTYPE",0},
7808 { "_short","_unsigned_short",0},
7809 { "_short","_signed_short",0},
7810 { "_wxWindowID","_wxCoord",0},
7811 { "_wxWindowID","_wxPrintQuality",0},
7812 { "_wxWindowID","_time_t",0},
7813 { "_wxWindowID","_size_t",0},
7814 { "_wxWindowID","_EBool",0},
7815 { "_wxWindowID","_uint",0},
7816 { "_wxWindowID","_int",0},
7817 { "_wxWindowID","_signed_int",0},
7818 { "_wxWindowID","_unsigned_int",0},
7819 { "_int","_wxCoord",0},
7820 { "_int","_wxPrintQuality",0},
7821 { "_int","_time_t",0},
7822 { "_int","_size_t",0},
7823 { "_int","_EBool",0},
7824 { "_int","_uint",0},
7825 { "_int","_wxWindowID",0},
7826 { "_int","_unsigned_int",0},
7827 { "_int","_signed_int",0},
7828 { "_wxDateTime_t","_unsigned_short",0},
7829 { "_wxDateTime_t","_short",0},
7830 { "_wxDateTime_t","_WXTYPE",0},
7831 { "_time_t","_wxCoord",0},
7832 { "_time_t","_wxPrintQuality",0},
7833 { "_time_t","_unsigned_int",0},
7834 { "_time_t","_int",0},
7835 { "_time_t","_wxWindowID",0},
7836 { "_time_t","_uint",0},
7837 { "_time_t","_size_t",0},
7838 { "_wxCoord","_int",0},
7839 { "_wxCoord","_signed_int",0},
7840 { "_wxCoord","_unsigned_int",0},
7841 { "_wxCoord","_wxWindowID",0},
7842 { "_wxCoord","_uint",0},
7843 { "_wxCoord","_EBool",0},
7844 { "_wxCoord","_size_t",0},
7845 { "_wxCoord","_time_t",0},
7846 { "_wxCoord","_wxPrintQuality",0},
7849 static PyObject
*SWIG_globals
;
7853 SWIGEXPORT(void) initutilsc() {
7855 SWIG_globals
= SWIG_newvarlink();
7856 m
= Py_InitModule("utilsc", utilscMethods
);
7857 d
= PyModule_GetDict(m
);
7858 PyDict_SetItemString(d
,"wxCONFIG_USE_LOCAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_LOCAL_FILE
));
7859 PyDict_SetItemString(d
,"wxCONFIG_USE_GLOBAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_GLOBAL_FILE
));
7860 PyDict_SetItemString(d
,"wxCONFIG_USE_RELATIVE_PATH", PyInt_FromLong((long) wxCONFIG_USE_RELATIVE_PATH
));
7861 PyDict_SetItemString(d
,"wxCONFIG_USE_NO_ESCAPE_CHARACTERS", PyInt_FromLong((long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
7863 PyDict_SetItemString(d
,"wxConfigBase_Type_Unknown", PyInt_FromLong((long) wxConfigBase::Type_Unknown
));
7864 PyDict_SetItemString(d
,"wxConfigBase_Type_String", PyInt_FromLong((long) wxConfigBase::Type_String
));
7865 PyDict_SetItemString(d
,"wxConfigBase_Type_Boolean", PyInt_FromLong((long) wxConfigBase::Type_Boolean
));
7866 PyDict_SetItemString(d
,"wxConfigBase_Type_Integer", PyInt_FromLong((long) wxConfigBase::Type_Integer
));
7867 PyDict_SetItemString(d
,"wxConfigBase_Type_Float", PyInt_FromLong((long) wxConfigBase::Type_Float
));
7868 PyDict_SetItemString(d
,"wxDateTime_Local", PyInt_FromLong((long) wxDateTime::Local
));
7869 PyDict_SetItemString(d
,"wxDateTime_GMT_12", PyInt_FromLong((long) wxDateTime::GMT_12
));
7870 PyDict_SetItemString(d
,"wxDateTime_GMT_11", PyInt_FromLong((long) wxDateTime::GMT_11
));
7871 PyDict_SetItemString(d
,"wxDateTime_GMT_10", PyInt_FromLong((long) wxDateTime::GMT_10
));
7872 PyDict_SetItemString(d
,"wxDateTime_GMT_9", PyInt_FromLong((long) wxDateTime::GMT_9
));
7873 PyDict_SetItemString(d
,"wxDateTime_GMT_8", PyInt_FromLong((long) wxDateTime::GMT_8
));
7874 PyDict_SetItemString(d
,"wxDateTime_GMT_7", PyInt_FromLong((long) wxDateTime::GMT_7
));
7875 PyDict_SetItemString(d
,"wxDateTime_GMT_6", PyInt_FromLong((long) wxDateTime::GMT_6
));
7876 PyDict_SetItemString(d
,"wxDateTime_GMT_5", PyInt_FromLong((long) wxDateTime::GMT_5
));
7877 PyDict_SetItemString(d
,"wxDateTime_GMT_4", PyInt_FromLong((long) wxDateTime::GMT_4
));
7878 PyDict_SetItemString(d
,"wxDateTime_GMT_3", PyInt_FromLong((long) wxDateTime::GMT_3
));
7879 PyDict_SetItemString(d
,"wxDateTime_GMT_2", PyInt_FromLong((long) wxDateTime::GMT_2
));
7880 PyDict_SetItemString(d
,"wxDateTime_GMT_1", PyInt_FromLong((long) wxDateTime::GMT_1
));
7881 PyDict_SetItemString(d
,"wxDateTime_GMT0", PyInt_FromLong((long) wxDateTime::GMT0
));
7882 PyDict_SetItemString(d
,"wxDateTime_GMT1", PyInt_FromLong((long) wxDateTime::GMT1
));
7883 PyDict_SetItemString(d
,"wxDateTime_GMT2", PyInt_FromLong((long) wxDateTime::GMT2
));
7884 PyDict_SetItemString(d
,"wxDateTime_GMT3", PyInt_FromLong((long) wxDateTime::GMT3
));
7885 PyDict_SetItemString(d
,"wxDateTime_GMT4", PyInt_FromLong((long) wxDateTime::GMT4
));
7886 PyDict_SetItemString(d
,"wxDateTime_GMT5", PyInt_FromLong((long) wxDateTime::GMT5
));
7887 PyDict_SetItemString(d
,"wxDateTime_GMT6", PyInt_FromLong((long) wxDateTime::GMT6
));
7888 PyDict_SetItemString(d
,"wxDateTime_GMT7", PyInt_FromLong((long) wxDateTime::GMT7
));
7889 PyDict_SetItemString(d
,"wxDateTime_GMT8", PyInt_FromLong((long) wxDateTime::GMT8
));
7890 PyDict_SetItemString(d
,"wxDateTime_GMT9", PyInt_FromLong((long) wxDateTime::GMT9
));
7891 PyDict_SetItemString(d
,"wxDateTime_GMT10", PyInt_FromLong((long) wxDateTime::GMT10
));
7892 PyDict_SetItemString(d
,"wxDateTime_GMT11", PyInt_FromLong((long) wxDateTime::GMT11
));
7893 PyDict_SetItemString(d
,"wxDateTime_GMT12", PyInt_FromLong((long) wxDateTime::GMT12
));
7894 PyDict_SetItemString(d
,"wxDateTime_WET", PyInt_FromLong((long) wxDateTime::WET
));
7895 PyDict_SetItemString(d
,"wxDateTime_WEST", PyInt_FromLong((long) wxDateTime::WEST
));
7896 PyDict_SetItemString(d
,"wxDateTime_CET", PyInt_FromLong((long) wxDateTime::CET
));
7897 PyDict_SetItemString(d
,"wxDateTime_CEST", PyInt_FromLong((long) wxDateTime::CEST
));
7898 PyDict_SetItemString(d
,"wxDateTime_EET", PyInt_FromLong((long) wxDateTime::EET
));
7899 PyDict_SetItemString(d
,"wxDateTime_EEST", PyInt_FromLong((long) wxDateTime::EEST
));
7900 PyDict_SetItemString(d
,"wxDateTime_MSK", PyInt_FromLong((long) wxDateTime::MSK
));
7901 PyDict_SetItemString(d
,"wxDateTime_MSD", PyInt_FromLong((long) wxDateTime::MSD
));
7902 PyDict_SetItemString(d
,"wxDateTime_AST", PyInt_FromLong((long) wxDateTime::AST
));
7903 PyDict_SetItemString(d
,"wxDateTime_ADT", PyInt_FromLong((long) wxDateTime::ADT
));
7904 PyDict_SetItemString(d
,"wxDateTime_EST", PyInt_FromLong((long) wxDateTime::EST
));
7905 PyDict_SetItemString(d
,"wxDateTime_EDT", PyInt_FromLong((long) wxDateTime::EDT
));
7906 PyDict_SetItemString(d
,"wxDateTime_CST", PyInt_FromLong((long) wxDateTime::CST
));
7907 PyDict_SetItemString(d
,"wxDateTime_CDT", PyInt_FromLong((long) wxDateTime::CDT
));
7908 PyDict_SetItemString(d
,"wxDateTime_MST", PyInt_FromLong((long) wxDateTime::MST
));
7909 PyDict_SetItemString(d
,"wxDateTime_MDT", PyInt_FromLong((long) wxDateTime::MDT
));
7910 PyDict_SetItemString(d
,"wxDateTime_PST", PyInt_FromLong((long) wxDateTime::PST
));
7911 PyDict_SetItemString(d
,"wxDateTime_PDT", PyInt_FromLong((long) wxDateTime::PDT
));
7912 PyDict_SetItemString(d
,"wxDateTime_HST", PyInt_FromLong((long) wxDateTime::HST
));
7913 PyDict_SetItemString(d
,"wxDateTime_AKST", PyInt_FromLong((long) wxDateTime::AKST
));
7914 PyDict_SetItemString(d
,"wxDateTime_AKDT", PyInt_FromLong((long) wxDateTime::AKDT
));
7915 PyDict_SetItemString(d
,"wxDateTime_A_WST", PyInt_FromLong((long) wxDateTime::A_WST
));
7916 PyDict_SetItemString(d
,"wxDateTime_A_CST", PyInt_FromLong((long) wxDateTime::A_CST
));
7917 PyDict_SetItemString(d
,"wxDateTime_A_EST", PyInt_FromLong((long) wxDateTime::A_EST
));
7918 PyDict_SetItemString(d
,"wxDateTime_A_ESST", PyInt_FromLong((long) wxDateTime::A_ESST
));
7919 PyDict_SetItemString(d
,"wxDateTime_UTC", PyInt_FromLong((long) wxDateTime::UTC
));
7920 PyDict_SetItemString(d
,"wxDateTime_Gregorian", PyInt_FromLong((long) wxDateTime::Gregorian
));
7921 PyDict_SetItemString(d
,"wxDateTime_Julian", PyInt_FromLong((long) wxDateTime::Julian
));
7922 PyDict_SetItemString(d
,"wxDateTime_Country_Unknown", PyInt_FromLong((long) wxDateTime::Country_Unknown
));
7923 PyDict_SetItemString(d
,"wxDateTime_Country_Default", PyInt_FromLong((long) wxDateTime::Country_Default
));
7924 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_Start", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_Start
));
7925 PyDict_SetItemString(d
,"wxDateTime_Country_EEC", PyInt_FromLong((long) wxDateTime::Country_EEC
));
7926 PyDict_SetItemString(d
,"wxDateTime_France", PyInt_FromLong((long) wxDateTime::France
));
7927 PyDict_SetItemString(d
,"wxDateTime_Germany", PyInt_FromLong((long) wxDateTime::Germany
));
7928 PyDict_SetItemString(d
,"wxDateTime_UK", PyInt_FromLong((long) wxDateTime::UK
));
7929 PyDict_SetItemString(d
,"wxDateTime_Country_WesternEurope_End", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_End
));
7930 PyDict_SetItemString(d
,"wxDateTime_Russia", PyInt_FromLong((long) wxDateTime::Russia
));
7931 PyDict_SetItemString(d
,"wxDateTime_USA", PyInt_FromLong((long) wxDateTime::USA
));
7932 PyDict_SetItemString(d
,"wxDateTime_Jan", PyInt_FromLong((long) wxDateTime::Jan
));
7933 PyDict_SetItemString(d
,"wxDateTime_Feb", PyInt_FromLong((long) wxDateTime::Feb
));
7934 PyDict_SetItemString(d
,"wxDateTime_Mar", PyInt_FromLong((long) wxDateTime::Mar
));
7935 PyDict_SetItemString(d
,"wxDateTime_Apr", PyInt_FromLong((long) wxDateTime::Apr
));
7936 PyDict_SetItemString(d
,"wxDateTime_May", PyInt_FromLong((long) wxDateTime::May
));
7937 PyDict_SetItemString(d
,"wxDateTime_Jun", PyInt_FromLong((long) wxDateTime::Jun
));
7938 PyDict_SetItemString(d
,"wxDateTime_Jul", PyInt_FromLong((long) wxDateTime::Jul
));
7939 PyDict_SetItemString(d
,"wxDateTime_Aug", PyInt_FromLong((long) wxDateTime::Aug
));
7940 PyDict_SetItemString(d
,"wxDateTime_Sep", PyInt_FromLong((long) wxDateTime::Sep
));
7941 PyDict_SetItemString(d
,"wxDateTime_Oct", PyInt_FromLong((long) wxDateTime::Oct
));
7942 PyDict_SetItemString(d
,"wxDateTime_Nov", PyInt_FromLong((long) wxDateTime::Nov
));
7943 PyDict_SetItemString(d
,"wxDateTime_Dec", PyInt_FromLong((long) wxDateTime::Dec
));
7944 PyDict_SetItemString(d
,"wxDateTime_Inv_Month", PyInt_FromLong((long) wxDateTime::Inv_Month
));
7945 PyDict_SetItemString(d
,"wxDateTime_Sun", PyInt_FromLong((long) wxDateTime::Sun
));
7946 PyDict_SetItemString(d
,"wxDateTime_Mon", PyInt_FromLong((long) wxDateTime::Mon
));
7947 PyDict_SetItemString(d
,"wxDateTime_Tue", PyInt_FromLong((long) wxDateTime::Tue
));
7948 PyDict_SetItemString(d
,"wxDateTime_Wed", PyInt_FromLong((long) wxDateTime::Wed
));
7949 PyDict_SetItemString(d
,"wxDateTime_Thu", PyInt_FromLong((long) wxDateTime::Thu
));
7950 PyDict_SetItemString(d
,"wxDateTime_Fri", PyInt_FromLong((long) wxDateTime::Fri
));
7951 PyDict_SetItemString(d
,"wxDateTime_Sat", PyInt_FromLong((long) wxDateTime::Sat
));
7952 PyDict_SetItemString(d
,"wxDateTime_Inv_WeekDay", PyInt_FromLong((long) wxDateTime::Inv_WeekDay
));
7953 PyDict_SetItemString(d
,"wxDateTime_Inv_Year", PyInt_FromLong((long) wxDateTime::Inv_Year
));
7954 PyDict_SetItemString(d
,"wxDateTime_Name_Full", PyInt_FromLong((long) wxDateTime::Name_Full
));
7955 PyDict_SetItemString(d
,"wxDateTime_Name_Abbr", PyInt_FromLong((long) wxDateTime::Name_Abbr
));
7956 PyDict_SetItemString(d
,"wxDateTime_Default_First", PyInt_FromLong((long) wxDateTime::Default_First
));
7957 PyDict_SetItemString(d
,"wxDateTime_Monday_First", PyInt_FromLong((long) wxDateTime::Monday_First
));
7958 PyDict_SetItemString(d
,"wxDateTime_Sunday_First", PyInt_FromLong((long) wxDateTime::Sunday_First
));
7961 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7962 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);