2 * FILE : src/gtk/calendar.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcalendarc
56 #define SWIG_name "calendarc"
59 #include <wx/calctrl.h>
62 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyTuple_Check(target
)) {
74 target
= PyTuple_New(1);
75 PyTuple_SetItem(target
, 0, o2
);
78 PyTuple_SetItem(o3
, 0, o
);
81 target
= PySequence_Concat(o2
, o3
);
88 #if PYTHON_API_VERSION >= 1009
89 static char* wxStringErrorMsg
= "String or Unicode type required";
91 static char* wxStringErrorMsg
= "String type required";
96 #define new_wxCalendarDateAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxCalendarDateAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
97 static PyObject
*_wrap_new_wxCalendarDateAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
98 PyObject
* _resultobj
;
99 wxCalendarDateAttr
* _result
;
101 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
102 wxColour
* _arg2
= (wxColour
*) &wxNullColour
;
103 wxFont
* _arg3
= (wxFont
*) &wxNullFont
;
104 wxCalendarDateBorder _arg4
= (wxCalendarDateBorder
) (wxCAL_BORDER_NONE
);
106 PyObject
* _obj0
= 0;
108 PyObject
* _obj1
= 0;
110 PyObject
* _obj2
= 0;
111 PyObject
* _argo3
= 0;
112 char *_kwnames
[] = { "colText","colBack","colBorder","font","border", NULL
};
116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOi:new_wxCalendarDateAttr",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
))
120 if (! wxColour_helper(_obj0
, &_arg0
))
126 if (! wxColour_helper(_obj1
, &_arg1
))
132 if (! wxColour_helper(_obj2
, &_arg2
))
136 if (_argo3
== Py_None
) { _arg3
= NULL
; }
137 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxCalendarDateAttr. Expected _wxFont_p.");
143 wxPy_BEGIN_ALLOW_THREADS
;
144 _result
= (wxCalendarDateAttr
*)new_wxCalendarDateAttr(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
146 wxPy_END_ALLOW_THREADS
;
147 if (PyErr_Occurred()) return NULL
;
149 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
150 _resultobj
= Py_BuildValue("s",_ptemp
);
153 _resultobj
= Py_None
;
158 #define new_wxCalendarDateAttrBorder(_swigarg0,_swigarg1) (new wxCalendarDateAttr(_swigarg0,_swigarg1))
159 static PyObject
*_wrap_new_wxCalendarDateAttrBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
160 PyObject
* _resultobj
;
161 wxCalendarDateAttr
* _result
;
162 wxCalendarDateBorder _arg0
;
163 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
165 PyObject
* _obj1
= 0;
166 char *_kwnames
[] = { "border","colBorder", NULL
};
170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|O:new_wxCalendarDateAttrBorder",_kwnames
,&_arg0
,&_obj1
))
175 if (! wxColour_helper(_obj1
, &_arg1
))
179 wxPy_BEGIN_ALLOW_THREADS
;
180 _result
= (wxCalendarDateAttr
*)new_wxCalendarDateAttrBorder(_arg0
,*_arg1
);
182 wxPy_END_ALLOW_THREADS
;
183 if (PyErr_Occurred()) return NULL
;
185 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
186 _resultobj
= Py_BuildValue("s",_ptemp
);
189 _resultobj
= Py_None
;
194 #define wxCalendarDateAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
195 static PyObject
*_wrap_wxCalendarDateAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
196 PyObject
* _resultobj
;
197 wxCalendarDateAttr
* _arg0
;
199 PyObject
* _argo0
= 0;
201 PyObject
* _obj1
= 0;
202 char *_kwnames
[] = { "self","colText", NULL
};
205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetTextColour. Expected _wxCalendarDateAttr_p.");
216 if (! wxColour_helper(_obj1
, &_arg1
))
220 wxPy_BEGIN_ALLOW_THREADS
;
221 wxCalendarDateAttr_SetTextColour(_arg0
,*_arg1
);
223 wxPy_END_ALLOW_THREADS
;
224 if (PyErr_Occurred()) return NULL
;
225 } Py_INCREF(Py_None
);
226 _resultobj
= Py_None
;
230 #define wxCalendarDateAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
231 static PyObject
*_wrap_wxCalendarDateAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
232 PyObject
* _resultobj
;
233 wxCalendarDateAttr
* _arg0
;
235 PyObject
* _argo0
= 0;
237 PyObject
* _obj1
= 0;
238 char *_kwnames
[] = { "self","colBack", NULL
};
241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBackgroundColour. Expected _wxCalendarDateAttr_p.");
252 if (! wxColour_helper(_obj1
, &_arg1
))
256 wxPy_BEGIN_ALLOW_THREADS
;
257 wxCalendarDateAttr_SetBackgroundColour(_arg0
,*_arg1
);
259 wxPy_END_ALLOW_THREADS
;
260 if (PyErr_Occurred()) return NULL
;
261 } Py_INCREF(Py_None
);
262 _resultobj
= Py_None
;
266 #define wxCalendarDateAttr_SetBorderColour(_swigobj,_swigarg0) (_swigobj->SetBorderColour(_swigarg0))
267 static PyObject
*_wrap_wxCalendarDateAttr_SetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
268 PyObject
* _resultobj
;
269 wxCalendarDateAttr
* _arg0
;
271 PyObject
* _argo0
= 0;
273 PyObject
* _obj1
= 0;
274 char *_kwnames
[] = { "self","col", NULL
};
277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetBorderColour",_kwnames
,&_argo0
,&_obj1
))
280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBorderColour. Expected _wxCalendarDateAttr_p.");
288 if (! wxColour_helper(_obj1
, &_arg1
))
292 wxPy_BEGIN_ALLOW_THREADS
;
293 wxCalendarDateAttr_SetBorderColour(_arg0
,*_arg1
);
295 wxPy_END_ALLOW_THREADS
;
296 if (PyErr_Occurred()) return NULL
;
297 } Py_INCREF(Py_None
);
298 _resultobj
= Py_None
;
302 #define wxCalendarDateAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
303 static PyObject
*_wrap_wxCalendarDateAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
304 PyObject
* _resultobj
;
305 wxCalendarDateAttr
* _arg0
;
307 PyObject
* _argo0
= 0;
308 PyObject
* _argo1
= 0;
309 char *_kwnames
[] = { "self","font", NULL
};
312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetFont. Expected _wxCalendarDateAttr_p.");
322 if (_argo1
== Py_None
) { _arg1
= NULL
; }
323 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarDateAttr_SetFont. Expected _wxFont_p.");
329 wxPy_BEGIN_ALLOW_THREADS
;
330 wxCalendarDateAttr_SetFont(_arg0
,*_arg1
);
332 wxPy_END_ALLOW_THREADS
;
333 if (PyErr_Occurred()) return NULL
;
334 } Py_INCREF(Py_None
);
335 _resultobj
= Py_None
;
339 #define wxCalendarDateAttr_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
340 static PyObject
*_wrap_wxCalendarDateAttr_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
341 PyObject
* _resultobj
;
342 wxCalendarDateAttr
* _arg0
;
343 wxCalendarDateBorder _arg1
;
344 PyObject
* _argo0
= 0;
345 char *_kwnames
[] = { "self","border", NULL
};
348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarDateAttr_SetBorder",_kwnames
,&_argo0
,&_arg1
))
351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBorder. Expected _wxCalendarDateAttr_p.");
358 wxPy_BEGIN_ALLOW_THREADS
;
359 wxCalendarDateAttr_SetBorder(_arg0
,_arg1
);
361 wxPy_END_ALLOW_THREADS
;
362 if (PyErr_Occurred()) return NULL
;
363 } Py_INCREF(Py_None
);
364 _resultobj
= Py_None
;
368 #define wxCalendarDateAttr_SetHoliday(_swigobj,_swigarg0) (_swigobj->SetHoliday(_swigarg0))
369 static PyObject
*_wrap_wxCalendarDateAttr_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
370 PyObject
* _resultobj
;
371 wxCalendarDateAttr
* _arg0
;
373 PyObject
* _argo0
= 0;
375 char *_kwnames
[] = { "self","holiday", NULL
};
378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarDateAttr_SetHoliday",_kwnames
,&_argo0
,&tempbool1
))
381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetHoliday. Expected _wxCalendarDateAttr_p.");
387 _arg1
= (bool ) tempbool1
;
389 wxPy_BEGIN_ALLOW_THREADS
;
390 wxCalendarDateAttr_SetHoliday(_arg0
,_arg1
);
392 wxPy_END_ALLOW_THREADS
;
393 if (PyErr_Occurred()) return NULL
;
394 } Py_INCREF(Py_None
);
395 _resultobj
= Py_None
;
399 #define wxCalendarDateAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
400 static PyObject
*_wrap_wxCalendarDateAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
401 PyObject
* _resultobj
;
403 wxCalendarDateAttr
* _arg0
;
404 PyObject
* _argo0
= 0;
405 char *_kwnames
[] = { "self", NULL
};
408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasTextColour",_kwnames
,&_argo0
))
411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasTextColour. Expected _wxCalendarDateAttr_p.");
418 wxPy_BEGIN_ALLOW_THREADS
;
419 _result
= (bool )wxCalendarDateAttr_HasTextColour(_arg0
);
421 wxPy_END_ALLOW_THREADS
;
422 if (PyErr_Occurred()) return NULL
;
423 } _resultobj
= Py_BuildValue("i",_result
);
427 #define wxCalendarDateAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
428 static PyObject
*_wrap_wxCalendarDateAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
429 PyObject
* _resultobj
;
431 wxCalendarDateAttr
* _arg0
;
432 PyObject
* _argo0
= 0;
433 char *_kwnames
[] = { "self", NULL
};
436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBackgroundColour",_kwnames
,&_argo0
))
439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBackgroundColour. Expected _wxCalendarDateAttr_p.");
446 wxPy_BEGIN_ALLOW_THREADS
;
447 _result
= (bool )wxCalendarDateAttr_HasBackgroundColour(_arg0
);
449 wxPy_END_ALLOW_THREADS
;
450 if (PyErr_Occurred()) return NULL
;
451 } _resultobj
= Py_BuildValue("i",_result
);
455 #define wxCalendarDateAttr_HasBorderColour(_swigobj) (_swigobj->HasBorderColour())
456 static PyObject
*_wrap_wxCalendarDateAttr_HasBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
457 PyObject
* _resultobj
;
459 wxCalendarDateAttr
* _arg0
;
460 PyObject
* _argo0
= 0;
461 char *_kwnames
[] = { "self", NULL
};
464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBorderColour",_kwnames
,&_argo0
))
467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBorderColour. Expected _wxCalendarDateAttr_p.");
474 wxPy_BEGIN_ALLOW_THREADS
;
475 _result
= (bool )wxCalendarDateAttr_HasBorderColour(_arg0
);
477 wxPy_END_ALLOW_THREADS
;
478 if (PyErr_Occurred()) return NULL
;
479 } _resultobj
= Py_BuildValue("i",_result
);
483 #define wxCalendarDateAttr_HasFont(_swigobj) (_swigobj->HasFont())
484 static PyObject
*_wrap_wxCalendarDateAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
485 PyObject
* _resultobj
;
487 wxCalendarDateAttr
* _arg0
;
488 PyObject
* _argo0
= 0;
489 char *_kwnames
[] = { "self", NULL
};
492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasFont",_kwnames
,&_argo0
))
495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasFont. Expected _wxCalendarDateAttr_p.");
502 wxPy_BEGIN_ALLOW_THREADS
;
503 _result
= (bool )wxCalendarDateAttr_HasFont(_arg0
);
505 wxPy_END_ALLOW_THREADS
;
506 if (PyErr_Occurred()) return NULL
;
507 } _resultobj
= Py_BuildValue("i",_result
);
511 #define wxCalendarDateAttr_HasBorder(_swigobj) (_swigobj->HasBorder())
512 static PyObject
*_wrap_wxCalendarDateAttr_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
513 PyObject
* _resultobj
;
515 wxCalendarDateAttr
* _arg0
;
516 PyObject
* _argo0
= 0;
517 char *_kwnames
[] = { "self", NULL
};
520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBorder",_kwnames
,&_argo0
))
523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBorder. Expected _wxCalendarDateAttr_p.");
530 wxPy_BEGIN_ALLOW_THREADS
;
531 _result
= (bool )wxCalendarDateAttr_HasBorder(_arg0
);
533 wxPy_END_ALLOW_THREADS
;
534 if (PyErr_Occurred()) return NULL
;
535 } _resultobj
= Py_BuildValue("i",_result
);
539 #define wxCalendarDateAttr_IsHoliday(_swigobj) (_swigobj->IsHoliday())
540 static PyObject
*_wrap_wxCalendarDateAttr_IsHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
541 PyObject
* _resultobj
;
543 wxCalendarDateAttr
* _arg0
;
544 PyObject
* _argo0
= 0;
545 char *_kwnames
[] = { "self", NULL
};
548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_IsHoliday",_kwnames
,&_argo0
))
551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_IsHoliday. Expected _wxCalendarDateAttr_p.");
558 wxPy_BEGIN_ALLOW_THREADS
;
559 _result
= (bool )wxCalendarDateAttr_IsHoliday(_arg0
);
561 wxPy_END_ALLOW_THREADS
;
562 if (PyErr_Occurred()) return NULL
;
563 } _resultobj
= Py_BuildValue("i",_result
);
567 #define wxCalendarDateAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
568 static PyObject
*_wrap_wxCalendarDateAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
569 PyObject
* _resultobj
;
571 wxCalendarDateAttr
* _arg0
;
572 PyObject
* _argo0
= 0;
573 char *_kwnames
[] = { "self", NULL
};
577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetTextColour",_kwnames
,&_argo0
))
580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetTextColour. Expected _wxCalendarDateAttr_p.");
587 wxPy_BEGIN_ALLOW_THREADS
;
588 const wxColour
& _result_ref
= wxCalendarDateAttr_GetTextColour(_arg0
);
589 _result
= (wxColour
*) &_result_ref
;
591 wxPy_END_ALLOW_THREADS
;
592 if (PyErr_Occurred()) return NULL
;
594 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
595 _resultobj
= Py_BuildValue("s",_ptemp
);
598 _resultobj
= Py_None
;
603 #define wxCalendarDateAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
604 static PyObject
*_wrap_wxCalendarDateAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
605 PyObject
* _resultobj
;
607 wxCalendarDateAttr
* _arg0
;
608 PyObject
* _argo0
= 0;
609 char *_kwnames
[] = { "self", NULL
};
613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBackgroundColour",_kwnames
,&_argo0
))
616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBackgroundColour. Expected _wxCalendarDateAttr_p.");
623 wxPy_BEGIN_ALLOW_THREADS
;
624 const wxColour
& _result_ref
= wxCalendarDateAttr_GetBackgroundColour(_arg0
);
625 _result
= (wxColour
*) &_result_ref
;
627 wxPy_END_ALLOW_THREADS
;
628 if (PyErr_Occurred()) return NULL
;
630 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
631 _resultobj
= Py_BuildValue("s",_ptemp
);
634 _resultobj
= Py_None
;
639 #define wxCalendarDateAttr_GetBorderColour(_swigobj) (_swigobj->GetBorderColour())
640 static PyObject
*_wrap_wxCalendarDateAttr_GetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
641 PyObject
* _resultobj
;
643 wxCalendarDateAttr
* _arg0
;
644 PyObject
* _argo0
= 0;
645 char *_kwnames
[] = { "self", NULL
};
649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBorderColour",_kwnames
,&_argo0
))
652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBorderColour. Expected _wxCalendarDateAttr_p.");
659 wxPy_BEGIN_ALLOW_THREADS
;
660 const wxColour
& _result_ref
= wxCalendarDateAttr_GetBorderColour(_arg0
);
661 _result
= (wxColour
*) &_result_ref
;
663 wxPy_END_ALLOW_THREADS
;
664 if (PyErr_Occurred()) return NULL
;
666 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
667 _resultobj
= Py_BuildValue("s",_ptemp
);
670 _resultobj
= Py_None
;
675 #define wxCalendarDateAttr_GetFont(_swigobj) (_swigobj->GetFont())
676 static PyObject
*_wrap_wxCalendarDateAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
677 PyObject
* _resultobj
;
679 wxCalendarDateAttr
* _arg0
;
680 PyObject
* _argo0
= 0;
681 char *_kwnames
[] = { "self", NULL
};
685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetFont",_kwnames
,&_argo0
))
688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetFont. Expected _wxCalendarDateAttr_p.");
695 wxPy_BEGIN_ALLOW_THREADS
;
696 const wxFont
& _result_ref
= wxCalendarDateAttr_GetFont(_arg0
);
697 _result
= (wxFont
*) &_result_ref
;
699 wxPy_END_ALLOW_THREADS
;
700 if (PyErr_Occurred()) return NULL
;
702 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
703 _resultobj
= Py_BuildValue("s",_ptemp
);
706 _resultobj
= Py_None
;
711 #define wxCalendarDateAttr_GetBorder(_swigobj) (_swigobj->GetBorder())
712 static PyObject
*_wrap_wxCalendarDateAttr_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
713 PyObject
* _resultobj
;
714 wxCalendarDateBorder _result
;
715 wxCalendarDateAttr
* _arg0
;
716 PyObject
* _argo0
= 0;
717 char *_kwnames
[] = { "self", NULL
};
720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBorder",_kwnames
,&_argo0
))
723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBorder. Expected _wxCalendarDateAttr_p.");
730 wxPy_BEGIN_ALLOW_THREADS
;
731 _result
= (wxCalendarDateBorder
)wxCalendarDateAttr_GetBorder(_arg0
);
733 wxPy_END_ALLOW_THREADS
;
734 if (PyErr_Occurred()) return NULL
;
735 } _resultobj
= Py_BuildValue("i",_result
);
739 static void *SwigwxCalendarEventTowxCommandEvent(void *ptr
) {
740 wxCalendarEvent
*src
;
741 wxCommandEvent
*dest
;
742 src
= (wxCalendarEvent
*) ptr
;
743 dest
= (wxCommandEvent
*) src
;
744 return (void *) dest
;
747 static void *SwigwxCalendarEventTowxEvent(void *ptr
) {
748 wxCalendarEvent
*src
;
750 src
= (wxCalendarEvent
*) ptr
;
751 dest
= (wxEvent
*) src
;
752 return (void *) dest
;
755 static void *SwigwxCalendarEventTowxObject(void *ptr
) {
756 wxCalendarEvent
*src
;
758 src
= (wxCalendarEvent
*) ptr
;
759 dest
= (wxObject
*) src
;
760 return (void *) dest
;
763 #define new_wxCalendarEvent(_swigarg0,_swigarg1) (new wxCalendarEvent(_swigarg0,_swigarg1))
764 static PyObject
*_wrap_new_wxCalendarEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
765 PyObject
* _resultobj
;
766 wxCalendarEvent
* _result
;
767 wxCalendarCtrl
* _arg0
;
769 PyObject
* _argo0
= 0;
770 char *_kwnames
[] = { "cal","type", NULL
};
774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:new_wxCalendarEvent",_kwnames
,&_argo0
,&_arg1
))
777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCalendarEvent. Expected _wxCalendarCtrl_p.");
784 wxPy_BEGIN_ALLOW_THREADS
;
785 _result
= (wxCalendarEvent
*)new_wxCalendarEvent(_arg0
,_arg1
);
787 wxPy_END_ALLOW_THREADS
;
788 if (PyErr_Occurred()) return NULL
;
790 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarEvent_p");
791 _resultobj
= Py_BuildValue("s",_ptemp
);
794 _resultobj
= Py_None
;
799 #define wxCalendarEvent_GetDate(_swigobj) (_swigobj->GetDate())
800 static PyObject
*_wrap_wxCalendarEvent_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
801 PyObject
* _resultobj
;
802 wxDateTime
* _result
;
803 wxCalendarEvent
* _arg0
;
804 PyObject
* _argo0
= 0;
805 char *_kwnames
[] = { "self", NULL
};
809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarEvent_GetDate",_kwnames
,&_argo0
))
812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarEvent_p")) {
814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarEvent_GetDate. Expected _wxCalendarEvent_p.");
819 wxPy_BEGIN_ALLOW_THREADS
;
820 const wxDateTime
& _result_ref
= wxCalendarEvent_GetDate(_arg0
);
821 _result
= (wxDateTime
*) &_result_ref
;
823 wxPy_END_ALLOW_THREADS
;
824 if (PyErr_Occurred()) return NULL
;
826 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
827 _resultobj
= Py_BuildValue("s",_ptemp
);
830 _resultobj
= Py_None
;
835 #define wxCalendarEvent_GetWeekDay(_swigobj) (_swigobj->GetWeekDay())
836 static PyObject
*_wrap_wxCalendarEvent_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
837 PyObject
* _resultobj
;
838 wxDateTime::WeekDay _result
;
839 wxCalendarEvent
* _arg0
;
840 PyObject
* _argo0
= 0;
841 char *_kwnames
[] = { "self", NULL
};
844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarEvent_GetWeekDay",_kwnames
,&_argo0
))
847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarEvent_p")) {
849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarEvent_GetWeekDay. Expected _wxCalendarEvent_p.");
854 wxPy_BEGIN_ALLOW_THREADS
;
855 _result
= (wxDateTime::WeekDay
)wxCalendarEvent_GetWeekDay(_arg0
);
857 wxPy_END_ALLOW_THREADS
;
858 if (PyErr_Occurred()) return NULL
;
859 } _resultobj
= Py_BuildValue("i",_result
);
863 static void *SwigwxCalendarCtrlTowxControl(void *ptr
) {
866 src
= (wxCalendarCtrl
*) ptr
;
867 dest
= (wxControl
*) src
;
868 return (void *) dest
;
871 static void *SwigwxCalendarCtrlTowxWindow(void *ptr
) {
874 src
= (wxCalendarCtrl
*) ptr
;
875 dest
= (wxWindow
*) src
;
876 return (void *) dest
;
879 static void *SwigwxCalendarCtrlTowxEvtHandler(void *ptr
) {
882 src
= (wxCalendarCtrl
*) ptr
;
883 dest
= (wxEvtHandler
*) src
;
884 return (void *) dest
;
887 static void *SwigwxCalendarCtrlTowxObject(void *ptr
) {
890 src
= (wxCalendarCtrl
*) ptr
;
891 dest
= (wxObject
*) src
;
892 return (void *) dest
;
895 #define new_wxCalendarCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxCalendarCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
896 static PyObject
*_wrap_new_wxCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
897 PyObject
* _resultobj
;
898 wxCalendarCtrl
* _result
;
901 wxDateTime
* _arg2
= (wxDateTime
*) &wxDefaultDateTime
;
902 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
903 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
904 long _arg5
= (long ) (wxCAL_SHOW_HOLIDAYS
)|wxWANTS_CHARS
;
905 char * _arg6
= (char *) "calendar";
906 PyObject
* _argo0
= 0;
907 PyObject
* _argo2
= 0;
909 PyObject
* _obj3
= 0;
911 PyObject
* _obj4
= 0;
912 char *_kwnames
[] = { "parent","id","date","pos","size","style","name", NULL
};
916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOls:new_wxCalendarCtrl",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCalendarCtrl. Expected _wxWindow_p.");
926 if (_argo2
== Py_None
) { _arg2
= NULL
; }
927 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxCalendarCtrl. Expected _wxDateTime_p.");
935 if (! wxPoint_helper(_obj3
, &_arg3
))
941 if (! wxSize_helper(_obj4
, &_arg4
))
945 wxPy_BEGIN_ALLOW_THREADS
;
946 _result
= (wxCalendarCtrl
*)new_wxCalendarCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
948 wxPy_END_ALLOW_THREADS
;
949 if (PyErr_Occurred()) return NULL
;
951 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarCtrl_p");
952 _resultobj
= Py_BuildValue("s",_ptemp
);
955 _resultobj
= Py_None
;
960 #define new_wxPreCalendarCtrl() (new wxCalendarCtrl())
961 static PyObject
*_wrap_new_wxPreCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
962 PyObject
* _resultobj
;
963 wxCalendarCtrl
* _result
;
964 char *_kwnames
[] = { NULL
};
968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCalendarCtrl",_kwnames
))
971 wxPy_BEGIN_ALLOW_THREADS
;
972 _result
= (wxCalendarCtrl
*)new_wxPreCalendarCtrl();
974 wxPy_END_ALLOW_THREADS
;
975 if (PyErr_Occurred()) return NULL
;
977 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarCtrl_p");
978 _resultobj
= Py_BuildValue("s",_ptemp
);
981 _resultobj
= Py_None
;
986 #define wxCalendarCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
987 static PyObject
*_wrap_wxCalendarCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
988 PyObject
* _resultobj
;
990 wxCalendarCtrl
* _arg0
;
993 wxDateTime
* _arg3
= (wxDateTime
*) &wxDefaultDateTime
;
994 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
995 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
996 long _arg6
= (long ) (wxCAL_SHOW_HOLIDAYS
)|wxWANTS_CHARS
;
997 char * _arg7
= (char *) "calendar";
998 PyObject
* _argo0
= 0;
999 PyObject
* _argo1
= 0;
1000 PyObject
* _argo3
= 0;
1002 PyObject
* _obj4
= 0;
1004 PyObject
* _obj5
= 0;
1005 char *_kwnames
[] = { "self","parent","id","date","pos","size","style","name", NULL
};
1008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOls:wxCalendarCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
1011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_Create. Expected _wxCalendarCtrl_p.");
1018 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1019 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_Create. Expected _wxWindow_p.");
1025 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1026 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime_p")) {
1027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxCalendarCtrl_Create. Expected _wxDateTime_p.");
1034 if (! wxPoint_helper(_obj4
, &_arg4
))
1040 if (! wxSize_helper(_obj5
, &_arg5
))
1044 wxPy_BEGIN_ALLOW_THREADS
;
1045 _result
= (bool )wxCalendarCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
1047 wxPy_END_ALLOW_THREADS
;
1048 if (PyErr_Occurred()) return NULL
;
1049 } _resultobj
= Py_BuildValue("i",_result
);
1053 #define wxCalendarCtrl_SetDate(_swigobj,_swigarg0) (_swigobj->SetDate(_swigarg0))
1054 static PyObject
*_wrap_wxCalendarCtrl_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1055 PyObject
* _resultobj
;
1056 wxCalendarCtrl
* _arg0
;
1058 PyObject
* _argo0
= 0;
1059 PyObject
* _argo1
= 0;
1060 char *_kwnames
[] = { "self","date", NULL
};
1063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarCtrl_SetDate",_kwnames
,&_argo0
,&_argo1
))
1066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetDate. Expected _wxCalendarCtrl_p.");
1073 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1074 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
1075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetDate. Expected _wxDateTime_p.");
1080 wxPy_BEGIN_ALLOW_THREADS
;
1081 wxCalendarCtrl_SetDate(_arg0
,*_arg1
);
1083 wxPy_END_ALLOW_THREADS
;
1084 if (PyErr_Occurred()) return NULL
;
1085 } Py_INCREF(Py_None
);
1086 _resultobj
= Py_None
;
1090 #define wxCalendarCtrl_GetDate(_swigobj) (_swigobj->GetDate())
1091 static PyObject
*_wrap_wxCalendarCtrl_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1092 PyObject
* _resultobj
;
1093 wxDateTime
* _result
;
1094 wxCalendarCtrl
* _arg0
;
1095 PyObject
* _argo0
= 0;
1096 char *_kwnames
[] = { "self", NULL
};
1100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetDate",_kwnames
,&_argo0
))
1103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetDate. Expected _wxCalendarCtrl_p.");
1110 wxPy_BEGIN_ALLOW_THREADS
;
1111 const wxDateTime
& _result_ref
= wxCalendarCtrl_GetDate(_arg0
);
1112 _result
= (wxDateTime
*) &_result_ref
;
1114 wxPy_END_ALLOW_THREADS
;
1115 if (PyErr_Occurred()) return NULL
;
1117 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
1118 _resultobj
= Py_BuildValue("s",_ptemp
);
1121 _resultobj
= Py_None
;
1126 #define wxCalendarCtrl_SetLowerDateLimit(_swigobj,_swigarg0) (_swigobj->SetLowerDateLimit(_swigarg0))
1127 static PyObject
*_wrap_wxCalendarCtrl_SetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1128 PyObject
* _resultobj
;
1130 wxCalendarCtrl
* _arg0
;
1131 wxDateTime
* _arg1
= (wxDateTime
*) &wxDefaultDateTime
;
1132 PyObject
* _argo0
= 0;
1133 PyObject
* _argo1
= 0;
1134 char *_kwnames
[] = { "self","date", NULL
};
1137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxCalendarCtrl_SetLowerDateLimit",_kwnames
,&_argo0
,&_argo1
))
1140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetLowerDateLimit. Expected _wxCalendarCtrl_p.");
1147 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1148 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
1149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetLowerDateLimit. Expected _wxDateTime_p.");
1154 wxPy_BEGIN_ALLOW_THREADS
;
1155 _result
= (bool )wxCalendarCtrl_SetLowerDateLimit(_arg0
,*_arg1
);
1157 wxPy_END_ALLOW_THREADS
;
1158 if (PyErr_Occurred()) return NULL
;
1159 } _resultobj
= Py_BuildValue("i",_result
);
1163 #define wxCalendarCtrl_GetLowerDateLimit(_swigobj) (_swigobj->GetLowerDateLimit())
1164 static PyObject
*_wrap_wxCalendarCtrl_GetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1165 PyObject
* _resultobj
;
1166 wxDateTime
* _result
;
1167 wxCalendarCtrl
* _arg0
;
1168 PyObject
* _argo0
= 0;
1169 char *_kwnames
[] = { "self", NULL
};
1173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetLowerDateLimit",_kwnames
,&_argo0
))
1176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetLowerDateLimit. Expected _wxCalendarCtrl_p.");
1183 wxPy_BEGIN_ALLOW_THREADS
;
1184 const wxDateTime
& _result_ref
= wxCalendarCtrl_GetLowerDateLimit(_arg0
);
1185 _result
= (wxDateTime
*) &_result_ref
;
1187 wxPy_END_ALLOW_THREADS
;
1188 if (PyErr_Occurred()) return NULL
;
1190 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
1191 _resultobj
= Py_BuildValue("s",_ptemp
);
1194 _resultobj
= Py_None
;
1199 #define wxCalendarCtrl_SetUpperDateLimit(_swigobj,_swigarg0) (_swigobj->SetUpperDateLimit(_swigarg0))
1200 static PyObject
*_wrap_wxCalendarCtrl_SetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1201 PyObject
* _resultobj
;
1203 wxCalendarCtrl
* _arg0
;
1204 wxDateTime
* _arg1
= (wxDateTime
*) &wxDefaultDateTime
;
1205 PyObject
* _argo0
= 0;
1206 PyObject
* _argo1
= 0;
1207 char *_kwnames
[] = { "self","date", NULL
};
1210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxCalendarCtrl_SetUpperDateLimit",_kwnames
,&_argo0
,&_argo1
))
1213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetUpperDateLimit. Expected _wxCalendarCtrl_p.");
1220 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1221 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
1222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetUpperDateLimit. Expected _wxDateTime_p.");
1227 wxPy_BEGIN_ALLOW_THREADS
;
1228 _result
= (bool )wxCalendarCtrl_SetUpperDateLimit(_arg0
,*_arg1
);
1230 wxPy_END_ALLOW_THREADS
;
1231 if (PyErr_Occurred()) return NULL
;
1232 } _resultobj
= Py_BuildValue("i",_result
);
1236 #define wxCalendarCtrl_GetUpperDateLimit(_swigobj) (_swigobj->GetUpperDateLimit())
1237 static PyObject
*_wrap_wxCalendarCtrl_GetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1238 PyObject
* _resultobj
;
1239 wxDateTime
* _result
;
1240 wxCalendarCtrl
* _arg0
;
1241 PyObject
* _argo0
= 0;
1242 char *_kwnames
[] = { "self", NULL
};
1246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetUpperDateLimit",_kwnames
,&_argo0
))
1249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetUpperDateLimit. Expected _wxCalendarCtrl_p.");
1256 wxPy_BEGIN_ALLOW_THREADS
;
1257 const wxDateTime
& _result_ref
= wxCalendarCtrl_GetUpperDateLimit(_arg0
);
1258 _result
= (wxDateTime
*) &_result_ref
;
1260 wxPy_END_ALLOW_THREADS
;
1261 if (PyErr_Occurred()) return NULL
;
1263 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
1264 _resultobj
= Py_BuildValue("s",_ptemp
);
1267 _resultobj
= Py_None
;
1272 #define wxCalendarCtrl_SetDateRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDateRange(_swigarg0,_swigarg1))
1273 static PyObject
*_wrap_wxCalendarCtrl_SetDateRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1274 PyObject
* _resultobj
;
1276 wxCalendarCtrl
* _arg0
;
1277 wxDateTime
* _arg1
= (wxDateTime
*) &wxDefaultDateTime
;
1278 wxDateTime
* _arg2
= (wxDateTime
*) &wxDefaultDateTime
;
1279 PyObject
* _argo0
= 0;
1280 PyObject
* _argo1
= 0;
1281 PyObject
* _argo2
= 0;
1282 char *_kwnames
[] = { "self","lowerdate","upperdate", NULL
};
1285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxCalendarCtrl_SetDateRange",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetDateRange. Expected _wxCalendarCtrl_p.");
1295 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1296 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
1297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetDateRange. Expected _wxDateTime_p.");
1302 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1303 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
1304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_SetDateRange. Expected _wxDateTime_p.");
1309 wxPy_BEGIN_ALLOW_THREADS
;
1310 _result
= (bool )wxCalendarCtrl_SetDateRange(_arg0
,*_arg1
,*_arg2
);
1312 wxPy_END_ALLOW_THREADS
;
1313 if (PyErr_Occurred()) return NULL
;
1314 } _resultobj
= Py_BuildValue("i",_result
);
1318 #define wxCalendarCtrl_EnableYearChange(_swigobj,_swigarg0) (_swigobj->EnableYearChange(_swigarg0))
1319 static PyObject
*_wrap_wxCalendarCtrl_EnableYearChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1320 PyObject
* _resultobj
;
1321 wxCalendarCtrl
* _arg0
;
1322 bool _arg1
= (bool ) TRUE
;
1323 PyObject
* _argo0
= 0;
1324 int tempbool1
= (int) TRUE
;
1325 char *_kwnames
[] = { "self","enable", NULL
};
1328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableYearChange",_kwnames
,&_argo0
,&tempbool1
))
1331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableYearChange. Expected _wxCalendarCtrl_p.");
1337 _arg1
= (bool ) tempbool1
;
1339 wxPy_BEGIN_ALLOW_THREADS
;
1340 wxCalendarCtrl_EnableYearChange(_arg0
,_arg1
);
1342 wxPy_END_ALLOW_THREADS
;
1343 if (PyErr_Occurred()) return NULL
;
1344 } Py_INCREF(Py_None
);
1345 _resultobj
= Py_None
;
1349 #define wxCalendarCtrl_EnableMonthChange(_swigobj,_swigarg0) (_swigobj->EnableMonthChange(_swigarg0))
1350 static PyObject
*_wrap_wxCalendarCtrl_EnableMonthChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1351 PyObject
* _resultobj
;
1352 wxCalendarCtrl
* _arg0
;
1353 bool _arg1
= (bool ) TRUE
;
1354 PyObject
* _argo0
= 0;
1355 int tempbool1
= (int) TRUE
;
1356 char *_kwnames
[] = { "self","enable", NULL
};
1359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableMonthChange",_kwnames
,&_argo0
,&tempbool1
))
1362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableMonthChange. Expected _wxCalendarCtrl_p.");
1368 _arg1
= (bool ) tempbool1
;
1370 wxPy_BEGIN_ALLOW_THREADS
;
1371 wxCalendarCtrl_EnableMonthChange(_arg0
,_arg1
);
1373 wxPy_END_ALLOW_THREADS
;
1374 if (PyErr_Occurred()) return NULL
;
1375 } Py_INCREF(Py_None
);
1376 _resultobj
= Py_None
;
1380 #define wxCalendarCtrl_EnableHolidayDisplay(_swigobj,_swigarg0) (_swigobj->EnableHolidayDisplay(_swigarg0))
1381 static PyObject
*_wrap_wxCalendarCtrl_EnableHolidayDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1382 PyObject
* _resultobj
;
1383 wxCalendarCtrl
* _arg0
;
1384 bool _arg1
= (bool ) TRUE
;
1385 PyObject
* _argo0
= 0;
1386 int tempbool1
= (int) TRUE
;
1387 char *_kwnames
[] = { "self","display", NULL
};
1390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableHolidayDisplay",_kwnames
,&_argo0
,&tempbool1
))
1393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableHolidayDisplay. Expected _wxCalendarCtrl_p.");
1399 _arg1
= (bool ) tempbool1
;
1401 wxPy_BEGIN_ALLOW_THREADS
;
1402 wxCalendarCtrl_EnableHolidayDisplay(_arg0
,_arg1
);
1404 wxPy_END_ALLOW_THREADS
;
1405 if (PyErr_Occurred()) return NULL
;
1406 } Py_INCREF(Py_None
);
1407 _resultobj
= Py_None
;
1411 #define wxCalendarCtrl_SetHeaderColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeaderColours(_swigarg0,_swigarg1))
1412 static PyObject
*_wrap_wxCalendarCtrl_SetHeaderColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
* _resultobj
;
1414 wxCalendarCtrl
* _arg0
;
1417 PyObject
* _argo0
= 0;
1419 PyObject
* _obj1
= 0;
1421 PyObject
* _obj2
= 0;
1422 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHeaderColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHeaderColours. Expected _wxCalendarCtrl_p.");
1436 if (! wxColour_helper(_obj1
, &_arg1
))
1441 if (! wxColour_helper(_obj2
, &_arg2
))
1445 wxPy_BEGIN_ALLOW_THREADS
;
1446 wxCalendarCtrl_SetHeaderColours(_arg0
,*_arg1
,*_arg2
);
1448 wxPy_END_ALLOW_THREADS
;
1449 if (PyErr_Occurred()) return NULL
;
1450 } Py_INCREF(Py_None
);
1451 _resultobj
= Py_None
;
1455 #define wxCalendarCtrl_GetHeaderColourFg(_swigobj) (_swigobj->GetHeaderColourFg())
1456 static PyObject
*_wrap_wxCalendarCtrl_GetHeaderColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1457 PyObject
* _resultobj
;
1459 wxCalendarCtrl
* _arg0
;
1460 PyObject
* _argo0
= 0;
1461 char *_kwnames
[] = { "self", NULL
};
1465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHeaderColourFg",_kwnames
,&_argo0
))
1468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHeaderColourFg. Expected _wxCalendarCtrl_p.");
1475 wxPy_BEGIN_ALLOW_THREADS
;
1476 const wxColour
& _result_ref
= wxCalendarCtrl_GetHeaderColourFg(_arg0
);
1477 _result
= (wxColour
*) &_result_ref
;
1479 wxPy_END_ALLOW_THREADS
;
1480 if (PyErr_Occurred()) return NULL
;
1482 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1483 _resultobj
= Py_BuildValue("s",_ptemp
);
1486 _resultobj
= Py_None
;
1491 #define wxCalendarCtrl_GetHeaderColourBg(_swigobj) (_swigobj->GetHeaderColourBg())
1492 static PyObject
*_wrap_wxCalendarCtrl_GetHeaderColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1493 PyObject
* _resultobj
;
1495 wxCalendarCtrl
* _arg0
;
1496 PyObject
* _argo0
= 0;
1497 char *_kwnames
[] = { "self", NULL
};
1501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHeaderColourBg",_kwnames
,&_argo0
))
1504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHeaderColourBg. Expected _wxCalendarCtrl_p.");
1511 wxPy_BEGIN_ALLOW_THREADS
;
1512 const wxColour
& _result_ref
= wxCalendarCtrl_GetHeaderColourBg(_arg0
);
1513 _result
= (wxColour
*) &_result_ref
;
1515 wxPy_END_ALLOW_THREADS
;
1516 if (PyErr_Occurred()) return NULL
;
1518 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1519 _resultobj
= Py_BuildValue("s",_ptemp
);
1522 _resultobj
= Py_None
;
1527 #define wxCalendarCtrl_SetHighlightColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlightColours(_swigarg0,_swigarg1))
1528 static PyObject
*_wrap_wxCalendarCtrl_SetHighlightColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1529 PyObject
* _resultobj
;
1530 wxCalendarCtrl
* _arg0
;
1533 PyObject
* _argo0
= 0;
1535 PyObject
* _obj1
= 0;
1537 PyObject
* _obj2
= 0;
1538 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHighlightColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHighlightColours. Expected _wxCalendarCtrl_p.");
1552 if (! wxColour_helper(_obj1
, &_arg1
))
1557 if (! wxColour_helper(_obj2
, &_arg2
))
1561 wxPy_BEGIN_ALLOW_THREADS
;
1562 wxCalendarCtrl_SetHighlightColours(_arg0
,*_arg1
,*_arg2
);
1564 wxPy_END_ALLOW_THREADS
;
1565 if (PyErr_Occurred()) return NULL
;
1566 } Py_INCREF(Py_None
);
1567 _resultobj
= Py_None
;
1571 #define wxCalendarCtrl_GetHighlightColourFg(_swigobj) (_swigobj->GetHighlightColourFg())
1572 static PyObject
*_wrap_wxCalendarCtrl_GetHighlightColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1573 PyObject
* _resultobj
;
1575 wxCalendarCtrl
* _arg0
;
1576 PyObject
* _argo0
= 0;
1577 char *_kwnames
[] = { "self", NULL
};
1581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHighlightColourFg",_kwnames
,&_argo0
))
1584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHighlightColourFg. Expected _wxCalendarCtrl_p.");
1591 wxPy_BEGIN_ALLOW_THREADS
;
1592 const wxColour
& _result_ref
= wxCalendarCtrl_GetHighlightColourFg(_arg0
);
1593 _result
= (wxColour
*) &_result_ref
;
1595 wxPy_END_ALLOW_THREADS
;
1596 if (PyErr_Occurred()) return NULL
;
1598 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1599 _resultobj
= Py_BuildValue("s",_ptemp
);
1602 _resultobj
= Py_None
;
1607 #define wxCalendarCtrl_GetHighlightColourBg(_swigobj) (_swigobj->GetHighlightColourBg())
1608 static PyObject
*_wrap_wxCalendarCtrl_GetHighlightColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1609 PyObject
* _resultobj
;
1611 wxCalendarCtrl
* _arg0
;
1612 PyObject
* _argo0
= 0;
1613 char *_kwnames
[] = { "self", NULL
};
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHighlightColourBg",_kwnames
,&_argo0
))
1620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHighlightColourBg. Expected _wxCalendarCtrl_p.");
1627 wxPy_BEGIN_ALLOW_THREADS
;
1628 const wxColour
& _result_ref
= wxCalendarCtrl_GetHighlightColourBg(_arg0
);
1629 _result
= (wxColour
*) &_result_ref
;
1631 wxPy_END_ALLOW_THREADS
;
1632 if (PyErr_Occurred()) return NULL
;
1634 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1635 _resultobj
= Py_BuildValue("s",_ptemp
);
1638 _resultobj
= Py_None
;
1643 #define wxCalendarCtrl_SetHolidayColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHolidayColours(_swigarg0,_swigarg1))
1644 static PyObject
*_wrap_wxCalendarCtrl_SetHolidayColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1645 PyObject
* _resultobj
;
1646 wxCalendarCtrl
* _arg0
;
1649 PyObject
* _argo0
= 0;
1651 PyObject
* _obj1
= 0;
1653 PyObject
* _obj2
= 0;
1654 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHolidayColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHolidayColours. Expected _wxCalendarCtrl_p.");
1668 if (! wxColour_helper(_obj1
, &_arg1
))
1673 if (! wxColour_helper(_obj2
, &_arg2
))
1677 wxPy_BEGIN_ALLOW_THREADS
;
1678 wxCalendarCtrl_SetHolidayColours(_arg0
,*_arg1
,*_arg2
);
1680 wxPy_END_ALLOW_THREADS
;
1681 if (PyErr_Occurred()) return NULL
;
1682 } Py_INCREF(Py_None
);
1683 _resultobj
= Py_None
;
1687 #define wxCalendarCtrl_GetHolidayColourFg(_swigobj) (_swigobj->GetHolidayColourFg())
1688 static PyObject
*_wrap_wxCalendarCtrl_GetHolidayColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
* _resultobj
;
1691 wxCalendarCtrl
* _arg0
;
1692 PyObject
* _argo0
= 0;
1693 char *_kwnames
[] = { "self", NULL
};
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHolidayColourFg",_kwnames
,&_argo0
))
1700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHolidayColourFg. Expected _wxCalendarCtrl_p.");
1707 wxPy_BEGIN_ALLOW_THREADS
;
1708 const wxColour
& _result_ref
= wxCalendarCtrl_GetHolidayColourFg(_arg0
);
1709 _result
= (wxColour
*) &_result_ref
;
1711 wxPy_END_ALLOW_THREADS
;
1712 if (PyErr_Occurred()) return NULL
;
1714 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1715 _resultobj
= Py_BuildValue("s",_ptemp
);
1718 _resultobj
= Py_None
;
1723 #define wxCalendarCtrl_GetHolidayColourBg(_swigobj) (_swigobj->GetHolidayColourBg())
1724 static PyObject
*_wrap_wxCalendarCtrl_GetHolidayColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1725 PyObject
* _resultobj
;
1727 wxCalendarCtrl
* _arg0
;
1728 PyObject
* _argo0
= 0;
1729 char *_kwnames
[] = { "self", NULL
};
1733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHolidayColourBg",_kwnames
,&_argo0
))
1736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHolidayColourBg. Expected _wxCalendarCtrl_p.");
1743 wxPy_BEGIN_ALLOW_THREADS
;
1744 const wxColour
& _result_ref
= wxCalendarCtrl_GetHolidayColourBg(_arg0
);
1745 _result
= (wxColour
*) &_result_ref
;
1747 wxPy_END_ALLOW_THREADS
;
1748 if (PyErr_Occurred()) return NULL
;
1750 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1751 _resultobj
= Py_BuildValue("s",_ptemp
);
1754 _resultobj
= Py_None
;
1759 #define wxCalendarCtrl_GetAttr(_swigobj,_swigarg0) (_swigobj->GetAttr(_swigarg0))
1760 static PyObject
*_wrap_wxCalendarCtrl_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
* _resultobj
;
1762 wxCalendarDateAttr
* _result
;
1763 wxCalendarCtrl
* _arg0
;
1765 PyObject
* _argo0
= 0;
1766 char *_kwnames
[] = { "self","day", NULL
};
1770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_GetAttr",_kwnames
,&_argo0
,&_arg1
))
1773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetAttr. Expected _wxCalendarCtrl_p.");
1780 wxPy_BEGIN_ALLOW_THREADS
;
1781 _result
= (wxCalendarDateAttr
*)wxCalendarCtrl_GetAttr(_arg0
,_arg1
);
1783 wxPy_END_ALLOW_THREADS
;
1784 if (PyErr_Occurred()) return NULL
;
1786 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
1787 _resultobj
= Py_BuildValue("s",_ptemp
);
1790 _resultobj
= Py_None
;
1795 #define wxCalendarCtrl_SetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttr(_swigarg0,_swigarg1))
1796 static PyObject
*_wrap_wxCalendarCtrl_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1797 PyObject
* _resultobj
;
1798 wxCalendarCtrl
* _arg0
;
1800 wxCalendarDateAttr
* _arg2
;
1801 PyObject
* _argo0
= 0;
1802 PyObject
* _argo2
= 0;
1803 char *_kwnames
[] = { "self","day","attr", NULL
};
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxCalendarCtrl_SetAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
1809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetAttr. Expected _wxCalendarCtrl_p.");
1816 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1817 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxCalendarDateAttr_p")) {
1818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_SetAttr. Expected _wxCalendarDateAttr_p.");
1823 wxPy_BEGIN_ALLOW_THREADS
;
1824 wxCalendarCtrl_SetAttr(_arg0
,_arg1
,_arg2
);
1826 wxPy_END_ALLOW_THREADS
;
1827 if (PyErr_Occurred()) return NULL
;
1828 } Py_INCREF(Py_None
);
1829 _resultobj
= Py_None
;
1833 #define wxCalendarCtrl_SetHoliday(_swigobj,_swigarg0) (_swigobj->SetHoliday(_swigarg0))
1834 static PyObject
*_wrap_wxCalendarCtrl_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
* _resultobj
;
1836 wxCalendarCtrl
* _arg0
;
1838 PyObject
* _argo0
= 0;
1839 char *_kwnames
[] = { "self","day", NULL
};
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_SetHoliday",_kwnames
,&_argo0
,&_arg1
))
1845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHoliday. Expected _wxCalendarCtrl_p.");
1852 wxPy_BEGIN_ALLOW_THREADS
;
1853 wxCalendarCtrl_SetHoliday(_arg0
,_arg1
);
1855 wxPy_END_ALLOW_THREADS
;
1856 if (PyErr_Occurred()) return NULL
;
1857 } Py_INCREF(Py_None
);
1858 _resultobj
= Py_None
;
1862 #define wxCalendarCtrl_ResetAttr(_swigobj,_swigarg0) (_swigobj->ResetAttr(_swigarg0))
1863 static PyObject
*_wrap_wxCalendarCtrl_ResetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1864 PyObject
* _resultobj
;
1865 wxCalendarCtrl
* _arg0
;
1867 PyObject
* _argo0
= 0;
1868 char *_kwnames
[] = { "self","day", NULL
};
1871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_ResetAttr",_kwnames
,&_argo0
,&_arg1
))
1874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_ResetAttr. Expected _wxCalendarCtrl_p.");
1881 wxPy_BEGIN_ALLOW_THREADS
;
1882 wxCalendarCtrl_ResetAttr(_arg0
,_arg1
);
1884 wxPy_END_ALLOW_THREADS
;
1885 if (PyErr_Occurred()) return NULL
;
1886 } Py_INCREF(Py_None
);
1887 _resultobj
= Py_None
;
1891 #define wxCalendarCtrl_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2))
1892 static PyObject
*_wrap_wxCalendarCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1893 PyObject
* _resultobj
;
1894 wxCalendarHitTestResult _result
;
1895 wxCalendarCtrl
* _arg0
;
1897 wxDateTime
* _arg2
= (wxDateTime
*) NULL
;
1898 wxDateTime::WeekDay
* _arg3
= (wxDateTime::WeekDay
*) NULL
;
1899 PyObject
* _argo0
= 0;
1901 PyObject
* _obj1
= 0;
1902 PyObject
* _argo2
= 0;
1903 PyObject
* _argo3
= 0;
1904 char *_kwnames
[] = { "self","pos","date","wd", NULL
};
1907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxCalendarCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
1910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_HitTest. Expected _wxCalendarCtrl_p.");
1918 if (! wxPoint_helper(_obj1
, &_arg1
))
1922 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1923 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
1924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_HitTest. Expected _wxDateTime_p.");
1929 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1930 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime::WeekDay_p")) {
1931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxCalendarCtrl_HitTest. Expected _wxDateTime::WeekDay_p.");
1936 wxPy_BEGIN_ALLOW_THREADS
;
1937 _result
= (wxCalendarHitTestResult
)wxCalendarCtrl_HitTest(_arg0
,*_arg1
,_arg2
,_arg3
);
1939 wxPy_END_ALLOW_THREADS
;
1940 if (PyErr_Occurred()) return NULL
;
1941 } _resultobj
= Py_BuildValue("i",_result
);
1945 #define wxCalendarCtrl_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1946 static PyObject
*_wrap_wxCalendarCtrl_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
* _resultobj
;
1949 wxCalendarCtrl
* _arg0
;
1950 bool _arg1
= (bool ) TRUE
;
1951 PyObject
* _argo0
= 0;
1952 int tempbool1
= (int) TRUE
;
1953 char *_kwnames
[] = { "self","enable", NULL
};
1956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_Enable",_kwnames
,&_argo0
,&tempbool1
))
1959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_Enable. Expected _wxCalendarCtrl_p.");
1965 _arg1
= (bool ) tempbool1
;
1967 wxPy_BEGIN_ALLOW_THREADS
;
1968 _result
= (bool )wxCalendarCtrl_Enable(_arg0
,_arg1
);
1970 wxPy_END_ALLOW_THREADS
;
1971 if (PyErr_Occurred()) return NULL
;
1972 } _resultobj
= Py_BuildValue("i",_result
);
1976 #define wxCalendarCtrl_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
1977 static PyObject
*_wrap_wxCalendarCtrl_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
* _resultobj
;
1980 wxCalendarCtrl
* _arg0
;
1981 bool _arg1
= (bool ) TRUE
;
1982 PyObject
* _argo0
= 0;
1983 int tempbool1
= (int) TRUE
;
1984 char *_kwnames
[] = { "self","show", NULL
};
1987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_Show",_kwnames
,&_argo0
,&tempbool1
))
1990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_Show. Expected _wxCalendarCtrl_p.");
1996 _arg1
= (bool ) tempbool1
;
1998 wxPy_BEGIN_ALLOW_THREADS
;
1999 _result
= (bool )wxCalendarCtrl_Show(_arg0
,_arg1
);
2001 wxPy_END_ALLOW_THREADS
;
2002 if (PyErr_Occurred()) return NULL
;
2003 } _resultobj
= Py_BuildValue("i",_result
);
2007 static PyMethodDef calendarcMethods
[] = {
2008 { "wxCalendarCtrl_Show", (PyCFunction
) _wrap_wxCalendarCtrl_Show
, METH_VARARGS
| METH_KEYWORDS
},
2009 { "wxCalendarCtrl_Enable", (PyCFunction
) _wrap_wxCalendarCtrl_Enable
, METH_VARARGS
| METH_KEYWORDS
},
2010 { "wxCalendarCtrl_HitTest", (PyCFunction
) _wrap_wxCalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
2011 { "wxCalendarCtrl_ResetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2012 { "wxCalendarCtrl_SetHoliday", (PyCFunction
) _wrap_wxCalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2013 { "wxCalendarCtrl_SetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2014 { "wxCalendarCtrl_GetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2015 { "wxCalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2016 { "wxCalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2017 { "wxCalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
},
2018 { "wxCalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2019 { "wxCalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2020 { "wxCalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
},
2021 { "wxCalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2022 { "wxCalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2023 { "wxCalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
},
2024 { "wxCalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_wxCalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
},
2025 { "wxCalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_wxCalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
},
2026 { "wxCalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_wxCalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
},
2027 { "wxCalendarCtrl_SetDateRange", (PyCFunction
) _wrap_wxCalendarCtrl_SetDateRange
, METH_VARARGS
| METH_KEYWORDS
},
2028 { "wxCalendarCtrl_GetUpperDateLimit", (PyCFunction
) _wrap_wxCalendarCtrl_GetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2029 { "wxCalendarCtrl_SetUpperDateLimit", (PyCFunction
) _wrap_wxCalendarCtrl_SetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2030 { "wxCalendarCtrl_GetLowerDateLimit", (PyCFunction
) _wrap_wxCalendarCtrl_GetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2031 { "wxCalendarCtrl_SetLowerDateLimit", (PyCFunction
) _wrap_wxCalendarCtrl_SetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2032 { "wxCalendarCtrl_GetDate", (PyCFunction
) _wrap_wxCalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
2033 { "wxCalendarCtrl_SetDate", (PyCFunction
) _wrap_wxCalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
2034 { "wxCalendarCtrl_Create", (PyCFunction
) _wrap_wxCalendarCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
2035 { "new_wxPreCalendarCtrl", (PyCFunction
) _wrap_new_wxPreCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
2036 { "new_wxCalendarCtrl", (PyCFunction
) _wrap_new_wxCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
2037 { "wxCalendarEvent_GetWeekDay", (PyCFunction
) _wrap_wxCalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
2038 { "wxCalendarEvent_GetDate", (PyCFunction
) _wrap_wxCalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
2039 { "new_wxCalendarEvent", (PyCFunction
) _wrap_new_wxCalendarEvent
, METH_VARARGS
| METH_KEYWORDS
},
2040 { "wxCalendarDateAttr_GetBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2041 { "wxCalendarDateAttr_GetFont", (PyCFunction
) _wrap_wxCalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
2042 { "wxCalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2043 { "wxCalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2044 { "wxCalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2045 { "wxCalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_wxCalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2046 { "wxCalendarDateAttr_HasBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2047 { "wxCalendarDateAttr_HasFont", (PyCFunction
) _wrap_wxCalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
2048 { "wxCalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2049 { "wxCalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2050 { "wxCalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2051 { "wxCalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_wxCalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2052 { "wxCalendarDateAttr_SetBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2053 { "wxCalendarDateAttr_SetFont", (PyCFunction
) _wrap_wxCalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
2054 { "wxCalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2055 { "wxCalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2056 { "wxCalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2057 { "new_wxCalendarDateAttrBorder", (PyCFunction
) _wrap_new_wxCalendarDateAttrBorder
, METH_VARARGS
| METH_KEYWORDS
},
2058 { "new_wxCalendarDateAttr", (PyCFunction
) _wrap_new_wxCalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
},
2065 * This table is used by the pointer type-checker
2067 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2068 { "_wxEvent","_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
2069 { "_signed_long","_long",0},
2070 { "_wxPrintQuality","_wxCoord",0},
2071 { "_wxPrintQuality","_int",0},
2072 { "_wxPrintQuality","_signed_int",0},
2073 { "_wxPrintQuality","_unsigned_int",0},
2074 { "_wxPrintQuality","_wxWindowID",0},
2075 { "_wxPrintQuality","_uint",0},
2076 { "_wxPrintQuality","_EBool",0},
2077 { "_wxPrintQuality","_size_t",0},
2078 { "_wxPrintQuality","_time_t",0},
2079 { "_byte","_unsigned_char",0},
2080 { "_long","_unsigned_long",0},
2081 { "_long","_signed_long",0},
2082 { "_size_t","_wxCoord",0},
2083 { "_size_t","_wxPrintQuality",0},
2084 { "_size_t","_time_t",0},
2085 { "_size_t","_unsigned_int",0},
2086 { "_size_t","_int",0},
2087 { "_size_t","_wxWindowID",0},
2088 { "_size_t","_uint",0},
2089 { "_uint","_wxCoord",0},
2090 { "_uint","_wxPrintQuality",0},
2091 { "_uint","_time_t",0},
2092 { "_uint","_size_t",0},
2093 { "_uint","_unsigned_int",0},
2094 { "_uint","_int",0},
2095 { "_uint","_wxWindowID",0},
2096 { "_wxChar","_char",0},
2097 { "_wxCommandEvent","_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
2098 { "_char","_wxChar",0},
2099 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2100 { "_EBool","_wxCoord",0},
2101 { "_EBool","_wxPrintQuality",0},
2102 { "_EBool","_signed_int",0},
2103 { "_EBool","_int",0},
2104 { "_EBool","_wxWindowID",0},
2105 { "_unsigned_long","_long",0},
2106 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2107 { "_signed_int","_wxCoord",0},
2108 { "_signed_int","_wxPrintQuality",0},
2109 { "_signed_int","_EBool",0},
2110 { "_signed_int","_wxWindowID",0},
2111 { "_signed_int","_int",0},
2112 { "_WXTYPE","_wxDateTime_t",0},
2113 { "_WXTYPE","_short",0},
2114 { "_WXTYPE","_signed_short",0},
2115 { "_WXTYPE","_unsigned_short",0},
2116 { "_unsigned_short","_wxDateTime_t",0},
2117 { "_unsigned_short","_WXTYPE",0},
2118 { "_unsigned_short","_short",0},
2119 { "_wxObject","_wxCalendarCtrl",SwigwxCalendarCtrlTowxObject
},
2120 { "_wxObject","_wxCalendarEvent",SwigwxCalendarEventTowxObject
},
2121 { "_signed_short","_WXTYPE",0},
2122 { "_signed_short","_short",0},
2123 { "_unsigned_char","_byte",0},
2124 { "_wxControl","_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
2125 { "_unsigned_int","_wxCoord",0},
2126 { "_unsigned_int","_wxPrintQuality",0},
2127 { "_unsigned_int","_time_t",0},
2128 { "_unsigned_int","_size_t",0},
2129 { "_unsigned_int","_uint",0},
2130 { "_unsigned_int","_wxWindowID",0},
2131 { "_unsigned_int","_int",0},
2132 { "_short","_wxDateTime_t",0},
2133 { "_short","_WXTYPE",0},
2134 { "_short","_unsigned_short",0},
2135 { "_short","_signed_short",0},
2136 { "_wxWindowID","_wxCoord",0},
2137 { "_wxWindowID","_wxPrintQuality",0},
2138 { "_wxWindowID","_time_t",0},
2139 { "_wxWindowID","_size_t",0},
2140 { "_wxWindowID","_EBool",0},
2141 { "_wxWindowID","_uint",0},
2142 { "_wxWindowID","_int",0},
2143 { "_wxWindowID","_signed_int",0},
2144 { "_wxWindowID","_unsigned_int",0},
2145 { "_int","_wxCoord",0},
2146 { "_int","_wxPrintQuality",0},
2147 { "_int","_time_t",0},
2148 { "_int","_size_t",0},
2149 { "_int","_EBool",0},
2150 { "_int","_uint",0},
2151 { "_int","_wxWindowID",0},
2152 { "_int","_unsigned_int",0},
2153 { "_int","_signed_int",0},
2154 { "_wxDateTime_t","_unsigned_short",0},
2155 { "_wxDateTime_t","_short",0},
2156 { "_wxDateTime_t","_WXTYPE",0},
2157 { "_time_t","_wxCoord",0},
2158 { "_time_t","_wxPrintQuality",0},
2159 { "_time_t","_unsigned_int",0},
2160 { "_time_t","_int",0},
2161 { "_time_t","_wxWindowID",0},
2162 { "_time_t","_uint",0},
2163 { "_time_t","_size_t",0},
2164 { "_wxCoord","_int",0},
2165 { "_wxCoord","_signed_int",0},
2166 { "_wxCoord","_unsigned_int",0},
2167 { "_wxCoord","_wxWindowID",0},
2168 { "_wxCoord","_uint",0},
2169 { "_wxCoord","_EBool",0},
2170 { "_wxCoord","_size_t",0},
2171 { "_wxCoord","_time_t",0},
2172 { "_wxCoord","_wxPrintQuality",0},
2173 { "_wxEvtHandler","_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler
},
2174 { "_wxWindow","_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
2177 static PyObject
*SWIG_globals
;
2181 SWIGEXPORT(void) initcalendarc() {
2183 SWIG_globals
= SWIG_newvarlink();
2184 m
= Py_InitModule("calendarc", calendarcMethods
);
2185 d
= PyModule_GetDict(m
);
2186 PyDict_SetItemString(d
,"wxCAL_SUNDAY_FIRST", PyInt_FromLong((long) wxCAL_SUNDAY_FIRST
));
2187 PyDict_SetItemString(d
,"wxCAL_MONDAY_FIRST", PyInt_FromLong((long) wxCAL_MONDAY_FIRST
));
2188 PyDict_SetItemString(d
,"wxCAL_SHOW_HOLIDAYS", PyInt_FromLong((long) wxCAL_SHOW_HOLIDAYS
));
2189 PyDict_SetItemString(d
,"wxCAL_NO_YEAR_CHANGE", PyInt_FromLong((long) wxCAL_NO_YEAR_CHANGE
));
2190 PyDict_SetItemString(d
,"wxCAL_NO_MONTH_CHANGE", PyInt_FromLong((long) wxCAL_NO_MONTH_CHANGE
));
2191 PyDict_SetItemString(d
,"wxCAL_SEQUENTIAL_MONTH_SELECTION", PyInt_FromLong((long) wxCAL_SEQUENTIAL_MONTH_SELECTION
));
2192 PyDict_SetItemString(d
,"wxCAL_SHOW_SURROUNDING_WEEKS", PyInt_FromLong((long) wxCAL_SHOW_SURROUNDING_WEEKS
));
2193 PyDict_SetItemString(d
,"wxCAL_HITTEST_NOWHERE", PyInt_FromLong((long) wxCAL_HITTEST_NOWHERE
));
2194 PyDict_SetItemString(d
,"wxCAL_HITTEST_HEADER", PyInt_FromLong((long) wxCAL_HITTEST_HEADER
));
2195 PyDict_SetItemString(d
,"wxCAL_HITTEST_DAY", PyInt_FromLong((long) wxCAL_HITTEST_DAY
));
2196 PyDict_SetItemString(d
,"wxCAL_HITTEST_INCMONTH", PyInt_FromLong((long) wxCAL_HITTEST_INCMONTH
));
2197 PyDict_SetItemString(d
,"wxCAL_HITTEST_DECMONTH", PyInt_FromLong((long) wxCAL_HITTEST_DECMONTH
));
2198 PyDict_SetItemString(d
,"wxCAL_HITTEST_SURROUNDING_WEEK", PyInt_FromLong((long) wxCAL_HITTEST_SURROUNDING_WEEK
));
2199 PyDict_SetItemString(d
,"wxCAL_BORDER_NONE", PyInt_FromLong((long) wxCAL_BORDER_NONE
));
2200 PyDict_SetItemString(d
,"wxCAL_BORDER_SQUARE", PyInt_FromLong((long) wxCAL_BORDER_SQUARE
));
2201 PyDict_SetItemString(d
,"wxCAL_BORDER_ROUND", PyInt_FromLong((long) wxCAL_BORDER_ROUND
));
2202 PyDict_SetItemString(d
,"wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_CALENDAR_DOUBLECLICKED
));
2203 PyDict_SetItemString(d
,"wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_SEL_CHANGED
));
2204 PyDict_SetItemString(d
,"wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_DAY_CHANGED
));
2205 PyDict_SetItemString(d
,"wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_MONTH_CHANGED
));
2206 PyDict_SetItemString(d
,"wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_YEAR_CHANGED
));
2207 PyDict_SetItemString(d
,"wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong((long) wxEVT_CALENDAR_WEEKDAY_CLICKED
));
2209 wxClassInfo::CleanUpClasses();
2210 wxClassInfo::InitializeClasses();
2213 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2214 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);