]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/utils.cpp
fixed the last of the off-by-one errors (some are refixed, again...)
[wxWidgets.git] / wxPython / src / gtk / utils.cpp
CommitLineData
f6bcfd97 1/*
c368d904 2 * FILE : src/gtk/utils.cpp
f6bcfd97
BP
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
2cd2fac8 6 * Version 1.1 (Build 883)
f6bcfd97
BP
7 *
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.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
22#include <string.h>
23#include <stdlib.h>
24/* Definitions for Windows/Unix exporting */
25#if defined(__WIN32__)
26# if defined(_MSC_VER)
27# define SWIGEXPORT(a) __declspec(dllexport) a
28# else
29# if defined(__BORLANDC__)
1c09ae54 30# define SWIGEXPORT(a) a _export
f6bcfd97 31# else
1c09ae54 32# define SWIGEXPORT(a) a
f6bcfd97
BP
33# endif
34# endif
35#else
1c09ae54 36# define SWIGEXPORT(a) a
f6bcfd97
BP
37#endif
38
1c09ae54
RD
39#include "Python.h"
40
f6bcfd97
BP
41#ifdef __cplusplus
42extern "C" {
43#endif
1c09ae54 44
f6bcfd97
BP
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
54#define SWIG_init initutilsc
55
56#define SWIG_name "utilsc"
57
b68dc582 58#include "export.h"
f6bcfd97
BP
59#include <wx/config.h>
60#include <wx/fileconf.h>
61#include <wx/datetime.h>
62
f6bcfd97
BP
63
64static PyObject* t_output_helper(PyObject* target, PyObject* o) {
65 PyObject* o2;
66 PyObject* o3;
67
1c09ae54 68 if (!target) {
f6bcfd97 69 target = o;
1c09ae54 70 } else if (target == Py_None) {
f6bcfd97
BP
71 Py_DECREF(Py_None);
72 target = o;
1c09ae54 73 } else {
f6bcfd97
BP
74 if (!PyTuple_Check(target)) {
75 o2 = target;
76 target = PyTuple_New(1);
77 PyTuple_SetItem(target, 0, o2);
78 }
1c09ae54
RD
79 o3 = PyTuple_New(1);
80 PyTuple_SetItem(o3, 0, o);
f6bcfd97
BP
81
82 o2 = target;
1c09ae54
RD
83 target = PySequence_Concat(o2, o3);
84 Py_DECREF(o2);
f6bcfd97
BP
85 Py_DECREF(o3);
86 }
87 return target;
88}
89
7a446686
RD
90#if PYTHON_API_VERSION >= 1009
91 static char* wxStringErrorMsg = "String or Unicode type required";
92#else
93 static char* wxStringErrorMsg = "string type is required for parameter";
94#endif
f6bcfd97 95
b68dc582
RD
96 static wxString wxPyEmptyStr("");
97
f6bcfd97
BP
98 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
99 PyObject* ret = PyTuple_New(3);
100 if (ret) {
101 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
102 PyTuple_SET_ITEM(ret, 1, PyString_FromString(str));
103 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
104 }
105 return ret;
106 }
107
108#define LOCAL *(new wxDateTime::TimeZone(wxDateTime::Local))
109#ifdef __cplusplus
110extern "C" {
111#endif
112static PyObject *_wrap_wxGetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
113 PyObject * _resultobj;
114 long _result;
115 char *_kwnames[] = { NULL };
116
117 self = self;
118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetLocalTime",_kwnames))
119 return NULL;
120{
121 wxPy_BEGIN_ALLOW_THREADS;
122 _result = (long )wxGetLocalTime();
123
124 wxPy_END_ALLOW_THREADS;
4dfaa61e 125 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
126} _resultobj = Py_BuildValue("l",_result);
127 return _resultobj;
128}
129
130static PyObject *_wrap_wxGetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
131 PyObject * _resultobj;
132 long _result;
133 char *_kwnames[] = { NULL };
134
135 self = self;
136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetUTCTime",_kwnames))
137 return NULL;
138{
139 wxPy_BEGIN_ALLOW_THREADS;
140 _result = (long )wxGetUTCTime();
141
142 wxPy_END_ALLOW_THREADS;
4dfaa61e 143 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
144} _resultobj = Py_BuildValue("l",_result);
145 return _resultobj;
146}
147
148static PyObject *_wrap_wxGetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
149 PyObject * _resultobj;
150 long _result;
151 char *_kwnames[] = { NULL };
152
153 self = self;
154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetCurrentTime",_kwnames))
155 return NULL;
156{
157 wxPy_BEGIN_ALLOW_THREADS;
158 _result = (long )wxGetCurrentTime();
159
160 wxPy_END_ALLOW_THREADS;
4dfaa61e 161 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
162} _resultobj = Py_BuildValue("l",_result);
163 return _resultobj;
164}
165
166static PyObject *_wrap_wxGetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
167 PyObject * _resultobj;
168 wxLongLong * _result;
169 char *_kwnames[] = { NULL };
170
171 self = self;
172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetLocalTimeMillis",_kwnames))
173 return NULL;
174{
175 wxPy_BEGIN_ALLOW_THREADS;
176 _result = new wxLongLong (wxGetLocalTimeMillis());
177
178 wxPy_END_ALLOW_THREADS;
4dfaa61e 179 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
180}{
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);
187 Py_DECREF(hi);
188 Py_DECREF(lo);
189 Py_DECREF(shifter);
190 Py_DECREF(shifted);
191}
192 return _resultobj;
193}
194
195#define delete_wxConfigBase(_swigobj) (delete _swigobj)
196static 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 };
201
202 self = self;
203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxConfigBase",_kwnames,&_argo0))
204 return NULL;
205 if (_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.");
209 return NULL;
210 }
211 }
212{
213 wxPy_BEGIN_ALLOW_THREADS;
214 delete_wxConfigBase(_arg0);
215
216 wxPy_END_ALLOW_THREADS;
4dfaa61e 217 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
218} Py_INCREF(Py_None);
219 _resultobj = Py_None;
220 return _resultobj;
221}
222
223static 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 };
229 char _ptemp[128];
230
231 self = self;
232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxConfigBase_Set",_kwnames,&_argo0))
233 return NULL;
234 if (_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.");
238 return NULL;
239 }
240 }
241{
242 wxPy_BEGIN_ALLOW_THREADS;
243 _result = (wxConfigBase *)wxConfigBase::Set(_arg0);
244
245 wxPy_END_ALLOW_THREADS;
4dfaa61e 246 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
247} if (_result) {
248 SWIG_MakePtr(_ptemp, (char *) _result,"_wxConfigBase_p");
249 _resultobj = Py_BuildValue("s",_ptemp);
250 } else {
251 Py_INCREF(Py_None);
252 _resultobj = Py_None;
253 }
254 return _resultobj;
255}
256
257static 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 };
263 char _ptemp[128];
264
265 self = self;
266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxConfigBase_Get",_kwnames,&tempbool0))
267 return NULL;
268 _arg0 = (bool ) tempbool0;
269{
270 wxPy_BEGIN_ALLOW_THREADS;
271 _result = (wxConfigBase *)wxConfigBase::Get(_arg0);
272
273 wxPy_END_ALLOW_THREADS;
4dfaa61e 274 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
275} if (_result) {
276 SWIG_MakePtr(_ptemp, (char *) _result,"_wxConfigBase_p");
277 _resultobj = Py_BuildValue("s",_ptemp);
278 } else {
279 Py_INCREF(Py_None);
280 _resultobj = Py_None;
281 }
282 return _resultobj;
283}
284
285static PyObject *_wrap_wxConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
286 PyObject * _resultobj;
287 wxConfigBase * _result;
288 char *_kwnames[] = { NULL };
289 char _ptemp[128];
290
291 self = self;
292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxConfigBase_Create",_kwnames))
293 return NULL;
294{
295 wxPy_BEGIN_ALLOW_THREADS;
296 _result = (wxConfigBase *)wxConfigBase::Create();
297
298 wxPy_END_ALLOW_THREADS;
4dfaa61e 299 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
300} if (_result) {
301 SWIG_MakePtr(_ptemp, (char *) _result,"_wxConfigBase_p");
302 _resultobj = Py_BuildValue("s",_ptemp);
303 } else {
304 Py_INCREF(Py_None);
305 _resultobj = Py_None;
306 }
307 return _resultobj;
308}
309
310static PyObject *_wrap_wxConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
311 PyObject * _resultobj;
312 char *_kwnames[] = { NULL };
313
314 self = self;
315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxConfigBase_DontCreateOnDemand",_kwnames))
316 return NULL;
317{
318 wxPy_BEGIN_ALLOW_THREADS;
319 wxConfigBase::DontCreateOnDemand();
320
321 wxPy_END_ALLOW_THREADS;
4dfaa61e 322 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
323} Py_INCREF(Py_None);
324 _resultobj = Py_None;
325 return _resultobj;
326}
327
328#define wxConfigBase_DeleteAll(_swigobj) (_swigobj->DeleteAll())
329static PyObject *_wrap_wxConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
330 PyObject * _resultobj;
331 bool _result;
332 wxConfigBase * _arg0;
333 PyObject * _argo0 = 0;
334 char *_kwnames[] = { "self", NULL };
335
336 self = self;
337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxConfigBase_DeleteAll",_kwnames,&_argo0))
338 return NULL;
339 if (_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.");
343 return NULL;
344 }
345 }
346{
347 wxPy_BEGIN_ALLOW_THREADS;
348 _result = (bool )wxConfigBase_DeleteAll(_arg0);
349
350 wxPy_END_ALLOW_THREADS;
4dfaa61e 351 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
352} _resultobj = Py_BuildValue("i",_result);
353 return _resultobj;
354}
355
356#define wxConfigBase_DeleteEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteEntry(_swigarg0,_swigarg1))
357static PyObject *_wrap_wxConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
358 PyObject * _resultobj;
359 bool _result;
360 wxConfigBase * _arg0;
361 wxString * _arg1;
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 };
367
368 self = self;
369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxConfigBase_DeleteEntry",_kwnames,&_argo0,&_obj1,&tempbool2))
370 return NULL;
371 if (_argo0) {
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.");
375 return NULL;
376 }
377 }
378{
2cd2fac8
RD
379#if PYTHON_API_VERSION >= 1009
380 char* tmpPtr; int tmpSize;
381 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 382 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
383 return NULL;
384 }
385 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
386 return NULL;
387 _arg1 = new wxString(tmpPtr, tmpSize);
388#else
f6bcfd97
BP
389 if (!PyString_Check(_obj1)) {
390 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
391 return NULL;
392 }
2cd2fac8
RD
393 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
394#endif
f6bcfd97
BP
395}
396 _arg2 = (bool ) tempbool2;
397{
398 wxPy_BEGIN_ALLOW_THREADS;
399 _result = (bool )wxConfigBase_DeleteEntry(_arg0,*_arg1,_arg2);
400
401 wxPy_END_ALLOW_THREADS;
4dfaa61e 402 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
403} _resultobj = Py_BuildValue("i",_result);
404{
405 if (_obj1)
406 delete _arg1;
407}
408 return _resultobj;
409}
410
411#define wxConfigBase_DeleteGroup(_swigobj,_swigarg0) (_swigobj->DeleteGroup(_swigarg0))
412static PyObject *_wrap_wxConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
413 PyObject * _resultobj;
414 bool _result;
415 wxConfigBase * _arg0;
416 wxString * _arg1;
417 PyObject * _argo0 = 0;
418 PyObject * _obj1 = 0;
419 char *_kwnames[] = { "self","key", NULL };
420
421 self = self;
422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxConfigBase_DeleteGroup",_kwnames,&_argo0,&_obj1))
423 return NULL;
424 if (_argo0) {
425 if (_argo0 == Py_None) { _arg0 = NULL; }
426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_DeleteGroup. Expected _wxConfigBase_p.");
428 return NULL;
429 }
430 }
431{
2cd2fac8
RD
432#if PYTHON_API_VERSION >= 1009
433 char* tmpPtr; int tmpSize;
434 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 435 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
436 return NULL;
437 }
438 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
439 return NULL;
440 _arg1 = new wxString(tmpPtr, tmpSize);
441#else
f6bcfd97
BP
442 if (!PyString_Check(_obj1)) {
443 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
444 return NULL;
445 }
2cd2fac8
RD
446 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
447#endif
f6bcfd97
BP
448}
449{
450 wxPy_BEGIN_ALLOW_THREADS;
451 _result = (bool )wxConfigBase_DeleteGroup(_arg0,*_arg1);
452
453 wxPy_END_ALLOW_THREADS;
4dfaa61e 454 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
455} _resultobj = Py_BuildValue("i",_result);
456{
457 if (_obj1)
458 delete _arg1;
459}
460 return _resultobj;
461}
462
463#define wxConfigBase_Exists(_swigobj,_swigarg0) (_swigobj->Exists(_swigarg0))
464static PyObject *_wrap_wxConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
465 PyObject * _resultobj;
466 bool _result;
467 wxConfigBase * _arg0;
468 wxString * _arg1;
469 PyObject * _argo0 = 0;
470 PyObject * _obj1 = 0;
471 char *_kwnames[] = { "self","strName", NULL };
472
473 self = self;
474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxConfigBase_Exists",_kwnames,&_argo0,&_obj1))
475 return NULL;
476 if (_argo0) {
477 if (_argo0 == Py_None) { _arg0 = NULL; }
478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_Exists. Expected _wxConfigBase_p.");
480 return NULL;
481 }
482 }
483{
2cd2fac8
RD
484#if PYTHON_API_VERSION >= 1009
485 char* tmpPtr; int tmpSize;
486 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 487 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
488 return NULL;
489 }
490 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
491 return NULL;
492 _arg1 = new wxString(tmpPtr, tmpSize);
493#else
f6bcfd97
BP
494 if (!PyString_Check(_obj1)) {
495 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
496 return NULL;
497 }
2cd2fac8
RD
498 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
499#endif
f6bcfd97
BP
500}
501{
502 wxPy_BEGIN_ALLOW_THREADS;
503 _result = (bool )wxConfigBase_Exists(_arg0,*_arg1);
504
505 wxPy_END_ALLOW_THREADS;
4dfaa61e 506 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
507} _resultobj = Py_BuildValue("i",_result);
508{
509 if (_obj1)
510 delete _arg1;
511}
512 return _resultobj;
513}
514
515#define wxConfigBase_Flush(_swigobj,_swigarg0) (_swigobj->Flush(_swigarg0))
516static PyObject *_wrap_wxConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
517 PyObject * _resultobj;
518 bool _result;
519 wxConfigBase * _arg0;
520 bool _arg1 = (bool ) FALSE;
521 PyObject * _argo0 = 0;
522 int tempbool1 = (int) FALSE;
523 char *_kwnames[] = { "self","bCurrentOnly", NULL };
524
525 self = self;
526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxConfigBase_Flush",_kwnames,&_argo0,&tempbool1))
527 return NULL;
528 if (_argo0) {
529 if (_argo0 == Py_None) { _arg0 = NULL; }
530 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_Flush. Expected _wxConfigBase_p.");
532 return NULL;
533 }
534 }
535 _arg1 = (bool ) tempbool1;
536{
537 wxPy_BEGIN_ALLOW_THREADS;
538 _result = (bool )wxConfigBase_Flush(_arg0,_arg1);
539
540 wxPy_END_ALLOW_THREADS;
4dfaa61e 541 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
542} _resultobj = Py_BuildValue("i",_result);
543 return _resultobj;
544}
545
546#define wxConfigBase_GetAppName(_swigobj) (_swigobj->GetAppName())
547static PyObject *_wrap_wxConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
548 PyObject * _resultobj;
549 wxString * _result;
550 wxConfigBase * _arg0;
551 PyObject * _argo0 = 0;
552 char *_kwnames[] = { "self", NULL };
553
554 self = self;
555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxConfigBase_GetAppName",_kwnames,&_argo0))
556 return NULL;
557 if (_argo0) {
558 if (_argo0 == Py_None) { _arg0 = NULL; }
559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_GetAppName. Expected _wxConfigBase_p.");
561 return NULL;
562 }
563 }
564{
565 wxPy_BEGIN_ALLOW_THREADS;
566 _result = new wxString (wxConfigBase_GetAppName(_arg0));
567
568 wxPy_END_ALLOW_THREADS;
4dfaa61e 569 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
570}{
571 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
572}
573{
574 delete _result;
575}
576 return _resultobj;
577}
578
579static PyObject * wxConfigBase_GetFirstGroup(wxConfigBase *self) {
580 bool cont;
581 long index = 0;
582 wxString value;
583
584 cont = self->GetFirstGroup(value, index);
585 return __EnumerationHelper(cont, value, index);
586 }
587static PyObject *_wrap_wxConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
588 PyObject * _resultobj;
589 PyObject * _result;
590 wxConfigBase * _arg0;
591 PyObject * _argo0 = 0;
592 char *_kwnames[] = { "self", NULL };
593
594 self = self;
595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxConfigBase_GetFirstGroup",_kwnames,&_argo0))
596 return NULL;
597 if (_argo0) {
598 if (_argo0 == Py_None) { _arg0 = NULL; }
599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_GetFirstGroup. Expected _wxConfigBase_p.");
601 return NULL;
602 }
603 }
604{
605 wxPy_BEGIN_ALLOW_THREADS;
606 _result = (PyObject *)wxConfigBase_GetFirstGroup(_arg0);
607
608 wxPy_END_ALLOW_THREADS;
4dfaa61e 609 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
610}{
611 _resultobj = _result;
612}
613 return _resultobj;
614}
615
616static PyObject * wxConfigBase_GetFirstEntry(wxConfigBase *self) {
617 bool cont;
618 long index = 0;
619 wxString value;
620
621 cont = self->GetFirstEntry(value, index);
622 return __EnumerationHelper(cont, value, index);
623 }
624static PyObject *_wrap_wxConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
625 PyObject * _resultobj;
626 PyObject * _result;
627 wxConfigBase * _arg0;
628 PyObject * _argo0 = 0;
629 char *_kwnames[] = { "self", NULL };
630
631 self = self;
632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxConfigBase_GetFirstEntry",_kwnames,&_argo0))
633 return NULL;
634 if (_argo0) {
635 if (_argo0 == Py_None) { _arg0 = NULL; }
636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_GetFirstEntry. Expected _wxConfigBase_p.");
638 return NULL;
639 }
640 }
641{
642 wxPy_BEGIN_ALLOW_THREADS;
643 _result = (PyObject *)wxConfigBase_GetFirstEntry(_arg0);
644
645 wxPy_END_ALLOW_THREADS;
4dfaa61e 646 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
647}{
648 _resultobj = _result;
649}
650 return _resultobj;
651}
652
653static PyObject * wxConfigBase_GetNextGroup(wxConfigBase *self,long index) {
654 bool cont;
655 wxString value;
656
657 cont = self->GetNextGroup(value, index);
658 return __EnumerationHelper(cont, value, index);
659 }
660static PyObject *_wrap_wxConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
661 PyObject * _resultobj;
662 PyObject * _result;
663 wxConfigBase * _arg0;
664 long _arg1;
665 PyObject * _argo0 = 0;
666 char *_kwnames[] = { "self","index", NULL };
667
668 self = self;
669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxConfigBase_GetNextGroup",_kwnames,&_argo0,&_arg1))
670 return NULL;
671 if (_argo0) {
672 if (_argo0 == Py_None) { _arg0 = NULL; }
673 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_GetNextGroup. Expected _wxConfigBase_p.");
675 return NULL;
676 }
677 }
678{
679 wxPy_BEGIN_ALLOW_THREADS;
680 _result = (PyObject *)wxConfigBase_GetNextGroup(_arg0,_arg1);
681
682 wxPy_END_ALLOW_THREADS;
4dfaa61e 683 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
684}{
685 _resultobj = _result;
686}
687 return _resultobj;
688}
689
690static PyObject * wxConfigBase_GetNextEntry(wxConfigBase *self,long index) {
691 bool cont;
692 wxString value;
693
694 cont = self->GetNextEntry(value, index);
695 return __EnumerationHelper(cont, value, index);
696 }
697static PyObject *_wrap_wxConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
698 PyObject * _resultobj;
699 PyObject * _result;
700 wxConfigBase * _arg0;
701 long _arg1;
702 PyObject * _argo0 = 0;
703 char *_kwnames[] = { "self","index", NULL };
704
705 self = self;
706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxConfigBase_GetNextEntry",_kwnames,&_argo0,&_arg1))
707 return NULL;
708 if (_argo0) {
709 if (_argo0 == Py_None) { _arg0 = NULL; }
710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_GetNextEntry. Expected _wxConfigBase_p.");
712 return NULL;
713 }
714 }
715{
716 wxPy_BEGIN_ALLOW_THREADS;
717 _result = (PyObject *)wxConfigBase_GetNextEntry(_arg0,_arg1);
718
719 wxPy_END_ALLOW_THREADS;
4dfaa61e 720 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
721}{
722 _resultobj = _result;
723}
724 return _resultobj;
725}
726
727#define wxConfigBase_GetNumberOfEntries(_swigobj,_swigarg0) (_swigobj->GetNumberOfEntries(_swigarg0))
728static PyObject *_wrap_wxConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
729 PyObject * _resultobj;
730 int _result;
731 wxConfigBase * _arg0;
732 bool _arg1 = (bool ) FALSE;
733 PyObject * _argo0 = 0;
734 int tempbool1 = (int) FALSE;
735 char *_kwnames[] = { "self","bRecursive", NULL };
736
737 self = self;
738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxConfigBase_GetNumberOfEntries",_kwnames,&_argo0,&tempbool1))
739 return NULL;
740 if (_argo0) {
741 if (_argo0 == Py_None) { _arg0 = NULL; }
742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_GetNumberOfEntries. Expected _wxConfigBase_p.");
744 return NULL;
745 }
746 }
747 _arg1 = (bool ) tempbool1;
748{
749 wxPy_BEGIN_ALLOW_THREADS;
750 _result = (int )wxConfigBase_GetNumberOfEntries(_arg0,_arg1);
751
752 wxPy_END_ALLOW_THREADS;
4dfaa61e 753 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
754} _resultobj = Py_BuildValue("i",_result);
755 return _resultobj;
756}
757
758#define wxConfigBase_GetNumberOfGroups(_swigobj,_swigarg0) (_swigobj->GetNumberOfGroups(_swigarg0))
759static PyObject *_wrap_wxConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
760 PyObject * _resultobj;
761 int _result;
762 wxConfigBase * _arg0;
763 bool _arg1 = (bool ) FALSE;
764 PyObject * _argo0 = 0;
765 int tempbool1 = (int) FALSE;
766 char *_kwnames[] = { "self","bRecursive", NULL };
767
768 self = self;
769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxConfigBase_GetNumberOfGroups",_kwnames,&_argo0,&tempbool1))
770 return NULL;
771 if (_argo0) {
772 if (_argo0 == Py_None) { _arg0 = NULL; }
773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_GetNumberOfGroups. Expected _wxConfigBase_p.");
775 return NULL;
776 }
777 }
778 _arg1 = (bool ) tempbool1;
779{
780 wxPy_BEGIN_ALLOW_THREADS;
781 _result = (int )wxConfigBase_GetNumberOfGroups(_arg0,_arg1);
782
783 wxPy_END_ALLOW_THREADS;
4dfaa61e 784 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
785} _resultobj = Py_BuildValue("i",_result);
786 return _resultobj;
787}
788
789#define wxConfigBase_GetPath(_swigobj) (_swigobj->GetPath())
790static PyObject *_wrap_wxConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
791 PyObject * _resultobj;
792 wxString * _result;
793 wxConfigBase * _arg0;
794 PyObject * _argo0 = 0;
795 char *_kwnames[] = { "self", NULL };
796
797 self = self;
798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxConfigBase_GetPath",_kwnames,&_argo0))
799 return NULL;
800 if (_argo0) {
801 if (_argo0 == Py_None) { _arg0 = NULL; }
802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_GetPath. Expected _wxConfigBase_p.");
804 return NULL;
805 }
806 }
807{
808 wxPy_BEGIN_ALLOW_THREADS;
809 _result = new wxString (wxConfigBase_GetPath(_arg0));
810
811 wxPy_END_ALLOW_THREADS;
4dfaa61e 812 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
813}{
814 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
815}
816{
817 delete _result;
818}
819 return _resultobj;
820}
821
822#define wxConfigBase_GetVendorName(_swigobj) (_swigobj->GetVendorName())
823static PyObject *_wrap_wxConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
824 PyObject * _resultobj;
825 wxString * _result;
826 wxConfigBase * _arg0;
827 PyObject * _argo0 = 0;
828 char *_kwnames[] = { "self", NULL };
829
830 self = self;
831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxConfigBase_GetVendorName",_kwnames,&_argo0))
832 return NULL;
833 if (_argo0) {
834 if (_argo0 == Py_None) { _arg0 = NULL; }
835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_GetVendorName. Expected _wxConfigBase_p.");
837 return NULL;
838 }
839 }
840{
841 wxPy_BEGIN_ALLOW_THREADS;
842 _result = new wxString (wxConfigBase_GetVendorName(_arg0));
843
844 wxPy_END_ALLOW_THREADS;
4dfaa61e 845 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
846}{
847 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
848}
849{
850 delete _result;
851}
852 return _resultobj;
853}
854
855#define wxConfigBase_HasEntry(_swigobj,_swigarg0) (_swigobj->HasEntry(_swigarg0))
856static PyObject *_wrap_wxConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
857 PyObject * _resultobj;
858 bool _result;
859 wxConfigBase * _arg0;
860 wxString * _arg1;
861 PyObject * _argo0 = 0;
862 PyObject * _obj1 = 0;
863 char *_kwnames[] = { "self","strName", NULL };
864
865 self = self;
866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxConfigBase_HasEntry",_kwnames,&_argo0,&_obj1))
867 return NULL;
868 if (_argo0) {
869 if (_argo0 == Py_None) { _arg0 = NULL; }
870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_HasEntry. Expected _wxConfigBase_p.");
872 return NULL;
873 }
874 }
875{
2cd2fac8
RD
876#if PYTHON_API_VERSION >= 1009
877 char* tmpPtr; int tmpSize;
878 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 879 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
880 return NULL;
881 }
882 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
883 return NULL;
884 _arg1 = new wxString(tmpPtr, tmpSize);
885#else
f6bcfd97
BP
886 if (!PyString_Check(_obj1)) {
887 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
888 return NULL;
889 }
2cd2fac8
RD
890 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
891#endif
f6bcfd97
BP
892}
893{
894 wxPy_BEGIN_ALLOW_THREADS;
895 _result = (bool )wxConfigBase_HasEntry(_arg0,*_arg1);
896
897 wxPy_END_ALLOW_THREADS;
4dfaa61e 898 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
899} _resultobj = Py_BuildValue("i",_result);
900{
901 if (_obj1)
902 delete _arg1;
903}
904 return _resultobj;
905}
906
907#define wxConfigBase_HasGroup(_swigobj,_swigarg0) (_swigobj->HasGroup(_swigarg0))
908static PyObject *_wrap_wxConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
909 PyObject * _resultobj;
910 bool _result;
911 wxConfigBase * _arg0;
912 wxString * _arg1;
913 PyObject * _argo0 = 0;
914 PyObject * _obj1 = 0;
915 char *_kwnames[] = { "self","strName", NULL };
916
917 self = self;
918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxConfigBase_HasGroup",_kwnames,&_argo0,&_obj1))
919 return NULL;
920 if (_argo0) {
921 if (_argo0 == Py_None) { _arg0 = NULL; }
922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_HasGroup. Expected _wxConfigBase_p.");
924 return NULL;
925 }
926 }
927{
2cd2fac8
RD
928#if PYTHON_API_VERSION >= 1009
929 char* tmpPtr; int tmpSize;
930 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 931 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
932 return NULL;
933 }
934 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
935 return NULL;
936 _arg1 = new wxString(tmpPtr, tmpSize);
937#else
f6bcfd97
BP
938 if (!PyString_Check(_obj1)) {
939 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
940 return NULL;
941 }
2cd2fac8
RD
942 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
943#endif
f6bcfd97
BP
944}
945{
946 wxPy_BEGIN_ALLOW_THREADS;
947 _result = (bool )wxConfigBase_HasGroup(_arg0,*_arg1);
948
949 wxPy_END_ALLOW_THREADS;
4dfaa61e 950 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
951} _resultobj = Py_BuildValue("i",_result);
952{
953 if (_obj1)
954 delete _arg1;
955}
956 return _resultobj;
957}
958
959#define wxConfigBase_IsExpandingEnvVars(_swigobj) (_swigobj->IsExpandingEnvVars())
960static PyObject *_wrap_wxConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
961 PyObject * _resultobj;
962 bool _result;
963 wxConfigBase * _arg0;
964 PyObject * _argo0 = 0;
965 char *_kwnames[] = { "self", NULL };
966
967 self = self;
968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxConfigBase_IsExpandingEnvVars",_kwnames,&_argo0))
969 return NULL;
970 if (_argo0) {
971 if (_argo0 == Py_None) { _arg0 = NULL; }
972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_IsExpandingEnvVars. Expected _wxConfigBase_p.");
974 return NULL;
975 }
976 }
977{
978 wxPy_BEGIN_ALLOW_THREADS;
979 _result = (bool )wxConfigBase_IsExpandingEnvVars(_arg0);
980
981 wxPy_END_ALLOW_THREADS;
4dfaa61e 982 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
983} _resultobj = Py_BuildValue("i",_result);
984 return _resultobj;
985}
986
987#define wxConfigBase_IsRecordingDefaults(_swigobj) (_swigobj->IsRecordingDefaults())
988static PyObject *_wrap_wxConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
989 PyObject * _resultobj;
990 bool _result;
991 wxConfigBase * _arg0;
992 PyObject * _argo0 = 0;
993 char *_kwnames[] = { "self", NULL };
994
995 self = self;
996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxConfigBase_IsRecordingDefaults",_kwnames,&_argo0))
997 return NULL;
998 if (_argo0) {
999 if (_argo0 == Py_None) { _arg0 = NULL; }
1000 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
1001 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_IsRecordingDefaults. Expected _wxConfigBase_p.");
1002 return NULL;
1003 }
1004 }
1005{
1006 wxPy_BEGIN_ALLOW_THREADS;
1007 _result = (bool )wxConfigBase_IsRecordingDefaults(_arg0);
1008
1009 wxPy_END_ALLOW_THREADS;
4dfaa61e 1010 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1011} _resultobj = Py_BuildValue("i",_result);
1012 return _resultobj;
1013}
1014
1015#define wxConfigBase_Read(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
1016static PyObject *_wrap_wxConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
1017 PyObject * _resultobj;
1018 wxString * _result;
1019 wxConfigBase * _arg0;
1020 wxString * _arg1;
1021 wxString * _arg2 = (wxString *) &wxPyEmptyStr;
1022 PyObject * _argo0 = 0;
1023 PyObject * _obj1 = 0;
1024 PyObject * _obj2 = 0;
1025 char *_kwnames[] = { "self","key","defaultVal", NULL };
1026
1027 self = self;
1028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxConfigBase_Read",_kwnames,&_argo0,&_obj1,&_obj2))
1029 return NULL;
1030 if (_argo0) {
1031 if (_argo0 == Py_None) { _arg0 = NULL; }
1032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
1033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_Read. Expected _wxConfigBase_p.");
1034 return NULL;
1035 }
1036 }
1037{
2cd2fac8
RD
1038#if PYTHON_API_VERSION >= 1009
1039 char* tmpPtr; int tmpSize;
1040 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1041 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1042 return NULL;
1043 }
1044 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1045 return NULL;
1046 _arg1 = new wxString(tmpPtr, tmpSize);
1047#else
f6bcfd97
BP
1048 if (!PyString_Check(_obj1)) {
1049 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1050 return NULL;
1051 }
2cd2fac8
RD
1052 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1053#endif
f6bcfd97
BP
1054}
1055 if (_obj2)
1056{
2cd2fac8
RD
1057#if PYTHON_API_VERSION >= 1009
1058 char* tmpPtr; int tmpSize;
1059 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 1060 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1061 return NULL;
1062 }
1063 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1064 return NULL;
1065 _arg2 = new wxString(tmpPtr, tmpSize);
1066#else
f6bcfd97
BP
1067 if (!PyString_Check(_obj2)) {
1068 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1069 return NULL;
1070 }
2cd2fac8
RD
1071 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1072#endif
f6bcfd97
BP
1073}
1074{
1075 wxPy_BEGIN_ALLOW_THREADS;
1076 _result = new wxString (wxConfigBase_Read(_arg0,*_arg1,*_arg2));
1077
1078 wxPy_END_ALLOW_THREADS;
4dfaa61e 1079 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1080}{
1081 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1082}
1083{
1084 if (_obj1)
1085 delete _arg1;
1086}
1087{
1088 if (_obj2)
1089 delete _arg2;
1090}
1091{
1092 delete _result;
1093}
1094 return _resultobj;
1095}
1096
1097#define wxConfigBase_ReadInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
1098static PyObject *_wrap_wxConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1099 PyObject * _resultobj;
1100 long _result;
1101 wxConfigBase * _arg0;
1102 wxString * _arg1;
1103 long _arg2 = (long ) 0;
1104 PyObject * _argo0 = 0;
1105 PyObject * _obj1 = 0;
1106 char *_kwnames[] = { "self","key","defaultVal", NULL };
1107
1108 self = self;
1109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|l:wxConfigBase_ReadInt",_kwnames,&_argo0,&_obj1,&_arg2))
1110 return NULL;
1111 if (_argo0) {
1112 if (_argo0 == Py_None) { _arg0 = NULL; }
1113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
1114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_ReadInt. Expected _wxConfigBase_p.");
1115 return NULL;
1116 }
1117 }
1118{
2cd2fac8
RD
1119#if PYTHON_API_VERSION >= 1009
1120 char* tmpPtr; int tmpSize;
1121 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1122 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1123 return NULL;
1124 }
1125 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1126 return NULL;
1127 _arg1 = new wxString(tmpPtr, tmpSize);
1128#else
f6bcfd97
BP
1129 if (!PyString_Check(_obj1)) {
1130 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1131 return NULL;
1132 }
2cd2fac8
RD
1133 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1134#endif
f6bcfd97
BP
1135}
1136{
1137 wxPy_BEGIN_ALLOW_THREADS;
1138 _result = (long )wxConfigBase_ReadInt(_arg0,*_arg1,_arg2);
1139
1140 wxPy_END_ALLOW_THREADS;
4dfaa61e 1141 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1142} _resultobj = Py_BuildValue("l",_result);
1143{
1144 if (_obj1)
1145 delete _arg1;
1146}
1147 return _resultobj;
1148}
1149
1150#define wxConfigBase_ReadFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
1151static PyObject *_wrap_wxConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
1152 PyObject * _resultobj;
1153 double _result;
1154 wxConfigBase * _arg0;
1155 wxString * _arg1;
1156 double _arg2 = (double ) 0.0;
1157 PyObject * _argo0 = 0;
1158 PyObject * _obj1 = 0;
1159 char *_kwnames[] = { "self","key","defaultVal", NULL };
1160
1161 self = self;
1162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|d:wxConfigBase_ReadFloat",_kwnames,&_argo0,&_obj1,&_arg2))
1163 return NULL;
1164 if (_argo0) {
1165 if (_argo0 == Py_None) { _arg0 = NULL; }
1166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
1167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_ReadFloat. Expected _wxConfigBase_p.");
1168 return NULL;
1169 }
1170 }
1171{
2cd2fac8
RD
1172#if PYTHON_API_VERSION >= 1009
1173 char* tmpPtr; int tmpSize;
1174 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1175 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1176 return NULL;
1177 }
1178 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1179 return NULL;
1180 _arg1 = new wxString(tmpPtr, tmpSize);
1181#else
f6bcfd97
BP
1182 if (!PyString_Check(_obj1)) {
1183 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1184 return NULL;
1185 }
2cd2fac8
RD
1186 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1187#endif
f6bcfd97
BP
1188}
1189{
1190 wxPy_BEGIN_ALLOW_THREADS;
1191 _result = (double )wxConfigBase_ReadFloat(_arg0,*_arg1,_arg2);
1192
1193 wxPy_END_ALLOW_THREADS;
4dfaa61e 1194 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1195} _resultobj = Py_BuildValue("d",_result);
1196{
1197 if (_obj1)
1198 delete _arg1;
1199}
1200 return _resultobj;
1201}
1202
1203#define wxConfigBase_SetExpandEnvVars(_swigobj,_swigarg0) (_swigobj->SetExpandEnvVars(_swigarg0))
1204static PyObject *_wrap_wxConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
1205 PyObject * _resultobj;
1206 wxConfigBase * _arg0;
1207 bool _arg1 = (bool ) TRUE;
1208 PyObject * _argo0 = 0;
1209 int tempbool1 = (int) TRUE;
1210 char *_kwnames[] = { "self","bDoIt", NULL };
1211
1212 self = self;
1213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxConfigBase_SetExpandEnvVars",_kwnames,&_argo0,&tempbool1))
1214 return NULL;
1215 if (_argo0) {
1216 if (_argo0 == Py_None) { _arg0 = NULL; }
1217 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
1218 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_SetExpandEnvVars. Expected _wxConfigBase_p.");
1219 return NULL;
1220 }
1221 }
1222 _arg1 = (bool ) tempbool1;
1223{
1224 wxPy_BEGIN_ALLOW_THREADS;
1225 wxConfigBase_SetExpandEnvVars(_arg0,_arg1);
1226
1227 wxPy_END_ALLOW_THREADS;
4dfaa61e 1228 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1229} Py_INCREF(Py_None);
1230 _resultobj = Py_None;
1231 return _resultobj;
1232}
1233
1234#define wxConfigBase_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
1235static PyObject *_wrap_wxConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
1236 PyObject * _resultobj;
1237 wxConfigBase * _arg0;
1238 wxString * _arg1;
1239 PyObject * _argo0 = 0;
1240 PyObject * _obj1 = 0;
1241 char *_kwnames[] = { "self","strPath", NULL };
1242
1243 self = self;
1244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxConfigBase_SetPath",_kwnames,&_argo0,&_obj1))
1245 return NULL;
1246 if (_argo0) {
1247 if (_argo0 == Py_None) { _arg0 = NULL; }
1248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
1249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_SetPath. Expected _wxConfigBase_p.");
1250 return NULL;
1251 }
1252 }
1253{
2cd2fac8
RD
1254#if PYTHON_API_VERSION >= 1009
1255 char* tmpPtr; int tmpSize;
1256 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1257 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1258 return NULL;
1259 }
1260 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1261 return NULL;
1262 _arg1 = new wxString(tmpPtr, tmpSize);
1263#else
f6bcfd97
BP
1264 if (!PyString_Check(_obj1)) {
1265 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1266 return NULL;
1267 }
2cd2fac8
RD
1268 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1269#endif
f6bcfd97
BP
1270}
1271{
1272 wxPy_BEGIN_ALLOW_THREADS;
1273 wxConfigBase_SetPath(_arg0,*_arg1);
1274
1275 wxPy_END_ALLOW_THREADS;
4dfaa61e 1276 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1277} Py_INCREF(Py_None);
1278 _resultobj = Py_None;
1279{
1280 if (_obj1)
1281 delete _arg1;
1282}
1283 return _resultobj;
1284}
1285
1286#define wxConfigBase_SetRecordDefaults(_swigobj,_swigarg0) (_swigobj->SetRecordDefaults(_swigarg0))
1287static PyObject *_wrap_wxConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
1288 PyObject * _resultobj;
1289 wxConfigBase * _arg0;
1290 bool _arg1 = (bool ) TRUE;
1291 PyObject * _argo0 = 0;
1292 int tempbool1 = (int) TRUE;
1293 char *_kwnames[] = { "self","bDoIt", NULL };
1294
1295 self = self;
1296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxConfigBase_SetRecordDefaults",_kwnames,&_argo0,&tempbool1))
1297 return NULL;
1298 if (_argo0) {
1299 if (_argo0 == Py_None) { _arg0 = NULL; }
1300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
1301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_SetRecordDefaults. Expected _wxConfigBase_p.");
1302 return NULL;
1303 }
1304 }
1305 _arg1 = (bool ) tempbool1;
1306{
1307 wxPy_BEGIN_ALLOW_THREADS;
1308 wxConfigBase_SetRecordDefaults(_arg0,_arg1);
1309
1310 wxPy_END_ALLOW_THREADS;
4dfaa61e 1311 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1312} Py_INCREF(Py_None);
1313 _resultobj = Py_None;
1314 return _resultobj;
1315}
1316
1317#define wxConfigBase_SetAppName(_swigobj,_swigarg0) (_swigobj->SetAppName(_swigarg0))
1318static PyObject *_wrap_wxConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
1319 PyObject * _resultobj;
1320 wxConfigBase * _arg0;
1321 wxString * _arg1;
1322 PyObject * _argo0 = 0;
1323 PyObject * _obj1 = 0;
1324 char *_kwnames[] = { "self","appName", NULL };
1325
1326 self = self;
1327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxConfigBase_SetAppName",_kwnames,&_argo0,&_obj1))
1328 return NULL;
1329 if (_argo0) {
1330 if (_argo0 == Py_None) { _arg0 = NULL; }
1331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
1332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_SetAppName. Expected _wxConfigBase_p.");
1333 return NULL;
1334 }
1335 }
1336{
2cd2fac8
RD
1337#if PYTHON_API_VERSION >= 1009
1338 char* tmpPtr; int tmpSize;
1339 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1340 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1341 return NULL;
1342 }
1343 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1344 return NULL;
1345 _arg1 = new wxString(tmpPtr, tmpSize);
1346#else
f6bcfd97
BP
1347 if (!PyString_Check(_obj1)) {
1348 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1349 return NULL;
1350 }
2cd2fac8
RD
1351 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1352#endif
f6bcfd97
BP
1353}
1354{
1355 wxPy_BEGIN_ALLOW_THREADS;
1356 wxConfigBase_SetAppName(_arg0,*_arg1);
1357
1358 wxPy_END_ALLOW_THREADS;
4dfaa61e 1359 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1360} Py_INCREF(Py_None);
1361 _resultobj = Py_None;
1362{
1363 if (_obj1)
1364 delete _arg1;
1365}
1366 return _resultobj;
1367}
1368
1369#define wxConfigBase_SetVendorName(_swigobj,_swigarg0) (_swigobj->SetVendorName(_swigarg0))
1370static PyObject *_wrap_wxConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
1371 PyObject * _resultobj;
1372 wxConfigBase * _arg0;
1373 wxString * _arg1;
1374 PyObject * _argo0 = 0;
1375 PyObject * _obj1 = 0;
1376 char *_kwnames[] = { "self","vendorName", NULL };
1377
1378 self = self;
1379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxConfigBase_SetVendorName",_kwnames,&_argo0,&_obj1))
1380 return NULL;
1381 if (_argo0) {
1382 if (_argo0 == Py_None) { _arg0 = NULL; }
1383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
1384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_SetVendorName. Expected _wxConfigBase_p.");
1385 return NULL;
1386 }
1387 }
1388{
2cd2fac8
RD
1389#if PYTHON_API_VERSION >= 1009
1390 char* tmpPtr; int tmpSize;
1391 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1392 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1393 return NULL;
1394 }
1395 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1396 return NULL;
1397 _arg1 = new wxString(tmpPtr, tmpSize);
1398#else
f6bcfd97
BP
1399 if (!PyString_Check(_obj1)) {
1400 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1401 return NULL;
1402 }
2cd2fac8
RD
1403 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1404#endif
f6bcfd97
BP
1405}
1406{
1407 wxPy_BEGIN_ALLOW_THREADS;
1408 wxConfigBase_SetVendorName(_arg0,*_arg1);
1409
1410 wxPy_END_ALLOW_THREADS;
4dfaa61e 1411 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1412} Py_INCREF(Py_None);
1413 _resultobj = Py_None;
1414{
1415 if (_obj1)
1416 delete _arg1;
1417}
1418 return _resultobj;
1419}
1420
1421#define wxConfigBase_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1422static PyObject *_wrap_wxConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1423 PyObject * _resultobj;
1424 wxConfigBase * _arg0;
1425 long _arg1;
1426 PyObject * _argo0 = 0;
1427 char *_kwnames[] = { "self","style", NULL };
1428
1429 self = self;
1430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxConfigBase_SetStyle",_kwnames,&_argo0,&_arg1))
1431 return NULL;
1432 if (_argo0) {
1433 if (_argo0 == Py_None) { _arg0 = NULL; }
1434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
1435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_SetStyle. Expected _wxConfigBase_p.");
1436 return NULL;
1437 }
1438 }
1439{
1440 wxPy_BEGIN_ALLOW_THREADS;
1441 wxConfigBase_SetStyle(_arg0,_arg1);
1442
1443 wxPy_END_ALLOW_THREADS;
4dfaa61e 1444 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1445} Py_INCREF(Py_None);
1446 _resultobj = Py_None;
1447 return _resultobj;
1448}
1449
1450#define wxConfigBase_GetStyle(_swigobj) (_swigobj->GetStyle())
1451static PyObject *_wrap_wxConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1452 PyObject * _resultobj;
1453 long _result;
1454 wxConfigBase * _arg0;
1455 PyObject * _argo0 = 0;
1456 char *_kwnames[] = { "self", NULL };
1457
1458 self = self;
1459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxConfigBase_GetStyle",_kwnames,&_argo0))
1460 return NULL;
1461 if (_argo0) {
1462 if (_argo0 == Py_None) { _arg0 = NULL; }
1463 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
1464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_GetStyle. Expected _wxConfigBase_p.");
1465 return NULL;
1466 }
1467 }
1468{
1469 wxPy_BEGIN_ALLOW_THREADS;
1470 _result = (long )wxConfigBase_GetStyle(_arg0);
1471
1472 wxPy_END_ALLOW_THREADS;
4dfaa61e 1473 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1474} _resultobj = Py_BuildValue("l",_result);
1475 return _resultobj;
1476}
1477
1478#define wxConfigBase_Write(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1479static PyObject *_wrap_wxConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
1480 PyObject * _resultobj;
1481 bool _result;
1482 wxConfigBase * _arg0;
1483 wxString * _arg1;
1484 wxString * _arg2;
1485 PyObject * _argo0 = 0;
1486 PyObject * _obj1 = 0;
1487 PyObject * _obj2 = 0;
1488 char *_kwnames[] = { "self","key","value", NULL };
1489
1490 self = self;
1491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxConfigBase_Write",_kwnames,&_argo0,&_obj1,&_obj2))
1492 return NULL;
1493 if (_argo0) {
1494 if (_argo0 == Py_None) { _arg0 = NULL; }
1495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
1496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_Write. Expected _wxConfigBase_p.");
1497 return NULL;
1498 }
1499 }
1500{
2cd2fac8
RD
1501#if PYTHON_API_VERSION >= 1009
1502 char* tmpPtr; int tmpSize;
1503 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1504 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1505 return NULL;
1506 }
1507 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1508 return NULL;
1509 _arg1 = new wxString(tmpPtr, tmpSize);
1510#else
f6bcfd97
BP
1511 if (!PyString_Check(_obj1)) {
1512 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1513 return NULL;
1514 }
2cd2fac8
RD
1515 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1516#endif
f6bcfd97
BP
1517}
1518{
2cd2fac8
RD
1519#if PYTHON_API_VERSION >= 1009
1520 char* tmpPtr; int tmpSize;
1521 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 1522 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1523 return NULL;
1524 }
1525 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1526 return NULL;
1527 _arg2 = new wxString(tmpPtr, tmpSize);
1528#else
f6bcfd97
BP
1529 if (!PyString_Check(_obj2)) {
1530 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1531 return NULL;
1532 }
2cd2fac8
RD
1533 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1534#endif
f6bcfd97
BP
1535}
1536{
1537 wxPy_BEGIN_ALLOW_THREADS;
1538 _result = (bool )wxConfigBase_Write(_arg0,*_arg1,*_arg2);
1539
1540 wxPy_END_ALLOW_THREADS;
4dfaa61e 1541 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1542} _resultobj = Py_BuildValue("i",_result);
1543{
1544 if (_obj1)
1545 delete _arg1;
1546}
1547{
1548 if (_obj2)
1549 delete _arg2;
1550}
1551 return _resultobj;
1552}
1553
1554#define wxConfigBase_WriteInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1555static PyObject *_wrap_wxConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1556 PyObject * _resultobj;
1557 bool _result;
1558 wxConfigBase * _arg0;
1559 wxString * _arg1;
1560 long _arg2;
1561 PyObject * _argo0 = 0;
1562 PyObject * _obj1 = 0;
1563 char *_kwnames[] = { "self","key","value", NULL };
1564
1565 self = self;
1566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOl:wxConfigBase_WriteInt",_kwnames,&_argo0,&_obj1,&_arg2))
1567 return NULL;
1568 if (_argo0) {
1569 if (_argo0 == Py_None) { _arg0 = NULL; }
1570 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
1571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_WriteInt. Expected _wxConfigBase_p.");
1572 return NULL;
1573 }
1574 }
1575{
2cd2fac8
RD
1576#if PYTHON_API_VERSION >= 1009
1577 char* tmpPtr; int tmpSize;
1578 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1579 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1580 return NULL;
1581 }
1582 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1583 return NULL;
1584 _arg1 = new wxString(tmpPtr, tmpSize);
1585#else
f6bcfd97
BP
1586 if (!PyString_Check(_obj1)) {
1587 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1588 return NULL;
1589 }
2cd2fac8
RD
1590 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1591#endif
f6bcfd97
BP
1592}
1593{
1594 wxPy_BEGIN_ALLOW_THREADS;
1595 _result = (bool )wxConfigBase_WriteInt(_arg0,*_arg1,_arg2);
1596
1597 wxPy_END_ALLOW_THREADS;
4dfaa61e 1598 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1599} _resultobj = Py_BuildValue("i",_result);
1600{
1601 if (_obj1)
1602 delete _arg1;
1603}
1604 return _resultobj;
1605}
1606
1607#define wxConfigBase_WriteFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1608static PyObject *_wrap_wxConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
1609 PyObject * _resultobj;
1610 bool _result;
1611 wxConfigBase * _arg0;
1612 wxString * _arg1;
1613 double _arg2;
1614 PyObject * _argo0 = 0;
1615 PyObject * _obj1 = 0;
1616 char *_kwnames[] = { "self","key","value", NULL };
1617
1618 self = self;
1619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxConfigBase_WriteFloat",_kwnames,&_argo0,&_obj1,&_arg2))
1620 return NULL;
1621 if (_argo0) {
1622 if (_argo0 == Py_None) { _arg0 = NULL; }
1623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
1624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_WriteFloat. Expected _wxConfigBase_p.");
1625 return NULL;
1626 }
1627 }
1628{
2cd2fac8
RD
1629#if PYTHON_API_VERSION >= 1009
1630 char* tmpPtr; int tmpSize;
1631 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1632 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1633 return NULL;
1634 }
1635 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1636 return NULL;
1637 _arg1 = new wxString(tmpPtr, tmpSize);
1638#else
f6bcfd97
BP
1639 if (!PyString_Check(_obj1)) {
1640 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1641 return NULL;
1642 }
2cd2fac8
RD
1643 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1644#endif
f6bcfd97
BP
1645}
1646{
1647 wxPy_BEGIN_ALLOW_THREADS;
1648 _result = (bool )wxConfigBase_WriteFloat(_arg0,*_arg1,_arg2);
1649
1650 wxPy_END_ALLOW_THREADS;
4dfaa61e 1651 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1652} _resultobj = Py_BuildValue("i",_result);
1653{
1654 if (_obj1)
1655 delete _arg1;
1656}
1657 return _resultobj;
1658}
1659
1660#define wxConfigBase_GetEntryType(_swigobj,_swigarg0) (_swigobj->GetEntryType(_swigarg0))
1661static PyObject *_wrap_wxConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
1662 PyObject * _resultobj;
1663 wxConfigBase::EntryType _result;
1664 wxConfigBase * _arg0;
1665 wxString * _arg1;
1666 PyObject * _argo0 = 0;
1667 PyObject * _obj1 = 0;
1668 char *_kwnames[] = { "self","name", NULL };
1669
1670 self = self;
1671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxConfigBase_GetEntryType",_kwnames,&_argo0,&_obj1))
1672 return NULL;
1673 if (_argo0) {
1674 if (_argo0 == Py_None) { _arg0 = NULL; }
1675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
1676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_GetEntryType. Expected _wxConfigBase_p.");
1677 return NULL;
1678 }
1679 }
1680{
2cd2fac8
RD
1681#if PYTHON_API_VERSION >= 1009
1682 char* tmpPtr; int tmpSize;
1683 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1684 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1685 return NULL;
1686 }
1687 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1688 return NULL;
1689 _arg1 = new wxString(tmpPtr, tmpSize);
1690#else
f6bcfd97
BP
1691 if (!PyString_Check(_obj1)) {
1692 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1693 return NULL;
1694 }
2cd2fac8
RD
1695 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1696#endif
f6bcfd97
BP
1697}
1698{
1699 wxPy_BEGIN_ALLOW_THREADS;
1700 _result = (wxConfigBase::EntryType )wxConfigBase_GetEntryType(_arg0,*_arg1);
1701
1702 wxPy_END_ALLOW_THREADS;
4dfaa61e 1703 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1704} _resultobj = Py_BuildValue("i",_result);
1705{
1706 if (_obj1)
1707 delete _arg1;
1708}
1709 return _resultobj;
1710}
1711
1712#define wxConfigBase_RenameEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameEntry(_swigarg0,_swigarg1))
1713static PyObject *_wrap_wxConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
1714 PyObject * _resultobj;
1715 bool _result;
1716 wxConfigBase * _arg0;
1717 wxString * _arg1;
1718 wxString * _arg2;
1719 PyObject * _argo0 = 0;
1720 PyObject * _obj1 = 0;
1721 PyObject * _obj2 = 0;
1722 char *_kwnames[] = { "self","oldName","newName", NULL };
1723
1724 self = self;
1725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxConfigBase_RenameEntry",_kwnames,&_argo0,&_obj1,&_obj2))
1726 return NULL;
1727 if (_argo0) {
1728 if (_argo0 == Py_None) { _arg0 = NULL; }
1729 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
1730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_RenameEntry. Expected _wxConfigBase_p.");
1731 return NULL;
1732 }
1733 }
1734{
2cd2fac8
RD
1735#if PYTHON_API_VERSION >= 1009
1736 char* tmpPtr; int tmpSize;
1737 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1738 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1739 return NULL;
1740 }
1741 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1742 return NULL;
1743 _arg1 = new wxString(tmpPtr, tmpSize);
1744#else
f6bcfd97
BP
1745 if (!PyString_Check(_obj1)) {
1746 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1747 return NULL;
1748 }
2cd2fac8
RD
1749 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1750#endif
f6bcfd97
BP
1751}
1752{
2cd2fac8
RD
1753#if PYTHON_API_VERSION >= 1009
1754 char* tmpPtr; int tmpSize;
1755 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 1756 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1757 return NULL;
1758 }
1759 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1760 return NULL;
1761 _arg2 = new wxString(tmpPtr, tmpSize);
1762#else
f6bcfd97
BP
1763 if (!PyString_Check(_obj2)) {
1764 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1765 return NULL;
1766 }
2cd2fac8
RD
1767 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1768#endif
f6bcfd97
BP
1769}
1770{
1771 wxPy_BEGIN_ALLOW_THREADS;
1772 _result = (bool )wxConfigBase_RenameEntry(_arg0,*_arg1,*_arg2);
1773
1774 wxPy_END_ALLOW_THREADS;
4dfaa61e 1775 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1776} _resultobj = Py_BuildValue("i",_result);
1777{
1778 if (_obj1)
1779 delete _arg1;
1780}
1781{
1782 if (_obj2)
1783 delete _arg2;
1784}
1785 return _resultobj;
1786}
1787
1788#define wxConfigBase_RenameGroup(_swigobj,_swigarg0,_swigarg1) (_swigobj->RenameGroup(_swigarg0,_swigarg1))
1789static PyObject *_wrap_wxConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
1790 PyObject * _resultobj;
1791 bool _result;
1792 wxConfigBase * _arg0;
1793 wxString * _arg1;
1794 wxString * _arg2;
1795 PyObject * _argo0 = 0;
1796 PyObject * _obj1 = 0;
1797 PyObject * _obj2 = 0;
1798 char *_kwnames[] = { "self","oldName","newName", NULL };
1799
1800 self = self;
1801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxConfigBase_RenameGroup",_kwnames,&_argo0,&_obj1,&_obj2))
1802 return NULL;
1803 if (_argo0) {
1804 if (_argo0 == Py_None) { _arg0 = NULL; }
1805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
1806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_RenameGroup. Expected _wxConfigBase_p.");
1807 return NULL;
1808 }
1809 }
1810{
2cd2fac8
RD
1811#if PYTHON_API_VERSION >= 1009
1812 char* tmpPtr; int tmpSize;
1813 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1814 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1815 return NULL;
1816 }
1817 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1818 return NULL;
1819 _arg1 = new wxString(tmpPtr, tmpSize);
1820#else
f6bcfd97
BP
1821 if (!PyString_Check(_obj1)) {
1822 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1823 return NULL;
1824 }
2cd2fac8
RD
1825 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1826#endif
f6bcfd97
BP
1827}
1828{
2cd2fac8
RD
1829#if PYTHON_API_VERSION >= 1009
1830 char* tmpPtr; int tmpSize;
1831 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 1832 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1833 return NULL;
1834 }
1835 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1836 return NULL;
1837 _arg2 = new wxString(tmpPtr, tmpSize);
1838#else
f6bcfd97
BP
1839 if (!PyString_Check(_obj2)) {
1840 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1841 return NULL;
1842 }
2cd2fac8
RD
1843 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1844#endif
f6bcfd97
BP
1845}
1846{
1847 wxPy_BEGIN_ALLOW_THREADS;
1848 _result = (bool )wxConfigBase_RenameGroup(_arg0,*_arg1,*_arg2);
1849
1850 wxPy_END_ALLOW_THREADS;
4dfaa61e 1851 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1852} _resultobj = Py_BuildValue("i",_result);
1853{
1854 if (_obj1)
1855 delete _arg1;
1856}
1857{
1858 if (_obj2)
1859 delete _arg2;
1860}
1861 return _resultobj;
1862}
1863
1864#define wxConfigBase_ExpandEnvVars(_swigobj,_swigarg0) (_swigobj->ExpandEnvVars(_swigarg0))
1865static PyObject *_wrap_wxConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
1866 PyObject * _resultobj;
1867 wxString * _result;
1868 wxConfigBase * _arg0;
1869 wxString * _arg1;
1870 PyObject * _argo0 = 0;
1871 PyObject * _obj1 = 0;
1872 char *_kwnames[] = { "self","str", NULL };
1873
1874 self = self;
1875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxConfigBase_ExpandEnvVars",_kwnames,&_argo0,&_obj1))
1876 return NULL;
1877 if (_argo0) {
1878 if (_argo0 == Py_None) { _arg0 = NULL; }
1879 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfigBase_p")) {
1880 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfigBase_ExpandEnvVars. Expected _wxConfigBase_p.");
1881 return NULL;
1882 }
1883 }
1884{
2cd2fac8
RD
1885#if PYTHON_API_VERSION >= 1009
1886 char* tmpPtr; int tmpSize;
1887 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1888 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1889 return NULL;
1890 }
1891 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1892 return NULL;
1893 _arg1 = new wxString(tmpPtr, tmpSize);
1894#else
f6bcfd97
BP
1895 if (!PyString_Check(_obj1)) {
1896 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1897 return NULL;
1898 }
2cd2fac8
RD
1899 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1900#endif
f6bcfd97
BP
1901}
1902{
1903 wxPy_BEGIN_ALLOW_THREADS;
1904 _result = new wxString (wxConfigBase_ExpandEnvVars(_arg0,*_arg1));
1905
1906 wxPy_END_ALLOW_THREADS;
4dfaa61e 1907 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1908}{
1909 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1910}
1911{
1912 if (_obj1)
1913 delete _arg1;
1914}
1915{
1916 delete _result;
1917}
1918 return _resultobj;
1919}
1920
1921static void *SwigwxConfigTowxConfigBase(void *ptr) {
1922 wxConfig *src;
1923 wxConfigBase *dest;
1924 src = (wxConfig *) ptr;
1925 dest = (wxConfigBase *) src;
1926 return (void *) dest;
1927}
1928
1929#define new_wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1930static PyObject *_wrap_new_wxConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
1931 PyObject * _resultobj;
1932 wxConfig * _result;
1933 wxString * _arg0 = (wxString *) &wxPyEmptyStr;
1934 wxString * _arg1 = (wxString *) &wxPyEmptyStr;
1935 wxString * _arg2 = (wxString *) &wxPyEmptyStr;
1936 wxString * _arg3 = (wxString *) &wxPyEmptyStr;
1937 long _arg4 = (long ) 0;
1938 PyObject * _obj0 = 0;
1939 PyObject * _obj1 = 0;
1940 PyObject * _obj2 = 0;
1941 PyObject * _obj3 = 0;
1942 char *_kwnames[] = { "appName","vendorName","localFilename","globalFilename","style", NULL };
1943 char _ptemp[128];
1944
1945 self = self;
1946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOOOl:new_wxConfig",_kwnames,&_obj0,&_obj1,&_obj2,&_obj3,&_arg4))
1947 return NULL;
1948 if (_obj0)
1949{
2cd2fac8
RD
1950#if PYTHON_API_VERSION >= 1009
1951 char* tmpPtr; int tmpSize;
1952 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
7a446686 1953 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1954 return NULL;
1955 }
1956 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
1957 return NULL;
1958 _arg0 = new wxString(tmpPtr, tmpSize);
1959#else
f6bcfd97
BP
1960 if (!PyString_Check(_obj0)) {
1961 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1962 return NULL;
1963 }
2cd2fac8
RD
1964 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
1965#endif
f6bcfd97
BP
1966}
1967 if (_obj1)
1968{
2cd2fac8
RD
1969#if PYTHON_API_VERSION >= 1009
1970 char* tmpPtr; int tmpSize;
1971 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1972 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1973 return NULL;
1974 }
1975 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1976 return NULL;
1977 _arg1 = new wxString(tmpPtr, tmpSize);
1978#else
f6bcfd97
BP
1979 if (!PyString_Check(_obj1)) {
1980 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1981 return NULL;
1982 }
2cd2fac8
RD
1983 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1984#endif
f6bcfd97
BP
1985}
1986 if (_obj2)
1987{
2cd2fac8
RD
1988#if PYTHON_API_VERSION >= 1009
1989 char* tmpPtr; int tmpSize;
1990 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 1991 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1992 return NULL;
1993 }
1994 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1995 return NULL;
1996 _arg2 = new wxString(tmpPtr, tmpSize);
1997#else
f6bcfd97
BP
1998 if (!PyString_Check(_obj2)) {
1999 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2000 return NULL;
2001 }
2cd2fac8
RD
2002 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2003#endif
f6bcfd97
BP
2004}
2005 if (_obj3)
2006{
2cd2fac8
RD
2007#if PYTHON_API_VERSION >= 1009
2008 char* tmpPtr; int tmpSize;
2009 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
7a446686 2010 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
2011 return NULL;
2012 }
2013 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
2014 return NULL;
2015 _arg3 = new wxString(tmpPtr, tmpSize);
2016#else
f6bcfd97
BP
2017 if (!PyString_Check(_obj3)) {
2018 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2019 return NULL;
2020 }
2cd2fac8
RD
2021 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
2022#endif
f6bcfd97
BP
2023}
2024{
2025 wxPy_BEGIN_ALLOW_THREADS;
2026 _result = (wxConfig *)new_wxConfig(*_arg0,*_arg1,*_arg2,*_arg3,_arg4);
2027
2028 wxPy_END_ALLOW_THREADS;
4dfaa61e 2029 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2030} if (_result) {
2031 SWIG_MakePtr(_ptemp, (char *) _result,"_wxConfig_p");
2032 _resultobj = Py_BuildValue("s",_ptemp);
2033 } else {
2034 Py_INCREF(Py_None);
2035 _resultobj = Py_None;
2036 }
2037{
2038 if (_obj0)
2039 delete _arg0;
2040}
2041{
2042 if (_obj1)
2043 delete _arg1;
2044}
2045{
2046 if (_obj2)
2047 delete _arg2;
2048}
2049{
2050 if (_obj3)
2051 delete _arg3;
2052}
2053 return _resultobj;
2054}
2055
2056#define delete_wxConfig(_swigobj) (delete _swigobj)
2057static PyObject *_wrap_delete_wxConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
2058 PyObject * _resultobj;
2059 wxConfig * _arg0;
2060 PyObject * _argo0 = 0;
2061 char *_kwnames[] = { "self", NULL };
2062
2063 self = self;
2064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxConfig",_kwnames,&_argo0))
2065 return NULL;
2066 if (_argo0) {
2067 if (_argo0 == Py_None) { _arg0 = NULL; }
2068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxConfig_p")) {
2069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxConfig. Expected _wxConfig_p.");
2070 return NULL;
2071 }
2072 }
2073{
2074 wxPy_BEGIN_ALLOW_THREADS;
2075 delete_wxConfig(_arg0);
2076
2077 wxPy_END_ALLOW_THREADS;
4dfaa61e 2078 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2079} Py_INCREF(Py_None);
2080 _resultobj = Py_None;
2081 return _resultobj;
2082}
2083
2084static void *SwigwxFileConfigTowxConfigBase(void *ptr) {
2085 wxFileConfig *src;
2086 wxConfigBase *dest;
2087 src = (wxFileConfig *) ptr;
2088 dest = (wxConfigBase *) src;
2089 return (void *) dest;
2090}
2091
2092#define new_wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxFileConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2093static PyObject *_wrap_new_wxFileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
2094 PyObject * _resultobj;
2095 wxFileConfig * _result;
2096 wxString * _arg0 = (wxString *) &wxPyEmptyStr;
2097 wxString * _arg1 = (wxString *) &wxPyEmptyStr;
2098 wxString * _arg2 = (wxString *) &wxPyEmptyStr;
2099 wxString * _arg3 = (wxString *) &wxPyEmptyStr;
2100 long _arg4 = (long ) 0;
2101 PyObject * _obj0 = 0;
2102 PyObject * _obj1 = 0;
2103 PyObject * _obj2 = 0;
2104 PyObject * _obj3 = 0;
2105 char *_kwnames[] = { "appName","vendorName","localFilename","globalFilename","style", NULL };
2106 char _ptemp[128];
2107
2108 self = self;
2109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOOOl:new_wxFileConfig",_kwnames,&_obj0,&_obj1,&_obj2,&_obj3,&_arg4))
2110 return NULL;
2111 if (_obj0)
2112{
2cd2fac8
RD
2113#if PYTHON_API_VERSION >= 1009
2114 char* tmpPtr; int tmpSize;
2115 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
7a446686 2116 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
2117 return NULL;
2118 }
2119 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
2120 return NULL;
2121 _arg0 = new wxString(tmpPtr, tmpSize);
2122#else
f6bcfd97
BP
2123 if (!PyString_Check(_obj0)) {
2124 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2125 return NULL;
2126 }
2cd2fac8
RD
2127 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
2128#endif
f6bcfd97
BP
2129}
2130 if (_obj1)
2131{
2cd2fac8
RD
2132#if PYTHON_API_VERSION >= 1009
2133 char* tmpPtr; int tmpSize;
2134 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 2135 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
2136 return NULL;
2137 }
2138 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2139 return NULL;
2140 _arg1 = new wxString(tmpPtr, tmpSize);
2141#else
f6bcfd97
BP
2142 if (!PyString_Check(_obj1)) {
2143 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2144 return NULL;
2145 }
2cd2fac8
RD
2146 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2147#endif
f6bcfd97
BP
2148}
2149 if (_obj2)
2150{
2cd2fac8
RD
2151#if PYTHON_API_VERSION >= 1009
2152 char* tmpPtr; int tmpSize;
2153 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 2154 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
2155 return NULL;
2156 }
2157 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2158 return NULL;
2159 _arg2 = new wxString(tmpPtr, tmpSize);
2160#else
f6bcfd97
BP
2161 if (!PyString_Check(_obj2)) {
2162 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2163 return NULL;
2164 }
2cd2fac8
RD
2165 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2166#endif
f6bcfd97
BP
2167}
2168 if (_obj3)
2169{
2cd2fac8
RD
2170#if PYTHON_API_VERSION >= 1009
2171 char* tmpPtr; int tmpSize;
2172 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
7a446686 2173 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
2174 return NULL;
2175 }
2176 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
2177 return NULL;
2178 _arg3 = new wxString(tmpPtr, tmpSize);
2179#else
f6bcfd97
BP
2180 if (!PyString_Check(_obj3)) {
2181 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2182 return NULL;
2183 }
2cd2fac8
RD
2184 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
2185#endif
f6bcfd97
BP
2186}
2187{
2188 wxPy_BEGIN_ALLOW_THREADS;
2189 _result = (wxFileConfig *)new_wxFileConfig(*_arg0,*_arg1,*_arg2,*_arg3,_arg4);
2190
2191 wxPy_END_ALLOW_THREADS;
4dfaa61e 2192 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2193} if (_result) {
2194 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileConfig_p");
2195 _resultobj = Py_BuildValue("s",_ptemp);
2196 } else {
2197 Py_INCREF(Py_None);
2198 _resultobj = Py_None;
2199 }
2200{
2201 if (_obj0)
2202 delete _arg0;
2203}
2204{
2205 if (_obj1)
2206 delete _arg1;
2207}
2208{
2209 if (_obj2)
2210 delete _arg2;
2211}
2212{
2213 if (_obj3)
2214 delete _arg3;
2215}
2216 return _resultobj;
2217}
2218
2219#define delete_wxFileConfig(_swigobj) (delete _swigobj)
2220static PyObject *_wrap_delete_wxFileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
2221 PyObject * _resultobj;
2222 wxFileConfig * _arg0;
2223 PyObject * _argo0 = 0;
2224 char *_kwnames[] = { "self", NULL };
2225
2226 self = self;
2227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFileConfig",_kwnames,&_argo0))
2228 return NULL;
2229 if (_argo0) {
2230 if (_argo0 == Py_None) { _arg0 = NULL; }
2231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileConfig_p")) {
2232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFileConfig. Expected _wxFileConfig_p.");
2233 return NULL;
2234 }
2235 }
2236{
2237 wxPy_BEGIN_ALLOW_THREADS;
2238 delete_wxFileConfig(_arg0);
2239
2240 wxPy_END_ALLOW_THREADS;
4dfaa61e 2241 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2242} Py_INCREF(Py_None);
2243 _resultobj = Py_None;
2244 return _resultobj;
2245}
2246
2247static PyObject *_wrap_wxDateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
2248 PyObject * _resultobj;
2249 wxDateTime::Country _arg0;
2250 char *_kwnames[] = { "country", NULL };
2251
2252 self = self;
2253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxDateTime_SetCountry",_kwnames,&_arg0))
2254 return NULL;
2255{
2256 wxPy_BEGIN_ALLOW_THREADS;
2257 wxDateTime::SetCountry(_arg0);
2258
2259 wxPy_END_ALLOW_THREADS;
4dfaa61e 2260 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2261} Py_INCREF(Py_None);
2262 _resultobj = Py_None;
2263 return _resultobj;
2264}
2265
2266static PyObject *_wrap_wxDateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
2267 PyObject * _resultobj;
2268 wxDateTime::Country _result;
2269 char *_kwnames[] = { NULL };
2270
2271 self = self;
2272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxDateTime_GetCountry",_kwnames))
2273 return NULL;
2274{
2275 wxPy_BEGIN_ALLOW_THREADS;
2276 _result = (wxDateTime::Country )wxDateTime::GetCountry();
2277
2278 wxPy_END_ALLOW_THREADS;
4dfaa61e 2279 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2280} _resultobj = Py_BuildValue("i",_result);
2281 return _resultobj;
2282}
2283
2284static PyObject *_wrap_wxDateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
2285 PyObject * _resultobj;
2286 bool _result;
2287 wxDateTime::Country _arg0 = (wxDateTime::Country ) wxDateTime::Country_Default;
2288 char *_kwnames[] = { "country", NULL };
2289
2290 self = self;
2291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxDateTime_IsWestEuropeanCountry",_kwnames,&_arg0))
2292 return NULL;
2293{
2294 wxPy_BEGIN_ALLOW_THREADS;
2295 _result = (bool )wxDateTime::IsWestEuropeanCountry(_arg0);
2296
2297 wxPy_END_ALLOW_THREADS;
4dfaa61e 2298 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2299} _resultobj = Py_BuildValue("i",_result);
2300 return _resultobj;
2301}
2302
2303static PyObject *_wrap_wxDateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
2304 PyObject * _resultobj;
2305 int _result;
2306 wxDateTime::Calendar _arg0 = (wxDateTime::Calendar ) wxDateTime::Gregorian;
2307 char *_kwnames[] = { "cal", NULL };
2308
2309 self = self;
2310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxDateTime_GetCurrentYear",_kwnames,&_arg0))
2311 return NULL;
2312{
2313 wxPy_BEGIN_ALLOW_THREADS;
2314 _result = (int )wxDateTime::GetCurrentYear(_arg0);
2315
2316 wxPy_END_ALLOW_THREADS;
4dfaa61e 2317 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2318} _resultobj = Py_BuildValue("i",_result);
2319 return _resultobj;
2320}
2321
2322static PyObject *_wrap_wxDateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
2323 PyObject * _resultobj;
2324 int _result;
2325 int _arg0;
2326 char *_kwnames[] = { "year", NULL };
2327
2328 self = self;
2329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxDateTime_ConvertYearToBC",_kwnames,&_arg0))
2330 return NULL;
2331{
2332 wxPy_BEGIN_ALLOW_THREADS;
2333 _result = (int )wxDateTime::ConvertYearToBC(_arg0);
2334
2335 wxPy_END_ALLOW_THREADS;
4dfaa61e 2336 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2337} _resultobj = Py_BuildValue("i",_result);
2338 return _resultobj;
2339}
2340
2341static PyObject *_wrap_wxDateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
2342 PyObject * _resultobj;
2343 wxDateTime::Month _result;
2344 wxDateTime::Calendar _arg0 = (wxDateTime::Calendar ) wxDateTime::Gregorian;
2345 char *_kwnames[] = { "cal", NULL };
2346
2347 self = self;
2348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxDateTime_GetCurrentMonth",_kwnames,&_arg0))
2349 return NULL;
2350{
2351 wxPy_BEGIN_ALLOW_THREADS;
2352 _result = (wxDateTime::Month )wxDateTime::GetCurrentMonth(_arg0);
2353
2354 wxPy_END_ALLOW_THREADS;
4dfaa61e 2355 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2356} _resultobj = Py_BuildValue("i",_result);
2357 return _resultobj;
2358}
2359
2360static PyObject *_wrap_wxDateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
2361 PyObject * _resultobj;
2362 bool _result;
2363 int _arg0 = (int ) wxDateTime::Inv_Year;
2364 wxDateTime::Calendar _arg1 = (wxDateTime::Calendar ) wxDateTime::Gregorian;
2365 char *_kwnames[] = { "year","cal", NULL };
2366
2367 self = self;
2368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:wxDateTime_IsLeapYear",_kwnames,&_arg0,&_arg1))
2369 return NULL;
2370{
2371 wxPy_BEGIN_ALLOW_THREADS;
2372 _result = (bool )wxDateTime::IsLeapYear(_arg0,_arg1);
2373
2374 wxPy_END_ALLOW_THREADS;
4dfaa61e 2375 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2376} _resultobj = Py_BuildValue("i",_result);
2377 return _resultobj;
2378}
2379
2380static PyObject *_wrap_wxDateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
2381 PyObject * _resultobj;
2382 int _result;
2383 int _arg0 = (int ) wxDateTime::Inv_Year;
2384 char *_kwnames[] = { "year", NULL };
2385
2386 self = self;
2387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxDateTime_GetCentury",_kwnames,&_arg0))
2388 return NULL;
2389{
2390 wxPy_BEGIN_ALLOW_THREADS;
2391 _result = (int )wxDateTime::GetCentury(_arg0);
2392
2393 wxPy_END_ALLOW_THREADS;
4dfaa61e 2394 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2395} _resultobj = Py_BuildValue("i",_result);
2396 return _resultobj;
2397}
2398
2399static PyObject *_wrap_wxDateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
2400 PyObject * _resultobj;
2401 wxDateTime::wxDateTime_t _result;
2402 int _arg0;
2403 wxDateTime::Calendar _arg1 = (wxDateTime::Calendar ) wxDateTime::Gregorian;
2404 char *_kwnames[] = { "year","cal", NULL };
2405
2406 self = self;
2407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i|i:wxDateTime_GetNumberOfDaysinYear",_kwnames,&_arg0,&_arg1))
2408 return NULL;
2409{
2410 wxPy_BEGIN_ALLOW_THREADS;
2411 _result = (wxDateTime::wxDateTime_t )wxDateTime::GetNumberOfDays(_arg0,_arg1);
2412
2413 wxPy_END_ALLOW_THREADS;
4dfaa61e 2414 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2415} _resultobj = Py_BuildValue("h",_result);
2416 return _resultobj;
2417}
2418
2419static PyObject *_wrap_wxDateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
2420 PyObject * _resultobj;
2421 wxDateTime::wxDateTime_t _result;
2422 wxDateTime::Month _arg0;
2423 int _arg1 = (int ) wxDateTime::Inv_Year;
2424 wxDateTime::Calendar _arg2 = (wxDateTime::Calendar ) wxDateTime::Gregorian;
2425 char *_kwnames[] = { "month","year","cal", NULL };
2426
2427 self = self;
2428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i|ii:wxDateTime_GetNumberOfDaysInMonth",_kwnames,&_arg0,&_arg1,&_arg2))
2429 return NULL;
2430{
2431 wxPy_BEGIN_ALLOW_THREADS;
2432 _result = (wxDateTime::wxDateTime_t )wxDateTime::GetNumberOfDays(_arg0,_arg1,_arg2);
2433
2434 wxPy_END_ALLOW_THREADS;
4dfaa61e 2435 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2436} _resultobj = Py_BuildValue("h",_result);
2437 return _resultobj;
2438}
2439
2440static PyObject *_wrap_wxDateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
2441 PyObject * _resultobj;
2442 wxString * _result;
2443 wxDateTime::Month _arg0;
2444 wxDateTime::NameFlags _arg1 = (wxDateTime::NameFlags ) wxDateTime::Name_Full;
2445 char *_kwnames[] = { "month","flags", NULL };
2446
2447 self = self;
2448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i|i:wxDateTime_GetMonthName",_kwnames,&_arg0,&_arg1))
2449 return NULL;
2450{
2451 wxPy_BEGIN_ALLOW_THREADS;
2452 _result = new wxString (wxDateTime::GetMonthName(_arg0,_arg1));
2453
2454 wxPy_END_ALLOW_THREADS;
4dfaa61e 2455 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2456}{
2457 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2458}
2459{
2460 delete _result;
2461}
2462 return _resultobj;
2463}
2464
2465static PyObject *_wrap_wxDateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
2466 PyObject * _resultobj;
2467 wxString * _result;
2468 wxDateTime::WeekDay _arg0;
2469 wxDateTime::NameFlags _arg1 = (wxDateTime::NameFlags ) wxDateTime::Name_Full;
2470 char *_kwnames[] = { "weekday","flags", NULL };
2471
2472 self = self;
2473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i|i:wxDateTime_GetWeekDayName",_kwnames,&_arg0,&_arg1))
2474 return NULL;
2475{
2476 wxPy_BEGIN_ALLOW_THREADS;
2477 _result = new wxString (wxDateTime::GetWeekDayName(_arg0,_arg1));
2478
2479 wxPy_END_ALLOW_THREADS;
4dfaa61e 2480 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2481}{
2482 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2483}
2484{
2485 delete _result;
2486}
2487 return _resultobj;
2488}
2489
2490static PyObject *_wrap_wxDateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
2491 PyObject * _resultobj;
2492 wxString * _arg0;
2493 wxString * _arg1;
2494 PyObject * _obj0 = 0;
2495 PyObject * _obj1 = 0;
2496 char *_kwnames[] = { "OUTPUT","OUTPUT", NULL };
2497
2498 self = self;
2499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDateTime_GetAmPmStrings",_kwnames,&_obj0,&_obj1))
2500 return NULL;
2501{
2cd2fac8
RD
2502#if PYTHON_API_VERSION >= 1009
2503 char* tmpPtr; int tmpSize;
2504 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
7a446686 2505 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
2506 return NULL;
2507 }
2508 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
2509 return NULL;
2510 _arg0 = new wxString(tmpPtr, tmpSize);
2511#else
f6bcfd97
BP
2512 if (!PyString_Check(_obj0)) {
2513 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2514 return NULL;
2515 }
2cd2fac8
RD
2516 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
2517#endif
f6bcfd97
BP
2518}
2519{
2cd2fac8
RD
2520#if PYTHON_API_VERSION >= 1009
2521 char* tmpPtr; int tmpSize;
2522 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 2523 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
2524 return NULL;
2525 }
2526 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2527 return NULL;
2528 _arg1 = new wxString(tmpPtr, tmpSize);
2529#else
f6bcfd97
BP
2530 if (!PyString_Check(_obj1)) {
2531 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2532 return NULL;
2533 }
2cd2fac8
RD
2534 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2535#endif
f6bcfd97
BP
2536}
2537{
2538 wxPy_BEGIN_ALLOW_THREADS;
2539 wxDateTime::GetAmPmStrings(_arg0,_arg1);
2540
2541 wxPy_END_ALLOW_THREADS;
4dfaa61e 2542 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2543} Py_INCREF(Py_None);
2544 _resultobj = Py_None;
2545{
2546 if (_obj0)
2547 delete _arg0;
2548}
2549{
2550 if (_obj1)
2551 delete _arg1;
2552}
2553 return _resultobj;
2554}
2555
2556static PyObject *_wrap_wxDateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
2557 PyObject * _resultobj;
2558 bool _result;
2559 int _arg0 = (int ) wxDateTime::Inv_Year;
2560 wxDateTime::Country _arg1 = (wxDateTime::Country ) wxDateTime::Country_Default;
2561 char *_kwnames[] = { "year","country", NULL };
2562
2563 self = self;
2564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:wxDateTime_IsDSTApplicable",_kwnames,&_arg0,&_arg1))
2565 return NULL;
2566{
2567 wxPy_BEGIN_ALLOW_THREADS;
2568 _result = (bool )wxDateTime::IsDSTApplicable(_arg0,_arg1);
2569
2570 wxPy_END_ALLOW_THREADS;
4dfaa61e 2571 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2572} _resultobj = Py_BuildValue("i",_result);
2573 return _resultobj;
2574}
2575
2576static PyObject *_wrap_wxDateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
2577 PyObject * _resultobj;
2578 wxDateTime * _result;
2579 int _arg0 = (int ) wxDateTime::Inv_Year;
2580 wxDateTime::Country _arg1 = (wxDateTime::Country ) wxDateTime::Country_Default;
2581 char *_kwnames[] = { "year","country", NULL };
2582 char _ptemp[128];
2583
2584 self = self;
2585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:wxDateTime_GetBeginDST",_kwnames,&_arg0,&_arg1))
2586 return NULL;
2587{
2588 wxPy_BEGIN_ALLOW_THREADS;
2589 _result = new wxDateTime (wxDateTime::GetBeginDST(_arg0,_arg1));
2590
2591 wxPy_END_ALLOW_THREADS;
4dfaa61e 2592 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2593} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateTime_p");
2594 _resultobj = Py_BuildValue("s",_ptemp);
2595 return _resultobj;
2596}
2597
2598static PyObject *_wrap_wxDateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
2599 PyObject * _resultobj;
2600 wxDateTime * _result;
2601 int _arg0 = (int ) wxDateTime::Inv_Year;
2602 wxDateTime::Country _arg1 = (wxDateTime::Country ) wxDateTime::Country_Default;
2603 char *_kwnames[] = { "year","country", NULL };
2604 char _ptemp[128];
2605
2606 self = self;
2607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:wxDateTime_GetEndDST",_kwnames,&_arg0,&_arg1))
2608 return NULL;
2609{
2610 wxPy_BEGIN_ALLOW_THREADS;
2611 _result = new wxDateTime (wxDateTime::GetEndDST(_arg0,_arg1));
2612
2613 wxPy_END_ALLOW_THREADS;
4dfaa61e 2614 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2615} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateTime_p");
2616 _resultobj = Py_BuildValue("s",_ptemp);
2617 return _resultobj;
2618}
2619
2620static PyObject *_wrap_wxDateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
2621 PyObject * _resultobj;
2622 wxDateTime * _result;
2623 char *_kwnames[] = { NULL };
2624 char _ptemp[128];
2625
2626 self = self;
2627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxDateTime_Now",_kwnames))
2628 return NULL;
2629{
2630 wxPy_BEGIN_ALLOW_THREADS;
2631 _result = new wxDateTime (wxDateTime::Now());
2632
2633 wxPy_END_ALLOW_THREADS;
4dfaa61e 2634 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2635} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateTime_p");
2636 _resultobj = Py_BuildValue("s",_ptemp);
2637 return _resultobj;
2638}
2639
2640static PyObject *_wrap_wxDateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
2641 PyObject * _resultobj;
2642 wxDateTime * _result;
2643 char *_kwnames[] = { NULL };
2644 char _ptemp[128];
2645
2646 self = self;
2647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxDateTime_Today",_kwnames))
2648 return NULL;
2649{
2650 wxPy_BEGIN_ALLOW_THREADS;
2651 _result = new wxDateTime (wxDateTime::Today());
2652
2653 wxPy_END_ALLOW_THREADS;
4dfaa61e 2654 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2655} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateTime_p");
2656 _resultobj = Py_BuildValue("s",_ptemp);
2657 return _resultobj;
2658}
2659
2660#define new_wxDateTime() (new wxDateTime())
2661static PyObject *_wrap_new_wxDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
2662 PyObject * _resultobj;
2663 wxDateTime * _result;
2664 char *_kwnames[] = { NULL };
2665 char _ptemp[128];
2666
2667 self = self;
2668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxDateTime",_kwnames))
2669 return NULL;
2670{
2671 wxPy_BEGIN_ALLOW_THREADS;
2672 _result = (wxDateTime *)new_wxDateTime();
2673
2674 wxPy_END_ALLOW_THREADS;
4dfaa61e 2675 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2676} if (_result) {
2677 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
2678 _resultobj = Py_BuildValue("s",_ptemp);
2679 } else {
2680 Py_INCREF(Py_None);
2681 _resultobj = Py_None;
2682 }
2683 return _resultobj;
2684}
2685
2686#define new_wxDateTimeFromTimeT(_swigarg0) (new wxDateTime(_swigarg0))
2687static PyObject *_wrap_new_wxDateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
2688 PyObject * _resultobj;
2689 wxDateTime * _result;
c368d904 2690 time_t _arg0;
f6bcfd97
BP
2691 char *_kwnames[] = { "timet", NULL };
2692 char _ptemp[128];
2693
2694 self = self;
c368d904 2695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:new_wxDateTimeFromTimeT",_kwnames,&_arg0))
f6bcfd97 2696 return NULL;
f6bcfd97
BP
2697{
2698 wxPy_BEGIN_ALLOW_THREADS;
c368d904 2699 _result = (wxDateTime *)new_wxDateTimeFromTimeT(_arg0);
f6bcfd97
BP
2700
2701 wxPy_END_ALLOW_THREADS;
4dfaa61e 2702 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2703} if (_result) {
2704 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
2705 _resultobj = Py_BuildValue("s",_ptemp);
2706 } else {
2707 Py_INCREF(Py_None);
2708 _resultobj = Py_None;
2709 }
2710 return _resultobj;
2711}
2712
2713#define new_wxDateTimeFromJDN(_swigarg0) (new wxDateTime(_swigarg0))
2714static PyObject *_wrap_new_wxDateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
2715 PyObject * _resultobj;
2716 wxDateTime * _result;
2717 double _arg0;
2718 char *_kwnames[] = { "jdn", NULL };
2719 char _ptemp[128];
2720
2721 self = self;
2722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"d:new_wxDateTimeFromJDN",_kwnames,&_arg0))
2723 return NULL;
2724{
2725 wxPy_BEGIN_ALLOW_THREADS;
2726 _result = (wxDateTime *)new_wxDateTimeFromJDN(_arg0);
2727
2728 wxPy_END_ALLOW_THREADS;
4dfaa61e 2729 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2730} if (_result) {
2731 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
2732 _resultobj = Py_BuildValue("s",_ptemp);
2733 } else {
2734 Py_INCREF(Py_None);
2735 _resultobj = Py_None;
2736 }
2737 return _resultobj;
2738}
2739
2740#define new_wxDateTimeFromHMS(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2741static PyObject *_wrap_new_wxDateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
2742 PyObject * _resultobj;
2743 wxDateTime * _result;
2744 wxDateTime::wxDateTime_t _arg0;
2745 wxDateTime::wxDateTime_t _arg1 = (wxDateTime::wxDateTime_t ) 0;
2746 wxDateTime::wxDateTime_t _arg2 = (wxDateTime::wxDateTime_t ) 0;
2747 wxDateTime::wxDateTime_t _arg3 = (wxDateTime::wxDateTime_t ) 0;
2748 char *_kwnames[] = { "hour","minute","second","millisec", NULL };
2749 char _ptemp[128];
2750
2751 self = self;
2752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"h|hhh:new_wxDateTimeFromHMS",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
2753 return NULL;
2754{
2755 wxPy_BEGIN_ALLOW_THREADS;
2756 _result = (wxDateTime *)new_wxDateTimeFromHMS(_arg0,_arg1,_arg2,_arg3);
2757
2758 wxPy_END_ALLOW_THREADS;
4dfaa61e 2759 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2760} if (_result) {
2761 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
2762 _resultobj = Py_BuildValue("s",_ptemp);
2763 } else {
2764 Py_INCREF(Py_None);
2765 _resultobj = Py_None;
2766 }
2767 return _resultobj;
2768}
2769
2770#define new_wxDateTimeFromDMY(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDateTime(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2771static PyObject *_wrap_new_wxDateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
2772 PyObject * _resultobj;
2773 wxDateTime * _result;
2774 wxDateTime::wxDateTime_t _arg0;
2775 wxDateTime::Month _arg1 = (wxDateTime::Month ) wxDateTime::Inv_Month;
2776 int _arg2 = (int ) wxDateTime::Inv_Year;
2777 wxDateTime::wxDateTime_t _arg3 = (wxDateTime::wxDateTime_t ) 0;
2778 wxDateTime::wxDateTime_t _arg4 = (wxDateTime::wxDateTime_t ) 0;
2779 wxDateTime::wxDateTime_t _arg5 = (wxDateTime::wxDateTime_t ) 0;
2780 wxDateTime::wxDateTime_t _arg6 = (wxDateTime::wxDateTime_t ) 0;
2781 char *_kwnames[] = { "day","month","year","hour","minute","second","millisec", NULL };
2782 char _ptemp[128];
2783
2784 self = self;
2785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"h|iihhhh:new_wxDateTimeFromDMY",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
2786 return NULL;
2787{
2788 wxPy_BEGIN_ALLOW_THREADS;
2789 _result = (wxDateTime *)new_wxDateTimeFromDMY(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2790
2791 wxPy_END_ALLOW_THREADS;
4dfaa61e 2792 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2793} if (_result) {
2794 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
2795 _resultobj = Py_BuildValue("s",_ptemp);
2796 } else {
2797 Py_INCREF(Py_None);
2798 _resultobj = Py_None;
2799 }
2800 return _resultobj;
2801}
2802
2803#define delete_wxDateTime(_swigobj) (delete _swigobj)
2804static PyObject *_wrap_delete_wxDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
2805 PyObject * _resultobj;
2806 wxDateTime * _arg0;
2807 PyObject * _argo0 = 0;
2808 char *_kwnames[] = { "self", NULL };
2809
2810 self = self;
2811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxDateTime",_kwnames,&_argo0))
2812 return NULL;
2813 if (_argo0) {
2814 if (_argo0 == Py_None) { _arg0 = NULL; }
2815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
2816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxDateTime. Expected _wxDateTime_p.");
2817 return NULL;
2818 }
2819 }
2820{
2821 wxPy_BEGIN_ALLOW_THREADS;
2822 delete_wxDateTime(_arg0);
2823
2824 wxPy_END_ALLOW_THREADS;
4dfaa61e 2825 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2826} Py_INCREF(Py_None);
2827 _resultobj = Py_None;
2828 return _resultobj;
2829}
2830
2831#define wxDateTime_SetToCurrent(_swigobj) (_swigobj->SetToCurrent())
2832static PyObject *_wrap_wxDateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
2833 PyObject * _resultobj;
2834 wxDateTime * _result;
2835 wxDateTime * _arg0;
2836 PyObject * _argo0 = 0;
2837 char *_kwnames[] = { "self", NULL };
2838 char _ptemp[128];
2839
2840 self = self;
2841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDateTime_SetToCurrent",_kwnames,&_argo0))
2842 return NULL;
2843 if (_argo0) {
2844 if (_argo0 == Py_None) { _arg0 = NULL; }
2845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
2846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_SetToCurrent. Expected _wxDateTime_p.");
2847 return NULL;
2848 }
2849 }
2850{
2851 wxPy_BEGIN_ALLOW_THREADS;
2852 wxDateTime & _result_ref = wxDateTime_SetToCurrent(_arg0);
2853 _result = (wxDateTime *) &_result_ref;
2854
2855 wxPy_END_ALLOW_THREADS;
4dfaa61e 2856 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2857} if (_result) {
2858 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
2859 _resultobj = Py_BuildValue("s",_ptemp);
2860 } else {
2861 Py_INCREF(Py_None);
2862 _resultobj = Py_None;
2863 }
2864 return _resultobj;
2865}
2866
2867#define wxDateTime_SetTimeT(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2868static PyObject *_wrap_wxDateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
2869 PyObject * _resultobj;
2870 wxDateTime * _result;
2871 wxDateTime * _arg0;
c368d904 2872 time_t _arg1;
f6bcfd97 2873 PyObject * _argo0 = 0;
f6bcfd97
BP
2874 char *_kwnames[] = { "self","timet", NULL };
2875 char _ptemp[128];
2876
2877 self = self;
c368d904 2878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDateTime_SetTimeT",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
2879 return NULL;
2880 if (_argo0) {
2881 if (_argo0 == Py_None) { _arg0 = NULL; }
2882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
2883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_SetTimeT. Expected _wxDateTime_p.");
2884 return NULL;
2885 }
2886 }
f6bcfd97
BP
2887{
2888 wxPy_BEGIN_ALLOW_THREADS;
c368d904 2889 wxDateTime & _result_ref = wxDateTime_SetTimeT(_arg0,_arg1);
f6bcfd97
BP
2890 _result = (wxDateTime *) &_result_ref;
2891
2892 wxPy_END_ALLOW_THREADS;
4dfaa61e 2893 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2894} if (_result) {
2895 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
2896 _resultobj = Py_BuildValue("s",_ptemp);
2897 } else {
2898 Py_INCREF(Py_None);
2899 _resultobj = Py_None;
2900 }
2901 return _resultobj;
2902}
2903
2904#define wxDateTime_SetJDN(_swigobj,_swigarg0) (_swigobj->Set(_swigarg0))
2905static PyObject *_wrap_wxDateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
2906 PyObject * _resultobj;
2907 wxDateTime * _result;
2908 wxDateTime * _arg0;
2909 double _arg1;
2910 PyObject * _argo0 = 0;
2911 char *_kwnames[] = { "self","jdn", NULL };
2912 char _ptemp[128];
2913
2914 self = self;
2915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxDateTime_SetJDN",_kwnames,&_argo0,&_arg1))
2916 return NULL;
2917 if (_argo0) {
2918 if (_argo0 == Py_None) { _arg0 = NULL; }
2919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
2920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_SetJDN. Expected _wxDateTime_p.");
2921 return NULL;
2922 }
2923 }
2924{
2925 wxPy_BEGIN_ALLOW_THREADS;
2926 wxDateTime & _result_ref = wxDateTime_SetJDN(_arg0,_arg1);
2927 _result = (wxDateTime *) &_result_ref;
2928
2929 wxPy_END_ALLOW_THREADS;
4dfaa61e 2930 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2931} if (_result) {
2932 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
2933 _resultobj = Py_BuildValue("s",_ptemp);
2934 } else {
2935 Py_INCREF(Py_None);
2936 _resultobj = Py_None;
2937 }
2938 return _resultobj;
2939}
2940
2941#define wxDateTime_SetHMS(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2942static PyObject *_wrap_wxDateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
2943 PyObject * _resultobj;
2944 wxDateTime * _result;
2945 wxDateTime * _arg0;
2946 wxDateTime::wxDateTime_t _arg1;
2947 wxDateTime::wxDateTime_t _arg2 = (wxDateTime::wxDateTime_t ) 0;
2948 wxDateTime::wxDateTime_t _arg3 = (wxDateTime::wxDateTime_t ) 0;
2949 wxDateTime::wxDateTime_t _arg4 = (wxDateTime::wxDateTime_t ) 0;
2950 PyObject * _argo0 = 0;
2951 char *_kwnames[] = { "self","hour","minute","second","millisec", NULL };
2952 char _ptemp[128];
2953
2954 self = self;
2955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oh|hhh:wxDateTime_SetHMS",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2956 return NULL;
2957 if (_argo0) {
2958 if (_argo0 == Py_None) { _arg0 = NULL; }
2959 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
2960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_SetHMS. Expected _wxDateTime_p.");
2961 return NULL;
2962 }
2963 }
2964{
2965 wxPy_BEGIN_ALLOW_THREADS;
2966 wxDateTime & _result_ref = wxDateTime_SetHMS(_arg0,_arg1,_arg2,_arg3,_arg4);
2967 _result = (wxDateTime *) &_result_ref;
2968
2969 wxPy_END_ALLOW_THREADS;
4dfaa61e 2970 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2971} if (_result) {
2972 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
2973 _resultobj = Py_BuildValue("s",_ptemp);
2974 } else {
2975 Py_INCREF(Py_None);
2976 _resultobj = Py_None;
2977 }
2978 return _resultobj;
2979}
2980
2981#define wxDateTime_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2982static PyObject *_wrap_wxDateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2983 PyObject * _resultobj;
2984 wxDateTime * _result;
2985 wxDateTime * _arg0;
2986 wxDateTime::wxDateTime_t _arg1;
2987 wxDateTime::Month _arg2 = (wxDateTime::Month ) wxDateTime::Inv_Month;
2988 int _arg3 = (int ) wxDateTime::Inv_Year;
2989 wxDateTime::wxDateTime_t _arg4 = (wxDateTime::wxDateTime_t ) 0;
2990 wxDateTime::wxDateTime_t _arg5 = (wxDateTime::wxDateTime_t ) 0;
2991 wxDateTime::wxDateTime_t _arg6 = (wxDateTime::wxDateTime_t ) 0;
2992 wxDateTime::wxDateTime_t _arg7 = (wxDateTime::wxDateTime_t ) 0;
2993 PyObject * _argo0 = 0;
2994 char *_kwnames[] = { "self","day","month","year","hour","minute","second","millisec", NULL };
2995 char _ptemp[128];
2996
2997 self = self;
2998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oh|iihhhh:wxDateTime_Set",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7))
2999 return NULL;
3000 if (_argo0) {
3001 if (_argo0 == Py_None) { _arg0 = NULL; }
3002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_Set. Expected _wxDateTime_p.");
3004 return NULL;
3005 }
3006 }
3007{
3008 wxPy_BEGIN_ALLOW_THREADS;
3009 wxDateTime & _result_ref = wxDateTime_Set(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7);
3010 _result = (wxDateTime *) &_result_ref;
3011
3012 wxPy_END_ALLOW_THREADS;
4dfaa61e 3013 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3014} if (_result) {
3015 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
3016 _resultobj = Py_BuildValue("s",_ptemp);
3017 } else {
3018 Py_INCREF(Py_None);
3019 _resultobj = Py_None;
3020 }
3021 return _resultobj;
3022}
3023
3024#define wxDateTime_ResetTime(_swigobj) (_swigobj->ResetTime())
3025static PyObject *_wrap_wxDateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
3026 PyObject * _resultobj;
3027 wxDateTime * _result;
3028 wxDateTime * _arg0;
3029 PyObject * _argo0 = 0;
3030 char *_kwnames[] = { "self", NULL };
3031 char _ptemp[128];
3032
3033 self = self;
3034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDateTime_ResetTime",_kwnames,&_argo0))
3035 return NULL;
3036 if (_argo0) {
3037 if (_argo0 == Py_None) { _arg0 = NULL; }
3038 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3039 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_ResetTime. Expected _wxDateTime_p.");
3040 return NULL;
3041 }
3042 }
3043{
3044 wxPy_BEGIN_ALLOW_THREADS;
3045 wxDateTime & _result_ref = wxDateTime_ResetTime(_arg0);
3046 _result = (wxDateTime *) &_result_ref;
3047
3048 wxPy_END_ALLOW_THREADS;
4dfaa61e 3049 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3050} if (_result) {
3051 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
3052 _resultobj = Py_BuildValue("s",_ptemp);
3053 } else {
3054 Py_INCREF(Py_None);
3055 _resultobj = Py_None;
3056 }
3057 return _resultobj;
3058}
3059
3060#define wxDateTime_SetYear(_swigobj,_swigarg0) (_swigobj->SetYear(_swigarg0))
3061static PyObject *_wrap_wxDateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
3062 PyObject * _resultobj;
3063 wxDateTime * _result;
3064 wxDateTime * _arg0;
3065 int _arg1;
3066 PyObject * _argo0 = 0;
3067 char *_kwnames[] = { "self","year", NULL };
3068 char _ptemp[128];
3069
3070 self = self;
3071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDateTime_SetYear",_kwnames,&_argo0,&_arg1))
3072 return NULL;
3073 if (_argo0) {
3074 if (_argo0 == Py_None) { _arg0 = NULL; }
3075 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3076 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_SetYear. Expected _wxDateTime_p.");
3077 return NULL;
3078 }
3079 }
3080{
3081 wxPy_BEGIN_ALLOW_THREADS;
3082 wxDateTime & _result_ref = wxDateTime_SetYear(_arg0,_arg1);
3083 _result = (wxDateTime *) &_result_ref;
3084
3085 wxPy_END_ALLOW_THREADS;
4dfaa61e 3086 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3087} if (_result) {
3088 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
3089 _resultobj = Py_BuildValue("s",_ptemp);
3090 } else {
3091 Py_INCREF(Py_None);
3092 _resultobj = Py_None;
3093 }
3094 return _resultobj;
3095}
3096
3097#define wxDateTime_SetMonth(_swigobj,_swigarg0) (_swigobj->SetMonth(_swigarg0))
3098static PyObject *_wrap_wxDateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
3099 PyObject * _resultobj;
3100 wxDateTime * _result;
3101 wxDateTime * _arg0;
3102 wxDateTime::Month _arg1;
3103 PyObject * _argo0 = 0;
3104 char *_kwnames[] = { "self","month", NULL };
3105 char _ptemp[128];
3106
3107 self = self;
3108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDateTime_SetMonth",_kwnames,&_argo0,&_arg1))
3109 return NULL;
3110 if (_argo0) {
3111 if (_argo0 == Py_None) { _arg0 = NULL; }
3112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_SetMonth. Expected _wxDateTime_p.");
3114 return NULL;
3115 }
3116 }
3117{
3118 wxPy_BEGIN_ALLOW_THREADS;
3119 wxDateTime & _result_ref = wxDateTime_SetMonth(_arg0,_arg1);
3120 _result = (wxDateTime *) &_result_ref;
3121
3122 wxPy_END_ALLOW_THREADS;
4dfaa61e 3123 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3124} if (_result) {
3125 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
3126 _resultobj = Py_BuildValue("s",_ptemp);
3127 } else {
3128 Py_INCREF(Py_None);
3129 _resultobj = Py_None;
3130 }
3131 return _resultobj;
3132}
3133
3134#define wxDateTime_SetDay(_swigobj,_swigarg0) (_swigobj->SetDay(_swigarg0))
3135static PyObject *_wrap_wxDateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
3136 PyObject * _resultobj;
3137 wxDateTime * _result;
3138 wxDateTime * _arg0;
3139 wxDateTime::wxDateTime_t _arg1;
3140 PyObject * _argo0 = 0;
3141 char *_kwnames[] = { "self","day", NULL };
3142 char _ptemp[128];
3143
3144 self = self;
3145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oh:wxDateTime_SetDay",_kwnames,&_argo0,&_arg1))
3146 return NULL;
3147 if (_argo0) {
3148 if (_argo0 == Py_None) { _arg0 = NULL; }
3149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_SetDay. Expected _wxDateTime_p.");
3151 return NULL;
3152 }
3153 }
3154{
3155 wxPy_BEGIN_ALLOW_THREADS;
3156 wxDateTime & _result_ref = wxDateTime_SetDay(_arg0,_arg1);
3157 _result = (wxDateTime *) &_result_ref;
3158
3159 wxPy_END_ALLOW_THREADS;
4dfaa61e 3160 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3161} if (_result) {
3162 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
3163 _resultobj = Py_BuildValue("s",_ptemp);
3164 } else {
3165 Py_INCREF(Py_None);
3166 _resultobj = Py_None;
3167 }
3168 return _resultobj;
3169}
3170
3171#define wxDateTime_SetHour(_swigobj,_swigarg0) (_swigobj->SetHour(_swigarg0))
3172static PyObject *_wrap_wxDateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
3173 PyObject * _resultobj;
3174 wxDateTime * _result;
3175 wxDateTime * _arg0;
3176 wxDateTime::wxDateTime_t _arg1;
3177 PyObject * _argo0 = 0;
3178 char *_kwnames[] = { "self","hour", NULL };
3179 char _ptemp[128];
3180
3181 self = self;
3182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oh:wxDateTime_SetHour",_kwnames,&_argo0,&_arg1))
3183 return NULL;
3184 if (_argo0) {
3185 if (_argo0 == Py_None) { _arg0 = NULL; }
3186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_SetHour. Expected _wxDateTime_p.");
3188 return NULL;
3189 }
3190 }
3191{
3192 wxPy_BEGIN_ALLOW_THREADS;
3193 wxDateTime & _result_ref = wxDateTime_SetHour(_arg0,_arg1);
3194 _result = (wxDateTime *) &_result_ref;
3195
3196 wxPy_END_ALLOW_THREADS;
4dfaa61e 3197 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3198} if (_result) {
3199 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
3200 _resultobj = Py_BuildValue("s",_ptemp);
3201 } else {
3202 Py_INCREF(Py_None);
3203 _resultobj = Py_None;
3204 }
3205 return _resultobj;
3206}
3207
3208#define wxDateTime_SetMinute(_swigobj,_swigarg0) (_swigobj->SetMinute(_swigarg0))
3209static PyObject *_wrap_wxDateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
3210 PyObject * _resultobj;
3211 wxDateTime * _result;
3212 wxDateTime * _arg0;
3213 wxDateTime::wxDateTime_t _arg1;
3214 PyObject * _argo0 = 0;
3215 char *_kwnames[] = { "self","minute", NULL };
3216 char _ptemp[128];
3217
3218 self = self;
3219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oh:wxDateTime_SetMinute",_kwnames,&_argo0,&_arg1))
3220 return NULL;
3221 if (_argo0) {
3222 if (_argo0 == Py_None) { _arg0 = NULL; }
3223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_SetMinute. Expected _wxDateTime_p.");
3225 return NULL;
3226 }
3227 }
3228{
3229 wxPy_BEGIN_ALLOW_THREADS;
3230 wxDateTime & _result_ref = wxDateTime_SetMinute(_arg0,_arg1);
3231 _result = (wxDateTime *) &_result_ref;
3232
3233 wxPy_END_ALLOW_THREADS;
4dfaa61e 3234 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3235} if (_result) {
3236 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
3237 _resultobj = Py_BuildValue("s",_ptemp);
3238 } else {
3239 Py_INCREF(Py_None);
3240 _resultobj = Py_None;
3241 }
3242 return _resultobj;
3243}
3244
3245#define wxDateTime_SetSecond(_swigobj,_swigarg0) (_swigobj->SetSecond(_swigarg0))
3246static PyObject *_wrap_wxDateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
3247 PyObject * _resultobj;
3248 wxDateTime * _result;
3249 wxDateTime * _arg0;
3250 wxDateTime::wxDateTime_t _arg1;
3251 PyObject * _argo0 = 0;
3252 char *_kwnames[] = { "self","second", NULL };
3253 char _ptemp[128];
3254
3255 self = self;
3256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oh:wxDateTime_SetSecond",_kwnames,&_argo0,&_arg1))
3257 return NULL;
3258 if (_argo0) {
3259 if (_argo0 == Py_None) { _arg0 = NULL; }
3260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_SetSecond. Expected _wxDateTime_p.");
3262 return NULL;
3263 }
3264 }
3265{
3266 wxPy_BEGIN_ALLOW_THREADS;
3267 wxDateTime & _result_ref = wxDateTime_SetSecond(_arg0,_arg1);
3268 _result = (wxDateTime *) &_result_ref;
3269
3270 wxPy_END_ALLOW_THREADS;
4dfaa61e 3271 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3272} if (_result) {
3273 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
3274 _resultobj = Py_BuildValue("s",_ptemp);
3275 } else {
3276 Py_INCREF(Py_None);
3277 _resultobj = Py_None;
3278 }
3279 return _resultobj;
3280}
3281
3282#define wxDateTime_SetMillisecond(_swigobj,_swigarg0) (_swigobj->SetMillisecond(_swigarg0))
3283static PyObject *_wrap_wxDateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
3284 PyObject * _resultobj;
3285 wxDateTime * _result;
3286 wxDateTime * _arg0;
3287 wxDateTime::wxDateTime_t _arg1;
3288 PyObject * _argo0 = 0;
3289 char *_kwnames[] = { "self","millisecond", NULL };
3290 char _ptemp[128];
3291
3292 self = self;
3293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oh:wxDateTime_SetMillisecond",_kwnames,&_argo0,&_arg1))
3294 return NULL;
3295 if (_argo0) {
3296 if (_argo0 == Py_None) { _arg0 = NULL; }
3297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_SetMillisecond. Expected _wxDateTime_p.");
3299 return NULL;
3300 }
3301 }
3302{
3303 wxPy_BEGIN_ALLOW_THREADS;
3304 wxDateTime & _result_ref = wxDateTime_SetMillisecond(_arg0,_arg1);
3305 _result = (wxDateTime *) &_result_ref;
3306
3307 wxPy_END_ALLOW_THREADS;
4dfaa61e 3308 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3309} if (_result) {
3310 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
3311 _resultobj = Py_BuildValue("s",_ptemp);
3312 } else {
3313 Py_INCREF(Py_None);
3314 _resultobj = Py_None;
3315 }
3316 return _resultobj;
3317}
3318
3319#define wxDateTime_SetToWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->SetToWeekDayInSameWeek(_swigarg0))
3320static PyObject *_wrap_wxDateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
3321 PyObject * _resultobj;
3322 wxDateTime * _result;
3323 wxDateTime * _arg0;
3324 wxDateTime::WeekDay _arg1;
3325 PyObject * _argo0 = 0;
3326 char *_kwnames[] = { "self","weekday", NULL };
3327 char _ptemp[128];
3328
3329 self = self;
3330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDateTime_SetToWeekDayInSameWeek",_kwnames,&_argo0,&_arg1))
3331 return NULL;
3332 if (_argo0) {
3333 if (_argo0 == Py_None) { _arg0 = NULL; }
3334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_SetToWeekDayInSameWeek. Expected _wxDateTime_p.");
3336 return NULL;
3337 }
3338 }
3339{
3340 wxPy_BEGIN_ALLOW_THREADS;
3341 wxDateTime & _result_ref = wxDateTime_SetToWeekDayInSameWeek(_arg0,_arg1);
3342 _result = (wxDateTime *) &_result_ref;
3343
3344 wxPy_END_ALLOW_THREADS;
4dfaa61e 3345 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3346} if (_result) {
3347 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
3348 _resultobj = Py_BuildValue("s",_ptemp);
3349 } else {
3350 Py_INCREF(Py_None);
3351 _resultobj = Py_None;
3352 }
3353 return _resultobj;
3354}
3355
3356#define wxDateTime_GetWeekDayInSameWeek(_swigobj,_swigarg0) (_swigobj->GetWeekDayInSameWeek(_swigarg0))
3357static PyObject *_wrap_wxDateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
3358 PyObject * _resultobj;
3359 wxDateTime * _result;
3360 wxDateTime * _arg0;
3361 wxDateTime::WeekDay _arg1;
3362 PyObject * _argo0 = 0;
3363 char *_kwnames[] = { "self","weekday", NULL };
3364 char _ptemp[128];
3365
3366 self = self;
3367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDateTime_GetWeekDayInSameWeek",_kwnames,&_argo0,&_arg1))
3368 return NULL;
3369 if (_argo0) {
3370 if (_argo0 == Py_None) { _arg0 = NULL; }
3371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_GetWeekDayInSameWeek. Expected _wxDateTime_p.");
3373 return NULL;
3374 }
3375 }
3376{
3377 wxPy_BEGIN_ALLOW_THREADS;
3378 _result = new wxDateTime (wxDateTime_GetWeekDayInSameWeek(_arg0,_arg1));
3379
3380 wxPy_END_ALLOW_THREADS;
4dfaa61e 3381 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3382} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateTime_p");
3383 _resultobj = Py_BuildValue("s",_ptemp);
3384 return _resultobj;
3385}
3386
3387#define wxDateTime_SetToNextWeekDay(_swigobj,_swigarg0) (_swigobj->SetToNextWeekDay(_swigarg0))
3388static PyObject *_wrap_wxDateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
3389 PyObject * _resultobj;
3390 wxDateTime * _result;
3391 wxDateTime * _arg0;
3392 wxDateTime::WeekDay _arg1;
3393 PyObject * _argo0 = 0;
3394 char *_kwnames[] = { "self","weekday", NULL };
3395 char _ptemp[128];
3396
3397 self = self;
3398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDateTime_SetToNextWeekDay",_kwnames,&_argo0,&_arg1))
3399 return NULL;
3400 if (_argo0) {
3401 if (_argo0 == Py_None) { _arg0 = NULL; }
3402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_SetToNextWeekDay. Expected _wxDateTime_p.");
3404 return NULL;
3405 }
3406 }
3407{
3408 wxPy_BEGIN_ALLOW_THREADS;
3409 wxDateTime & _result_ref = wxDateTime_SetToNextWeekDay(_arg0,_arg1);
3410 _result = (wxDateTime *) &_result_ref;
3411
3412 wxPy_END_ALLOW_THREADS;
4dfaa61e 3413 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3414} if (_result) {
3415 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
3416 _resultobj = Py_BuildValue("s",_ptemp);
3417 } else {
3418 Py_INCREF(Py_None);
3419 _resultobj = Py_None;
3420 }
3421 return _resultobj;
3422}
3423
3424#define wxDateTime_GetNextWeekDay(_swigobj,_swigarg0) (_swigobj->GetNextWeekDay(_swigarg0))
3425static PyObject *_wrap_wxDateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
3426 PyObject * _resultobj;
3427 wxDateTime * _result;
3428 wxDateTime * _arg0;
3429 wxDateTime::WeekDay _arg1;
3430 PyObject * _argo0 = 0;
3431 char *_kwnames[] = { "self","weekday", NULL };
3432 char _ptemp[128];
3433
3434 self = self;
3435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDateTime_GetNextWeekDay",_kwnames,&_argo0,&_arg1))
3436 return NULL;
3437 if (_argo0) {
3438 if (_argo0 == Py_None) { _arg0 = NULL; }
3439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_GetNextWeekDay. Expected _wxDateTime_p.");
3441 return NULL;
3442 }
3443 }
3444{
3445 wxPy_BEGIN_ALLOW_THREADS;
3446 _result = new wxDateTime (wxDateTime_GetNextWeekDay(_arg0,_arg1));
3447
3448 wxPy_END_ALLOW_THREADS;
4dfaa61e 3449 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3450} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateTime_p");
3451 _resultobj = Py_BuildValue("s",_ptemp);
3452 return _resultobj;
3453}
3454
3455#define wxDateTime_SetToPrevWeekDay(_swigobj,_swigarg0) (_swigobj->SetToPrevWeekDay(_swigarg0))
3456static PyObject *_wrap_wxDateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
3457 PyObject * _resultobj;
3458 wxDateTime * _result;
3459 wxDateTime * _arg0;
3460 wxDateTime::WeekDay _arg1;
3461 PyObject * _argo0 = 0;
3462 char *_kwnames[] = { "self","weekday", NULL };
3463 char _ptemp[128];
3464
3465 self = self;
3466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDateTime_SetToPrevWeekDay",_kwnames,&_argo0,&_arg1))
3467 return NULL;
3468 if (_argo0) {
3469 if (_argo0 == Py_None) { _arg0 = NULL; }
3470 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_SetToPrevWeekDay. Expected _wxDateTime_p.");
3472 return NULL;
3473 }
3474 }
3475{
3476 wxPy_BEGIN_ALLOW_THREADS;
3477 wxDateTime & _result_ref = wxDateTime_SetToPrevWeekDay(_arg0,_arg1);
3478 _result = (wxDateTime *) &_result_ref;
3479
3480 wxPy_END_ALLOW_THREADS;
4dfaa61e 3481 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3482} if (_result) {
3483 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
3484 _resultobj = Py_BuildValue("s",_ptemp);
3485 } else {
3486 Py_INCREF(Py_None);
3487 _resultobj = Py_None;
3488 }
3489 return _resultobj;
3490}
3491
3492#define wxDateTime_GetPrevWeekDay(_swigobj,_swigarg0) (_swigobj->GetPrevWeekDay(_swigarg0))
3493static PyObject *_wrap_wxDateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
3494 PyObject * _resultobj;
3495 wxDateTime * _result;
3496 wxDateTime * _arg0;
3497 wxDateTime::WeekDay _arg1;
3498 PyObject * _argo0 = 0;
3499 char *_kwnames[] = { "self","weekday", NULL };
3500 char _ptemp[128];
3501
3502 self = self;
3503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDateTime_GetPrevWeekDay",_kwnames,&_argo0,&_arg1))
3504 return NULL;
3505 if (_argo0) {
3506 if (_argo0 == Py_None) { _arg0 = NULL; }
3507 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_GetPrevWeekDay. Expected _wxDateTime_p.");
3509 return NULL;
3510 }
3511 }
3512{
3513 wxPy_BEGIN_ALLOW_THREADS;
3514 _result = new wxDateTime (wxDateTime_GetPrevWeekDay(_arg0,_arg1));
3515
3516 wxPy_END_ALLOW_THREADS;
4dfaa61e 3517 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3518} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateTime_p");
3519 _resultobj = Py_BuildValue("s",_ptemp);
3520 return _resultobj;
3521}
3522
3523#define wxDateTime_SetToWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetToWeekDay(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3524static PyObject *_wrap_wxDateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
3525 PyObject * _resultobj;
3526 bool _result;
3527 wxDateTime * _arg0;
3528 wxDateTime::WeekDay _arg1;
3529 int _arg2 = (int ) 1;
3530 wxDateTime::Month _arg3 = (wxDateTime::Month ) wxDateTime::Inv_Month;
3531 int _arg4 = (int ) wxDateTime::Inv_Year;
3532 PyObject * _argo0 = 0;
3533 char *_kwnames[] = { "self","weekday","n","month","year", NULL };
3534
3535 self = self;
3536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|iii:wxDateTime_SetToWeekDay",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3537 return NULL;
3538 if (_argo0) {
3539 if (_argo0 == Py_None) { _arg0 = NULL; }
3540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_SetToWeekDay. Expected _wxDateTime_p.");
3542 return NULL;
3543 }
3544 }
3545{
3546 wxPy_BEGIN_ALLOW_THREADS;
3547 _result = (bool )wxDateTime_SetToWeekDay(_arg0,_arg1,_arg2,_arg3,_arg4);
3548
3549 wxPy_END_ALLOW_THREADS;
4dfaa61e 3550 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3551} _resultobj = Py_BuildValue("i",_result);
3552 return _resultobj;
3553}
3554
3555#define wxDateTime_GetWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetWeekDay(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3556static PyObject *_wrap_wxDateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
3557 PyObject * _resultobj;
3558 wxDateTime * _result;
3559 wxDateTime * _arg0;
3560 wxDateTime::WeekDay _arg1;
3561 int _arg2 = (int ) 1;
3562 wxDateTime::Month _arg3 = (wxDateTime::Month ) wxDateTime::Inv_Month;
3563 int _arg4 = (int ) wxDateTime::Inv_Year;
3564 PyObject * _argo0 = 0;
3565 char *_kwnames[] = { "self","weekday","n","month","year", NULL };
3566 char _ptemp[128];
3567
3568 self = self;
3569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|iii:wxDateTime_GetWeekDay",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3570 return NULL;
3571 if (_argo0) {
3572 if (_argo0 == Py_None) { _arg0 = NULL; }
3573 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3574 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_GetWeekDay. Expected _wxDateTime_p.");
3575 return NULL;
3576 }
3577 }
3578{
3579 wxPy_BEGIN_ALLOW_THREADS;
3580 _result = new wxDateTime (wxDateTime_GetWeekDay(_arg0,_arg1,_arg2,_arg3,_arg4));
3581
3582 wxPy_END_ALLOW_THREADS;
4dfaa61e 3583 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3584} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateTime_p");
3585 _resultobj = Py_BuildValue("s",_ptemp);
3586 return _resultobj;
3587}
3588
3589#define wxDateTime_SetToLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetToLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3590static PyObject *_wrap_wxDateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
3591 PyObject * _resultobj;
3592 bool _result;
3593 wxDateTime * _arg0;
3594 wxDateTime::WeekDay _arg1;
3595 wxDateTime::Month _arg2 = (wxDateTime::Month ) wxDateTime::Inv_Month;
3596 int _arg3 = (int ) wxDateTime::Inv_Year;
3597 PyObject * _argo0 = 0;
3598 char *_kwnames[] = { "self","weekday","month","year", NULL };
3599
3600 self = self;
3601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxDateTime_SetToLastWeekDay",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
3602 return NULL;
3603 if (_argo0) {
3604 if (_argo0 == Py_None) { _arg0 = NULL; }
3605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_SetToLastWeekDay. Expected _wxDateTime_p.");
3607 return NULL;
3608 }
3609 }
3610{
3611 wxPy_BEGIN_ALLOW_THREADS;
3612 _result = (bool )wxDateTime_SetToLastWeekDay(_arg0,_arg1,_arg2,_arg3);
3613
3614 wxPy_END_ALLOW_THREADS;
4dfaa61e 3615 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3616} _resultobj = Py_BuildValue("i",_result);
3617 return _resultobj;
3618}
3619
3620#define wxDateTime_GetLastWeekDay(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetLastWeekDay(_swigarg0,_swigarg1,_swigarg2))
3621static PyObject *_wrap_wxDateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
3622 PyObject * _resultobj;
3623 wxDateTime * _result;
3624 wxDateTime * _arg0;
3625 wxDateTime::WeekDay _arg1;
3626 wxDateTime::Month _arg2 = (wxDateTime::Month ) wxDateTime::Inv_Month;
3627 int _arg3 = (int ) wxDateTime::Inv_Year;
3628 PyObject * _argo0 = 0;
3629 char *_kwnames[] = { "self","weekday","month","year", NULL };
3630 char _ptemp[128];
3631
3632 self = self;
3633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxDateTime_GetLastWeekDay",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
3634 return NULL;
3635 if (_argo0) {
3636 if (_argo0 == Py_None) { _arg0 = NULL; }
3637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_GetLastWeekDay. Expected _wxDateTime_p.");
3639 return NULL;
3640 }
3641 }
3642{
3643 wxPy_BEGIN_ALLOW_THREADS;
3644 _result = new wxDateTime (wxDateTime_GetLastWeekDay(_arg0,_arg1,_arg2,_arg3));
3645
3646 wxPy_END_ALLOW_THREADS;
4dfaa61e 3647 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3648} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateTime_p");
3649 _resultobj = Py_BuildValue("s",_ptemp);
3650 return _resultobj;
3651}
3652
3653#define wxDateTime_SetToTheWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToTheWeek(_swigarg0,_swigarg1))
3654static PyObject *_wrap_wxDateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
3655 PyObject * _resultobj;
3656 bool _result;
3657 wxDateTime * _arg0;
3658 wxDateTime::wxDateTime_t _arg1;
3659 wxDateTime::WeekDay _arg2 = (wxDateTime::WeekDay ) wxDateTime::Mon;
3660 PyObject * _argo0 = 0;
3661 char *_kwnames[] = { "self","numWeek","weekday", NULL };
3662
3663 self = self;
3664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oh|i:wxDateTime_SetToTheWeek",_kwnames,&_argo0,&_arg1,&_arg2))
3665 return NULL;
3666 if (_argo0) {
3667 if (_argo0 == Py_None) { _arg0 = NULL; }
3668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_SetToTheWeek. Expected _wxDateTime_p.");
3670 return NULL;
3671 }
3672 }
3673{
3674 wxPy_BEGIN_ALLOW_THREADS;
3675 _result = (bool )wxDateTime_SetToTheWeek(_arg0,_arg1,_arg2);
3676
3677 wxPy_END_ALLOW_THREADS;
4dfaa61e 3678 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3679} _resultobj = Py_BuildValue("i",_result);
3680 return _resultobj;
3681}
3682
3683#define wxDateTime_GetWeek(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeek(_swigarg0,_swigarg1))
3684static PyObject *_wrap_wxDateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
3685 PyObject * _resultobj;
3686 wxDateTime * _result;
3687 wxDateTime * _arg0;
3688 wxDateTime::wxDateTime_t _arg1;
3689 wxDateTime::WeekDay _arg2 = (wxDateTime::WeekDay ) wxDateTime::Mon;
3690 PyObject * _argo0 = 0;
3691 char *_kwnames[] = { "self","numWeek","weekday", NULL };
3692 char _ptemp[128];
3693
3694 self = self;
3695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oh|i:wxDateTime_GetWeek",_kwnames,&_argo0,&_arg1,&_arg2))
3696 return NULL;
3697 if (_argo0) {
3698 if (_argo0 == Py_None) { _arg0 = NULL; }
3699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_GetWeek. Expected _wxDateTime_p.");
3701 return NULL;
3702 }
3703 }
3704{
3705 wxPy_BEGIN_ALLOW_THREADS;
3706 _result = new wxDateTime (wxDateTime_GetWeek(_arg0,_arg1,_arg2));
3707
3708 wxPy_END_ALLOW_THREADS;
4dfaa61e 3709 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3710} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateTime_p");
3711 _resultobj = Py_BuildValue("s",_ptemp);
3712 return _resultobj;
3713}
3714
3715#define wxDateTime_SetToLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToLastMonthDay(_swigarg0,_swigarg1))
3716static PyObject *_wrap_wxDateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
3717 PyObject * _resultobj;
3718 wxDateTime * _result;
3719 wxDateTime * _arg0;
3720 wxDateTime::Month _arg1 = (wxDateTime::Month ) wxDateTime::Inv_Month;
3721 int _arg2 = (int ) wxDateTime::Inv_Year;
3722 PyObject * _argo0 = 0;
3723 char *_kwnames[] = { "self","month","year", NULL };
3724 char _ptemp[128];
3725
3726 self = self;
3727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxDateTime_SetToLastMonthDay",_kwnames,&_argo0,&_arg1,&_arg2))
3728 return NULL;
3729 if (_argo0) {
3730 if (_argo0 == Py_None) { _arg0 = NULL; }
3731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_SetToLastMonthDay. Expected _wxDateTime_p.");
3733 return NULL;
3734 }
3735 }
3736{
3737 wxPy_BEGIN_ALLOW_THREADS;
3738 wxDateTime & _result_ref = wxDateTime_SetToLastMonthDay(_arg0,_arg1,_arg2);
3739 _result = (wxDateTime *) &_result_ref;
3740
3741 wxPy_END_ALLOW_THREADS;
4dfaa61e 3742 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3743} if (_result) {
3744 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
3745 _resultobj = Py_BuildValue("s",_ptemp);
3746 } else {
3747 Py_INCREF(Py_None);
3748 _resultobj = Py_None;
3749 }
3750 return _resultobj;
3751}
3752
3753#define wxDateTime_GetLastMonthDay(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastMonthDay(_swigarg0,_swigarg1))
3754static PyObject *_wrap_wxDateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
3755 PyObject * _resultobj;
3756 wxDateTime * _result;
3757 wxDateTime * _arg0;
3758 wxDateTime::Month _arg1 = (wxDateTime::Month ) wxDateTime::Inv_Month;
3759 int _arg2 = (int ) wxDateTime::Inv_Year;
3760 PyObject * _argo0 = 0;
3761 char *_kwnames[] = { "self","month","year", NULL };
3762 char _ptemp[128];
3763
3764 self = self;
3765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxDateTime_GetLastMonthDay",_kwnames,&_argo0,&_arg1,&_arg2))
3766 return NULL;
3767 if (_argo0) {
3768 if (_argo0 == Py_None) { _arg0 = NULL; }
3769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_GetLastMonthDay. Expected _wxDateTime_p.");
3771 return NULL;
3772 }
3773 }
3774{
3775 wxPy_BEGIN_ALLOW_THREADS;
3776 _result = new wxDateTime (wxDateTime_GetLastMonthDay(_arg0,_arg1,_arg2));
3777
3778 wxPy_END_ALLOW_THREADS;
4dfaa61e 3779 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3780} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateTime_p");
3781 _resultobj = Py_BuildValue("s",_ptemp);
3782 return _resultobj;
3783}
3784
3785#define wxDateTime_SetToYearDay(_swigobj,_swigarg0) (_swigobj->SetToYearDay(_swigarg0))
3786static PyObject *_wrap_wxDateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
3787 PyObject * _resultobj;
3788 wxDateTime * _result;
3789 wxDateTime * _arg0;
3790 wxDateTime::wxDateTime_t _arg1;
3791 PyObject * _argo0 = 0;
3792 char *_kwnames[] = { "self","yday", NULL };
3793 char _ptemp[128];
3794
3795 self = self;
3796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oh:wxDateTime_SetToYearDay",_kwnames,&_argo0,&_arg1))
3797 return NULL;
3798 if (_argo0) {
3799 if (_argo0 == Py_None) { _arg0 = NULL; }
3800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_SetToYearDay. Expected _wxDateTime_p.");
3802 return NULL;
3803 }
3804 }
3805{
3806 wxPy_BEGIN_ALLOW_THREADS;
3807 wxDateTime & _result_ref = wxDateTime_SetToYearDay(_arg0,_arg1);
3808 _result = (wxDateTime *) &_result_ref;
3809
3810 wxPy_END_ALLOW_THREADS;
4dfaa61e 3811 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3812} if (_result) {
3813 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
3814 _resultobj = Py_BuildValue("s",_ptemp);
3815 } else {
3816 Py_INCREF(Py_None);
3817 _resultobj = Py_None;
3818 }
3819 return _resultobj;
3820}
3821
3822#define wxDateTime_GetYearDay(_swigobj,_swigarg0) (_swigobj->GetYearDay(_swigarg0))
3823static PyObject *_wrap_wxDateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
3824 PyObject * _resultobj;
3825 wxDateTime * _result;
3826 wxDateTime * _arg0;
3827 wxDateTime::wxDateTime_t _arg1;
3828 PyObject * _argo0 = 0;
3829 char *_kwnames[] = { "self","yday", NULL };
3830 char _ptemp[128];
3831
3832 self = self;
3833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oh:wxDateTime_GetYearDay",_kwnames,&_argo0,&_arg1))
3834 return NULL;
3835 if (_argo0) {
3836 if (_argo0 == Py_None) { _arg0 = NULL; }
3837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_GetYearDay. Expected _wxDateTime_p.");
3839 return NULL;
3840 }
3841 }
3842{
3843 wxPy_BEGIN_ALLOW_THREADS;
3844 _result = new wxDateTime (wxDateTime_GetYearDay(_arg0,_arg1));
3845
3846 wxPy_END_ALLOW_THREADS;
4dfaa61e 3847 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3848} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateTime_p");
3849 _resultobj = Py_BuildValue("s",_ptemp);
3850 return _resultobj;
3851}
3852
3853#define wxDateTime_GetJulianDayNumber(_swigobj) (_swigobj->GetJulianDayNumber())
3854static PyObject *_wrap_wxDateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
3855 PyObject * _resultobj;
3856 double _result;
3857 wxDateTime * _arg0;
3858 PyObject * _argo0 = 0;
3859 char *_kwnames[] = { "self", NULL };
3860
3861 self = self;
3862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDateTime_GetJulianDayNumber",_kwnames,&_argo0))
3863 return NULL;
3864 if (_argo0) {
3865 if (_argo0 == Py_None) { _arg0 = NULL; }
3866 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_GetJulianDayNumber. Expected _wxDateTime_p.");
3868 return NULL;
3869 }
3870 }
3871{
3872 wxPy_BEGIN_ALLOW_THREADS;
3873 _result = (double )wxDateTime_GetJulianDayNumber(_arg0);
3874
3875 wxPy_END_ALLOW_THREADS;
4dfaa61e 3876 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3877} _resultobj = Py_BuildValue("d",_result);
3878 return _resultobj;
3879}
3880
3881#define wxDateTime_GetJDN(_swigobj) (_swigobj->GetJDN())
3882static PyObject *_wrap_wxDateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
3883 PyObject * _resultobj;
3884 double _result;
3885 wxDateTime * _arg0;
3886 PyObject * _argo0 = 0;
3887 char *_kwnames[] = { "self", NULL };
3888
3889 self = self;
3890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDateTime_GetJDN",_kwnames,&_argo0))
3891 return NULL;
3892 if (_argo0) {
3893 if (_argo0 == Py_None) { _arg0 = NULL; }
3894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_GetJDN. Expected _wxDateTime_p.");
3896 return NULL;
3897 }
3898 }
3899{
3900 wxPy_BEGIN_ALLOW_THREADS;
3901 _result = (double )wxDateTime_GetJDN(_arg0);
3902
3903 wxPy_END_ALLOW_THREADS;
4dfaa61e 3904 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3905} _resultobj = Py_BuildValue("d",_result);
3906 return _resultobj;
3907}
3908
3909#define wxDateTime_GetModifiedJulianDayNumber(_swigobj) (_swigobj->GetModifiedJulianDayNumber())
3910static PyObject *_wrap_wxDateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
3911 PyObject * _resultobj;
3912 double _result;
3913 wxDateTime * _arg0;
3914 PyObject * _argo0 = 0;
3915 char *_kwnames[] = { "self", NULL };
3916
3917 self = self;
3918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDateTime_GetModifiedJulianDayNumber",_kwnames,&_argo0))
3919 return NULL;
3920 if (_argo0) {
3921 if (_argo0 == Py_None) { _arg0 = NULL; }
3922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_GetModifiedJulianDayNumber. Expected _wxDateTime_p.");
3924 return NULL;
3925 }
3926 }
3927{
3928 wxPy_BEGIN_ALLOW_THREADS;
3929 _result = (double )wxDateTime_GetModifiedJulianDayNumber(_arg0);
3930
3931 wxPy_END_ALLOW_THREADS;
4dfaa61e 3932 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3933} _resultobj = Py_BuildValue("d",_result);
3934 return _resultobj;
3935}
3936
3937#define wxDateTime_GetMJD(_swigobj) (_swigobj->GetMJD())
3938static PyObject *_wrap_wxDateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
3939 PyObject * _resultobj;
3940 double _result;
3941 wxDateTime * _arg0;
3942 PyObject * _argo0 = 0;
3943 char *_kwnames[] = { "self", NULL };
3944
3945 self = self;
3946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDateTime_GetMJD",_kwnames,&_argo0))
3947 return NULL;
3948 if (_argo0) {
3949 if (_argo0 == Py_None) { _arg0 = NULL; }
3950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_GetMJD. Expected _wxDateTime_p.");
3952 return NULL;
3953 }
3954 }
3955{
3956 wxPy_BEGIN_ALLOW_THREADS;
3957 _result = (double )wxDateTime_GetMJD(_arg0);
3958
3959 wxPy_END_ALLOW_THREADS;
4dfaa61e 3960 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3961} _resultobj = Py_BuildValue("d",_result);
3962 return _resultobj;
3963}
3964
3965#define wxDateTime_GetRataDie(_swigobj) (_swigobj->GetRataDie())
3966static PyObject *_wrap_wxDateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
3967 PyObject * _resultobj;
3968 double _result;
3969 wxDateTime * _arg0;
3970 PyObject * _argo0 = 0;
3971 char *_kwnames[] = { "self", NULL };
3972
3973 self = self;
3974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDateTime_GetRataDie",_kwnames,&_argo0))
3975 return NULL;
3976 if (_argo0) {
3977 if (_argo0 == Py_None) { _arg0 = NULL; }
3978 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
3979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_GetRataDie. Expected _wxDateTime_p.");
3980 return NULL;
3981 }
3982 }
3983{
3984 wxPy_BEGIN_ALLOW_THREADS;
3985 _result = (double )wxDateTime_GetRataDie(_arg0);
3986
3987 wxPy_END_ALLOW_THREADS;
4dfaa61e 3988 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3989} _resultobj = Py_BuildValue("d",_result);
3990 return _resultobj;
3991}
3992
3993#define wxDateTime_ToTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToTimezone(_swigarg0,_swigarg1))
3994static PyObject *_wrap_wxDateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
3995 PyObject * _resultobj;
3996 wxDateTime * _result;
3997 wxDateTime * _arg0;
3998 wxDateTime::TimeZone * _arg1;
3999 bool _arg2 = (bool ) FALSE;
4000 PyObject * _argo0 = 0;
4001 PyObject * _obj1 = 0;
4002 int tempbool2 = (int) FALSE;
4003 char *_kwnames[] = { "self","tz","noDST", NULL };
4004 char _ptemp[128];
4005
4006 self = self;
4007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxDateTime_ToTimezone",_kwnames,&_argo0,&_obj1,&tempbool2))
4008 return NULL;
4009 if (_argo0) {
4010 if (_argo0 == Py_None) { _arg0 = NULL; }
4011 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4012 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_ToTimezone. Expected _wxDateTime_p.");
4013 return NULL;
4014 }
4015 }
4016{
4017 _arg1 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(_obj1));
4018}
4019 _arg2 = (bool ) tempbool2;
4020{
4021 wxPy_BEGIN_ALLOW_THREADS;
4022 _result = new wxDateTime (wxDateTime_ToTimezone(_arg0,*_arg1,_arg2));
4023
4024 wxPy_END_ALLOW_THREADS;
4dfaa61e 4025 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4026} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateTime_p");
4027 _resultobj = Py_BuildValue("s",_ptemp);
4028{
4029 if (_arg1) delete _arg1;
4030}
4031 return _resultobj;
4032}
4033
4034#define wxDateTime_MakeTimezone(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeTimezone(_swigarg0,_swigarg1))
4035static PyObject *_wrap_wxDateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
4036 PyObject * _resultobj;
4037 wxDateTime * _result;
4038 wxDateTime * _arg0;
4039 wxDateTime::TimeZone * _arg1;
4040 bool _arg2 = (bool ) FALSE;
4041 PyObject * _argo0 = 0;
4042 PyObject * _obj1 = 0;
4043 int tempbool2 = (int) FALSE;
4044 char *_kwnames[] = { "self","tz","noDST", NULL };
4045 char _ptemp[128];
4046
4047 self = self;
4048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxDateTime_MakeTimezone",_kwnames,&_argo0,&_obj1,&tempbool2))
4049 return NULL;
4050 if (_argo0) {
4051 if (_argo0 == Py_None) { _arg0 = NULL; }
4052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_MakeTimezone. Expected _wxDateTime_p.");
4054 return NULL;
4055 }
4056 }
4057{
4058 _arg1 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(_obj1));
4059}
4060 _arg2 = (bool ) tempbool2;
4061{
4062 wxPy_BEGIN_ALLOW_THREADS;
4063 wxDateTime & _result_ref = wxDateTime_MakeTimezone(_arg0,*_arg1,_arg2);
4064 _result = (wxDateTime *) &_result_ref;
4065
4066 wxPy_END_ALLOW_THREADS;
4dfaa61e 4067 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4068} if (_result) {
4069 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
4070 _resultobj = Py_BuildValue("s",_ptemp);
4071 } else {
4072 Py_INCREF(Py_None);
4073 _resultobj = Py_None;
4074 }
4075{
4076 if (_arg1) delete _arg1;
4077}
4078 return _resultobj;
4079}
4080
4081#define wxDateTime_ToGMT(_swigobj,_swigarg0) (_swigobj->ToGMT(_swigarg0))
4082static PyObject *_wrap_wxDateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
4083 PyObject * _resultobj;
4084 wxDateTime * _result;
4085 wxDateTime * _arg0;
4086 bool _arg1 = (bool ) FALSE;
4087 PyObject * _argo0 = 0;
4088 int tempbool1 = (int) FALSE;
4089 char *_kwnames[] = { "self","noDST", NULL };
4090 char _ptemp[128];
4091
4092 self = self;
4093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxDateTime_ToGMT",_kwnames,&_argo0,&tempbool1))
4094 return NULL;
4095 if (_argo0) {
4096 if (_argo0 == Py_None) { _arg0 = NULL; }
4097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_ToGMT. Expected _wxDateTime_p.");
4099 return NULL;
4100 }
4101 }
4102 _arg1 = (bool ) tempbool1;
4103{
4104 wxPy_BEGIN_ALLOW_THREADS;
4105 _result = new wxDateTime (wxDateTime_ToGMT(_arg0,_arg1));
4106
4107 wxPy_END_ALLOW_THREADS;
4dfaa61e 4108 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4109} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateTime_p");
4110 _resultobj = Py_BuildValue("s",_ptemp);
4111 return _resultobj;
4112}
4113
4114#define wxDateTime_MakeGMT(_swigobj,_swigarg0) (_swigobj->MakeGMT(_swigarg0))
4115static PyObject *_wrap_wxDateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
4116 PyObject * _resultobj;
4117 wxDateTime * _result;
4118 wxDateTime * _arg0;
4119 bool _arg1 = (bool ) FALSE;
4120 PyObject * _argo0 = 0;
4121 int tempbool1 = (int) FALSE;
4122 char *_kwnames[] = { "self","noDST", NULL };
4123 char _ptemp[128];
4124
4125 self = self;
4126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxDateTime_MakeGMT",_kwnames,&_argo0,&tempbool1))
4127 return NULL;
4128 if (_argo0) {
4129 if (_argo0 == Py_None) { _arg0 = NULL; }
4130 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_MakeGMT. Expected _wxDateTime_p.");
4132 return NULL;
4133 }
4134 }
4135 _arg1 = (bool ) tempbool1;
4136{
4137 wxPy_BEGIN_ALLOW_THREADS;
4138 wxDateTime & _result_ref = wxDateTime_MakeGMT(_arg0,_arg1);
4139 _result = (wxDateTime *) &_result_ref;
4140
4141 wxPy_END_ALLOW_THREADS;
4dfaa61e 4142 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4143} if (_result) {
4144 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
4145 _resultobj = Py_BuildValue("s",_ptemp);
4146 } else {
4147 Py_INCREF(Py_None);
4148 _resultobj = Py_None;
4149 }
4150 return _resultobj;
4151}
4152
4153#define wxDateTime_IsDST(_swigobj,_swigarg0) (_swigobj->IsDST(_swigarg0))
4154static PyObject *_wrap_wxDateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
4155 PyObject * _resultobj;
4156 int _result;
4157 wxDateTime * _arg0;
4158 wxDateTime::Country _arg1 = (wxDateTime::Country ) wxDateTime::Country_Default;
4159 PyObject * _argo0 = 0;
4160 char *_kwnames[] = { "self","country", NULL };
4161
4162 self = self;
4163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxDateTime_IsDST",_kwnames,&_argo0,&_arg1))
4164 return NULL;
4165 if (_argo0) {
4166 if (_argo0 == Py_None) { _arg0 = NULL; }
4167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_IsDST. Expected _wxDateTime_p.");
4169 return NULL;
4170 }
4171 }
4172{
4173 wxPy_BEGIN_ALLOW_THREADS;
4174 _result = (int )wxDateTime_IsDST(_arg0,_arg1);
4175
4176 wxPy_END_ALLOW_THREADS;
4dfaa61e 4177 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4178} _resultobj = Py_BuildValue("i",_result);
4179 return _resultobj;
4180}
4181
4182#define wxDateTime_IsValid(_swigobj) (_swigobj->IsValid())
4183static PyObject *_wrap_wxDateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
4184 PyObject * _resultobj;
4185 bool _result;
4186 wxDateTime * _arg0;
4187 PyObject * _argo0 = 0;
4188 char *_kwnames[] = { "self", NULL };
4189
4190 self = self;
4191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDateTime_IsValid",_kwnames,&_argo0))
4192 return NULL;
4193 if (_argo0) {
4194 if (_argo0 == Py_None) { _arg0 = NULL; }
4195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_IsValid. Expected _wxDateTime_p.");
4197 return NULL;
4198 }
4199 }
4200{
4201 wxPy_BEGIN_ALLOW_THREADS;
4202 _result = (bool )wxDateTime_IsValid(_arg0);
4203
4204 wxPy_END_ALLOW_THREADS;
4dfaa61e 4205 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4206} _resultobj = Py_BuildValue("i",_result);
4207 return _resultobj;
4208}
4209
4210#define wxDateTime_GetTicks(_swigobj) (_swigobj->GetTicks())
4211static PyObject *_wrap_wxDateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
4212 PyObject * _resultobj;
c368d904 4213 time_t _result;
f6bcfd97
BP
4214 wxDateTime * _arg0;
4215 PyObject * _argo0 = 0;
4216 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
4217
4218 self = self;
4219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDateTime_GetTicks",_kwnames,&_argo0))
4220 return NULL;
4221 if (_argo0) {
4222 if (_argo0 == Py_None) { _arg0 = NULL; }
4223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_GetTicks. Expected _wxDateTime_p.");
4225 return NULL;
4226 }
4227 }
4228{
4229 wxPy_BEGIN_ALLOW_THREADS;
c368d904 4230 _result = (time_t )wxDateTime_GetTicks(_arg0);
f6bcfd97
BP
4231
4232 wxPy_END_ALLOW_THREADS;
4dfaa61e 4233 if (PyErr_Occurred()) return NULL;
c368d904 4234} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
4235 return _resultobj;
4236}
4237
4238#define wxDateTime_GetYear(_swigobj,_swigarg0) (_swigobj->GetYear(_swigarg0))
4239static PyObject *_wrap_wxDateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
4240 PyObject * _resultobj;
4241 int _result;
4242 wxDateTime * _arg0;
4243 wxDateTime::TimeZone * _arg1 = (wxDateTime::TimeZone *) &LOCAL;
4244 PyObject * _argo0 = 0;
4245 PyObject * _obj1 = 0;
4246 char *_kwnames[] = { "self","tz", NULL };
4247
4248 self = self;
4249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxDateTime_GetYear",_kwnames,&_argo0,&_obj1))
4250 return NULL;
4251 if (_argo0) {
4252 if (_argo0 == Py_None) { _arg0 = NULL; }
4253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_GetYear. Expected _wxDateTime_p.");
4255 return NULL;
4256 }
4257 }
4258 if (_obj1)
4259{
4260 _arg1 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(_obj1));
4261}
4262{
4263 wxPy_BEGIN_ALLOW_THREADS;
4264 _result = (int )wxDateTime_GetYear(_arg0,*_arg1);
4265
4266 wxPy_END_ALLOW_THREADS;
4dfaa61e 4267 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4268} _resultobj = Py_BuildValue("i",_result);
4269{
4270 if (_arg1) delete _arg1;
4271}
4272 return _resultobj;
4273}
4274
4275#define wxDateTime_GetMonth(_swigobj,_swigarg0) (_swigobj->GetMonth(_swigarg0))
4276static PyObject *_wrap_wxDateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
4277 PyObject * _resultobj;
4278 wxDateTime::Month _result;
4279 wxDateTime * _arg0;
4280 wxDateTime::TimeZone * _arg1 = (wxDateTime::TimeZone *) &LOCAL;
4281 PyObject * _argo0 = 0;
4282 PyObject * _obj1 = 0;
4283 char *_kwnames[] = { "self","tz", NULL };
4284
4285 self = self;
4286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxDateTime_GetMonth",_kwnames,&_argo0,&_obj1))
4287 return NULL;
4288 if (_argo0) {
4289 if (_argo0 == Py_None) { _arg0 = NULL; }
4290 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_GetMonth. Expected _wxDateTime_p.");
4292 return NULL;
4293 }
4294 }
4295 if (_obj1)
4296{
4297 _arg1 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(_obj1));
4298}
4299{
4300 wxPy_BEGIN_ALLOW_THREADS;
4301 _result = (wxDateTime::Month )wxDateTime_GetMonth(_arg0,*_arg1);
4302
4303 wxPy_END_ALLOW_THREADS;
4dfaa61e 4304 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4305} _resultobj = Py_BuildValue("i",_result);
4306{
4307 if (_arg1) delete _arg1;
4308}
4309 return _resultobj;
4310}
4311
4312#define wxDateTime_GetDay(_swigobj,_swigarg0) (_swigobj->GetDay(_swigarg0))
4313static PyObject *_wrap_wxDateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
4314 PyObject * _resultobj;
4315 wxDateTime::wxDateTime_t _result;
4316 wxDateTime * _arg0;
4317 wxDateTime::TimeZone * _arg1 = (wxDateTime::TimeZone *) &LOCAL;
4318 PyObject * _argo0 = 0;
4319 PyObject * _obj1 = 0;
4320 char *_kwnames[] = { "self","tz", NULL };
4321
4322 self = self;
4323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxDateTime_GetDay",_kwnames,&_argo0,&_obj1))
4324 return NULL;
4325 if (_argo0) {
4326 if (_argo0 == Py_None) { _arg0 = NULL; }
4327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_GetDay. Expected _wxDateTime_p.");
4329 return NULL;
4330 }
4331 }
4332 if (_obj1)
4333{
4334 _arg1 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(_obj1));
4335}
4336{
4337 wxPy_BEGIN_ALLOW_THREADS;
4338 _result = (wxDateTime::wxDateTime_t )wxDateTime_GetDay(_arg0,*_arg1);
4339
4340 wxPy_END_ALLOW_THREADS;
4dfaa61e 4341 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4342} _resultobj = Py_BuildValue("h",_result);
4343{
4344 if (_arg1) delete _arg1;
4345}
4346 return _resultobj;
4347}
4348
4349#define wxDateTime_GetHour(_swigobj,_swigarg0) (_swigobj->GetHour(_swigarg0))
4350static PyObject *_wrap_wxDateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
4351 PyObject * _resultobj;
4352 wxDateTime::wxDateTime_t _result;
4353 wxDateTime * _arg0;
4354 wxDateTime::TimeZone * _arg1 = (wxDateTime::TimeZone *) &LOCAL;
4355 PyObject * _argo0 = 0;
4356 PyObject * _obj1 = 0;
4357 char *_kwnames[] = { "self","tz", NULL };
4358
4359 self = self;
4360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxDateTime_GetHour",_kwnames,&_argo0,&_obj1))
4361 return NULL;
4362 if (_argo0) {
4363 if (_argo0 == Py_None) { _arg0 = NULL; }
4364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_GetHour. Expected _wxDateTime_p.");
4366 return NULL;
4367 }
4368 }
4369 if (_obj1)
4370{
4371 _arg1 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(_obj1));
4372}
4373{
4374 wxPy_BEGIN_ALLOW_THREADS;
4375 _result = (wxDateTime::wxDateTime_t )wxDateTime_GetHour(_arg0,*_arg1);
4376
4377 wxPy_END_ALLOW_THREADS;
4dfaa61e 4378 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4379} _resultobj = Py_BuildValue("h",_result);
4380{
4381 if (_arg1) delete _arg1;
4382}
4383 return _resultobj;
4384}
4385
4386#define wxDateTime_GetMinute(_swigobj,_swigarg0) (_swigobj->GetMinute(_swigarg0))
4387static PyObject *_wrap_wxDateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
4388 PyObject * _resultobj;
4389 wxDateTime::wxDateTime_t _result;
4390 wxDateTime * _arg0;
4391 wxDateTime::TimeZone * _arg1 = (wxDateTime::TimeZone *) &LOCAL;
4392 PyObject * _argo0 = 0;
4393 PyObject * _obj1 = 0;
4394 char *_kwnames[] = { "self","tz", NULL };
4395
4396 self = self;
4397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxDateTime_GetMinute",_kwnames,&_argo0,&_obj1))
4398 return NULL;
4399 if (_argo0) {
4400 if (_argo0 == Py_None) { _arg0 = NULL; }
4401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_GetMinute. Expected _wxDateTime_p.");
4403 return NULL;
4404 }
4405 }
4406 if (_obj1)
4407{
4408 _arg1 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(_obj1));
4409}
4410{
4411 wxPy_BEGIN_ALLOW_THREADS;
4412 _result = (wxDateTime::wxDateTime_t )wxDateTime_GetMinute(_arg0,*_arg1);
4413
4414 wxPy_END_ALLOW_THREADS;
4dfaa61e 4415 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4416} _resultobj = Py_BuildValue("h",_result);
4417{
4418 if (_arg1) delete _arg1;
4419}
4420 return _resultobj;
4421}
4422
4423#define wxDateTime_GetSecond(_swigobj,_swigarg0) (_swigobj->GetSecond(_swigarg0))
4424static PyObject *_wrap_wxDateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
4425 PyObject * _resultobj;
4426 wxDateTime::wxDateTime_t _result;
4427 wxDateTime * _arg0;
4428 wxDateTime::TimeZone * _arg1 = (wxDateTime::TimeZone *) &LOCAL;
4429 PyObject * _argo0 = 0;
4430 PyObject * _obj1 = 0;
4431 char *_kwnames[] = { "self","tz", NULL };
4432
4433 self = self;
4434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxDateTime_GetSecond",_kwnames,&_argo0,&_obj1))
4435 return NULL;
4436 if (_argo0) {
4437 if (_argo0 == Py_None) { _arg0 = NULL; }
4438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_GetSecond. Expected _wxDateTime_p.");
4440 return NULL;
4441 }
4442 }
4443 if (_obj1)
4444{
4445 _arg1 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(_obj1));
4446}
4447{
4448 wxPy_BEGIN_ALLOW_THREADS;
4449 _result = (wxDateTime::wxDateTime_t )wxDateTime_GetSecond(_arg0,*_arg1);
4450
4451 wxPy_END_ALLOW_THREADS;
4dfaa61e 4452 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4453} _resultobj = Py_BuildValue("h",_result);
4454{
4455 if (_arg1) delete _arg1;
4456}
4457 return _resultobj;
4458}
4459
4460#define wxDateTime_GetMillisecond(_swigobj,_swigarg0) (_swigobj->GetMillisecond(_swigarg0))
4461static PyObject *_wrap_wxDateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
4462 PyObject * _resultobj;
4463 wxDateTime::wxDateTime_t _result;
4464 wxDateTime * _arg0;
4465 wxDateTime::TimeZone * _arg1 = (wxDateTime::TimeZone *) &LOCAL;
4466 PyObject * _argo0 = 0;
4467 PyObject * _obj1 = 0;
4468 char *_kwnames[] = { "self","tz", NULL };
4469
4470 self = self;
4471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxDateTime_GetMillisecond",_kwnames,&_argo0,&_obj1))
4472 return NULL;
4473 if (_argo0) {
4474 if (_argo0 == Py_None) { _arg0 = NULL; }
4475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_GetMillisecond. Expected _wxDateTime_p.");
4477 return NULL;
4478 }
4479 }
4480 if (_obj1)
4481{
4482 _arg1 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(_obj1));
4483}
4484{
4485 wxPy_BEGIN_ALLOW_THREADS;
4486 _result = (wxDateTime::wxDateTime_t )wxDateTime_GetMillisecond(_arg0,*_arg1);
4487
4488 wxPy_END_ALLOW_THREADS;
4dfaa61e 4489 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4490} _resultobj = Py_BuildValue("h",_result);
4491{
4492 if (_arg1) delete _arg1;
4493}
4494 return _resultobj;
4495}
4496
4497#define wxDateTime_GetDayOfYear(_swigobj,_swigarg0) (_swigobj->GetDayOfYear(_swigarg0))
4498static PyObject *_wrap_wxDateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
4499 PyObject * _resultobj;
4500 wxDateTime::wxDateTime_t _result;
4501 wxDateTime * _arg0;
4502 wxDateTime::TimeZone * _arg1 = (wxDateTime::TimeZone *) &LOCAL;
4503 PyObject * _argo0 = 0;
4504 PyObject * _obj1 = 0;
4505 char *_kwnames[] = { "self","tz", NULL };
4506
4507 self = self;
4508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxDateTime_GetDayOfYear",_kwnames,&_argo0,&_obj1))
4509 return NULL;
4510 if (_argo0) {
4511 if (_argo0 == Py_None) { _arg0 = NULL; }
4512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_GetDayOfYear. Expected _wxDateTime_p.");
4514 return NULL;
4515 }
4516 }
4517 if (_obj1)
4518{
4519 _arg1 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(_obj1));
4520}
4521{
4522 wxPy_BEGIN_ALLOW_THREADS;
4523 _result = (wxDateTime::wxDateTime_t )wxDateTime_GetDayOfYear(_arg0,*_arg1);
4524
4525 wxPy_END_ALLOW_THREADS;
4dfaa61e 4526 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4527} _resultobj = Py_BuildValue("h",_result);
4528{
4529 if (_arg1) delete _arg1;
4530}
4531 return _resultobj;
4532}
4533
4534#define wxDateTime_GetWeekOfYear(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfYear(_swigarg0,_swigarg1))
4535static PyObject *_wrap_wxDateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
4536 PyObject * _resultobj;
4537 wxDateTime::wxDateTime_t _result;
4538 wxDateTime * _arg0;
4539 wxDateTime::WeekFlags _arg1 = (wxDateTime::WeekFlags ) wxDateTime::Monday_First;
4540 wxDateTime::TimeZone * _arg2 = (wxDateTime::TimeZone *) &LOCAL;
4541 PyObject * _argo0 = 0;
4542 PyObject * _obj2 = 0;
4543 char *_kwnames[] = { "self","flags","tz", NULL };
4544
4545 self = self;
4546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxDateTime_GetWeekOfYear",_kwnames,&_argo0,&_arg1,&_obj2))
4547 return NULL;
4548 if (_argo0) {
4549 if (_argo0 == Py_None) { _arg0 = NULL; }
4550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_GetWeekOfYear. Expected _wxDateTime_p.");
4552 return NULL;
4553 }
4554 }
4555 if (_obj2)
4556{
4557 _arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(_obj2));
4558}
4559{
4560 wxPy_BEGIN_ALLOW_THREADS;
4561 _result = (wxDateTime::wxDateTime_t )wxDateTime_GetWeekOfYear(_arg0,_arg1,*_arg2);
4562
4563 wxPy_END_ALLOW_THREADS;
4dfaa61e 4564 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4565} _resultobj = Py_BuildValue("h",_result);
4566{
4567 if (_arg2) delete _arg2;
4568}
4569 return _resultobj;
4570}
4571
4572#define wxDateTime_GetWeekOfMonth(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetWeekOfMonth(_swigarg0,_swigarg1))
4573static PyObject *_wrap_wxDateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
4574 PyObject * _resultobj;
4575 wxDateTime::wxDateTime_t _result;
4576 wxDateTime * _arg0;
4577 wxDateTime::WeekFlags _arg1 = (wxDateTime::WeekFlags ) wxDateTime::Monday_First;
4578 wxDateTime::TimeZone * _arg2 = (wxDateTime::TimeZone *) &LOCAL;
4579 PyObject * _argo0 = 0;
4580 PyObject * _obj2 = 0;
4581 char *_kwnames[] = { "self","flags","tz", NULL };
4582
4583 self = self;
4584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxDateTime_GetWeekOfMonth",_kwnames,&_argo0,&_arg1,&_obj2))
4585 return NULL;
4586 if (_argo0) {
4587 if (_argo0 == Py_None) { _arg0 = NULL; }
4588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_GetWeekOfMonth. Expected _wxDateTime_p.");
4590 return NULL;
4591 }
4592 }
4593 if (_obj2)
4594{
4595 _arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(_obj2));
4596}
4597{
4598 wxPy_BEGIN_ALLOW_THREADS;
4599 _result = (wxDateTime::wxDateTime_t )wxDateTime_GetWeekOfMonth(_arg0,_arg1,*_arg2);
4600
4601 wxPy_END_ALLOW_THREADS;
4dfaa61e 4602 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4603} _resultobj = Py_BuildValue("h",_result);
4604{
4605 if (_arg2) delete _arg2;
4606}
4607 return _resultobj;
4608}
4609
4610#define wxDateTime_IsWorkDay(_swigobj,_swigarg0) (_swigobj->IsWorkDay(_swigarg0))
4611static PyObject *_wrap_wxDateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
4612 PyObject * _resultobj;
4613 bool _result;
4614 wxDateTime * _arg0;
4615 wxDateTime::Country _arg1 = (wxDateTime::Country ) wxDateTime::Country_Default;
4616 PyObject * _argo0 = 0;
4617 char *_kwnames[] = { "self","country", NULL };
4618
4619 self = self;
4620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxDateTime_IsWorkDay",_kwnames,&_argo0,&_arg1))
4621 return NULL;
4622 if (_argo0) {
4623 if (_argo0 == Py_None) { _arg0 = NULL; }
4624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_IsWorkDay. Expected _wxDateTime_p.");
4626 return NULL;
4627 }
4628 }
4629{
4630 wxPy_BEGIN_ALLOW_THREADS;
4631 _result = (bool )wxDateTime_IsWorkDay(_arg0,_arg1);
4632
4633 wxPy_END_ALLOW_THREADS;
4dfaa61e 4634 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4635} _resultobj = Py_BuildValue("i",_result);
4636 return _resultobj;
4637}
4638
4639#define wxDateTime_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
4640static PyObject *_wrap_wxDateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
4641 PyObject * _resultobj;
4642 bool _result;
4643 wxDateTime * _arg0;
4644 wxDateTime * _arg1;
4645 PyObject * _argo0 = 0;
4646 PyObject * _argo1 = 0;
4647 char *_kwnames[] = { "self","datetime", NULL };
4648
4649 self = self;
4650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDateTime_IsEqualTo",_kwnames,&_argo0,&_argo1))
4651 return NULL;
4652 if (_argo0) {
4653 if (_argo0 == Py_None) { _arg0 = NULL; }
4654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4656 return NULL;
4657 }
4658 }
4659 if (_argo1) {
4660 if (_argo1 == Py_None) { _arg1 = NULL; }
4661 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDateTime_p")) {
4662 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDateTime_IsEqualTo. Expected _wxDateTime_p.");
4663 return NULL;
4664 }
4665 }
4666{
4667 wxPy_BEGIN_ALLOW_THREADS;
4668 _result = (bool )wxDateTime_IsEqualTo(_arg0,*_arg1);
4669
4670 wxPy_END_ALLOW_THREADS;
4dfaa61e 4671 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4672} _resultobj = Py_BuildValue("i",_result);
4673 return _resultobj;
4674}
4675
4676#define wxDateTime_IsEarlierThan(_swigobj,_swigarg0) (_swigobj->IsEarlierThan(_swigarg0))
4677static PyObject *_wrap_wxDateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
4678 PyObject * _resultobj;
4679 bool _result;
4680 wxDateTime * _arg0;
4681 wxDateTime * _arg1;
4682 PyObject * _argo0 = 0;
4683 PyObject * _argo1 = 0;
4684 char *_kwnames[] = { "self","datetime", NULL };
4685
4686 self = self;
4687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDateTime_IsEarlierThan",_kwnames,&_argo0,&_argo1))
4688 return NULL;
4689 if (_argo0) {
4690 if (_argo0 == Py_None) { _arg0 = NULL; }
4691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4693 return NULL;
4694 }
4695 }
4696 if (_argo1) {
4697 if (_argo1 == Py_None) { _arg1 = NULL; }
4698 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDateTime_p")) {
4699 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDateTime_IsEarlierThan. Expected _wxDateTime_p.");
4700 return NULL;
4701 }
4702 }
4703{
4704 wxPy_BEGIN_ALLOW_THREADS;
4705 _result = (bool )wxDateTime_IsEarlierThan(_arg0,*_arg1);
4706
4707 wxPy_END_ALLOW_THREADS;
4dfaa61e 4708 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4709} _resultobj = Py_BuildValue("i",_result);
4710 return _resultobj;
4711}
4712
4713#define wxDateTime_IsLaterThan(_swigobj,_swigarg0) (_swigobj->IsLaterThan(_swigarg0))
4714static PyObject *_wrap_wxDateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
4715 PyObject * _resultobj;
4716 bool _result;
4717 wxDateTime * _arg0;
4718 wxDateTime * _arg1;
4719 PyObject * _argo0 = 0;
4720 PyObject * _argo1 = 0;
4721 char *_kwnames[] = { "self","datetime", NULL };
4722
4723 self = self;
4724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDateTime_IsLaterThan",_kwnames,&_argo0,&_argo1))
4725 return NULL;
4726 if (_argo0) {
4727 if (_argo0 == Py_None) { _arg0 = NULL; }
4728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4730 return NULL;
4731 }
4732 }
4733 if (_argo1) {
4734 if (_argo1 == Py_None) { _arg1 = NULL; }
4735 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDateTime_p")) {
4736 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDateTime_IsLaterThan. Expected _wxDateTime_p.");
4737 return NULL;
4738 }
4739 }
4740{
4741 wxPy_BEGIN_ALLOW_THREADS;
4742 _result = (bool )wxDateTime_IsLaterThan(_arg0,*_arg1);
4743
4744 wxPy_END_ALLOW_THREADS;
4dfaa61e 4745 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4746} _resultobj = Py_BuildValue("i",_result);
4747 return _resultobj;
4748}
4749
4750#define wxDateTime_IsStrictlyBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsStrictlyBetween(_swigarg0,_swigarg1))
4751static PyObject *_wrap_wxDateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
4752 PyObject * _resultobj;
4753 bool _result;
4754 wxDateTime * _arg0;
4755 wxDateTime * _arg1;
4756 wxDateTime * _arg2;
4757 PyObject * _argo0 = 0;
4758 PyObject * _argo1 = 0;
4759 PyObject * _argo2 = 0;
4760 char *_kwnames[] = { "self","t1","t2", NULL };
4761
4762 self = self;
4763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxDateTime_IsStrictlyBetween",_kwnames,&_argo0,&_argo1,&_argo2))
4764 return NULL;
4765 if (_argo0) {
4766 if (_argo0 == Py_None) { _arg0 = NULL; }
4767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4769 return NULL;
4770 }
4771 }
4772 if (_argo1) {
4773 if (_argo1 == Py_None) { _arg1 = NULL; }
4774 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDateTime_p")) {
4775 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4776 return NULL;
4777 }
4778 }
4779 if (_argo2) {
4780 if (_argo2 == Py_None) { _arg2 = NULL; }
4781 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxDateTime_p")) {
4782 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxDateTime_IsStrictlyBetween. Expected _wxDateTime_p.");
4783 return NULL;
4784 }
4785 }
4786{
4787 wxPy_BEGIN_ALLOW_THREADS;
4788 _result = (bool )wxDateTime_IsStrictlyBetween(_arg0,*_arg1,*_arg2);
4789
4790 wxPy_END_ALLOW_THREADS;
4dfaa61e 4791 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4792} _resultobj = Py_BuildValue("i",_result);
4793 return _resultobj;
4794}
4795
4796#define wxDateTime_IsBetween(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsBetween(_swigarg0,_swigarg1))
4797static PyObject *_wrap_wxDateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
4798 PyObject * _resultobj;
4799 bool _result;
4800 wxDateTime * _arg0;
4801 wxDateTime * _arg1;
4802 wxDateTime * _arg2;
4803 PyObject * _argo0 = 0;
4804 PyObject * _argo1 = 0;
4805 PyObject * _argo2 = 0;
4806 char *_kwnames[] = { "self","t1","t2", NULL };
4807
4808 self = self;
4809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxDateTime_IsBetween",_kwnames,&_argo0,&_argo1,&_argo2))
4810 return NULL;
4811 if (_argo0) {
4812 if (_argo0 == Py_None) { _arg0 = NULL; }
4813 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4814 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4815 return NULL;
4816 }
4817 }
4818 if (_argo1) {
4819 if (_argo1 == Py_None) { _arg1 = NULL; }
4820 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDateTime_p")) {
4821 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4822 return NULL;
4823 }
4824 }
4825 if (_argo2) {
4826 if (_argo2 == Py_None) { _arg2 = NULL; }
4827 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxDateTime_p")) {
4828 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxDateTime_IsBetween. Expected _wxDateTime_p.");
4829 return NULL;
4830 }
4831 }
4832{
4833 wxPy_BEGIN_ALLOW_THREADS;
4834 _result = (bool )wxDateTime_IsBetween(_arg0,*_arg1,*_arg2);
4835
4836 wxPy_END_ALLOW_THREADS;
4dfaa61e 4837 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4838} _resultobj = Py_BuildValue("i",_result);
4839 return _resultobj;
4840}
4841
4842#define wxDateTime_IsSameDate(_swigobj,_swigarg0) (_swigobj->IsSameDate(_swigarg0))
4843static PyObject *_wrap_wxDateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
4844 PyObject * _resultobj;
4845 bool _result;
4846 wxDateTime * _arg0;
4847 wxDateTime * _arg1;
4848 PyObject * _argo0 = 0;
4849 PyObject * _argo1 = 0;
4850 char *_kwnames[] = { "self","dt", NULL };
4851
4852 self = self;
4853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDateTime_IsSameDate",_kwnames,&_argo0,&_argo1))
4854 return NULL;
4855 if (_argo0) {
4856 if (_argo0 == Py_None) { _arg0 = NULL; }
4857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4859 return NULL;
4860 }
4861 }
4862 if (_argo1) {
4863 if (_argo1 == Py_None) { _arg1 = NULL; }
4864 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDateTime_p")) {
4865 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDateTime_IsSameDate. Expected _wxDateTime_p.");
4866 return NULL;
4867 }
4868 }
4869{
4870 wxPy_BEGIN_ALLOW_THREADS;
4871 _result = (bool )wxDateTime_IsSameDate(_arg0,*_arg1);
4872
4873 wxPy_END_ALLOW_THREADS;
4dfaa61e 4874 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4875} _resultobj = Py_BuildValue("i",_result);
4876 return _resultobj;
4877}
4878
4879#define wxDateTime_IsSameTime(_swigobj,_swigarg0) (_swigobj->IsSameTime(_swigarg0))
4880static PyObject *_wrap_wxDateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4881 PyObject * _resultobj;
4882 bool _result;
4883 wxDateTime * _arg0;
4884 wxDateTime * _arg1;
4885 PyObject * _argo0 = 0;
4886 PyObject * _argo1 = 0;
4887 char *_kwnames[] = { "self","dt", NULL };
4888
4889 self = self;
4890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDateTime_IsSameTime",_kwnames,&_argo0,&_argo1))
4891 return NULL;
4892 if (_argo0) {
4893 if (_argo0 == Py_None) { _arg0 = NULL; }
4894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
4896 return NULL;
4897 }
4898 }
4899 if (_argo1) {
4900 if (_argo1 == Py_None) { _arg1 = NULL; }
4901 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDateTime_p")) {
4902 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDateTime_IsSameTime. Expected _wxDateTime_p.");
4903 return NULL;
4904 }
4905 }
4906{
4907 wxPy_BEGIN_ALLOW_THREADS;
4908 _result = (bool )wxDateTime_IsSameTime(_arg0,*_arg1);
4909
4910 wxPy_END_ALLOW_THREADS;
4dfaa61e 4911 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4912} _resultobj = Py_BuildValue("i",_result);
4913 return _resultobj;
4914}
4915
4916#define wxDateTime_IsEqualUpTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEqualUpTo(_swigarg0,_swigarg1))
4917static PyObject *_wrap_wxDateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
4918 PyObject * _resultobj;
4919 bool _result;
4920 wxDateTime * _arg0;
4921 wxDateTime * _arg1;
4922 wxTimeSpan * _arg2;
4923 PyObject * _argo0 = 0;
4924 PyObject * _argo1 = 0;
4925 PyObject * _argo2 = 0;
4926 char *_kwnames[] = { "self","dt","ts", NULL };
4927
4928 self = self;
4929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxDateTime_IsEqualUpTo",_kwnames,&_argo0,&_argo1,&_argo2))
4930 return NULL;
4931 if (_argo0) {
4932 if (_argo0 == Py_None) { _arg0 = NULL; }
4933 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4935 return NULL;
4936 }
4937 }
4938 if (_argo1) {
4939 if (_argo1 == Py_None) { _arg1 = NULL; }
4940 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDateTime_p")) {
4941 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDateTime_IsEqualUpTo. Expected _wxDateTime_p.");
4942 return NULL;
4943 }
4944 }
4945 if (_argo2) {
4946 if (_argo2 == Py_None) { _arg2 = NULL; }
4947 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTimeSpan_p")) {
4948 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxDateTime_IsEqualUpTo. Expected _wxTimeSpan_p.");
4949 return NULL;
4950 }
4951 }
4952{
4953 wxPy_BEGIN_ALLOW_THREADS;
4954 _result = (bool )wxDateTime_IsEqualUpTo(_arg0,*_arg1,*_arg2);
4955
4956 wxPy_END_ALLOW_THREADS;
4dfaa61e 4957 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4958} _resultobj = Py_BuildValue("i",_result);
4959 return _resultobj;
4960}
4961
4962#define wxDateTime_AddTS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4963static PyObject *_wrap_wxDateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
4964 PyObject * _resultobj;
4965 wxDateTime * _result;
4966 wxDateTime * _arg0;
4967 wxTimeSpan * _arg1;
4968 PyObject * _argo0 = 0;
4969 PyObject * _argo1 = 0;
4970 char *_kwnames[] = { "self","diff", NULL };
4971 char _ptemp[128];
4972
4973 self = self;
4974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDateTime_AddTS",_kwnames,&_argo0,&_argo1))
4975 return NULL;
4976 if (_argo0) {
4977 if (_argo0 == Py_None) { _arg0 = NULL; }
4978 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
4979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_AddTS. Expected _wxDateTime_p.");
4980 return NULL;
4981 }
4982 }
4983 if (_argo1) {
4984 if (_argo1 == Py_None) { _arg1 = NULL; }
4985 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTimeSpan_p")) {
4986 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDateTime_AddTS. Expected _wxTimeSpan_p.");
4987 return NULL;
4988 }
4989 }
4990{
4991 wxPy_BEGIN_ALLOW_THREADS;
4992 wxDateTime & _result_ref = wxDateTime_AddTS(_arg0,*_arg1);
4993 _result = (wxDateTime *) &_result_ref;
4994
4995 wxPy_END_ALLOW_THREADS;
4dfaa61e 4996 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
4997} if (_result) {
4998 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
4999 _resultobj = Py_BuildValue("s",_ptemp);
5000 } else {
5001 Py_INCREF(Py_None);
5002 _resultobj = Py_None;
5003 }
5004 return _resultobj;
5005}
5006
5007#define wxDateTime_AddDS(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
5008static PyObject *_wrap_wxDateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
5009 PyObject * _resultobj;
5010 wxDateTime * _result;
5011 wxDateTime * _arg0;
5012 wxDateSpan * _arg1;
5013 PyObject * _argo0 = 0;
5014 PyObject * _argo1 = 0;
5015 char *_kwnames[] = { "self","diff", NULL };
5016 char _ptemp[128];
5017
5018 self = self;
5019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDateTime_AddDS",_kwnames,&_argo0,&_argo1))
5020 return NULL;
5021 if (_argo0) {
5022 if (_argo0 == Py_None) { _arg0 = NULL; }
5023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
5024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_AddDS. Expected _wxDateTime_p.");
5025 return NULL;
5026 }
5027 }
5028 if (_argo1) {
5029 if (_argo1 == Py_None) { _arg1 = NULL; }
5030 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDateSpan_p")) {
5031 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDateTime_AddDS. Expected _wxDateSpan_p.");
5032 return NULL;
5033 }
5034 }
5035{
5036 wxPy_BEGIN_ALLOW_THREADS;
5037 wxDateTime & _result_ref = wxDateTime_AddDS(_arg0,*_arg1);
5038 _result = (wxDateTime *) &_result_ref;
5039
5040 wxPy_END_ALLOW_THREADS;
4dfaa61e 5041 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5042} if (_result) {
5043 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
5044 _resultobj = Py_BuildValue("s",_ptemp);
5045 } else {
5046 Py_INCREF(Py_None);
5047 _resultobj = Py_None;
5048 }
5049 return _resultobj;
5050}
5051
5052#define wxDateTime_SubtractTS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5053static PyObject *_wrap_wxDateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
5054 PyObject * _resultobj;
5055 wxDateTime * _result;
5056 wxDateTime * _arg0;
5057 wxTimeSpan * _arg1;
5058 PyObject * _argo0 = 0;
5059 PyObject * _argo1 = 0;
5060 char *_kwnames[] = { "self","diff", NULL };
5061 char _ptemp[128];
5062
5063 self = self;
5064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDateTime_SubtractTS",_kwnames,&_argo0,&_argo1))
5065 return NULL;
5066 if (_argo0) {
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_SubtractTS. Expected _wxDateTime_p.");
5070 return NULL;
5071 }
5072 }
5073 if (_argo1) {
5074 if (_argo1 == Py_None) { _arg1 = NULL; }
5075 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTimeSpan_p")) {
5076 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDateTime_SubtractTS. Expected _wxTimeSpan_p.");
5077 return NULL;
5078 }
5079 }
5080{
5081 wxPy_BEGIN_ALLOW_THREADS;
5082 wxDateTime & _result_ref = wxDateTime_SubtractTS(_arg0,*_arg1);
5083 _result = (wxDateTime *) &_result_ref;
5084
5085 wxPy_END_ALLOW_THREADS;
4dfaa61e 5086 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5087} if (_result) {
5088 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
5089 _resultobj = Py_BuildValue("s",_ptemp);
5090 } else {
5091 Py_INCREF(Py_None);
5092 _resultobj = Py_None;
5093 }
5094 return _resultobj;
5095}
5096
5097#define wxDateTime_SubtractDS(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5098static PyObject *_wrap_wxDateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
5099 PyObject * _resultobj;
5100 wxDateTime * _result;
5101 wxDateTime * _arg0;
5102 wxDateSpan * _arg1;
5103 PyObject * _argo0 = 0;
5104 PyObject * _argo1 = 0;
5105 char *_kwnames[] = { "self","diff", NULL };
5106 char _ptemp[128];
5107
5108 self = self;
5109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDateTime_SubtractDS",_kwnames,&_argo0,&_argo1))
5110 return NULL;
5111 if (_argo0) {
5112 if (_argo0 == Py_None) { _arg0 = NULL; }
5113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
5114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_SubtractDS. Expected _wxDateTime_p.");
5115 return NULL;
5116 }
5117 }
5118 if (_argo1) {
5119 if (_argo1 == Py_None) { _arg1 = NULL; }
5120 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDateSpan_p")) {
5121 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDateTime_SubtractDS. Expected _wxDateSpan_p.");
5122 return NULL;
5123 }
5124 }
5125{
5126 wxPy_BEGIN_ALLOW_THREADS;
5127 wxDateTime & _result_ref = wxDateTime_SubtractDS(_arg0,*_arg1);
5128 _result = (wxDateTime *) &_result_ref;
5129
5130 wxPy_END_ALLOW_THREADS;
4dfaa61e 5131 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5132} if (_result) {
5133 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p");
5134 _resultobj = Py_BuildValue("s",_ptemp);
5135 } else {
5136 Py_INCREF(Py_None);
5137 _resultobj = Py_None;
5138 }
5139 return _resultobj;
5140}
5141
5142#define wxDateTime_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
5143static PyObject *_wrap_wxDateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
5144 PyObject * _resultobj;
5145 wxTimeSpan * _result;
5146 wxDateTime * _arg0;
5147 wxDateTime * _arg1;
5148 PyObject * _argo0 = 0;
5149 PyObject * _argo1 = 0;
5150 char *_kwnames[] = { "self","dt", NULL };
5151 char _ptemp[128];
5152
5153 self = self;
5154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDateTime_Subtract",_kwnames,&_argo0,&_argo1))
5155 return NULL;
5156 if (_argo0) {
5157 if (_argo0 == Py_None) { _arg0 = NULL; }
5158 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
5159 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_Subtract. Expected _wxDateTime_p.");
5160 return NULL;
5161 }
5162 }
5163 if (_argo1) {
5164 if (_argo1 == Py_None) { _arg1 = NULL; }
5165 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDateTime_p")) {
5166 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDateTime_Subtract. Expected _wxDateTime_p.");
5167 return NULL;
5168 }
5169 }
5170{
5171 wxPy_BEGIN_ALLOW_THREADS;
5172 _result = new wxTimeSpan (wxDateTime_Subtract(_arg0,*_arg1));
5173
5174 wxPy_END_ALLOW_THREADS;
4dfaa61e 5175 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5176} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTimeSpan_p");
5177 _resultobj = Py_BuildValue("s",_ptemp);
5178 return _resultobj;
5179}
5180
5181static wxDateTime wxDateTime___add__TS(wxDateTime *self,const wxTimeSpan & other) { return *self + other; }
5182static PyObject *_wrap_wxDateTime___add__TS(PyObject *self, PyObject *args, PyObject *kwargs) {
5183 PyObject * _resultobj;
5184 wxDateTime * _result;
5185 wxDateTime * _arg0;
5186 wxTimeSpan * _arg1;
5187 PyObject * _argo0 = 0;
5188 PyObject * _argo1 = 0;
5189 char *_kwnames[] = { "self","other", NULL };
5190 char _ptemp[128];
5191
5192 self = self;
5193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDateTime___add__TS",_kwnames,&_argo0,&_argo1))
5194 return NULL;
5195 if (_argo0) {
5196 if (_argo0 == Py_None) { _arg0 = NULL; }
5197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
5198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime___add__TS. Expected _wxDateTime_p.");
5199 return NULL;
5200 }
5201 }
5202 if (_argo1) {
5203 if (_argo1 == Py_None) { _arg1 = NULL; }
5204 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTimeSpan_p")) {
5205 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDateTime___add__TS. Expected _wxTimeSpan_p.");
5206 return NULL;
5207 }
5208 }
5209{
5210 wxPy_BEGIN_ALLOW_THREADS;
5211 _result = new wxDateTime (wxDateTime___add__TS(_arg0,*_arg1));
5212
5213 wxPy_END_ALLOW_THREADS;
4dfaa61e 5214 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5215} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateTime_p");
5216 _resultobj = Py_BuildValue("s",_ptemp);
5217 return _resultobj;
5218}
5219
5220static wxDateTime wxDateTime___add__DS(wxDateTime *self,const wxDateSpan & other) { return *self + other; }
5221static PyObject *_wrap_wxDateTime___add__DS(PyObject *self, PyObject *args, PyObject *kwargs) {
5222 PyObject * _resultobj;
5223 wxDateTime * _result;
5224 wxDateTime * _arg0;
5225 wxDateSpan * _arg1;
5226 PyObject * _argo0 = 0;
5227 PyObject * _argo1 = 0;
5228 char *_kwnames[] = { "self","other", NULL };
5229 char _ptemp[128];
5230
5231 self = self;
5232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDateTime___add__DS",_kwnames,&_argo0,&_argo1))
5233 return NULL;
5234 if (_argo0) {
5235 if (_argo0 == Py_None) { _arg0 = NULL; }
5236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
5237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime___add__DS. Expected _wxDateTime_p.");
5238 return NULL;
5239 }
5240 }
5241 if (_argo1) {
5242 if (_argo1 == Py_None) { _arg1 = NULL; }
5243 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDateSpan_p")) {
5244 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDateTime___add__DS. Expected _wxDateSpan_p.");
5245 return NULL;
5246 }
5247 }
5248{
5249 wxPy_BEGIN_ALLOW_THREADS;
5250 _result = new wxDateTime (wxDateTime___add__DS(_arg0,*_arg1));
5251
5252 wxPy_END_ALLOW_THREADS;
4dfaa61e 5253 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5254} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateTime_p");
5255 _resultobj = Py_BuildValue("s",_ptemp);
5256 return _resultobj;
5257}
5258
5259static wxTimeSpan wxDateTime___sub__DT(wxDateTime *self,const wxDateTime & other) { return *self - other; }
5260static PyObject *_wrap_wxDateTime___sub__DT(PyObject *self, PyObject *args, PyObject *kwargs) {
5261 PyObject * _resultobj;
5262 wxTimeSpan * _result;
5263 wxDateTime * _arg0;
5264 wxDateTime * _arg1;
5265 PyObject * _argo0 = 0;
5266 PyObject * _argo1 = 0;
5267 char *_kwnames[] = { "self","other", NULL };
5268 char _ptemp[128];
5269
5270 self = self;
5271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDateTime___sub__DT",_kwnames,&_argo0,&_argo1))
5272 return NULL;
5273 if (_argo0) {
5274 if (_argo0 == Py_None) { _arg0 = NULL; }
5275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
5276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
5277 return NULL;
5278 }
5279 }
5280 if (_argo1) {
5281 if (_argo1 == Py_None) { _arg1 = NULL; }
5282 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDateTime_p")) {
5283 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDateTime___sub__DT. Expected _wxDateTime_p.");
5284 return NULL;
5285 }
5286 }
5287{
5288 wxPy_BEGIN_ALLOW_THREADS;
5289 _result = new wxTimeSpan (wxDateTime___sub__DT(_arg0,*_arg1));
5290
5291 wxPy_END_ALLOW_THREADS;
4dfaa61e 5292 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5293} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTimeSpan_p");
5294 _resultobj = Py_BuildValue("s",_ptemp);
5295 return _resultobj;
5296}
5297
5298static wxDateTime wxDateTime___sub__TS(wxDateTime *self,const wxTimeSpan & other) { return *self - other; }
5299static PyObject *_wrap_wxDateTime___sub__TS(PyObject *self, PyObject *args, PyObject *kwargs) {
5300 PyObject * _resultobj;
5301 wxDateTime * _result;
5302 wxDateTime * _arg0;
5303 wxTimeSpan * _arg1;
5304 PyObject * _argo0 = 0;
5305 PyObject * _argo1 = 0;
5306 char *_kwnames[] = { "self","other", NULL };
5307 char _ptemp[128];
5308
5309 self = self;
5310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDateTime___sub__TS",_kwnames,&_argo0,&_argo1))
5311 return NULL;
5312 if (_argo0) {
5313 if (_argo0 == Py_None) { _arg0 = NULL; }
5314 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
5315 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime___sub__TS. Expected _wxDateTime_p.");
5316 return NULL;
5317 }
5318 }
5319 if (_argo1) {
5320 if (_argo1 == Py_None) { _arg1 = NULL; }
5321 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTimeSpan_p")) {
5322 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDateTime___sub__TS. Expected _wxTimeSpan_p.");
5323 return NULL;
5324 }
5325 }
5326{
5327 wxPy_BEGIN_ALLOW_THREADS;
5328 _result = new wxDateTime (wxDateTime___sub__TS(_arg0,*_arg1));
5329
5330 wxPy_END_ALLOW_THREADS;
4dfaa61e 5331 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5332} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateTime_p");
5333 _resultobj = Py_BuildValue("s",_ptemp);
5334 return _resultobj;
5335}
5336
5337static wxDateTime wxDateTime___sub__DS(wxDateTime *self,const wxDateSpan & other) { return *self - other; }
5338static PyObject *_wrap_wxDateTime___sub__DS(PyObject *self, PyObject *args, PyObject *kwargs) {
5339 PyObject * _resultobj;
5340 wxDateTime * _result;
5341 wxDateTime * _arg0;
5342 wxDateSpan * _arg1;
5343 PyObject * _argo0 = 0;
5344 PyObject * _argo1 = 0;
5345 char *_kwnames[] = { "self","other", NULL };
5346 char _ptemp[128];
5347
5348 self = self;
5349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDateTime___sub__DS",_kwnames,&_argo0,&_argo1))
5350 return NULL;
5351 if (_argo0) {
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___sub__DS. Expected _wxDateTime_p.");
5355 return NULL;
5356 }
5357 }
5358 if (_argo1) {
5359 if (_argo1 == Py_None) { _arg1 = NULL; }
5360 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDateSpan_p")) {
5361 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDateTime___sub__DS. Expected _wxDateSpan_p.");
5362 return NULL;
5363 }
5364 }
5365{
5366 wxPy_BEGIN_ALLOW_THREADS;
5367 _result = new wxDateTime (wxDateTime___sub__DS(_arg0,*_arg1));
5368
5369 wxPy_END_ALLOW_THREADS;
4dfaa61e 5370 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5371} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateTime_p");
5372 _resultobj = Py_BuildValue("s",_ptemp);
5373 return _resultobj;
5374}
5375
5376static int wxDateTime___cmp__(wxDateTime *self,const wxDateTime & other) {
5377 if (*self < other) return -1;
5378 if (*self == other) return 0;
5379 return 1;
5380 }
5381static PyObject *_wrap_wxDateTime___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
5382 PyObject * _resultobj;
5383 int _result;
5384 wxDateTime * _arg0;
5385 wxDateTime * _arg1;
5386 PyObject * _argo0 = 0;
5387 PyObject * _argo1 = 0;
5388 char *_kwnames[] = { "self","other", NULL };
5389
5390 self = self;
5391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDateTime___cmp__",_kwnames,&_argo0,&_argo1))
5392 return NULL;
5393 if (_argo0) {
5394 if (_argo0 == Py_None) { _arg0 = NULL; }
5395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
5396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5397 return NULL;
5398 }
5399 }
5400 if (_argo1) {
5401 if (_argo1 == Py_None) { _arg1 = NULL; }
5402 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDateTime_p")) {
5403 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDateTime___cmp__. Expected _wxDateTime_p.");
5404 return NULL;
5405 }
5406 }
5407{
5408 wxPy_BEGIN_ALLOW_THREADS;
5409 _result = (int )wxDateTime___cmp__(_arg0,*_arg1);
5410
5411 wxPy_END_ALLOW_THREADS;
4dfaa61e 5412 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5413} _resultobj = Py_BuildValue("i",_result);
5414 return _resultobj;
5415}
5416
5417#define wxDateTime_ParseRfc822Date(_swigobj,_swigarg0) (_swigobj->ParseRfc822Date(_swigarg0))
5418static PyObject *_wrap_wxDateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
5419 PyObject * _resultobj;
5420 char * _result;
5421 wxDateTime * _arg0;
5422 char * _arg1;
5423 PyObject * _argo0 = 0;
5424 char *_kwnames[] = { "self","date", NULL };
5425
5426 self = self;
5427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxDateTime_ParseRfc822Date",_kwnames,&_argo0,&_arg1))
5428 return NULL;
5429 if (_argo0) {
5430 if (_argo0 == Py_None) { _arg0 = NULL; }
5431 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
5432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_ParseRfc822Date. Expected _wxDateTime_p.");
5433 return NULL;
5434 }
5435 }
5436{
5437 wxPy_BEGIN_ALLOW_THREADS;
5438 _result = (char *)wxDateTime_ParseRfc822Date(_arg0,_arg1);
5439
5440 wxPy_END_ALLOW_THREADS;
4dfaa61e 5441 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5442} _resultobj = Py_BuildValue("s", _result);
5443 return _resultobj;
5444}
5445
5446#define wxDateTime_ParseFormat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ParseFormat(_swigarg0,_swigarg1,_swigarg2))
5447static PyObject *_wrap_wxDateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
5448 PyObject * _resultobj;
5449 char * _result;
5450 wxDateTime * _arg0;
5451 char * _arg1;
5452 char * _arg2 = (char *) "%c";
5453 wxDateTime * _arg3 = (wxDateTime *) &wxDefaultDateTime;
5454 PyObject * _argo0 = 0;
5455 PyObject * _argo3 = 0;
5456 char *_kwnames[] = { "self","date","format","dateDef", NULL };
5457
5458 self = self;
5459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|sO:wxDateTime_ParseFormat",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
5460 return NULL;
5461 if (_argo0) {
5462 if (_argo0 == Py_None) { _arg0 = NULL; }
5463 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
5464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5465 return NULL;
5466 }
5467 }
5468 if (_argo3) {
5469 if (_argo3 == Py_None) { _arg3 = NULL; }
5470 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDateTime_p")) {
5471 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxDateTime_ParseFormat. Expected _wxDateTime_p.");
5472 return NULL;
5473 }
5474 }
5475{
5476 wxPy_BEGIN_ALLOW_THREADS;
5477 _result = (char *)wxDateTime_ParseFormat(_arg0,_arg1,_arg2,*_arg3);
5478
5479 wxPy_END_ALLOW_THREADS;
4dfaa61e 5480 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5481} _resultobj = Py_BuildValue("s", _result);
5482 return _resultobj;
5483}
5484
5485#define wxDateTime_ParseDateTime(_swigobj,_swigarg0) (_swigobj->ParseDateTime(_swigarg0))
5486static PyObject *_wrap_wxDateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
5487 PyObject * _resultobj;
5488 char * _result;
5489 wxDateTime * _arg0;
5490 char * _arg1;
5491 PyObject * _argo0 = 0;
5492 char *_kwnames[] = { "self","datetime", NULL };
5493
5494 self = self;
5495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxDateTime_ParseDateTime",_kwnames,&_argo0,&_arg1))
5496 return NULL;
5497 if (_argo0) {
5498 if (_argo0 == Py_None) { _arg0 = NULL; }
5499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
5500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_ParseDateTime. Expected _wxDateTime_p.");
5501 return NULL;
5502 }
5503 }
5504{
5505 wxPy_BEGIN_ALLOW_THREADS;
5506 _result = (char *)wxDateTime_ParseDateTime(_arg0,_arg1);
5507
5508 wxPy_END_ALLOW_THREADS;
4dfaa61e 5509 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5510} _resultobj = Py_BuildValue("s", _result);
5511 return _resultobj;
5512}
5513
5514#define wxDateTime_ParseDate(_swigobj,_swigarg0) (_swigobj->ParseDate(_swigarg0))
5515static PyObject *_wrap_wxDateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
5516 PyObject * _resultobj;
5517 char * _result;
5518 wxDateTime * _arg0;
5519 char * _arg1;
5520 PyObject * _argo0 = 0;
5521 char *_kwnames[] = { "self","date", NULL };
5522
5523 self = self;
5524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxDateTime_ParseDate",_kwnames,&_argo0,&_arg1))
5525 return NULL;
5526 if (_argo0) {
5527 if (_argo0 == Py_None) { _arg0 = NULL; }
5528 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
5529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_ParseDate. Expected _wxDateTime_p.");
5530 return NULL;
5531 }
5532 }
5533{
5534 wxPy_BEGIN_ALLOW_THREADS;
5535 _result = (char *)wxDateTime_ParseDate(_arg0,_arg1);
5536
5537 wxPy_END_ALLOW_THREADS;
4dfaa61e 5538 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5539} _resultobj = Py_BuildValue("s", _result);
5540 return _resultobj;
5541}
5542
5543#define wxDateTime_ParseTime(_swigobj,_swigarg0) (_swigobj->ParseTime(_swigarg0))
5544static PyObject *_wrap_wxDateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
5545 PyObject * _resultobj;
5546 char * _result;
5547 wxDateTime * _arg0;
5548 char * _arg1;
5549 PyObject * _argo0 = 0;
5550 char *_kwnames[] = { "self","time", NULL };
5551
5552 self = self;
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxDateTime_ParseTime",_kwnames,&_argo0,&_arg1))
5554 return NULL;
5555 if (_argo0) {
5556 if (_argo0 == Py_None) { _arg0 = NULL; }
5557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
5558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_ParseTime. Expected _wxDateTime_p.");
5559 return NULL;
5560 }
5561 }
5562{
5563 wxPy_BEGIN_ALLOW_THREADS;
5564 _result = (char *)wxDateTime_ParseTime(_arg0,_arg1);
5565
5566 wxPy_END_ALLOW_THREADS;
4dfaa61e 5567 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5568} _resultobj = Py_BuildValue("s", _result);
5569 return _resultobj;
5570}
5571
5572#define wxDateTime_Format(_swigobj,_swigarg0,_swigarg1) (_swigobj->Format(_swigarg0,_swigarg1))
5573static PyObject *_wrap_wxDateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
5574 PyObject * _resultobj;
5575 wxString * _result;
5576 wxDateTime * _arg0;
5577 char * _arg1 = (char *) "%c";
5578 wxDateTime::TimeZone * _arg2 = (wxDateTime::TimeZone *) &LOCAL;
5579 PyObject * _argo0 = 0;
5580 PyObject * _obj2 = 0;
5581 char *_kwnames[] = { "self","format","tz", NULL };
5582
5583 self = self;
5584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|sO:wxDateTime_Format",_kwnames,&_argo0,&_arg1,&_obj2))
5585 return NULL;
5586 if (_argo0) {
5587 if (_argo0 == Py_None) { _arg0 = NULL; }
5588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
5589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_Format. Expected _wxDateTime_p.");
5590 return NULL;
5591 }
5592 }
5593 if (_obj2)
5594{
5595 _arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(_obj2));
5596}
5597{
5598 wxPy_BEGIN_ALLOW_THREADS;
5599 _result = new wxString (wxDateTime_Format(_arg0,_arg1,*_arg2));
5600
5601 wxPy_END_ALLOW_THREADS;
4dfaa61e 5602 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5603}{
5604 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5605}
5606{
5607 if (_arg2) delete _arg2;
5608}
5609{
5610 delete _result;
5611}
5612 return _resultobj;
5613}
5614
5615#define wxDateTime_FormatDate(_swigobj) (_swigobj->FormatDate())
5616static PyObject *_wrap_wxDateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
5617 PyObject * _resultobj;
5618 wxString * _result;
5619 wxDateTime * _arg0;
5620 PyObject * _argo0 = 0;
5621 char *_kwnames[] = { "self", NULL };
5622
5623 self = self;
5624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDateTime_FormatDate",_kwnames,&_argo0))
5625 return NULL;
5626 if (_argo0) {
5627 if (_argo0 == Py_None) { _arg0 = NULL; }
5628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
5629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_FormatDate. Expected _wxDateTime_p.");
5630 return NULL;
5631 }
5632 }
5633{
5634 wxPy_BEGIN_ALLOW_THREADS;
5635 _result = new wxString (wxDateTime_FormatDate(_arg0));
5636
5637 wxPy_END_ALLOW_THREADS;
4dfaa61e 5638 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5639}{
5640 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5641}
5642{
5643 delete _result;
5644}
5645 return _resultobj;
5646}
5647
5648#define wxDateTime_FormatTime(_swigobj) (_swigobj->FormatTime())
5649static PyObject *_wrap_wxDateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
5650 PyObject * _resultobj;
5651 wxString * _result;
5652 wxDateTime * _arg0;
5653 PyObject * _argo0 = 0;
5654 char *_kwnames[] = { "self", NULL };
5655
5656 self = self;
5657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDateTime_FormatTime",_kwnames,&_argo0))
5658 return NULL;
5659 if (_argo0) {
5660 if (_argo0 == Py_None) { _arg0 = NULL; }
5661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
5662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_FormatTime. Expected _wxDateTime_p.");
5663 return NULL;
5664 }
5665 }
5666{
5667 wxPy_BEGIN_ALLOW_THREADS;
5668 _result = new wxString (wxDateTime_FormatTime(_arg0));
5669
5670 wxPy_END_ALLOW_THREADS;
4dfaa61e 5671 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5672}{
5673 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5674}
5675{
5676 delete _result;
5677}
5678 return _resultobj;
5679}
5680
5681#define wxDateTime_FormatISODate(_swigobj) (_swigobj->FormatISODate())
5682static PyObject *_wrap_wxDateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
5683 PyObject * _resultobj;
5684 wxString * _result;
5685 wxDateTime * _arg0;
5686 PyObject * _argo0 = 0;
5687 char *_kwnames[] = { "self", NULL };
5688
5689 self = self;
5690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDateTime_FormatISODate",_kwnames,&_argo0))
5691 return NULL;
5692 if (_argo0) {
5693 if (_argo0 == Py_None) { _arg0 = NULL; }
5694 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
5695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_FormatISODate. Expected _wxDateTime_p.");
5696 return NULL;
5697 }
5698 }
5699{
5700 wxPy_BEGIN_ALLOW_THREADS;
5701 _result = new wxString (wxDateTime_FormatISODate(_arg0));
5702
5703 wxPy_END_ALLOW_THREADS;
4dfaa61e 5704 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5705}{
5706 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5707}
5708{
5709 delete _result;
5710}
5711 return _resultobj;
5712}
5713
5714#define wxDateTime_FormatISOTime(_swigobj) (_swigobj->FormatISOTime())
5715static PyObject *_wrap_wxDateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
5716 PyObject * _resultobj;
5717 wxString * _result;
5718 wxDateTime * _arg0;
5719 PyObject * _argo0 = 0;
5720 char *_kwnames[] = { "self", NULL };
5721
5722 self = self;
5723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDateTime_FormatISOTime",_kwnames,&_argo0))
5724 return NULL;
5725 if (_argo0) {
5726 if (_argo0 == Py_None) { _arg0 = NULL; }
5727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateTime_p")) {
5728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateTime_FormatISOTime. Expected _wxDateTime_p.");
5729 return NULL;
5730 }
5731 }
5732{
5733 wxPy_BEGIN_ALLOW_THREADS;
5734 _result = new wxString (wxDateTime_FormatISOTime(_arg0));
5735
5736 wxPy_END_ALLOW_THREADS;
4dfaa61e 5737 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5738}{
5739 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5740}
5741{
5742 delete _result;
5743}
5744 return _resultobj;
5745}
5746
5747static PyObject *_wrap_wxTimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
5748 PyObject * _resultobj;
5749 wxTimeSpan * _result;
5750 long _arg0;
5751 char *_kwnames[] = { "sec", NULL };
5752 char _ptemp[128];
5753
5754 self = self;
5755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxTimeSpan_Seconds",_kwnames,&_arg0))
5756 return NULL;
5757{
5758 wxPy_BEGIN_ALLOW_THREADS;
5759 _result = new wxTimeSpan (wxTimeSpan::Seconds(_arg0));
5760
5761 wxPy_END_ALLOW_THREADS;
4dfaa61e 5762 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5763} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTimeSpan_p");
5764 _resultobj = Py_BuildValue("s",_ptemp);
5765 return _resultobj;
5766}
5767
5768static PyObject *_wrap_wxTimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
5769 PyObject * _resultobj;
5770 wxTimeSpan * _result;
5771 char *_kwnames[] = { NULL };
5772 char _ptemp[128];
5773
5774 self = self;
5775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxTimeSpan_Second",_kwnames))
5776 return NULL;
5777{
5778 wxPy_BEGIN_ALLOW_THREADS;
5779 _result = new wxTimeSpan (wxTimeSpan::Second());
5780
5781 wxPy_END_ALLOW_THREADS;
4dfaa61e 5782 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5783} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTimeSpan_p");
5784 _resultobj = Py_BuildValue("s",_ptemp);
5785 return _resultobj;
5786}
5787
5788static PyObject *_wrap_wxTimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
5789 PyObject * _resultobj;
5790 wxTimeSpan * _result;
5791 long _arg0;
5792 char *_kwnames[] = { "min", NULL };
5793 char _ptemp[128];
5794
5795 self = self;
5796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxTimeSpan_Minutes",_kwnames,&_arg0))
5797 return NULL;
5798{
5799 wxPy_BEGIN_ALLOW_THREADS;
5800 _result = new wxTimeSpan (wxTimeSpan::Minutes(_arg0));
5801
5802 wxPy_END_ALLOW_THREADS;
4dfaa61e 5803 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5804} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTimeSpan_p");
5805 _resultobj = Py_BuildValue("s",_ptemp);
5806 return _resultobj;
5807}
5808
5809static PyObject *_wrap_wxTimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
5810 PyObject * _resultobj;
5811 wxTimeSpan * _result;
5812 char *_kwnames[] = { NULL };
5813 char _ptemp[128];
5814
5815 self = self;
5816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxTimeSpan_Minute",_kwnames))
5817 return NULL;
5818{
5819 wxPy_BEGIN_ALLOW_THREADS;
5820 _result = new wxTimeSpan (wxTimeSpan::Minute());
5821
5822 wxPy_END_ALLOW_THREADS;
4dfaa61e 5823 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5824} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTimeSpan_p");
5825 _resultobj = Py_BuildValue("s",_ptemp);
5826 return _resultobj;
5827}
5828
5829static PyObject *_wrap_wxTimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
5830 PyObject * _resultobj;
5831 wxTimeSpan * _result;
5832 long _arg0;
5833 char *_kwnames[] = { "hours", NULL };
5834 char _ptemp[128];
5835
5836 self = self;
5837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxTimeSpan_Hours",_kwnames,&_arg0))
5838 return NULL;
5839{
5840 wxPy_BEGIN_ALLOW_THREADS;
5841 _result = new wxTimeSpan (wxTimeSpan::Hours(_arg0));
5842
5843 wxPy_END_ALLOW_THREADS;
4dfaa61e 5844 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5845} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTimeSpan_p");
5846 _resultobj = Py_BuildValue("s",_ptemp);
5847 return _resultobj;
5848}
5849
5850static PyObject *_wrap_wxTimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
5851 PyObject * _resultobj;
5852 wxTimeSpan * _result;
5853 char *_kwnames[] = { NULL };
5854 char _ptemp[128];
5855
5856 self = self;
5857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxTimeSpan_Hour",_kwnames))
5858 return NULL;
5859{
5860 wxPy_BEGIN_ALLOW_THREADS;
5861 _result = new wxTimeSpan (wxTimeSpan::Hour());
5862
5863 wxPy_END_ALLOW_THREADS;
4dfaa61e 5864 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5865} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTimeSpan_p");
5866 _resultobj = Py_BuildValue("s",_ptemp);
5867 return _resultobj;
5868}
5869
5870static PyObject *_wrap_wxTimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
5871 PyObject * _resultobj;
5872 wxTimeSpan * _result;
5873 long _arg0;
5874 char *_kwnames[] = { "days", NULL };
5875 char _ptemp[128];
5876
5877 self = self;
5878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxTimeSpan_Days",_kwnames,&_arg0))
5879 return NULL;
5880{
5881 wxPy_BEGIN_ALLOW_THREADS;
5882 _result = new wxTimeSpan (wxTimeSpan::Days(_arg0));
5883
5884 wxPy_END_ALLOW_THREADS;
4dfaa61e 5885 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5886} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTimeSpan_p");
5887 _resultobj = Py_BuildValue("s",_ptemp);
5888 return _resultobj;
5889}
5890
5891static PyObject *_wrap_wxTimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
5892 PyObject * _resultobj;
5893 wxTimeSpan * _result;
5894 char *_kwnames[] = { NULL };
5895 char _ptemp[128];
5896
5897 self = self;
5898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxTimeSpan_Day",_kwnames))
5899 return NULL;
5900{
5901 wxPy_BEGIN_ALLOW_THREADS;
5902 _result = new wxTimeSpan (wxTimeSpan::Day());
5903
5904 wxPy_END_ALLOW_THREADS;
4dfaa61e 5905 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5906} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTimeSpan_p");
5907 _resultobj = Py_BuildValue("s",_ptemp);
5908 return _resultobj;
5909}
5910
5911static PyObject *_wrap_wxTimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
5912 PyObject * _resultobj;
5913 wxTimeSpan * _result;
5914 long _arg0;
5915 char *_kwnames[] = { "days", NULL };
5916 char _ptemp[128];
5917
5918 self = self;
5919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxTimeSpan_Weeks",_kwnames,&_arg0))
5920 return NULL;
5921{
5922 wxPy_BEGIN_ALLOW_THREADS;
5923 _result = new wxTimeSpan (wxTimeSpan::Weeks(_arg0));
5924
5925 wxPy_END_ALLOW_THREADS;
4dfaa61e 5926 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5927} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTimeSpan_p");
5928 _resultobj = Py_BuildValue("s",_ptemp);
5929 return _resultobj;
5930}
5931
5932static PyObject *_wrap_wxTimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
5933 PyObject * _resultobj;
5934 wxTimeSpan * _result;
5935 char *_kwnames[] = { NULL };
5936 char _ptemp[128];
5937
5938 self = self;
5939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxTimeSpan_Week",_kwnames))
5940 return NULL;
5941{
5942 wxPy_BEGIN_ALLOW_THREADS;
5943 _result = new wxTimeSpan (wxTimeSpan::Week());
5944
5945 wxPy_END_ALLOW_THREADS;
4dfaa61e 5946 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5947} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTimeSpan_p");
5948 _resultobj = Py_BuildValue("s",_ptemp);
5949 return _resultobj;
5950}
5951
5952#define new_wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTimeSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5953static PyObject *_wrap_new_wxTimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
5954 PyObject * _resultobj;
5955 wxTimeSpan * _result;
5956 long _arg0 = (long ) 0;
5957 long _arg1 = (long ) 0;
5958 long _arg2 = (long ) 0;
5959 long _arg3 = (long ) 0;
5960 char *_kwnames[] = { "hours","minutes","seconds","milliseconds", NULL };
5961 char _ptemp[128];
5962
5963 self = self;
5964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|llll:new_wxTimeSpan",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
5965 return NULL;
5966{
5967 wxPy_BEGIN_ALLOW_THREADS;
5968 _result = (wxTimeSpan *)new_wxTimeSpan(_arg0,_arg1,_arg2,_arg3);
5969
5970 wxPy_END_ALLOW_THREADS;
4dfaa61e 5971 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5972} if (_result) {
5973 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTimeSpan_p");
5974 _resultobj = Py_BuildValue("s",_ptemp);
5975 } else {
5976 Py_INCREF(Py_None);
5977 _resultobj = Py_None;
5978 }
5979 return _resultobj;
5980}
5981
5982#define delete_wxTimeSpan(_swigobj) (delete _swigobj)
5983static PyObject *_wrap_delete_wxTimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
5984 PyObject * _resultobj;
5985 wxTimeSpan * _arg0;
5986 PyObject * _argo0 = 0;
5987 char *_kwnames[] = { "self", NULL };
5988
5989 self = self;
5990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTimeSpan",_kwnames,&_argo0))
5991 return NULL;
5992 if (_argo0) {
5993 if (_argo0 == Py_None) { _arg0 = NULL; }
5994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
5995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTimeSpan. Expected _wxTimeSpan_p.");
5996 return NULL;
5997 }
5998 }
5999{
6000 wxPy_BEGIN_ALLOW_THREADS;
6001 delete_wxTimeSpan(_arg0);
6002
6003 wxPy_END_ALLOW_THREADS;
4dfaa61e 6004 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6005} Py_INCREF(Py_None);
6006 _resultobj = Py_None;
6007 return _resultobj;
6008}
6009
6010#define wxTimeSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
6011static PyObject *_wrap_wxTimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
6012 PyObject * _resultobj;
6013 wxTimeSpan * _result;
6014 wxTimeSpan * _arg0;
6015 wxTimeSpan * _arg1;
6016 PyObject * _argo0 = 0;
6017 PyObject * _argo1 = 0;
6018 char *_kwnames[] = { "self","diff", NULL };
6019 char _ptemp[128];
6020
6021 self = self;
6022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTimeSpan_Add",_kwnames,&_argo0,&_argo1))
6023 return NULL;
6024 if (_argo0) {
6025 if (_argo0 == Py_None) { _arg0 = NULL; }
6026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
6027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
6028 return NULL;
6029 }
6030 }
6031 if (_argo1) {
6032 if (_argo1 == Py_None) { _arg1 = NULL; }
6033 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTimeSpan_p")) {
6034 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTimeSpan_Add. Expected _wxTimeSpan_p.");
6035 return NULL;
6036 }
6037 }
6038{
6039 wxPy_BEGIN_ALLOW_THREADS;
6040 wxTimeSpan & _result_ref = wxTimeSpan_Add(_arg0,*_arg1);
6041 _result = (wxTimeSpan *) &_result_ref;
6042
6043 wxPy_END_ALLOW_THREADS;
4dfaa61e 6044 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6045} if (_result) {
6046 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTimeSpan_p");
6047 _resultobj = Py_BuildValue("s",_ptemp);
6048 } else {
6049 Py_INCREF(Py_None);
6050 _resultobj = Py_None;
6051 }
6052 return _resultobj;
6053}
6054
6055#define wxTimeSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
6056static PyObject *_wrap_wxTimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
6057 PyObject * _resultobj;
6058 wxTimeSpan * _result;
6059 wxTimeSpan * _arg0;
6060 wxTimeSpan * _arg1;
6061 PyObject * _argo0 = 0;
6062 PyObject * _argo1 = 0;
6063 char *_kwnames[] = { "self","diff", NULL };
6064 char _ptemp[128];
6065
6066 self = self;
6067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTimeSpan_Subtract",_kwnames,&_argo0,&_argo1))
6068 return NULL;
6069 if (_argo0) {
6070 if (_argo0 == Py_None) { _arg0 = NULL; }
6071 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
6072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
6073 return NULL;
6074 }
6075 }
6076 if (_argo1) {
6077 if (_argo1 == Py_None) { _arg1 = NULL; }
6078 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTimeSpan_p")) {
6079 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTimeSpan_Subtract. Expected _wxTimeSpan_p.");
6080 return NULL;
6081 }
6082 }
6083{
6084 wxPy_BEGIN_ALLOW_THREADS;
6085 wxTimeSpan & _result_ref = wxTimeSpan_Subtract(_arg0,*_arg1);
6086 _result = (wxTimeSpan *) &_result_ref;
6087
6088 wxPy_END_ALLOW_THREADS;
4dfaa61e 6089 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6090} if (_result) {
6091 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTimeSpan_p");
6092 _resultobj = Py_BuildValue("s",_ptemp);
6093 } else {
6094 Py_INCREF(Py_None);
6095 _resultobj = Py_None;
6096 }
6097 return _resultobj;
6098}
6099
6100#define wxTimeSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
6101static PyObject *_wrap_wxTimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
6102 PyObject * _resultobj;
6103 wxTimeSpan * _result;
6104 wxTimeSpan * _arg0;
6105 int _arg1;
6106 PyObject * _argo0 = 0;
6107 char *_kwnames[] = { "self","n", NULL };
6108 char _ptemp[128];
6109
6110 self = self;
6111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTimeSpan_Multiply",_kwnames,&_argo0,&_arg1))
6112 return NULL;
6113 if (_argo0) {
6114 if (_argo0 == Py_None) { _arg0 = NULL; }
6115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
6116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimeSpan_Multiply. Expected _wxTimeSpan_p.");
6117 return NULL;
6118 }
6119 }
6120{
6121 wxPy_BEGIN_ALLOW_THREADS;
6122 wxTimeSpan & _result_ref = wxTimeSpan_Multiply(_arg0,_arg1);
6123 _result = (wxTimeSpan *) &_result_ref;
6124
6125 wxPy_END_ALLOW_THREADS;
4dfaa61e 6126 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6127} if (_result) {
6128 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTimeSpan_p");
6129 _resultobj = Py_BuildValue("s",_ptemp);
6130 } else {
6131 Py_INCREF(Py_None);
6132 _resultobj = Py_None;
6133 }
6134 return _resultobj;
6135}
6136
6137#define wxTimeSpan_Neg(_swigobj) (_swigobj->Neg())
6138static PyObject *_wrap_wxTimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
6139 PyObject * _resultobj;
6140 wxTimeSpan * _result;
6141 wxTimeSpan * _arg0;
6142 PyObject * _argo0 = 0;
6143 char *_kwnames[] = { "self", NULL };
6144 char _ptemp[128];
6145
6146 self = self;
6147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTimeSpan_Neg",_kwnames,&_argo0))
6148 return NULL;
6149 if (_argo0) {
6150 if (_argo0 == Py_None) { _arg0 = NULL; }
6151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
6152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimeSpan_Neg. Expected _wxTimeSpan_p.");
6153 return NULL;
6154 }
6155 }
6156{
6157 wxPy_BEGIN_ALLOW_THREADS;
6158 wxTimeSpan & _result_ref = wxTimeSpan_Neg(_arg0);
6159 _result = (wxTimeSpan *) &_result_ref;
6160
6161 wxPy_END_ALLOW_THREADS;
4dfaa61e 6162 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6163} if (_result) {
6164 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTimeSpan_p");
6165 _resultobj = Py_BuildValue("s",_ptemp);
6166 } else {
6167 Py_INCREF(Py_None);
6168 _resultobj = Py_None;
6169 }
6170 return _resultobj;
6171}
6172
6173#define wxTimeSpan_Abs(_swigobj) (_swigobj->Abs())
6174static PyObject *_wrap_wxTimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
6175 PyObject * _resultobj;
6176 wxTimeSpan * _result;
6177 wxTimeSpan * _arg0;
6178 PyObject * _argo0 = 0;
6179 char *_kwnames[] = { "self", NULL };
6180 char _ptemp[128];
6181
6182 self = self;
6183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTimeSpan_Abs",_kwnames,&_argo0))
6184 return NULL;
6185 if (_argo0) {
6186 if (_argo0 == Py_None) { _arg0 = NULL; }
6187 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
6188 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimeSpan_Abs. Expected _wxTimeSpan_p.");
6189 return NULL;
6190 }
6191 }
6192{
6193 wxPy_BEGIN_ALLOW_THREADS;
6194 _result = new wxTimeSpan (wxTimeSpan_Abs(_arg0));
6195
6196 wxPy_END_ALLOW_THREADS;
4dfaa61e 6197 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6198} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTimeSpan_p");
6199 _resultobj = Py_BuildValue("s",_ptemp);
6200 return _resultobj;
6201}
6202
6203static wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,const wxTimeSpan & other) { return *self + other; }
6204static PyObject *_wrap_wxTimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
6205 PyObject * _resultobj;
6206 wxTimeSpan * _result;
6207 wxTimeSpan * _arg0;
6208 wxTimeSpan * _arg1;
6209 PyObject * _argo0 = 0;
6210 PyObject * _argo1 = 0;
6211 char *_kwnames[] = { "self","other", NULL };
6212 char _ptemp[128];
6213
6214 self = self;
6215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTimeSpan___add__",_kwnames,&_argo0,&_argo1))
6216 return NULL;
6217 if (_argo0) {
6218 if (_argo0 == Py_None) { _arg0 = NULL; }
6219 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
6220 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6221 return NULL;
6222 }
6223 }
6224 if (_argo1) {
6225 if (_argo1 == Py_None) { _arg1 = NULL; }
6226 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTimeSpan_p")) {
6227 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTimeSpan___add__. Expected _wxTimeSpan_p.");
6228 return NULL;
6229 }
6230 }
6231{
6232 wxPy_BEGIN_ALLOW_THREADS;
6233 _result = new wxTimeSpan (wxTimeSpan___add__(_arg0,*_arg1));
6234
6235 wxPy_END_ALLOW_THREADS;
4dfaa61e 6236 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6237} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTimeSpan_p");
6238 _resultobj = Py_BuildValue("s",_ptemp);
6239 return _resultobj;
6240}
6241
6242static wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,const wxTimeSpan & other) { return *self - other; }
6243static PyObject *_wrap_wxTimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
6244 PyObject * _resultobj;
6245 wxTimeSpan * _result;
6246 wxTimeSpan * _arg0;
6247 wxTimeSpan * _arg1;
6248 PyObject * _argo0 = 0;
6249 PyObject * _argo1 = 0;
6250 char *_kwnames[] = { "self","other", NULL };
6251 char _ptemp[128];
6252
6253 self = self;
6254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTimeSpan___sub__",_kwnames,&_argo0,&_argo1))
6255 return NULL;
6256 if (_argo0) {
6257 if (_argo0 == Py_None) { _arg0 = NULL; }
6258 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
6259 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6260 return NULL;
6261 }
6262 }
6263 if (_argo1) {
6264 if (_argo1 == Py_None) { _arg1 = NULL; }
6265 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTimeSpan_p")) {
6266 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTimeSpan___sub__. Expected _wxTimeSpan_p.");
6267 return NULL;
6268 }
6269 }
6270{
6271 wxPy_BEGIN_ALLOW_THREADS;
6272 _result = new wxTimeSpan (wxTimeSpan___sub__(_arg0,*_arg1));
6273
6274 wxPy_END_ALLOW_THREADS;
4dfaa61e 6275 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6276} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTimeSpan_p");
6277 _resultobj = Py_BuildValue("s",_ptemp);
6278 return _resultobj;
6279}
6280
6281static wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n) { return *self * n; }
6282static PyObject *_wrap_wxTimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
6283 PyObject * _resultobj;
6284 wxTimeSpan * _result;
6285 wxTimeSpan * _arg0;
6286 int _arg1;
6287 PyObject * _argo0 = 0;
6288 char *_kwnames[] = { "self","n", NULL };
6289 char _ptemp[128];
6290
6291 self = self;
6292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTimeSpan___mul__",_kwnames,&_argo0,&_arg1))
6293 return NULL;
6294 if (_argo0) {
6295 if (_argo0 == Py_None) { _arg0 = NULL; }
6296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
6297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimeSpan___mul__. Expected _wxTimeSpan_p.");
6298 return NULL;
6299 }
6300 }
6301{
6302 wxPy_BEGIN_ALLOW_THREADS;
6303 _result = new wxTimeSpan (wxTimeSpan___mul__(_arg0,_arg1));
6304
6305 wxPy_END_ALLOW_THREADS;
4dfaa61e 6306 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6307} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTimeSpan_p");
6308 _resultobj = Py_BuildValue("s",_ptemp);
6309 return _resultobj;
6310}
6311
6312static wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n) { return n * *self; }
6313static PyObject *_wrap_wxTimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
6314 PyObject * _resultobj;
6315 wxTimeSpan * _result;
6316 wxTimeSpan * _arg0;
6317 int _arg1;
6318 PyObject * _argo0 = 0;
6319 char *_kwnames[] = { "self","n", NULL };
6320 char _ptemp[128];
6321
6322 self = self;
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTimeSpan___rmul__",_kwnames,&_argo0,&_arg1))
6324 return NULL;
6325 if (_argo0) {
6326 if (_argo0 == Py_None) { _arg0 = NULL; }
6327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
6328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimeSpan___rmul__. Expected _wxTimeSpan_p.");
6329 return NULL;
6330 }
6331 }
6332{
6333 wxPy_BEGIN_ALLOW_THREADS;
6334 _result = new wxTimeSpan (wxTimeSpan___rmul__(_arg0,_arg1));
6335
6336 wxPy_END_ALLOW_THREADS;
4dfaa61e 6337 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6338} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTimeSpan_p");
6339 _resultobj = Py_BuildValue("s",_ptemp);
6340 return _resultobj;
6341}
6342
6343static wxTimeSpan wxTimeSpan___neg__(wxTimeSpan *self) { return self->Negate(); }
6344static PyObject *_wrap_wxTimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
6345 PyObject * _resultobj;
6346 wxTimeSpan * _result;
6347 wxTimeSpan * _arg0;
6348 PyObject * _argo0 = 0;
6349 char *_kwnames[] = { "self", NULL };
6350 char _ptemp[128];
6351
6352 self = self;
6353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTimeSpan___neg__",_kwnames,&_argo0))
6354 return NULL;
6355 if (_argo0) {
6356 if (_argo0 == Py_None) { _arg0 = NULL; }
6357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
6358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimeSpan___neg__. Expected _wxTimeSpan_p.");
6359 return NULL;
6360 }
6361 }
6362{
6363 wxPy_BEGIN_ALLOW_THREADS;
6364 _result = new wxTimeSpan (wxTimeSpan___neg__(_arg0));
6365
6366 wxPy_END_ALLOW_THREADS;
4dfaa61e 6367 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6368} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTimeSpan_p");
6369 _resultobj = Py_BuildValue("s",_ptemp);
6370 return _resultobj;
6371}
6372
6373static int wxTimeSpan___cmp__(wxTimeSpan *self,const wxTimeSpan & other) {
6374 if (*self < other) return -1;
6375 if (*self == other) return 0;
6376 return 1;
6377 }
6378static PyObject *_wrap_wxTimeSpan___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
6379 PyObject * _resultobj;
6380 int _result;
6381 wxTimeSpan * _arg0;
6382 wxTimeSpan * _arg1;
6383 PyObject * _argo0 = 0;
6384 PyObject * _argo1 = 0;
6385 char *_kwnames[] = { "self","other", NULL };
6386
6387 self = self;
6388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTimeSpan___cmp__",_kwnames,&_argo0,&_argo1))
6389 return NULL;
6390 if (_argo0) {
6391 if (_argo0 == Py_None) { _arg0 = NULL; }
6392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
6393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6394 return NULL;
6395 }
6396 }
6397 if (_argo1) {
6398 if (_argo1 == Py_None) { _arg1 = NULL; }
6399 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTimeSpan_p")) {
6400 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTimeSpan___cmp__. Expected _wxTimeSpan_p.");
6401 return NULL;
6402 }
6403 }
6404{
6405 wxPy_BEGIN_ALLOW_THREADS;
6406 _result = (int )wxTimeSpan___cmp__(_arg0,*_arg1);
6407
6408 wxPy_END_ALLOW_THREADS;
4dfaa61e 6409 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6410} _resultobj = Py_BuildValue("i",_result);
6411 return _resultobj;
6412}
6413
6414#define wxTimeSpan_IsNull(_swigobj) (_swigobj->IsNull())
6415static PyObject *_wrap_wxTimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
6416 PyObject * _resultobj;
6417 bool _result;
6418 wxTimeSpan * _arg0;
6419 PyObject * _argo0 = 0;
6420 char *_kwnames[] = { "self", NULL };
6421
6422 self = self;
6423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTimeSpan_IsNull",_kwnames,&_argo0))
6424 return NULL;
6425 if (_argo0) {
6426 if (_argo0 == Py_None) { _arg0 = NULL; }
6427 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
6428 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimeSpan_IsNull. Expected _wxTimeSpan_p.");
6429 return NULL;
6430 }
6431 }
6432{
6433 wxPy_BEGIN_ALLOW_THREADS;
6434 _result = (bool )wxTimeSpan_IsNull(_arg0);
6435
6436 wxPy_END_ALLOW_THREADS;
4dfaa61e 6437 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6438} _resultobj = Py_BuildValue("i",_result);
6439 return _resultobj;
6440}
6441
6442#define wxTimeSpan_IsPositive(_swigobj) (_swigobj->IsPositive())
6443static PyObject *_wrap_wxTimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
6444 PyObject * _resultobj;
6445 bool _result;
6446 wxTimeSpan * _arg0;
6447 PyObject * _argo0 = 0;
6448 char *_kwnames[] = { "self", NULL };
6449
6450 self = self;
6451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTimeSpan_IsPositive",_kwnames,&_argo0))
6452 return NULL;
6453 if (_argo0) {
6454 if (_argo0 == Py_None) { _arg0 = NULL; }
6455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
6456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimeSpan_IsPositive. Expected _wxTimeSpan_p.");
6457 return NULL;
6458 }
6459 }
6460{
6461 wxPy_BEGIN_ALLOW_THREADS;
6462 _result = (bool )wxTimeSpan_IsPositive(_arg0);
6463
6464 wxPy_END_ALLOW_THREADS;
4dfaa61e 6465 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6466} _resultobj = Py_BuildValue("i",_result);
6467 return _resultobj;
6468}
6469
6470#define wxTimeSpan_IsNegative(_swigobj) (_swigobj->IsNegative())
6471static PyObject *_wrap_wxTimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
6472 PyObject * _resultobj;
6473 bool _result;
6474 wxTimeSpan * _arg0;
6475 PyObject * _argo0 = 0;
6476 char *_kwnames[] = { "self", NULL };
6477
6478 self = self;
6479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTimeSpan_IsNegative",_kwnames,&_argo0))
6480 return NULL;
6481 if (_argo0) {
6482 if (_argo0 == Py_None) { _arg0 = NULL; }
6483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
6484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimeSpan_IsNegative. Expected _wxTimeSpan_p.");
6485 return NULL;
6486 }
6487 }
6488{
6489 wxPy_BEGIN_ALLOW_THREADS;
6490 _result = (bool )wxTimeSpan_IsNegative(_arg0);
6491
6492 wxPy_END_ALLOW_THREADS;
4dfaa61e 6493 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6494} _resultobj = Py_BuildValue("i",_result);
6495 return _resultobj;
6496}
6497
6498#define wxTimeSpan_IsEqualTo(_swigobj,_swigarg0) (_swigobj->IsEqualTo(_swigarg0))
6499static PyObject *_wrap_wxTimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
6500 PyObject * _resultobj;
6501 bool _result;
6502 wxTimeSpan * _arg0;
6503 wxTimeSpan * _arg1;
6504 PyObject * _argo0 = 0;
6505 PyObject * _argo1 = 0;
6506 char *_kwnames[] = { "self","ts", NULL };
6507
6508 self = self;
6509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTimeSpan_IsEqualTo",_kwnames,&_argo0,&_argo1))
6510 return NULL;
6511 if (_argo0) {
6512 if (_argo0 == Py_None) { _arg0 = NULL; }
6513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
6514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6515 return NULL;
6516 }
6517 }
6518 if (_argo1) {
6519 if (_argo1 == Py_None) { _arg1 = NULL; }
6520 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTimeSpan_p")) {
6521 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTimeSpan_IsEqualTo. Expected _wxTimeSpan_p.");
6522 return NULL;
6523 }
6524 }
6525{
6526 wxPy_BEGIN_ALLOW_THREADS;
6527 _result = (bool )wxTimeSpan_IsEqualTo(_arg0,*_arg1);
6528
6529 wxPy_END_ALLOW_THREADS;
4dfaa61e 6530 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6531} _resultobj = Py_BuildValue("i",_result);
6532 return _resultobj;
6533}
6534
6535#define wxTimeSpan_IsLongerThan(_swigobj,_swigarg0) (_swigobj->IsLongerThan(_swigarg0))
6536static PyObject *_wrap_wxTimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
6537 PyObject * _resultobj;
6538 bool _result;
6539 wxTimeSpan * _arg0;
6540 wxTimeSpan * _arg1;
6541 PyObject * _argo0 = 0;
6542 PyObject * _argo1 = 0;
6543 char *_kwnames[] = { "self","ts", NULL };
6544
6545 self = self;
6546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTimeSpan_IsLongerThan",_kwnames,&_argo0,&_argo1))
6547 return NULL;
6548 if (_argo0) {
6549 if (_argo0 == Py_None) { _arg0 = NULL; }
6550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
6551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6552 return NULL;
6553 }
6554 }
6555 if (_argo1) {
6556 if (_argo1 == Py_None) { _arg1 = NULL; }
6557 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTimeSpan_p")) {
6558 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTimeSpan_IsLongerThan. Expected _wxTimeSpan_p.");
6559 return NULL;
6560 }
6561 }
6562{
6563 wxPy_BEGIN_ALLOW_THREADS;
6564 _result = (bool )wxTimeSpan_IsLongerThan(_arg0,*_arg1);
6565
6566 wxPy_END_ALLOW_THREADS;
4dfaa61e 6567 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6568} _resultobj = Py_BuildValue("i",_result);
6569 return _resultobj;
6570}
6571
6572#define wxTimeSpan_IsShorterThan(_swigobj,_swigarg0) (_swigobj->IsShorterThan(_swigarg0))
6573static PyObject *_wrap_wxTimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
6574 PyObject * _resultobj;
6575 bool _result;
6576 wxTimeSpan * _arg0;
6577 wxTimeSpan * _arg1;
6578 PyObject * _argo0 = 0;
6579 PyObject * _argo1 = 0;
6580 char *_kwnames[] = { "self","t", NULL };
6581
6582 self = self;
6583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTimeSpan_IsShorterThan",_kwnames,&_argo0,&_argo1))
6584 return NULL;
6585 if (_argo0) {
6586 if (_argo0 == Py_None) { _arg0 = NULL; }
6587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
6588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6589 return NULL;
6590 }
6591 }
6592 if (_argo1) {
6593 if (_argo1 == Py_None) { _arg1 = NULL; }
6594 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTimeSpan_p")) {
6595 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTimeSpan_IsShorterThan. Expected _wxTimeSpan_p.");
6596 return NULL;
6597 }
6598 }
6599{
6600 wxPy_BEGIN_ALLOW_THREADS;
6601 _result = (bool )wxTimeSpan_IsShorterThan(_arg0,*_arg1);
6602
6603 wxPy_END_ALLOW_THREADS;
4dfaa61e 6604 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6605} _resultobj = Py_BuildValue("i",_result);
6606 return _resultobj;
6607}
6608
6609#define wxTimeSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
6610static PyObject *_wrap_wxTimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
6611 PyObject * _resultobj;
6612 int _result;
6613 wxTimeSpan * _arg0;
6614 PyObject * _argo0 = 0;
6615 char *_kwnames[] = { "self", NULL };
6616
6617 self = self;
6618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTimeSpan_GetWeeks",_kwnames,&_argo0))
6619 return NULL;
6620 if (_argo0) {
6621 if (_argo0 == Py_None) { _arg0 = NULL; }
6622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
6623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimeSpan_GetWeeks. Expected _wxTimeSpan_p.");
6624 return NULL;
6625 }
6626 }
6627{
6628 wxPy_BEGIN_ALLOW_THREADS;
6629 _result = (int )wxTimeSpan_GetWeeks(_arg0);
6630
6631 wxPy_END_ALLOW_THREADS;
4dfaa61e 6632 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6633} _resultobj = Py_BuildValue("i",_result);
6634 return _resultobj;
6635}
6636
6637#define wxTimeSpan_GetDays(_swigobj) (_swigobj->GetDays())
6638static PyObject *_wrap_wxTimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
6639 PyObject * _resultobj;
6640 int _result;
6641 wxTimeSpan * _arg0;
6642 PyObject * _argo0 = 0;
6643 char *_kwnames[] = { "self", NULL };
6644
6645 self = self;
6646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTimeSpan_GetDays",_kwnames,&_argo0))
6647 return NULL;
6648 if (_argo0) {
6649 if (_argo0 == Py_None) { _arg0 = NULL; }
6650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
6651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimeSpan_GetDays. Expected _wxTimeSpan_p.");
6652 return NULL;
6653 }
6654 }
6655{
6656 wxPy_BEGIN_ALLOW_THREADS;
6657 _result = (int )wxTimeSpan_GetDays(_arg0);
6658
6659 wxPy_END_ALLOW_THREADS;
4dfaa61e 6660 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6661} _resultobj = Py_BuildValue("i",_result);
6662 return _resultobj;
6663}
6664
6665#define wxTimeSpan_GetHours(_swigobj) (_swigobj->GetHours())
6666static PyObject *_wrap_wxTimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
6667 PyObject * _resultobj;
6668 int _result;
6669 wxTimeSpan * _arg0;
6670 PyObject * _argo0 = 0;
6671 char *_kwnames[] = { "self", NULL };
6672
6673 self = self;
6674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTimeSpan_GetHours",_kwnames,&_argo0))
6675 return NULL;
6676 if (_argo0) {
6677 if (_argo0 == Py_None) { _arg0 = NULL; }
6678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
6679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimeSpan_GetHours. Expected _wxTimeSpan_p.");
6680 return NULL;
6681 }
6682 }
6683{
6684 wxPy_BEGIN_ALLOW_THREADS;
6685 _result = (int )wxTimeSpan_GetHours(_arg0);
6686
6687 wxPy_END_ALLOW_THREADS;
4dfaa61e 6688 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6689} _resultobj = Py_BuildValue("i",_result);
6690 return _resultobj;
6691}
6692
6693#define wxTimeSpan_GetMinutes(_swigobj) (_swigobj->GetMinutes())
6694static PyObject *_wrap_wxTimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
6695 PyObject * _resultobj;
6696 int _result;
6697 wxTimeSpan * _arg0;
6698 PyObject * _argo0 = 0;
6699 char *_kwnames[] = { "self", NULL };
6700
6701 self = self;
6702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTimeSpan_GetMinutes",_kwnames,&_argo0))
6703 return NULL;
6704 if (_argo0) {
6705 if (_argo0 == Py_None) { _arg0 = NULL; }
6706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
6707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimeSpan_GetMinutes. Expected _wxTimeSpan_p.");
6708 return NULL;
6709 }
6710 }
6711{
6712 wxPy_BEGIN_ALLOW_THREADS;
6713 _result = (int )wxTimeSpan_GetMinutes(_arg0);
6714
6715 wxPy_END_ALLOW_THREADS;
4dfaa61e 6716 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6717} _resultobj = Py_BuildValue("i",_result);
6718 return _resultobj;
6719}
6720
6721#define wxTimeSpan_GetSeconds(_swigobj) (_swigobj->GetSeconds())
6722static PyObject *_wrap_wxTimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
6723 PyObject * _resultobj;
6724 wxLongLong * _result;
6725 wxTimeSpan * _arg0;
6726 PyObject * _argo0 = 0;
6727 char *_kwnames[] = { "self", NULL };
6728
6729 self = self;
6730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTimeSpan_GetSeconds",_kwnames,&_argo0))
6731 return NULL;
6732 if (_argo0) {
6733 if (_argo0 == Py_None) { _arg0 = NULL; }
6734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
6735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimeSpan_GetSeconds. Expected _wxTimeSpan_p.");
6736 return NULL;
6737 }
6738 }
6739{
6740 wxPy_BEGIN_ALLOW_THREADS;
6741 _result = new wxLongLong (wxTimeSpan_GetSeconds(_arg0));
6742
6743 wxPy_END_ALLOW_THREADS;
4dfaa61e 6744 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6745}{
6746 PyObject *hi, *lo, *shifter, *shifted;
6747 hi = PyLong_FromLong(_result->GetHi());
6748 lo = PyLong_FromLong(_result->GetLo());
6749 shifter = PyLong_FromLong(32);
6750 shifted = PyNumber_Lshift(hi, shifter);
6751 _resultobj = PyNumber_Or(shifted, lo);
6752 Py_DECREF(hi);
6753 Py_DECREF(lo);
6754 Py_DECREF(shifter);
6755 Py_DECREF(shifted);
6756}
6757 return _resultobj;
6758}
6759
6760#define wxTimeSpan_GetMilliseconds(_swigobj) (_swigobj->GetMilliseconds())
6761static PyObject *_wrap_wxTimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
6762 PyObject * _resultobj;
6763 wxLongLong * _result;
6764 wxTimeSpan * _arg0;
6765 PyObject * _argo0 = 0;
6766 char *_kwnames[] = { "self", NULL };
6767
6768 self = self;
6769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTimeSpan_GetMilliseconds",_kwnames,&_argo0))
6770 return NULL;
6771 if (_argo0) {
6772 if (_argo0 == Py_None) { _arg0 = NULL; }
6773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
6774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimeSpan_GetMilliseconds. Expected _wxTimeSpan_p.");
6775 return NULL;
6776 }
6777 }
6778{
6779 wxPy_BEGIN_ALLOW_THREADS;
6780 _result = new wxLongLong (wxTimeSpan_GetMilliseconds(_arg0));
6781
6782 wxPy_END_ALLOW_THREADS;
4dfaa61e 6783 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6784}{
6785 PyObject *hi, *lo, *shifter, *shifted;
6786 hi = PyLong_FromLong(_result->GetHi());
6787 lo = PyLong_FromLong(_result->GetLo());
6788 shifter = PyLong_FromLong(32);
6789 shifted = PyNumber_Lshift(hi, shifter);
6790 _resultobj = PyNumber_Or(shifted, lo);
6791 Py_DECREF(hi);
6792 Py_DECREF(lo);
6793 Py_DECREF(shifter);
6794 Py_DECREF(shifted);
6795}
6796 return _resultobj;
6797}
6798
6799#define wxTimeSpan_Format(_swigobj,_swigarg0) (_swigobj->Format(_swigarg0))
6800static PyObject *_wrap_wxTimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
6801 PyObject * _resultobj;
6802 wxString * _result;
6803 wxTimeSpan * _arg0;
6804 char * _arg1 = (char *) "%c";
6805 PyObject * _argo0 = 0;
6806 char *_kwnames[] = { "self","format", NULL };
6807
6808 self = self;
6809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|s:wxTimeSpan_Format",_kwnames,&_argo0,&_arg1))
6810 return NULL;
6811 if (_argo0) {
6812 if (_argo0 == Py_None) { _arg0 = NULL; }
6813 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimeSpan_p")) {
6814 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimeSpan_Format. Expected _wxTimeSpan_p.");
6815 return NULL;
6816 }
6817 }
6818{
6819 wxPy_BEGIN_ALLOW_THREADS;
6820 _result = new wxString (wxTimeSpan_Format(_arg0,_arg1));
6821
6822 wxPy_END_ALLOW_THREADS;
4dfaa61e 6823 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6824}{
6825 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6826}
6827{
6828 delete _result;
6829}
6830 return _resultobj;
6831}
6832
6833#define new_wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxDateSpan(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6834static PyObject *_wrap_new_wxDateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
6835 PyObject * _resultobj;
6836 wxDateSpan * _result;
6837 int _arg0 = (int ) 0;
6838 int _arg1 = (int ) 0;
6839 int _arg2 = (int ) 0;
6840 int _arg3 = (int ) 0;
6841 char *_kwnames[] = { "years","months","weeks","days", NULL };
6842 char _ptemp[128];
6843
6844 self = self;
6845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxDateSpan",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
6846 return NULL;
6847{
6848 wxPy_BEGIN_ALLOW_THREADS;
6849 _result = (wxDateSpan *)new_wxDateSpan(_arg0,_arg1,_arg2,_arg3);
6850
6851 wxPy_END_ALLOW_THREADS;
4dfaa61e 6852 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6853} if (_result) {
6854 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateSpan_p");
6855 _resultobj = Py_BuildValue("s",_ptemp);
6856 } else {
6857 Py_INCREF(Py_None);
6858 _resultobj = Py_None;
6859 }
6860 return _resultobj;
6861}
6862
6863#define delete_wxDateSpan(_swigobj) (delete _swigobj)
6864static PyObject *_wrap_delete_wxDateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
6865 PyObject * _resultobj;
6866 wxDateSpan * _arg0;
6867 PyObject * _argo0 = 0;
6868 char *_kwnames[] = { "self", NULL };
6869
6870 self = self;
6871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxDateSpan",_kwnames,&_argo0))
6872 return NULL;
6873 if (_argo0) {
6874 if (_argo0 == Py_None) { _arg0 = NULL; }
6875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateSpan_p")) {
6876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxDateSpan. Expected _wxDateSpan_p.");
6877 return NULL;
6878 }
6879 }
6880{
6881 wxPy_BEGIN_ALLOW_THREADS;
6882 delete_wxDateSpan(_arg0);
6883
6884 wxPy_END_ALLOW_THREADS;
4dfaa61e 6885 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6886} Py_INCREF(Py_None);
6887 _resultobj = Py_None;
6888 return _resultobj;
6889}
6890
6891static PyObject *_wrap_wxDateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
6892 PyObject * _resultobj;
6893 wxDateSpan * _result;
6894 int _arg0;
6895 char *_kwnames[] = { "days", NULL };
6896 char _ptemp[128];
6897
6898 self = self;
6899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxDateSpan_Days",_kwnames,&_arg0))
6900 return NULL;
6901{
6902 wxPy_BEGIN_ALLOW_THREADS;
6903 _result = new wxDateSpan (wxDateSpan::Days(_arg0));
6904
6905 wxPy_END_ALLOW_THREADS;
4dfaa61e 6906 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6907} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateSpan_p");
6908 _resultobj = Py_BuildValue("s",_ptemp);
6909 return _resultobj;
6910}
6911
6912static PyObject *_wrap_wxDateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
6913 PyObject * _resultobj;
6914 wxDateSpan * _result;
6915 char *_kwnames[] = { NULL };
6916 char _ptemp[128];
6917
6918 self = self;
6919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxDateSpan_Day",_kwnames))
6920 return NULL;
6921{
6922 wxPy_BEGIN_ALLOW_THREADS;
6923 _result = new wxDateSpan (wxDateSpan::Day());
6924
6925 wxPy_END_ALLOW_THREADS;
4dfaa61e 6926 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6927} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateSpan_p");
6928 _resultobj = Py_BuildValue("s",_ptemp);
6929 return _resultobj;
6930}
6931
6932static PyObject *_wrap_wxDateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
6933 PyObject * _resultobj;
6934 wxDateSpan * _result;
6935 int _arg0;
6936 char *_kwnames[] = { "weeks", NULL };
6937 char _ptemp[128];
6938
6939 self = self;
6940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxDateSpan_Weeks",_kwnames,&_arg0))
6941 return NULL;
6942{
6943 wxPy_BEGIN_ALLOW_THREADS;
6944 _result = new wxDateSpan (wxDateSpan::Weeks(_arg0));
6945
6946 wxPy_END_ALLOW_THREADS;
4dfaa61e 6947 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6948} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateSpan_p");
6949 _resultobj = Py_BuildValue("s",_ptemp);
6950 return _resultobj;
6951}
6952
6953static PyObject *_wrap_wxDateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
6954 PyObject * _resultobj;
6955 wxDateSpan * _result;
6956 char *_kwnames[] = { NULL };
6957 char _ptemp[128];
6958
6959 self = self;
6960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxDateSpan_Week",_kwnames))
6961 return NULL;
6962{
6963 wxPy_BEGIN_ALLOW_THREADS;
6964 _result = new wxDateSpan (wxDateSpan::Week());
6965
6966 wxPy_END_ALLOW_THREADS;
4dfaa61e 6967 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6968} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateSpan_p");
6969 _resultobj = Py_BuildValue("s",_ptemp);
6970 return _resultobj;
6971}
6972
6973static PyObject *_wrap_wxDateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
6974 PyObject * _resultobj;
6975 wxDateSpan * _result;
6976 int _arg0;
6977 char *_kwnames[] = { "mon", NULL };
6978 char _ptemp[128];
6979
6980 self = self;
6981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxDateSpan_Months",_kwnames,&_arg0))
6982 return NULL;
6983{
6984 wxPy_BEGIN_ALLOW_THREADS;
6985 _result = new wxDateSpan (wxDateSpan::Months(_arg0));
6986
6987 wxPy_END_ALLOW_THREADS;
4dfaa61e 6988 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6989} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateSpan_p");
6990 _resultobj = Py_BuildValue("s",_ptemp);
6991 return _resultobj;
6992}
6993
6994static PyObject *_wrap_wxDateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
6995 PyObject * _resultobj;
6996 wxDateSpan * _result;
6997 char *_kwnames[] = { NULL };
6998 char _ptemp[128];
6999
7000 self = self;
7001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxDateSpan_Month",_kwnames))
7002 return NULL;
7003{
7004 wxPy_BEGIN_ALLOW_THREADS;
7005 _result = new wxDateSpan (wxDateSpan::Month());
7006
7007 wxPy_END_ALLOW_THREADS;
4dfaa61e 7008 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7009} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateSpan_p");
7010 _resultobj = Py_BuildValue("s",_ptemp);
7011 return _resultobj;
7012}
7013
7014static PyObject *_wrap_wxDateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
7015 PyObject * _resultobj;
7016 wxDateSpan * _result;
7017 int _arg0;
7018 char *_kwnames[] = { "years", NULL };
7019 char _ptemp[128];
7020
7021 self = self;
7022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxDateSpan_Years",_kwnames,&_arg0))
7023 return NULL;
7024{
7025 wxPy_BEGIN_ALLOW_THREADS;
7026 _result = new wxDateSpan (wxDateSpan::Years(_arg0));
7027
7028 wxPy_END_ALLOW_THREADS;
4dfaa61e 7029 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7030} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateSpan_p");
7031 _resultobj = Py_BuildValue("s",_ptemp);
7032 return _resultobj;
7033}
7034
7035static PyObject *_wrap_wxDateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
7036 PyObject * _resultobj;
7037 wxDateSpan * _result;
7038 char *_kwnames[] = { NULL };
7039 char _ptemp[128];
7040
7041 self = self;
7042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxDateSpan_Year",_kwnames))
7043 return NULL;
7044{
7045 wxPy_BEGIN_ALLOW_THREADS;
7046 _result = new wxDateSpan (wxDateSpan::Year());
7047
7048 wxPy_END_ALLOW_THREADS;
4dfaa61e 7049 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7050} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateSpan_p");
7051 _resultobj = Py_BuildValue("s",_ptemp);
7052 return _resultobj;
7053}
7054
7055#define wxDateSpan_SetYears(_swigobj,_swigarg0) (_swigobj->SetYears(_swigarg0))
7056static PyObject *_wrap_wxDateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
7057 PyObject * _resultobj;
7058 wxDateSpan * _result;
7059 wxDateSpan * _arg0;
7060 int _arg1;
7061 PyObject * _argo0 = 0;
7062 char *_kwnames[] = { "self","n", NULL };
7063 char _ptemp[128];
7064
7065 self = self;
7066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDateSpan_SetYears",_kwnames,&_argo0,&_arg1))
7067 return NULL;
7068 if (_argo0) {
7069 if (_argo0 == Py_None) { _arg0 = NULL; }
7070 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateSpan_p")) {
7071 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateSpan_SetYears. Expected _wxDateSpan_p.");
7072 return NULL;
7073 }
7074 }
7075{
7076 wxPy_BEGIN_ALLOW_THREADS;
7077 wxDateSpan & _result_ref = wxDateSpan_SetYears(_arg0,_arg1);
7078 _result = (wxDateSpan *) &_result_ref;
7079
7080 wxPy_END_ALLOW_THREADS;
4dfaa61e 7081 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7082} if (_result) {
7083 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateSpan_p");
7084 _resultobj = Py_BuildValue("s",_ptemp);
7085 } else {
7086 Py_INCREF(Py_None);
7087 _resultobj = Py_None;
7088 }
7089 return _resultobj;
7090}
7091
7092#define wxDateSpan_SetMonths(_swigobj,_swigarg0) (_swigobj->SetMonths(_swigarg0))
7093static PyObject *_wrap_wxDateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
7094 PyObject * _resultobj;
7095 wxDateSpan * _result;
7096 wxDateSpan * _arg0;
7097 int _arg1;
7098 PyObject * _argo0 = 0;
7099 char *_kwnames[] = { "self","n", NULL };
7100 char _ptemp[128];
7101
7102 self = self;
7103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDateSpan_SetMonths",_kwnames,&_argo0,&_arg1))
7104 return NULL;
7105 if (_argo0) {
7106 if (_argo0 == Py_None) { _arg0 = NULL; }
7107 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateSpan_p")) {
7108 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateSpan_SetMonths. Expected _wxDateSpan_p.");
7109 return NULL;
7110 }
7111 }
7112{
7113 wxPy_BEGIN_ALLOW_THREADS;
7114 wxDateSpan & _result_ref = wxDateSpan_SetMonths(_arg0,_arg1);
7115 _result = (wxDateSpan *) &_result_ref;
7116
7117 wxPy_END_ALLOW_THREADS;
4dfaa61e 7118 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7119} if (_result) {
7120 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateSpan_p");
7121 _resultobj = Py_BuildValue("s",_ptemp);
7122 } else {
7123 Py_INCREF(Py_None);
7124 _resultobj = Py_None;
7125 }
7126 return _resultobj;
7127}
7128
7129#define wxDateSpan_SetWeeks(_swigobj,_swigarg0) (_swigobj->SetWeeks(_swigarg0))
7130static PyObject *_wrap_wxDateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
7131 PyObject * _resultobj;
7132 wxDateSpan * _result;
7133 wxDateSpan * _arg0;
7134 int _arg1;
7135 PyObject * _argo0 = 0;
7136 char *_kwnames[] = { "self","n", NULL };
7137 char _ptemp[128];
7138
7139 self = self;
7140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDateSpan_SetWeeks",_kwnames,&_argo0,&_arg1))
7141 return NULL;
7142 if (_argo0) {
7143 if (_argo0 == Py_None) { _arg0 = NULL; }
7144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateSpan_p")) {
7145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateSpan_SetWeeks. Expected _wxDateSpan_p.");
7146 return NULL;
7147 }
7148 }
7149{
7150 wxPy_BEGIN_ALLOW_THREADS;
7151 wxDateSpan & _result_ref = wxDateSpan_SetWeeks(_arg0,_arg1);
7152 _result = (wxDateSpan *) &_result_ref;
7153
7154 wxPy_END_ALLOW_THREADS;
4dfaa61e 7155 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7156} if (_result) {
7157 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateSpan_p");
7158 _resultobj = Py_BuildValue("s",_ptemp);
7159 } else {
7160 Py_INCREF(Py_None);
7161 _resultobj = Py_None;
7162 }
7163 return _resultobj;
7164}
7165
7166#define wxDateSpan_SetDays(_swigobj,_swigarg0) (_swigobj->SetDays(_swigarg0))
7167static PyObject *_wrap_wxDateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
7168 PyObject * _resultobj;
7169 wxDateSpan * _result;
7170 wxDateSpan * _arg0;
7171 int _arg1;
7172 PyObject * _argo0 = 0;
7173 char *_kwnames[] = { "self","n", NULL };
7174 char _ptemp[128];
7175
7176 self = self;
7177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDateSpan_SetDays",_kwnames,&_argo0,&_arg1))
7178 return NULL;
7179 if (_argo0) {
7180 if (_argo0 == Py_None) { _arg0 = NULL; }
7181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateSpan_p")) {
7182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateSpan_SetDays. Expected _wxDateSpan_p.");
7183 return NULL;
7184 }
7185 }
7186{
7187 wxPy_BEGIN_ALLOW_THREADS;
7188 wxDateSpan & _result_ref = wxDateSpan_SetDays(_arg0,_arg1);
7189 _result = (wxDateSpan *) &_result_ref;
7190
7191 wxPy_END_ALLOW_THREADS;
4dfaa61e 7192 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7193} if (_result) {
7194 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateSpan_p");
7195 _resultobj = Py_BuildValue("s",_ptemp);
7196 } else {
7197 Py_INCREF(Py_None);
7198 _resultobj = Py_None;
7199 }
7200 return _resultobj;
7201}
7202
7203#define wxDateSpan_GetYears(_swigobj) (_swigobj->GetYears())
7204static PyObject *_wrap_wxDateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
7205 PyObject * _resultobj;
7206 int _result;
7207 wxDateSpan * _arg0;
7208 PyObject * _argo0 = 0;
7209 char *_kwnames[] = { "self", NULL };
7210
7211 self = self;
7212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDateSpan_GetYears",_kwnames,&_argo0))
7213 return NULL;
7214 if (_argo0) {
7215 if (_argo0 == Py_None) { _arg0 = NULL; }
7216 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateSpan_p")) {
7217 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateSpan_GetYears. Expected _wxDateSpan_p.");
7218 return NULL;
7219 }
7220 }
7221{
7222 wxPy_BEGIN_ALLOW_THREADS;
7223 _result = (int )wxDateSpan_GetYears(_arg0);
7224
7225 wxPy_END_ALLOW_THREADS;
4dfaa61e 7226 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7227} _resultobj = Py_BuildValue("i",_result);
7228 return _resultobj;
7229}
7230
7231#define wxDateSpan_GetMonths(_swigobj) (_swigobj->GetMonths())
7232static PyObject *_wrap_wxDateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
7233 PyObject * _resultobj;
7234 int _result;
7235 wxDateSpan * _arg0;
7236 PyObject * _argo0 = 0;
7237 char *_kwnames[] = { "self", NULL };
7238
7239 self = self;
7240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDateSpan_GetMonths",_kwnames,&_argo0))
7241 return NULL;
7242 if (_argo0) {
7243 if (_argo0 == Py_None) { _arg0 = NULL; }
7244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateSpan_p")) {
7245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateSpan_GetMonths. Expected _wxDateSpan_p.");
7246 return NULL;
7247 }
7248 }
7249{
7250 wxPy_BEGIN_ALLOW_THREADS;
7251 _result = (int )wxDateSpan_GetMonths(_arg0);
7252
7253 wxPy_END_ALLOW_THREADS;
4dfaa61e 7254 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7255} _resultobj = Py_BuildValue("i",_result);
7256 return _resultobj;
7257}
7258
7259#define wxDateSpan_GetWeeks(_swigobj) (_swigobj->GetWeeks())
7260static PyObject *_wrap_wxDateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
7261 PyObject * _resultobj;
7262 int _result;
7263 wxDateSpan * _arg0;
7264 PyObject * _argo0 = 0;
7265 char *_kwnames[] = { "self", NULL };
7266
7267 self = self;
7268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDateSpan_GetWeeks",_kwnames,&_argo0))
7269 return NULL;
7270 if (_argo0) {
7271 if (_argo0 == Py_None) { _arg0 = NULL; }
7272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateSpan_p")) {
7273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateSpan_GetWeeks. Expected _wxDateSpan_p.");
7274 return NULL;
7275 }
7276 }
7277{
7278 wxPy_BEGIN_ALLOW_THREADS;
7279 _result = (int )wxDateSpan_GetWeeks(_arg0);
7280
7281 wxPy_END_ALLOW_THREADS;
4dfaa61e 7282 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7283} _resultobj = Py_BuildValue("i",_result);
7284 return _resultobj;
7285}
7286
7287#define wxDateSpan_GetDays(_swigobj) (_swigobj->GetDays())
7288static PyObject *_wrap_wxDateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
7289 PyObject * _resultobj;
7290 int _result;
7291 wxDateSpan * _arg0;
7292 PyObject * _argo0 = 0;
7293 char *_kwnames[] = { "self", NULL };
7294
7295 self = self;
7296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDateSpan_GetDays",_kwnames,&_argo0))
7297 return NULL;
7298 if (_argo0) {
7299 if (_argo0 == Py_None) { _arg0 = NULL; }
7300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateSpan_p")) {
7301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateSpan_GetDays. Expected _wxDateSpan_p.");
7302 return NULL;
7303 }
7304 }
7305{
7306 wxPy_BEGIN_ALLOW_THREADS;
7307 _result = (int )wxDateSpan_GetDays(_arg0);
7308
7309 wxPy_END_ALLOW_THREADS;
4dfaa61e 7310 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7311} _resultobj = Py_BuildValue("i",_result);
7312 return _resultobj;
7313}
7314
7315#define wxDateSpan_GetTotalDays(_swigobj) (_swigobj->GetTotalDays())
7316static PyObject *_wrap_wxDateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
7317 PyObject * _resultobj;
7318 int _result;
7319 wxDateSpan * _arg0;
7320 PyObject * _argo0 = 0;
7321 char *_kwnames[] = { "self", NULL };
7322
7323 self = self;
7324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDateSpan_GetTotalDays",_kwnames,&_argo0))
7325 return NULL;
7326 if (_argo0) {
7327 if (_argo0 == Py_None) { _arg0 = NULL; }
7328 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateSpan_p")) {
7329 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateSpan_GetTotalDays. Expected _wxDateSpan_p.");
7330 return NULL;
7331 }
7332 }
7333{
7334 wxPy_BEGIN_ALLOW_THREADS;
7335 _result = (int )wxDateSpan_GetTotalDays(_arg0);
7336
7337 wxPy_END_ALLOW_THREADS;
4dfaa61e 7338 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7339} _resultobj = Py_BuildValue("i",_result);
7340 return _resultobj;
7341}
7342
7343#define wxDateSpan_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
7344static PyObject *_wrap_wxDateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
7345 PyObject * _resultobj;
7346 wxDateSpan * _result;
7347 wxDateSpan * _arg0;
7348 wxDateSpan * _arg1;
7349 PyObject * _argo0 = 0;
7350 PyObject * _argo1 = 0;
7351 char *_kwnames[] = { "self","other", NULL };
7352 char _ptemp[128];
7353
7354 self = self;
7355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDateSpan_Add",_kwnames,&_argo0,&_argo1))
7356 return NULL;
7357 if (_argo0) {
7358 if (_argo0 == Py_None) { _arg0 = NULL; }
7359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateSpan_p")) {
7360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7361 return NULL;
7362 }
7363 }
7364 if (_argo1) {
7365 if (_argo1 == Py_None) { _arg1 = NULL; }
7366 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDateSpan_p")) {
7367 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDateSpan_Add. Expected _wxDateSpan_p.");
7368 return NULL;
7369 }
7370 }
7371{
7372 wxPy_BEGIN_ALLOW_THREADS;
7373 wxDateSpan & _result_ref = wxDateSpan_Add(_arg0,*_arg1);
7374 _result = (wxDateSpan *) &_result_ref;
7375
7376 wxPy_END_ALLOW_THREADS;
4dfaa61e 7377 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7378} if (_result) {
7379 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateSpan_p");
7380 _resultobj = Py_BuildValue("s",_ptemp);
7381 } else {
7382 Py_INCREF(Py_None);
7383 _resultobj = Py_None;
7384 }
7385 return _resultobj;
7386}
7387
7388#define wxDateSpan_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
7389static PyObject *_wrap_wxDateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
7390 PyObject * _resultobj;
7391 wxDateSpan * _result;
7392 wxDateSpan * _arg0;
7393 wxDateSpan * _arg1;
7394 PyObject * _argo0 = 0;
7395 PyObject * _argo1 = 0;
7396 char *_kwnames[] = { "self","other", NULL };
7397 char _ptemp[128];
7398
7399 self = self;
7400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDateSpan_Subtract",_kwnames,&_argo0,&_argo1))
7401 return NULL;
7402 if (_argo0) {
7403 if (_argo0 == Py_None) { _arg0 = NULL; }
7404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateSpan_p")) {
7405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7406 return NULL;
7407 }
7408 }
7409 if (_argo1) {
7410 if (_argo1 == Py_None) { _arg1 = NULL; }
7411 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDateSpan_p")) {
7412 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDateSpan_Subtract. Expected _wxDateSpan_p.");
7413 return NULL;
7414 }
7415 }
7416{
7417 wxPy_BEGIN_ALLOW_THREADS;
7418 wxDateSpan & _result_ref = wxDateSpan_Subtract(_arg0,*_arg1);
7419 _result = (wxDateSpan *) &_result_ref;
7420
7421 wxPy_END_ALLOW_THREADS;
4dfaa61e 7422 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7423} if (_result) {
7424 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateSpan_p");
7425 _resultobj = Py_BuildValue("s",_ptemp);
7426 } else {
7427 Py_INCREF(Py_None);
7428 _resultobj = Py_None;
7429 }
7430 return _resultobj;
7431}
7432
7433#define wxDateSpan_Neg(_swigobj) (_swigobj->Neg())
7434static PyObject *_wrap_wxDateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
7435 PyObject * _resultobj;
7436 wxDateSpan * _result;
7437 wxDateSpan * _arg0;
7438 PyObject * _argo0 = 0;
7439 char *_kwnames[] = { "self", NULL };
7440 char _ptemp[128];
7441
7442 self = self;
7443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDateSpan_Neg",_kwnames,&_argo0))
7444 return NULL;
7445 if (_argo0) {
7446 if (_argo0 == Py_None) { _arg0 = NULL; }
7447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateSpan_p")) {
7448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateSpan_Neg. Expected _wxDateSpan_p.");
7449 return NULL;
7450 }
7451 }
7452{
7453 wxPy_BEGIN_ALLOW_THREADS;
7454 wxDateSpan & _result_ref = wxDateSpan_Neg(_arg0);
7455 _result = (wxDateSpan *) &_result_ref;
7456
7457 wxPy_END_ALLOW_THREADS;
4dfaa61e 7458 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7459} if (_result) {
7460 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateSpan_p");
7461 _resultobj = Py_BuildValue("s",_ptemp);
7462 } else {
7463 Py_INCREF(Py_None);
7464 _resultobj = Py_None;
7465 }
7466 return _resultobj;
7467}
7468
7469#define wxDateSpan_Multiply(_swigobj,_swigarg0) (_swigobj->Multiply(_swigarg0))
7470static PyObject *_wrap_wxDateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
7471 PyObject * _resultobj;
7472 wxDateSpan * _result;
7473 wxDateSpan * _arg0;
7474 int _arg1;
7475 PyObject * _argo0 = 0;
7476 char *_kwnames[] = { "self","factor", NULL };
7477 char _ptemp[128];
7478
7479 self = self;
7480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDateSpan_Multiply",_kwnames,&_argo0,&_arg1))
7481 return NULL;
7482 if (_argo0) {
7483 if (_argo0 == Py_None) { _arg0 = NULL; }
7484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateSpan_p")) {
7485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateSpan_Multiply. Expected _wxDateSpan_p.");
7486 return NULL;
7487 }
7488 }
7489{
7490 wxPy_BEGIN_ALLOW_THREADS;
7491 wxDateSpan & _result_ref = wxDateSpan_Multiply(_arg0,_arg1);
7492 _result = (wxDateSpan *) &_result_ref;
7493
7494 wxPy_END_ALLOW_THREADS;
4dfaa61e 7495 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7496} if (_result) {
7497 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateSpan_p");
7498 _resultobj = Py_BuildValue("s",_ptemp);
7499 } else {
7500 Py_INCREF(Py_None);
7501 _resultobj = Py_None;
7502 }
7503 return _resultobj;
7504}
7505
7506static wxDateSpan wxDateSpan___add__(wxDateSpan *self,const wxDateSpan & other) { return *self + other; }
7507static PyObject *_wrap_wxDateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
7508 PyObject * _resultobj;
7509 wxDateSpan * _result;
7510 wxDateSpan * _arg0;
7511 wxDateSpan * _arg1;
7512 PyObject * _argo0 = 0;
7513 PyObject * _argo1 = 0;
7514 char *_kwnames[] = { "self","other", NULL };
7515 char _ptemp[128];
7516
7517 self = self;
7518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDateSpan___add__",_kwnames,&_argo0,&_argo1))
7519 return NULL;
7520 if (_argo0) {
7521 if (_argo0 == Py_None) { _arg0 = NULL; }
7522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateSpan_p")) {
7523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7524 return NULL;
7525 }
7526 }
7527 if (_argo1) {
7528 if (_argo1 == Py_None) { _arg1 = NULL; }
7529 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDateSpan_p")) {
7530 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDateSpan___add__. Expected _wxDateSpan_p.");
7531 return NULL;
7532 }
7533 }
7534{
7535 wxPy_BEGIN_ALLOW_THREADS;
7536 _result = new wxDateSpan (wxDateSpan___add__(_arg0,*_arg1));
7537
7538 wxPy_END_ALLOW_THREADS;
4dfaa61e 7539 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7540} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateSpan_p");
7541 _resultobj = Py_BuildValue("s",_ptemp);
7542 return _resultobj;
7543}
7544
7545static wxDateSpan wxDateSpan___sub__(wxDateSpan *self,const wxDateSpan & other) { return *self - other; }
7546static PyObject *_wrap_wxDateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
7547 PyObject * _resultobj;
7548 wxDateSpan * _result;
7549 wxDateSpan * _arg0;
7550 wxDateSpan * _arg1;
7551 PyObject * _argo0 = 0;
7552 PyObject * _argo1 = 0;
7553 char *_kwnames[] = { "self","other", NULL };
7554 char _ptemp[128];
7555
7556 self = self;
7557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDateSpan___sub__",_kwnames,&_argo0,&_argo1))
7558 return NULL;
7559 if (_argo0) {
7560 if (_argo0 == Py_None) { _arg0 = NULL; }
7561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateSpan_p")) {
7562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7563 return NULL;
7564 }
7565 }
7566 if (_argo1) {
7567 if (_argo1 == Py_None) { _arg1 = NULL; }
7568 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDateSpan_p")) {
7569 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDateSpan___sub__. Expected _wxDateSpan_p.");
7570 return NULL;
7571 }
7572 }
7573{
7574 wxPy_BEGIN_ALLOW_THREADS;
7575 _result = new wxDateSpan (wxDateSpan___sub__(_arg0,*_arg1));
7576
7577 wxPy_END_ALLOW_THREADS;
4dfaa61e 7578 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7579} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateSpan_p");
7580 _resultobj = Py_BuildValue("s",_ptemp);
7581 return _resultobj;
7582}
7583
7584static wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n) { return *self * n; }
7585static PyObject *_wrap_wxDateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
7586 PyObject * _resultobj;
7587 wxDateSpan * _result;
7588 wxDateSpan * _arg0;
7589 int _arg1;
7590 PyObject * _argo0 = 0;
7591 char *_kwnames[] = { "self","n", NULL };
7592 char _ptemp[128];
7593
7594 self = self;
7595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDateSpan___mul__",_kwnames,&_argo0,&_arg1))
7596 return NULL;
7597 if (_argo0) {
7598 if (_argo0 == Py_None) { _arg0 = NULL; }
7599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateSpan_p")) {
7600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateSpan___mul__. Expected _wxDateSpan_p.");
7601 return NULL;
7602 }
7603 }
7604{
7605 wxPy_BEGIN_ALLOW_THREADS;
7606 _result = new wxDateSpan (wxDateSpan___mul__(_arg0,_arg1));
7607
7608 wxPy_END_ALLOW_THREADS;
4dfaa61e 7609 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7610} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateSpan_p");
7611 _resultobj = Py_BuildValue("s",_ptemp);
7612 return _resultobj;
7613}
7614
7615static wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n) { return n * *self; }
7616static PyObject *_wrap_wxDateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
7617 PyObject * _resultobj;
7618 wxDateSpan * _result;
7619 wxDateSpan * _arg0;
7620 int _arg1;
7621 PyObject * _argo0 = 0;
7622 char *_kwnames[] = { "self","n", NULL };
7623 char _ptemp[128];
7624
7625 self = self;
7626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDateSpan___rmul__",_kwnames,&_argo0,&_arg1))
7627 return NULL;
7628 if (_argo0) {
7629 if (_argo0 == Py_None) { _arg0 = NULL; }
7630 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateSpan_p")) {
7631 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateSpan___rmul__. Expected _wxDateSpan_p.");
7632 return NULL;
7633 }
7634 }
7635{
7636 wxPy_BEGIN_ALLOW_THREADS;
7637 _result = new wxDateSpan (wxDateSpan___rmul__(_arg0,_arg1));
7638
7639 wxPy_END_ALLOW_THREADS;
4dfaa61e 7640 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7641} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateSpan_p");
7642 _resultobj = Py_BuildValue("s",_ptemp);
7643 return _resultobj;
7644}
7645
7646static wxDateSpan wxDateSpan___neg__(wxDateSpan *self) { return self->Negate(); }
7647static PyObject *_wrap_wxDateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
7648 PyObject * _resultobj;
7649 wxDateSpan * _result;
7650 wxDateSpan * _arg0;
7651 PyObject * _argo0 = 0;
7652 char *_kwnames[] = { "self", NULL };
7653 char _ptemp[128];
7654
7655 self = self;
7656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDateSpan___neg__",_kwnames,&_argo0))
7657 return NULL;
7658 if (_argo0) {
7659 if (_argo0 == Py_None) { _arg0 = NULL; }
7660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDateSpan_p")) {
7661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDateSpan___neg__. Expected _wxDateSpan_p.");
7662 return NULL;
7663 }
7664 }
7665{
7666 wxPy_BEGIN_ALLOW_THREADS;
7667 _result = new wxDateSpan (wxDateSpan___neg__(_arg0));
7668
7669 wxPy_END_ALLOW_THREADS;
4dfaa61e 7670 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
7671} SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateSpan_p");
7672 _resultobj = Py_BuildValue("s",_ptemp);
7673 return _resultobj;
7674}
7675
7676static PyMethodDef utilscMethods[] = {
7677 { "wxDateSpan___neg__", (PyCFunction) _wrap_wxDateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
7678 { "wxDateSpan___rmul__", (PyCFunction) _wrap_wxDateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
7679 { "wxDateSpan___mul__", (PyCFunction) _wrap_wxDateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
7680 { "wxDateSpan___sub__", (PyCFunction) _wrap_wxDateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
7681 { "wxDateSpan___add__", (PyCFunction) _wrap_wxDateSpan___add__, METH_VARARGS | METH_KEYWORDS },
7682 { "wxDateSpan_Multiply", (PyCFunction) _wrap_wxDateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
7683 { "wxDateSpan_Neg", (PyCFunction) _wrap_wxDateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
7684 { "wxDateSpan_Subtract", (PyCFunction) _wrap_wxDateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
7685 { "wxDateSpan_Add", (PyCFunction) _wrap_wxDateSpan_Add, METH_VARARGS | METH_KEYWORDS },
7686 { "wxDateSpan_GetTotalDays", (PyCFunction) _wrap_wxDateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
7687 { "wxDateSpan_GetDays", (PyCFunction) _wrap_wxDateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
7688 { "wxDateSpan_GetWeeks", (PyCFunction) _wrap_wxDateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
7689 { "wxDateSpan_GetMonths", (PyCFunction) _wrap_wxDateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
7690 { "wxDateSpan_GetYears", (PyCFunction) _wrap_wxDateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
7691 { "wxDateSpan_SetDays", (PyCFunction) _wrap_wxDateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
7692 { "wxDateSpan_SetWeeks", (PyCFunction) _wrap_wxDateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
7693 { "wxDateSpan_SetMonths", (PyCFunction) _wrap_wxDateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
7694 { "wxDateSpan_SetYears", (PyCFunction) _wrap_wxDateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
7695 { "wxDateSpan_Year", (PyCFunction) _wrap_wxDateSpan_Year, METH_VARARGS | METH_KEYWORDS },
7696 { "wxDateSpan_Years", (PyCFunction) _wrap_wxDateSpan_Years, METH_VARARGS | METH_KEYWORDS },
7697 { "wxDateSpan_Month", (PyCFunction) _wrap_wxDateSpan_Month, METH_VARARGS | METH_KEYWORDS },
7698 { "wxDateSpan_Months", (PyCFunction) _wrap_wxDateSpan_Months, METH_VARARGS | METH_KEYWORDS },
7699 { "wxDateSpan_Week", (PyCFunction) _wrap_wxDateSpan_Week, METH_VARARGS | METH_KEYWORDS },
7700 { "wxDateSpan_Weeks", (PyCFunction) _wrap_wxDateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
7701 { "wxDateSpan_Day", (PyCFunction) _wrap_wxDateSpan_Day, METH_VARARGS | METH_KEYWORDS },
7702 { "wxDateSpan_Days", (PyCFunction) _wrap_wxDateSpan_Days, METH_VARARGS | METH_KEYWORDS },
7703 { "delete_wxDateSpan", (PyCFunction) _wrap_delete_wxDateSpan, METH_VARARGS | METH_KEYWORDS },
7704 { "new_wxDateSpan", (PyCFunction) _wrap_new_wxDateSpan, METH_VARARGS | METH_KEYWORDS },
7705 { "wxTimeSpan_Format", (PyCFunction) _wrap_wxTimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
7706 { "wxTimeSpan_GetMilliseconds", (PyCFunction) _wrap_wxTimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
7707 { "wxTimeSpan_GetSeconds", (PyCFunction) _wrap_wxTimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
7708 { "wxTimeSpan_GetMinutes", (PyCFunction) _wrap_wxTimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
7709 { "wxTimeSpan_GetHours", (PyCFunction) _wrap_wxTimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
7710 { "wxTimeSpan_GetDays", (PyCFunction) _wrap_wxTimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
7711 { "wxTimeSpan_GetWeeks", (PyCFunction) _wrap_wxTimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
7712 { "wxTimeSpan_IsShorterThan", (PyCFunction) _wrap_wxTimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
7713 { "wxTimeSpan_IsLongerThan", (PyCFunction) _wrap_wxTimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
7714 { "wxTimeSpan_IsEqualTo", (PyCFunction) _wrap_wxTimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
7715 { "wxTimeSpan_IsNegative", (PyCFunction) _wrap_wxTimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
7716 { "wxTimeSpan_IsPositive", (PyCFunction) _wrap_wxTimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
7717 { "wxTimeSpan_IsNull", (PyCFunction) _wrap_wxTimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
7718 { "wxTimeSpan___cmp__", (PyCFunction) _wrap_wxTimeSpan___cmp__, METH_VARARGS | METH_KEYWORDS },
7719 { "wxTimeSpan___neg__", (PyCFunction) _wrap_wxTimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
7720 { "wxTimeSpan___rmul__", (PyCFunction) _wrap_wxTimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
7721 { "wxTimeSpan___mul__", (PyCFunction) _wrap_wxTimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
7722 { "wxTimeSpan___sub__", (PyCFunction) _wrap_wxTimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
7723 { "wxTimeSpan___add__", (PyCFunction) _wrap_wxTimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
7724 { "wxTimeSpan_Abs", (PyCFunction) _wrap_wxTimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
7725 { "wxTimeSpan_Neg", (PyCFunction) _wrap_wxTimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
7726 { "wxTimeSpan_Multiply", (PyCFunction) _wrap_wxTimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
7727 { "wxTimeSpan_Subtract", (PyCFunction) _wrap_wxTimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
7728 { "wxTimeSpan_Add", (PyCFunction) _wrap_wxTimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
7729 { "delete_wxTimeSpan", (PyCFunction) _wrap_delete_wxTimeSpan, METH_VARARGS | METH_KEYWORDS },
7730 { "new_wxTimeSpan", (PyCFunction) _wrap_new_wxTimeSpan, METH_VARARGS | METH_KEYWORDS },
7731 { "wxTimeSpan_Week", (PyCFunction) _wrap_wxTimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
7732 { "wxTimeSpan_Weeks", (PyCFunction) _wrap_wxTimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
7733 { "wxTimeSpan_Day", (PyCFunction) _wrap_wxTimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
7734 { "wxTimeSpan_Days", (PyCFunction) _wrap_wxTimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
7735 { "wxTimeSpan_Hour", (PyCFunction) _wrap_wxTimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
7736 { "wxTimeSpan_Hours", (PyCFunction) _wrap_wxTimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
7737 { "wxTimeSpan_Minute", (PyCFunction) _wrap_wxTimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
7738 { "wxTimeSpan_Minutes", (PyCFunction) _wrap_wxTimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
7739 { "wxTimeSpan_Second", (PyCFunction) _wrap_wxTimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
7740 { "wxTimeSpan_Seconds", (PyCFunction) _wrap_wxTimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
7741 { "wxDateTime_FormatISOTime", (PyCFunction) _wrap_wxDateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
7742 { "wxDateTime_FormatISODate", (PyCFunction) _wrap_wxDateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
7743 { "wxDateTime_FormatTime", (PyCFunction) _wrap_wxDateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
7744 { "wxDateTime_FormatDate", (PyCFunction) _wrap_wxDateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
7745 { "wxDateTime_Format", (PyCFunction) _wrap_wxDateTime_Format, METH_VARARGS | METH_KEYWORDS },
7746 { "wxDateTime_ParseTime", (PyCFunction) _wrap_wxDateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
7747 { "wxDateTime_ParseDate", (PyCFunction) _wrap_wxDateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
7748 { "wxDateTime_ParseDateTime", (PyCFunction) _wrap_wxDateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
7749 { "wxDateTime_ParseFormat", (PyCFunction) _wrap_wxDateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
7750 { "wxDateTime_ParseRfc822Date", (PyCFunction) _wrap_wxDateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
7751 { "wxDateTime___cmp__", (PyCFunction) _wrap_wxDateTime___cmp__, METH_VARARGS | METH_KEYWORDS },
7752 { "wxDateTime___sub__DS", (PyCFunction) _wrap_wxDateTime___sub__DS, METH_VARARGS | METH_KEYWORDS },
7753 { "wxDateTime___sub__TS", (PyCFunction) _wrap_wxDateTime___sub__TS, METH_VARARGS | METH_KEYWORDS },
7754 { "wxDateTime___sub__DT", (PyCFunction) _wrap_wxDateTime___sub__DT, METH_VARARGS | METH_KEYWORDS },
7755 { "wxDateTime___add__DS", (PyCFunction) _wrap_wxDateTime___add__DS, METH_VARARGS | METH_KEYWORDS },
7756 { "wxDateTime___add__TS", (PyCFunction) _wrap_wxDateTime___add__TS, METH_VARARGS | METH_KEYWORDS },
7757 { "wxDateTime_Subtract", (PyCFunction) _wrap_wxDateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
7758 { "wxDateTime_SubtractDS", (PyCFunction) _wrap_wxDateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
7759 { "wxDateTime_SubtractTS", (PyCFunction) _wrap_wxDateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
7760 { "wxDateTime_AddDS", (PyCFunction) _wrap_wxDateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
7761 { "wxDateTime_AddTS", (PyCFunction) _wrap_wxDateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
7762 { "wxDateTime_IsEqualUpTo", (PyCFunction) _wrap_wxDateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
7763 { "wxDateTime_IsSameTime", (PyCFunction) _wrap_wxDateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
7764 { "wxDateTime_IsSameDate", (PyCFunction) _wrap_wxDateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
7765 { "wxDateTime_IsBetween", (PyCFunction) _wrap_wxDateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
7766 { "wxDateTime_IsStrictlyBetween", (PyCFunction) _wrap_wxDateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
7767 { "wxDateTime_IsLaterThan", (PyCFunction) _wrap_wxDateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
7768 { "wxDateTime_IsEarlierThan", (PyCFunction) _wrap_wxDateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
7769 { "wxDateTime_IsEqualTo", (PyCFunction) _wrap_wxDateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
7770 { "wxDateTime_IsWorkDay", (PyCFunction) _wrap_wxDateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
7771 { "wxDateTime_GetWeekOfMonth", (PyCFunction) _wrap_wxDateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
7772 { "wxDateTime_GetWeekOfYear", (PyCFunction) _wrap_wxDateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
7773 { "wxDateTime_GetDayOfYear", (PyCFunction) _wrap_wxDateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
7774 { "wxDateTime_GetMillisecond", (PyCFunction) _wrap_wxDateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
7775 { "wxDateTime_GetSecond", (PyCFunction) _wrap_wxDateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
7776 { "wxDateTime_GetMinute", (PyCFunction) _wrap_wxDateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
7777 { "wxDateTime_GetHour", (PyCFunction) _wrap_wxDateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
7778 { "wxDateTime_GetDay", (PyCFunction) _wrap_wxDateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
7779 { "wxDateTime_GetMonth", (PyCFunction) _wrap_wxDateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
7780 { "wxDateTime_GetYear", (PyCFunction) _wrap_wxDateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
7781 { "wxDateTime_GetTicks", (PyCFunction) _wrap_wxDateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
7782 { "wxDateTime_IsValid", (PyCFunction) _wrap_wxDateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
7783 { "wxDateTime_IsDST", (PyCFunction) _wrap_wxDateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
7784 { "wxDateTime_MakeGMT", (PyCFunction) _wrap_wxDateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
7785 { "wxDateTime_ToGMT", (PyCFunction) _wrap_wxDateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
7786 { "wxDateTime_MakeTimezone", (PyCFunction) _wrap_wxDateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
7787 { "wxDateTime_ToTimezone", (PyCFunction) _wrap_wxDateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
7788 { "wxDateTime_GetRataDie", (PyCFunction) _wrap_wxDateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
7789 { "wxDateTime_GetMJD", (PyCFunction) _wrap_wxDateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
7790 { "wxDateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_wxDateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
7791 { "wxDateTime_GetJDN", (PyCFunction) _wrap_wxDateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
7792 { "wxDateTime_GetJulianDayNumber", (PyCFunction) _wrap_wxDateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
7793 { "wxDateTime_GetYearDay", (PyCFunction) _wrap_wxDateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
7794 { "wxDateTime_SetToYearDay", (PyCFunction) _wrap_wxDateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
7795 { "wxDateTime_GetLastMonthDay", (PyCFunction) _wrap_wxDateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
7796 { "wxDateTime_SetToLastMonthDay", (PyCFunction) _wrap_wxDateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
7797 { "wxDateTime_GetWeek", (PyCFunction) _wrap_wxDateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
7798 { "wxDateTime_SetToTheWeek", (PyCFunction) _wrap_wxDateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
7799 { "wxDateTime_GetLastWeekDay", (PyCFunction) _wrap_wxDateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
7800 { "wxDateTime_SetToLastWeekDay", (PyCFunction) _wrap_wxDateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
7801 { "wxDateTime_GetWeekDay", (PyCFunction) _wrap_wxDateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
7802 { "wxDateTime_SetToWeekDay", (PyCFunction) _wrap_wxDateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
7803 { "wxDateTime_GetPrevWeekDay", (PyCFunction) _wrap_wxDateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
7804 { "wxDateTime_SetToPrevWeekDay", (PyCFunction) _wrap_wxDateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
7805 { "wxDateTime_GetNextWeekDay", (PyCFunction) _wrap_wxDateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
7806 { "wxDateTime_SetToNextWeekDay", (PyCFunction) _wrap_wxDateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
7807 { "wxDateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_wxDateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
7808 { "wxDateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_wxDateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
7809 { "wxDateTime_SetMillisecond", (PyCFunction) _wrap_wxDateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
7810 { "wxDateTime_SetSecond", (PyCFunction) _wrap_wxDateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
7811 { "wxDateTime_SetMinute", (PyCFunction) _wrap_wxDateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
7812 { "wxDateTime_SetHour", (PyCFunction) _wrap_wxDateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
7813 { "wxDateTime_SetDay", (PyCFunction) _wrap_wxDateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
7814 { "wxDateTime_SetMonth", (PyCFunction) _wrap_wxDateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
7815 { "wxDateTime_SetYear", (PyCFunction) _wrap_wxDateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
7816 { "wxDateTime_ResetTime", (PyCFunction) _wrap_wxDateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
7817 { "wxDateTime_Set", (PyCFunction) _wrap_wxDateTime_Set, METH_VARARGS | METH_KEYWORDS },
7818 { "wxDateTime_SetHMS", (PyCFunction) _wrap_wxDateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
7819 { "wxDateTime_SetJDN", (PyCFunction) _wrap_wxDateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
7820 { "wxDateTime_SetTimeT", (PyCFunction) _wrap_wxDateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
7821 { "wxDateTime_SetToCurrent", (PyCFunction) _wrap_wxDateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
7822 { "delete_wxDateTime", (PyCFunction) _wrap_delete_wxDateTime, METH_VARARGS | METH_KEYWORDS },
7823 { "new_wxDateTimeFromDMY", (PyCFunction) _wrap_new_wxDateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
7824 { "new_wxDateTimeFromHMS", (PyCFunction) _wrap_new_wxDateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
7825 { "new_wxDateTimeFromJDN", (PyCFunction) _wrap_new_wxDateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
7826 { "new_wxDateTimeFromTimeT", (PyCFunction) _wrap_new_wxDateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
7827 { "new_wxDateTime", (PyCFunction) _wrap_new_wxDateTime, METH_VARARGS | METH_KEYWORDS },
7828 { "wxDateTime_Today", (PyCFunction) _wrap_wxDateTime_Today, METH_VARARGS | METH_KEYWORDS },
7829 { "wxDateTime_Now", (PyCFunction) _wrap_wxDateTime_Now, METH_VARARGS | METH_KEYWORDS },
7830 { "wxDateTime_GetEndDST", (PyCFunction) _wrap_wxDateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
7831 { "wxDateTime_GetBeginDST", (PyCFunction) _wrap_wxDateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
7832 { "wxDateTime_IsDSTApplicable", (PyCFunction) _wrap_wxDateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
7833 { "wxDateTime_GetAmPmStrings", (PyCFunction) _wrap_wxDateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
7834 { "wxDateTime_GetWeekDayName", (PyCFunction) _wrap_wxDateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
7835 { "wxDateTime_GetMonthName", (PyCFunction) _wrap_wxDateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
7836 { "wxDateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_wxDateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
7837 { "wxDateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_wxDateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
7838 { "wxDateTime_GetCentury", (PyCFunction) _wrap_wxDateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
7839 { "wxDateTime_IsLeapYear", (PyCFunction) _wrap_wxDateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
7840 { "wxDateTime_GetCurrentMonth", (PyCFunction) _wrap_wxDateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
7841 { "wxDateTime_ConvertYearToBC", (PyCFunction) _wrap_wxDateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
7842 { "wxDateTime_GetCurrentYear", (PyCFunction) _wrap_wxDateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
7843 { "wxDateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_wxDateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
7844 { "wxDateTime_GetCountry", (PyCFunction) _wrap_wxDateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
7845 { "wxDateTime_SetCountry", (PyCFunction) _wrap_wxDateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
7846 { "delete_wxFileConfig", (PyCFunction) _wrap_delete_wxFileConfig, METH_VARARGS | METH_KEYWORDS },
7847 { "new_wxFileConfig", (PyCFunction) _wrap_new_wxFileConfig, METH_VARARGS | METH_KEYWORDS },
7848 { "delete_wxConfig", (PyCFunction) _wrap_delete_wxConfig, METH_VARARGS | METH_KEYWORDS },
7849 { "new_wxConfig", (PyCFunction) _wrap_new_wxConfig, METH_VARARGS | METH_KEYWORDS },
7850 { "wxConfigBase_ExpandEnvVars", (PyCFunction) _wrap_wxConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
7851 { "wxConfigBase_RenameGroup", (PyCFunction) _wrap_wxConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
7852 { "wxConfigBase_RenameEntry", (PyCFunction) _wrap_wxConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
7853 { "wxConfigBase_GetEntryType", (PyCFunction) _wrap_wxConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
7854 { "wxConfigBase_WriteFloat", (PyCFunction) _wrap_wxConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
7855 { "wxConfigBase_WriteInt", (PyCFunction) _wrap_wxConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
7856 { "wxConfigBase_Write", (PyCFunction) _wrap_wxConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
7857 { "wxConfigBase_GetStyle", (PyCFunction) _wrap_wxConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
7858 { "wxConfigBase_SetStyle", (PyCFunction) _wrap_wxConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
7859 { "wxConfigBase_SetVendorName", (PyCFunction) _wrap_wxConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
7860 { "wxConfigBase_SetAppName", (PyCFunction) _wrap_wxConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
7861 { "wxConfigBase_SetRecordDefaults", (PyCFunction) _wrap_wxConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
7862 { "wxConfigBase_SetPath", (PyCFunction) _wrap_wxConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
7863 { "wxConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_wxConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
7864 { "wxConfigBase_ReadFloat", (PyCFunction) _wrap_wxConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
7865 { "wxConfigBase_ReadInt", (PyCFunction) _wrap_wxConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
7866 { "wxConfigBase_Read", (PyCFunction) _wrap_wxConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
7867 { "wxConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_wxConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
7868 { "wxConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_wxConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
7869 { "wxConfigBase_HasGroup", (PyCFunction) _wrap_wxConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
7870 { "wxConfigBase_HasEntry", (PyCFunction) _wrap_wxConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
7871 { "wxConfigBase_GetVendorName", (PyCFunction) _wrap_wxConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
7872 { "wxConfigBase_GetPath", (PyCFunction) _wrap_wxConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
7873 { "wxConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_wxConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
7874 { "wxConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_wxConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
7875 { "wxConfigBase_GetNextEntry", (PyCFunction) _wrap_wxConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
7876 { "wxConfigBase_GetNextGroup", (PyCFunction) _wrap_wxConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
7877 { "wxConfigBase_GetFirstEntry", (PyCFunction) _wrap_wxConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
7878 { "wxConfigBase_GetFirstGroup", (PyCFunction) _wrap_wxConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
7879 { "wxConfigBase_GetAppName", (PyCFunction) _wrap_wxConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
7880 { "wxConfigBase_Flush", (PyCFunction) _wrap_wxConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
7881 { "wxConfigBase_Exists", (PyCFunction) _wrap_wxConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
7882 { "wxConfigBase_DeleteGroup", (PyCFunction) _wrap_wxConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
7883 { "wxConfigBase_DeleteEntry", (PyCFunction) _wrap_wxConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
7884 { "wxConfigBase_DeleteAll", (PyCFunction) _wrap_wxConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
7885 { "wxConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_wxConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
7886 { "wxConfigBase_Create", (PyCFunction) _wrap_wxConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
7887 { "wxConfigBase_Get", (PyCFunction) _wrap_wxConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
7888 { "wxConfigBase_Set", (PyCFunction) _wrap_wxConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
7889 { "delete_wxConfigBase", (PyCFunction) _wrap_delete_wxConfigBase, METH_VARARGS | METH_KEYWORDS },
7890 { "wxGetLocalTimeMillis", (PyCFunction) _wrap_wxGetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
7891 { "wxGetCurrentTime", (PyCFunction) _wrap_wxGetCurrentTime, METH_VARARGS | METH_KEYWORDS },
7892 { "wxGetUTCTime", (PyCFunction) _wrap_wxGetUTCTime, METH_VARARGS | METH_KEYWORDS },
7893 { "wxGetLocalTime", (PyCFunction) _wrap_wxGetLocalTime, METH_VARARGS | METH_KEYWORDS },
7894 { NULL, NULL }
7895};
7896#ifdef __cplusplus
7897}
7898#endif
7899/*
7900 * This table is used by the pointer type-checker
7901 */
7902static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
7903 { "_signed_long","_long",0},
c368d904
RD
7904 { "_wxPrintQuality","_wxCoord",0},
7905 { "_wxPrintQuality","_int",0},
7906 { "_wxPrintQuality","_signed_int",0},
7907 { "_wxPrintQuality","_unsigned_int",0},
7908 { "_wxPrintQuality","_wxWindowID",0},
7909 { "_wxPrintQuality","_uint",0},
7910 { "_wxPrintQuality","_EBool",0},
7911 { "_wxPrintQuality","_size_t",0},
7912 { "_wxPrintQuality","_time_t",0},
7913 { "_byte","_unsigned_char",0},
f6bcfd97
BP
7914 { "_long","_unsigned_long",0},
7915 { "_long","_signed_long",0},
c368d904
RD
7916 { "_size_t","_wxCoord",0},
7917 { "_size_t","_wxPrintQuality",0},
7918 { "_size_t","_time_t",0},
7919 { "_size_t","_unsigned_int",0},
7920 { "_size_t","_int",0},
7921 { "_size_t","_wxWindowID",0},
7922 { "_size_t","_uint",0},
c368d904
RD
7923 { "_uint","_wxCoord",0},
7924 { "_uint","_wxPrintQuality",0},
7925 { "_uint","_time_t",0},
7926 { "_uint","_size_t",0},
7927 { "_uint","_unsigned_int",0},
7928 { "_uint","_int",0},
7929 { "_uint","_wxWindowID",0},
7930 { "_wxChar","_char",0},
7931 { "_char","_wxChar",0},
c368d904
RD
7932 { "_EBool","_wxCoord",0},
7933 { "_EBool","_wxPrintQuality",0},
7934 { "_EBool","_signed_int",0},
7935 { "_EBool","_int",0},
7936 { "_EBool","_wxWindowID",0},
f6bcfd97 7937 { "_unsigned_long","_long",0},
c368d904
RD
7938 { "_signed_int","_wxCoord",0},
7939 { "_signed_int","_wxPrintQuality",0},
7940 { "_signed_int","_EBool",0},
7941 { "_signed_int","_wxWindowID",0},
f6bcfd97 7942 { "_signed_int","_int",0},
c368d904
RD
7943 { "_WXTYPE","_wxDateTime_t",0},
7944 { "_WXTYPE","_short",0},
7945 { "_WXTYPE","_signed_short",0},
7946 { "_WXTYPE","_unsigned_short",0},
f6bcfd97 7947 { "_unsigned_short","_wxDateTime_t",0},
c368d904 7948 { "_unsigned_short","_WXTYPE",0},
f6bcfd97 7949 { "_unsigned_short","_short",0},
c368d904 7950 { "_signed_short","_WXTYPE",0},
f6bcfd97 7951 { "_signed_short","_short",0},
c368d904
RD
7952 { "_unsigned_char","_byte",0},
7953 { "_unsigned_int","_wxCoord",0},
7954 { "_unsigned_int","_wxPrintQuality",0},
7955 { "_unsigned_int","_time_t",0},
7956 { "_unsigned_int","_size_t",0},
7957 { "_unsigned_int","_uint",0},
7958 { "_unsigned_int","_wxWindowID",0},
f6bcfd97
BP
7959 { "_unsigned_int","_int",0},
7960 { "_wxConfigBase","_class_wxFileConfig",SwigwxFileConfigTowxConfigBase},
7961 { "_wxConfigBase","_wxFileConfig",SwigwxFileConfigTowxConfigBase},
7962 { "_wxConfigBase","_class_wxConfig",SwigwxConfigTowxConfigBase},
7963 { "_wxConfigBase","_wxConfig",SwigwxConfigTowxConfigBase},
f6bcfd97 7964 { "_short","_wxDateTime_t",0},
c368d904 7965 { "_short","_WXTYPE",0},
f6bcfd97
BP
7966 { "_short","_unsigned_short",0},
7967 { "_short","_signed_short",0},
c368d904
RD
7968 { "_wxWindowID","_wxCoord",0},
7969 { "_wxWindowID","_wxPrintQuality",0},
7970 { "_wxWindowID","_time_t",0},
7971 { "_wxWindowID","_size_t",0},
7972 { "_wxWindowID","_EBool",0},
7973 { "_wxWindowID","_uint",0},
7974 { "_wxWindowID","_int",0},
7975 { "_wxWindowID","_signed_int",0},
7976 { "_wxWindowID","_unsigned_int",0},
7977 { "_int","_wxCoord",0},
7978 { "_int","_wxPrintQuality",0},
7979 { "_int","_time_t",0},
7980 { "_int","_size_t",0},
7981 { "_int","_EBool",0},
7982 { "_int","_uint",0},
7983 { "_int","_wxWindowID",0},
f6bcfd97
BP
7984 { "_int","_unsigned_int",0},
7985 { "_int","_signed_int",0},
7986 { "_wxDateTime_t","_unsigned_short",0},
7987 { "_wxDateTime_t","_short",0},
c368d904 7988 { "_wxDateTime_t","_WXTYPE",0},
c368d904
RD
7989 { "_time_t","_wxCoord",0},
7990 { "_time_t","_wxPrintQuality",0},
7991 { "_time_t","_unsigned_int",0},
7992 { "_time_t","_int",0},
7993 { "_time_t","_wxWindowID",0},
7994 { "_time_t","_uint",0},
7995 { "_time_t","_size_t",0},
f6bcfd97
BP
7996 { "_class_wxConfigBase","_class_wxFileConfig",SwigwxFileConfigTowxConfigBase},
7997 { "_class_wxConfigBase","_wxFileConfig",SwigwxFileConfigTowxConfigBase},
7998 { "_class_wxConfigBase","_class_wxConfig",SwigwxConfigTowxConfigBase},
7999 { "_class_wxConfigBase","_wxConfig",SwigwxConfigTowxConfigBase},
c368d904
RD
8000 { "_wxCoord","_int",0},
8001 { "_wxCoord","_signed_int",0},
8002 { "_wxCoord","_unsigned_int",0},
8003 { "_wxCoord","_wxWindowID",0},
8004 { "_wxCoord","_uint",0},
8005 { "_wxCoord","_EBool",0},
8006 { "_wxCoord","_size_t",0},
8007 { "_wxCoord","_time_t",0},
8008 { "_wxCoord","_wxPrintQuality",0},
f6bcfd97
BP
8009{0,0,0}};
8010
8011static PyObject *SWIG_globals;
8012#ifdef __cplusplus
8013extern "C"
8014#endif
8015SWIGEXPORT(void) initutilsc() {
8016 PyObject *m, *d;
8017 SWIG_globals = SWIG_newvarlink();
8018 m = Py_InitModule("utilsc", utilscMethods);
8019 d = PyModule_GetDict(m);
8020 PyDict_SetItemString(d,"wxCONFIG_USE_LOCAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_LOCAL_FILE));
8021 PyDict_SetItemString(d,"wxCONFIG_USE_GLOBAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_GLOBAL_FILE));
8022 PyDict_SetItemString(d,"wxCONFIG_USE_RELATIVE_PATH", PyInt_FromLong((long) wxCONFIG_USE_RELATIVE_PATH));
8023
3a70a282
RD
8024 wxClassInfo::CleanUpClasses();
8025 wxClassInfo::InitializeClasses();
f6bcfd97
BP
8026 PyDict_SetItemString(d,"wxConfigBase_Type_Unknown", PyInt_FromLong((long) wxConfigBase::Type_Unknown));
8027 PyDict_SetItemString(d,"wxConfigBase_Type_String", PyInt_FromLong((long) wxConfigBase::Type_String));
8028 PyDict_SetItemString(d,"wxConfigBase_Type_Boolean", PyInt_FromLong((long) wxConfigBase::Type_Boolean));
8029 PyDict_SetItemString(d,"wxConfigBase_Type_Integer", PyInt_FromLong((long) wxConfigBase::Type_Integer));
8030 PyDict_SetItemString(d,"wxConfigBase_Type_Float", PyInt_FromLong((long) wxConfigBase::Type_Float));
8031 PyDict_SetItemString(d,"wxDateTime_Local", PyInt_FromLong((long) wxDateTime::Local));
8032 PyDict_SetItemString(d,"wxDateTime_GMT_12", PyInt_FromLong((long) wxDateTime::GMT_12));
8033 PyDict_SetItemString(d,"wxDateTime_GMT_11", PyInt_FromLong((long) wxDateTime::GMT_11));
8034 PyDict_SetItemString(d,"wxDateTime_GMT_10", PyInt_FromLong((long) wxDateTime::GMT_10));
8035 PyDict_SetItemString(d,"wxDateTime_GMT_9", PyInt_FromLong((long) wxDateTime::GMT_9));
8036 PyDict_SetItemString(d,"wxDateTime_GMT_8", PyInt_FromLong((long) wxDateTime::GMT_8));
8037 PyDict_SetItemString(d,"wxDateTime_GMT_7", PyInt_FromLong((long) wxDateTime::GMT_7));
8038 PyDict_SetItemString(d,"wxDateTime_GMT_6", PyInt_FromLong((long) wxDateTime::GMT_6));
8039 PyDict_SetItemString(d,"wxDateTime_GMT_5", PyInt_FromLong((long) wxDateTime::GMT_5));
8040 PyDict_SetItemString(d,"wxDateTime_GMT_4", PyInt_FromLong((long) wxDateTime::GMT_4));
8041 PyDict_SetItemString(d,"wxDateTime_GMT_3", PyInt_FromLong((long) wxDateTime::GMT_3));
8042 PyDict_SetItemString(d,"wxDateTime_GMT_2", PyInt_FromLong((long) wxDateTime::GMT_2));
8043 PyDict_SetItemString(d,"wxDateTime_GMT_1", PyInt_FromLong((long) wxDateTime::GMT_1));
8044 PyDict_SetItemString(d,"wxDateTime_GMT0", PyInt_FromLong((long) wxDateTime::GMT0));
8045 PyDict_SetItemString(d,"wxDateTime_GMT1", PyInt_FromLong((long) wxDateTime::GMT1));
8046 PyDict_SetItemString(d,"wxDateTime_GMT2", PyInt_FromLong((long) wxDateTime::GMT2));
8047 PyDict_SetItemString(d,"wxDateTime_GMT3", PyInt_FromLong((long) wxDateTime::GMT3));
8048 PyDict_SetItemString(d,"wxDateTime_GMT4", PyInt_FromLong((long) wxDateTime::GMT4));
8049 PyDict_SetItemString(d,"wxDateTime_GMT5", PyInt_FromLong((long) wxDateTime::GMT5));
8050 PyDict_SetItemString(d,"wxDateTime_GMT6", PyInt_FromLong((long) wxDateTime::GMT6));
8051 PyDict_SetItemString(d,"wxDateTime_GMT7", PyInt_FromLong((long) wxDateTime::GMT7));
8052 PyDict_SetItemString(d,"wxDateTime_GMT8", PyInt_FromLong((long) wxDateTime::GMT8));
8053 PyDict_SetItemString(d,"wxDateTime_GMT9", PyInt_FromLong((long) wxDateTime::GMT9));
8054 PyDict_SetItemString(d,"wxDateTime_GMT10", PyInt_FromLong((long) wxDateTime::GMT10));
8055 PyDict_SetItemString(d,"wxDateTime_GMT11", PyInt_FromLong((long) wxDateTime::GMT11));
8056 PyDict_SetItemString(d,"wxDateTime_GMT12", PyInt_FromLong((long) wxDateTime::GMT12));
8057 PyDict_SetItemString(d,"wxDateTime_WET", PyInt_FromLong((long) wxDateTime::WET));
8058 PyDict_SetItemString(d,"wxDateTime_WEST", PyInt_FromLong((long) wxDateTime::WEST));
8059 PyDict_SetItemString(d,"wxDateTime_CET", PyInt_FromLong((long) wxDateTime::CET));
8060 PyDict_SetItemString(d,"wxDateTime_CEST", PyInt_FromLong((long) wxDateTime::CEST));
8061 PyDict_SetItemString(d,"wxDateTime_EET", PyInt_FromLong((long) wxDateTime::EET));
8062 PyDict_SetItemString(d,"wxDateTime_EEST", PyInt_FromLong((long) wxDateTime::EEST));
8063 PyDict_SetItemString(d,"wxDateTime_MSK", PyInt_FromLong((long) wxDateTime::MSK));
8064 PyDict_SetItemString(d,"wxDateTime_MSD", PyInt_FromLong((long) wxDateTime::MSD));
8065 PyDict_SetItemString(d,"wxDateTime_AST", PyInt_FromLong((long) wxDateTime::AST));
8066 PyDict_SetItemString(d,"wxDateTime_ADT", PyInt_FromLong((long) wxDateTime::ADT));
8067 PyDict_SetItemString(d,"wxDateTime_EST", PyInt_FromLong((long) wxDateTime::EST));
8068 PyDict_SetItemString(d,"wxDateTime_EDT", PyInt_FromLong((long) wxDateTime::EDT));
8069 PyDict_SetItemString(d,"wxDateTime_CST", PyInt_FromLong((long) wxDateTime::CST));
8070 PyDict_SetItemString(d,"wxDateTime_CDT", PyInt_FromLong((long) wxDateTime::CDT));
8071 PyDict_SetItemString(d,"wxDateTime_MST", PyInt_FromLong((long) wxDateTime::MST));
8072 PyDict_SetItemString(d,"wxDateTime_MDT", PyInt_FromLong((long) wxDateTime::MDT));
8073 PyDict_SetItemString(d,"wxDateTime_PST", PyInt_FromLong((long) wxDateTime::PST));
8074 PyDict_SetItemString(d,"wxDateTime_PDT", PyInt_FromLong((long) wxDateTime::PDT));
8075 PyDict_SetItemString(d,"wxDateTime_HST", PyInt_FromLong((long) wxDateTime::HST));
8076 PyDict_SetItemString(d,"wxDateTime_AKST", PyInt_FromLong((long) wxDateTime::AKST));
8077 PyDict_SetItemString(d,"wxDateTime_AKDT", PyInt_FromLong((long) wxDateTime::AKDT));
8078 PyDict_SetItemString(d,"wxDateTime_A_WST", PyInt_FromLong((long) wxDateTime::A_WST));
8079 PyDict_SetItemString(d,"wxDateTime_A_CST", PyInt_FromLong((long) wxDateTime::A_CST));
8080 PyDict_SetItemString(d,"wxDateTime_A_EST", PyInt_FromLong((long) wxDateTime::A_EST));
8081 PyDict_SetItemString(d,"wxDateTime_A_ESST", PyInt_FromLong((long) wxDateTime::A_ESST));
8082 PyDict_SetItemString(d,"wxDateTime_UTC", PyInt_FromLong((long) wxDateTime::UTC));
8083 PyDict_SetItemString(d,"wxDateTime_Gregorian", PyInt_FromLong((long) wxDateTime::Gregorian));
8084 PyDict_SetItemString(d,"wxDateTime_Julian", PyInt_FromLong((long) wxDateTime::Julian));
8085 PyDict_SetItemString(d,"wxDateTime_Country_Unknown", PyInt_FromLong((long) wxDateTime::Country_Unknown));
8086 PyDict_SetItemString(d,"wxDateTime_Country_Default", PyInt_FromLong((long) wxDateTime::Country_Default));
8087 PyDict_SetItemString(d,"wxDateTime_Country_WesternEurope_Start", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_Start));
8088 PyDict_SetItemString(d,"wxDateTime_Country_EEC", PyInt_FromLong((long) wxDateTime::Country_EEC));
8089 PyDict_SetItemString(d,"wxDateTime_France", PyInt_FromLong((long) wxDateTime::France));
8090 PyDict_SetItemString(d,"wxDateTime_Germany", PyInt_FromLong((long) wxDateTime::Germany));
8091 PyDict_SetItemString(d,"wxDateTime_UK", PyInt_FromLong((long) wxDateTime::UK));
8092 PyDict_SetItemString(d,"wxDateTime_Country_WesternEurope_End", PyInt_FromLong((long) wxDateTime::Country_WesternEurope_End));
8093 PyDict_SetItemString(d,"wxDateTime_Russia", PyInt_FromLong((long) wxDateTime::Russia));
8094 PyDict_SetItemString(d,"wxDateTime_USA", PyInt_FromLong((long) wxDateTime::USA));
8095 PyDict_SetItemString(d,"wxDateTime_Jan", PyInt_FromLong((long) wxDateTime::Jan));
8096 PyDict_SetItemString(d,"wxDateTime_Feb", PyInt_FromLong((long) wxDateTime::Feb));
8097 PyDict_SetItemString(d,"wxDateTime_Mar", PyInt_FromLong((long) wxDateTime::Mar));
8098 PyDict_SetItemString(d,"wxDateTime_Apr", PyInt_FromLong((long) wxDateTime::Apr));
8099 PyDict_SetItemString(d,"wxDateTime_May", PyInt_FromLong((long) wxDateTime::May));
8100 PyDict_SetItemString(d,"wxDateTime_Jun", PyInt_FromLong((long) wxDateTime::Jun));
8101 PyDict_SetItemString(d,"wxDateTime_Jul", PyInt_FromLong((long) wxDateTime::Jul));
8102 PyDict_SetItemString(d,"wxDateTime_Aug", PyInt_FromLong((long) wxDateTime::Aug));
8103 PyDict_SetItemString(d,"wxDateTime_Sep", PyInt_FromLong((long) wxDateTime::Sep));
8104 PyDict_SetItemString(d,"wxDateTime_Oct", PyInt_FromLong((long) wxDateTime::Oct));
8105 PyDict_SetItemString(d,"wxDateTime_Nov", PyInt_FromLong((long) wxDateTime::Nov));
8106 PyDict_SetItemString(d,"wxDateTime_Dec", PyInt_FromLong((long) wxDateTime::Dec));
8107 PyDict_SetItemString(d,"wxDateTime_Inv_Month", PyInt_FromLong((long) wxDateTime::Inv_Month));
8108 PyDict_SetItemString(d,"wxDateTime_Sun", PyInt_FromLong((long) wxDateTime::Sun));
8109 PyDict_SetItemString(d,"wxDateTime_Mon", PyInt_FromLong((long) wxDateTime::Mon));
8110 PyDict_SetItemString(d,"wxDateTime_Tue", PyInt_FromLong((long) wxDateTime::Tue));
8111 PyDict_SetItemString(d,"wxDateTime_Wed", PyInt_FromLong((long) wxDateTime::Wed));
8112 PyDict_SetItemString(d,"wxDateTime_Thu", PyInt_FromLong((long) wxDateTime::Thu));
8113 PyDict_SetItemString(d,"wxDateTime_Fri", PyInt_FromLong((long) wxDateTime::Fri));
8114 PyDict_SetItemString(d,"wxDateTime_Sat", PyInt_FromLong((long) wxDateTime::Sat));
8115 PyDict_SetItemString(d,"wxDateTime_Inv_WeekDay", PyInt_FromLong((long) wxDateTime::Inv_WeekDay));
8116 PyDict_SetItemString(d,"wxDateTime_Inv_Year", PyInt_FromLong((long) wxDateTime::Inv_Year));
8117 PyDict_SetItemString(d,"wxDateTime_Name_Full", PyInt_FromLong((long) wxDateTime::Name_Full));
8118 PyDict_SetItemString(d,"wxDateTime_Name_Abbr", PyInt_FromLong((long) wxDateTime::Name_Abbr));
8119 PyDict_SetItemString(d,"wxDateTime_Default_First", PyInt_FromLong((long) wxDateTime::Default_First));
8120 PyDict_SetItemString(d,"wxDateTime_Monday_First", PyInt_FromLong((long) wxDateTime::Monday_First));
8121 PyDict_SetItemString(d,"wxDateTime_Sunday_First", PyInt_FromLong((long) wxDateTime::Sunday_First));
8122{
8123 int i;
8124 for (i = 0; _swig_mapping[i].n1; i++)
8125 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
8126}
8127}