2 * FILE : src/msw/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>
61 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
107 #if PYTHON_API_VERSION >= 1009
108 static char* wxStringErrorMsg
= "String or Unicode type required";
110 static char* wxStringErrorMsg
= "string type is required for parameter";
115 #define new_wxCalendarDateAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxCalendarDateAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
116 static PyObject
*_wrap_new_wxCalendarDateAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
117 PyObject
* _resultobj
;
118 wxCalendarDateAttr
* _result
;
120 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
121 wxColour
* _arg2
= (wxColour
*) &wxNullColour
;
122 wxFont
* _arg3
= (wxFont
*) &wxNullFont
;
123 wxCalendarDateBorder _arg4
= (wxCalendarDateBorder
) (wxCAL_BORDER_NONE
);
125 PyObject
* _obj0
= 0;
127 PyObject
* _obj1
= 0;
129 PyObject
* _obj2
= 0;
130 PyObject
* _argo3
= 0;
131 char *_kwnames
[] = { "colText","colBack","colBorder","font","border", NULL
};
135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOi:new_wxCalendarDateAttr",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
))
139 if (! wxColour_helper(_obj0
, &_arg0
))
145 if (! wxColour_helper(_obj1
, &_arg1
))
151 if (! wxColour_helper(_obj2
, &_arg2
))
155 if (_argo3
== Py_None
) { _arg3
= NULL
; }
156 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxCalendarDateAttr. Expected _wxFont_p.");
162 wxPy_BEGIN_ALLOW_THREADS
;
163 _result
= (wxCalendarDateAttr
*)new_wxCalendarDateAttr(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
165 wxPy_END_ALLOW_THREADS
;
167 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
168 _resultobj
= Py_BuildValue("s",_ptemp
);
171 _resultobj
= Py_None
;
176 #define new_wxCalendarDateAttrBorder(_swigarg0,_swigarg1) (new wxCalendarDateAttr(_swigarg0,_swigarg1))
177 static PyObject
*_wrap_new_wxCalendarDateAttrBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
178 PyObject
* _resultobj
;
179 wxCalendarDateAttr
* _result
;
180 wxCalendarDateBorder _arg0
;
181 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
183 PyObject
* _obj1
= 0;
184 char *_kwnames
[] = { "border","colBorder", NULL
};
188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|O:new_wxCalendarDateAttrBorder",_kwnames
,&_arg0
,&_obj1
))
193 if (! wxColour_helper(_obj1
, &_arg1
))
197 wxPy_BEGIN_ALLOW_THREADS
;
198 _result
= (wxCalendarDateAttr
*)new_wxCalendarDateAttrBorder(_arg0
,*_arg1
);
200 wxPy_END_ALLOW_THREADS
;
202 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
203 _resultobj
= Py_BuildValue("s",_ptemp
);
206 _resultobj
= Py_None
;
211 #define wxCalendarDateAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
212 static PyObject
*_wrap_wxCalendarDateAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
213 PyObject
* _resultobj
;
214 wxCalendarDateAttr
* _arg0
;
216 PyObject
* _argo0
= 0;
218 PyObject
* _obj1
= 0;
219 char *_kwnames
[] = { "self","colText", NULL
};
222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetTextColour. Expected _wxCalendarDateAttr_p.");
233 if (! wxColour_helper(_obj1
, &_arg1
))
237 wxPy_BEGIN_ALLOW_THREADS
;
238 wxCalendarDateAttr_SetTextColour(_arg0
,*_arg1
);
240 wxPy_END_ALLOW_THREADS
;
241 } Py_INCREF(Py_None
);
242 _resultobj
= Py_None
;
246 #define wxCalendarDateAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
247 static PyObject
*_wrap_wxCalendarDateAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
248 PyObject
* _resultobj
;
249 wxCalendarDateAttr
* _arg0
;
251 PyObject
* _argo0
= 0;
253 PyObject
* _obj1
= 0;
254 char *_kwnames
[] = { "self","colBack", NULL
};
257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBackgroundColour. Expected _wxCalendarDateAttr_p.");
268 if (! wxColour_helper(_obj1
, &_arg1
))
272 wxPy_BEGIN_ALLOW_THREADS
;
273 wxCalendarDateAttr_SetBackgroundColour(_arg0
,*_arg1
);
275 wxPy_END_ALLOW_THREADS
;
276 } Py_INCREF(Py_None
);
277 _resultobj
= Py_None
;
281 #define wxCalendarDateAttr_SetBorderColour(_swigobj,_swigarg0) (_swigobj->SetBorderColour(_swigarg0))
282 static PyObject
*_wrap_wxCalendarDateAttr_SetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
283 PyObject
* _resultobj
;
284 wxCalendarDateAttr
* _arg0
;
286 PyObject
* _argo0
= 0;
288 PyObject
* _obj1
= 0;
289 char *_kwnames
[] = { "self","col", NULL
};
292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetBorderColour",_kwnames
,&_argo0
,&_obj1
))
295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBorderColour. Expected _wxCalendarDateAttr_p.");
303 if (! wxColour_helper(_obj1
, &_arg1
))
307 wxPy_BEGIN_ALLOW_THREADS
;
308 wxCalendarDateAttr_SetBorderColour(_arg0
,*_arg1
);
310 wxPy_END_ALLOW_THREADS
;
311 } Py_INCREF(Py_None
);
312 _resultobj
= Py_None
;
316 #define wxCalendarDateAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
317 static PyObject
*_wrap_wxCalendarDateAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
318 PyObject
* _resultobj
;
319 wxCalendarDateAttr
* _arg0
;
321 PyObject
* _argo0
= 0;
322 PyObject
* _argo1
= 0;
323 char *_kwnames
[] = { "self","font", NULL
};
326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetFont. Expected _wxCalendarDateAttr_p.");
336 if (_argo1
== Py_None
) { _arg1
= NULL
; }
337 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarDateAttr_SetFont. Expected _wxFont_p.");
343 wxPy_BEGIN_ALLOW_THREADS
;
344 wxCalendarDateAttr_SetFont(_arg0
,*_arg1
);
346 wxPy_END_ALLOW_THREADS
;
347 } Py_INCREF(Py_None
);
348 _resultobj
= Py_None
;
352 #define wxCalendarDateAttr_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
353 static PyObject
*_wrap_wxCalendarDateAttr_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
354 PyObject
* _resultobj
;
355 wxCalendarDateAttr
* _arg0
;
356 wxCalendarDateBorder _arg1
;
357 PyObject
* _argo0
= 0;
358 char *_kwnames
[] = { "self","border", NULL
};
361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarDateAttr_SetBorder",_kwnames
,&_argo0
,&_arg1
))
364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBorder. Expected _wxCalendarDateAttr_p.");
371 wxPy_BEGIN_ALLOW_THREADS
;
372 wxCalendarDateAttr_SetBorder(_arg0
,_arg1
);
374 wxPy_END_ALLOW_THREADS
;
375 } Py_INCREF(Py_None
);
376 _resultobj
= Py_None
;
380 #define wxCalendarDateAttr_SetHoliday(_swigobj,_swigarg0) (_swigobj->SetHoliday(_swigarg0))
381 static PyObject
*_wrap_wxCalendarDateAttr_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
382 PyObject
* _resultobj
;
383 wxCalendarDateAttr
* _arg0
;
385 PyObject
* _argo0
= 0;
387 char *_kwnames
[] = { "self","holiday", NULL
};
390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarDateAttr_SetHoliday",_kwnames
,&_argo0
,&tempbool1
))
393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetHoliday. Expected _wxCalendarDateAttr_p.");
399 _arg1
= (bool ) tempbool1
;
401 wxPy_BEGIN_ALLOW_THREADS
;
402 wxCalendarDateAttr_SetHoliday(_arg0
,_arg1
);
404 wxPy_END_ALLOW_THREADS
;
405 } Py_INCREF(Py_None
);
406 _resultobj
= Py_None
;
410 #define wxCalendarDateAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
411 static PyObject
*_wrap_wxCalendarDateAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
412 PyObject
* _resultobj
;
414 wxCalendarDateAttr
* _arg0
;
415 PyObject
* _argo0
= 0;
416 char *_kwnames
[] = { "self", NULL
};
419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasTextColour",_kwnames
,&_argo0
))
422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasTextColour. Expected _wxCalendarDateAttr_p.");
429 wxPy_BEGIN_ALLOW_THREADS
;
430 _result
= (bool )wxCalendarDateAttr_HasTextColour(_arg0
);
432 wxPy_END_ALLOW_THREADS
;
433 } _resultobj
= Py_BuildValue("i",_result
);
437 #define wxCalendarDateAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
438 static PyObject
*_wrap_wxCalendarDateAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
439 PyObject
* _resultobj
;
441 wxCalendarDateAttr
* _arg0
;
442 PyObject
* _argo0
= 0;
443 char *_kwnames
[] = { "self", NULL
};
446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBackgroundColour",_kwnames
,&_argo0
))
449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBackgroundColour. Expected _wxCalendarDateAttr_p.");
456 wxPy_BEGIN_ALLOW_THREADS
;
457 _result
= (bool )wxCalendarDateAttr_HasBackgroundColour(_arg0
);
459 wxPy_END_ALLOW_THREADS
;
460 } _resultobj
= Py_BuildValue("i",_result
);
464 #define wxCalendarDateAttr_HasBorderColour(_swigobj) (_swigobj->HasBorderColour())
465 static PyObject
*_wrap_wxCalendarDateAttr_HasBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
466 PyObject
* _resultobj
;
468 wxCalendarDateAttr
* _arg0
;
469 PyObject
* _argo0
= 0;
470 char *_kwnames
[] = { "self", NULL
};
473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBorderColour",_kwnames
,&_argo0
))
476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBorderColour. Expected _wxCalendarDateAttr_p.");
483 wxPy_BEGIN_ALLOW_THREADS
;
484 _result
= (bool )wxCalendarDateAttr_HasBorderColour(_arg0
);
486 wxPy_END_ALLOW_THREADS
;
487 } _resultobj
= Py_BuildValue("i",_result
);
491 #define wxCalendarDateAttr_HasFont(_swigobj) (_swigobj->HasFont())
492 static PyObject
*_wrap_wxCalendarDateAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
493 PyObject
* _resultobj
;
495 wxCalendarDateAttr
* _arg0
;
496 PyObject
* _argo0
= 0;
497 char *_kwnames
[] = { "self", NULL
};
500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasFont",_kwnames
,&_argo0
))
503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasFont. Expected _wxCalendarDateAttr_p.");
510 wxPy_BEGIN_ALLOW_THREADS
;
511 _result
= (bool )wxCalendarDateAttr_HasFont(_arg0
);
513 wxPy_END_ALLOW_THREADS
;
514 } _resultobj
= Py_BuildValue("i",_result
);
518 #define wxCalendarDateAttr_HasBorder(_swigobj) (_swigobj->HasBorder())
519 static PyObject
*_wrap_wxCalendarDateAttr_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
520 PyObject
* _resultobj
;
522 wxCalendarDateAttr
* _arg0
;
523 PyObject
* _argo0
= 0;
524 char *_kwnames
[] = { "self", NULL
};
527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBorder",_kwnames
,&_argo0
))
530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBorder. Expected _wxCalendarDateAttr_p.");
537 wxPy_BEGIN_ALLOW_THREADS
;
538 _result
= (bool )wxCalendarDateAttr_HasBorder(_arg0
);
540 wxPy_END_ALLOW_THREADS
;
541 } _resultobj
= Py_BuildValue("i",_result
);
545 #define wxCalendarDateAttr_IsHoliday(_swigobj) (_swigobj->IsHoliday())
546 static PyObject
*_wrap_wxCalendarDateAttr_IsHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
547 PyObject
* _resultobj
;
549 wxCalendarDateAttr
* _arg0
;
550 PyObject
* _argo0
= 0;
551 char *_kwnames
[] = { "self", NULL
};
554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_IsHoliday",_kwnames
,&_argo0
))
557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_IsHoliday. Expected _wxCalendarDateAttr_p.");
564 wxPy_BEGIN_ALLOW_THREADS
;
565 _result
= (bool )wxCalendarDateAttr_IsHoliday(_arg0
);
567 wxPy_END_ALLOW_THREADS
;
568 } _resultobj
= Py_BuildValue("i",_result
);
572 #define wxCalendarDateAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
573 static PyObject
*_wrap_wxCalendarDateAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
574 PyObject
* _resultobj
;
576 wxCalendarDateAttr
* _arg0
;
577 PyObject
* _argo0
= 0;
578 char *_kwnames
[] = { "self", NULL
};
582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetTextColour",_kwnames
,&_argo0
))
585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetTextColour. Expected _wxCalendarDateAttr_p.");
592 wxPy_BEGIN_ALLOW_THREADS
;
593 const wxColour
& _result_ref
= wxCalendarDateAttr_GetTextColour(_arg0
);
594 _result
= (wxColour
*) &_result_ref
;
596 wxPy_END_ALLOW_THREADS
;
598 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
599 _resultobj
= Py_BuildValue("s",_ptemp
);
602 _resultobj
= Py_None
;
607 #define wxCalendarDateAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
608 static PyObject
*_wrap_wxCalendarDateAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
609 PyObject
* _resultobj
;
611 wxCalendarDateAttr
* _arg0
;
612 PyObject
* _argo0
= 0;
613 char *_kwnames
[] = { "self", NULL
};
617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBackgroundColour",_kwnames
,&_argo0
))
620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBackgroundColour. Expected _wxCalendarDateAttr_p.");
627 wxPy_BEGIN_ALLOW_THREADS
;
628 const wxColour
& _result_ref
= wxCalendarDateAttr_GetBackgroundColour(_arg0
);
629 _result
= (wxColour
*) &_result_ref
;
631 wxPy_END_ALLOW_THREADS
;
633 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
634 _resultobj
= Py_BuildValue("s",_ptemp
);
637 _resultobj
= Py_None
;
642 #define wxCalendarDateAttr_GetBorderColour(_swigobj) (_swigobj->GetBorderColour())
643 static PyObject
*_wrap_wxCalendarDateAttr_GetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
644 PyObject
* _resultobj
;
646 wxCalendarDateAttr
* _arg0
;
647 PyObject
* _argo0
= 0;
648 char *_kwnames
[] = { "self", NULL
};
652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBorderColour",_kwnames
,&_argo0
))
655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBorderColour. Expected _wxCalendarDateAttr_p.");
662 wxPy_BEGIN_ALLOW_THREADS
;
663 const wxColour
& _result_ref
= wxCalendarDateAttr_GetBorderColour(_arg0
);
664 _result
= (wxColour
*) &_result_ref
;
666 wxPy_END_ALLOW_THREADS
;
668 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
669 _resultobj
= Py_BuildValue("s",_ptemp
);
672 _resultobj
= Py_None
;
677 #define wxCalendarDateAttr_GetFont(_swigobj) (_swigobj->GetFont())
678 static PyObject
*_wrap_wxCalendarDateAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
679 PyObject
* _resultobj
;
681 wxCalendarDateAttr
* _arg0
;
682 PyObject
* _argo0
= 0;
683 char *_kwnames
[] = { "self", NULL
};
687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetFont",_kwnames
,&_argo0
))
690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetFont. Expected _wxCalendarDateAttr_p.");
697 wxPy_BEGIN_ALLOW_THREADS
;
698 const wxFont
& _result_ref
= wxCalendarDateAttr_GetFont(_arg0
);
699 _result
= (wxFont
*) &_result_ref
;
701 wxPy_END_ALLOW_THREADS
;
703 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
704 _resultobj
= Py_BuildValue("s",_ptemp
);
707 _resultobj
= Py_None
;
712 #define wxCalendarDateAttr_GetBorder(_swigobj) (_swigobj->GetBorder())
713 static PyObject
*_wrap_wxCalendarDateAttr_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
714 PyObject
* _resultobj
;
715 wxCalendarDateBorder _result
;
716 wxCalendarDateAttr
* _arg0
;
717 PyObject
* _argo0
= 0;
718 char *_kwnames
[] = { "self", NULL
};
721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBorder",_kwnames
,&_argo0
))
724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBorder. Expected _wxCalendarDateAttr_p.");
731 wxPy_BEGIN_ALLOW_THREADS
;
732 _result
= (wxCalendarDateBorder
)wxCalendarDateAttr_GetBorder(_arg0
);
734 wxPy_END_ALLOW_THREADS
;
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
;
789 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarEvent_p");
790 _resultobj
= Py_BuildValue("s",_ptemp
);
793 _resultobj
= Py_None
;
798 #define wxCalendarEvent_GetDate(_swigobj) (_swigobj->GetDate())
799 static PyObject
*_wrap_wxCalendarEvent_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
800 PyObject
* _resultobj
;
801 wxDateTime
* _result
;
802 wxCalendarEvent
* _arg0
;
803 PyObject
* _argo0
= 0;
804 char *_kwnames
[] = { "self", NULL
};
808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarEvent_GetDate",_kwnames
,&_argo0
))
811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarEvent_p")) {
813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarEvent_GetDate. Expected _wxCalendarEvent_p.");
818 wxPy_BEGIN_ALLOW_THREADS
;
819 const wxDateTime
& _result_ref
= wxCalendarEvent_GetDate(_arg0
);
820 _result
= (wxDateTime
*) &_result_ref
;
822 wxPy_END_ALLOW_THREADS
;
824 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
825 _resultobj
= Py_BuildValue("s",_ptemp
);
828 _resultobj
= Py_None
;
833 #define wxCalendarEvent_GetWeekDay(_swigobj) (_swigobj->GetWeekDay())
834 static PyObject
*_wrap_wxCalendarEvent_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
835 PyObject
* _resultobj
;
836 wxDateTime::WeekDay _result
;
837 wxCalendarEvent
* _arg0
;
838 PyObject
* _argo0
= 0;
839 char *_kwnames
[] = { "self", NULL
};
842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarEvent_GetWeekDay",_kwnames
,&_argo0
))
845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarEvent_p")) {
847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarEvent_GetWeekDay. Expected _wxCalendarEvent_p.");
852 wxPy_BEGIN_ALLOW_THREADS
;
853 _result
= (wxDateTime::WeekDay
)wxCalendarEvent_GetWeekDay(_arg0
);
855 wxPy_END_ALLOW_THREADS
;
856 } _resultobj
= Py_BuildValue("i",_result
);
860 static void *SwigwxCalendarCtrlTowxControl(void *ptr
) {
863 src
= (wxCalendarCtrl
*) ptr
;
864 dest
= (wxControl
*) src
;
865 return (void *) dest
;
868 static void *SwigwxCalendarCtrlTowxWindow(void *ptr
) {
871 src
= (wxCalendarCtrl
*) ptr
;
872 dest
= (wxWindow
*) src
;
873 return (void *) dest
;
876 static void *SwigwxCalendarCtrlTowxEvtHandler(void *ptr
) {
879 src
= (wxCalendarCtrl
*) ptr
;
880 dest
= (wxEvtHandler
*) src
;
881 return (void *) dest
;
884 static void *SwigwxCalendarCtrlTowxObject(void *ptr
) {
887 src
= (wxCalendarCtrl
*) ptr
;
888 dest
= (wxObject
*) src
;
889 return (void *) dest
;
892 #define new_wxCalendarCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxCalendarCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
893 static PyObject
*_wrap_new_wxCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
894 PyObject
* _resultobj
;
895 wxCalendarCtrl
* _result
;
898 wxDateTime
* _arg2
= (wxDateTime
*) &wxDefaultDateTime
;
899 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
900 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
901 long _arg5
= (long ) (wxCAL_SHOW_HOLIDAYS
);
902 char * _arg6
= (char *) "calendar";
903 PyObject
* _argo0
= 0;
904 PyObject
* _argo2
= 0;
906 PyObject
* _obj3
= 0;
908 PyObject
* _obj4
= 0;
909 char *_kwnames
[] = { "parent","id","date","pos","size","style","name", NULL
};
913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOls:new_wxCalendarCtrl",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCalendarCtrl. Expected _wxWindow_p.");
923 if (_argo2
== Py_None
) { _arg2
= NULL
; }
924 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxCalendarCtrl. Expected _wxDateTime_p.");
932 if (! wxPoint_helper(_obj3
, &_arg3
))
938 if (! wxSize_helper(_obj4
, &_arg4
))
942 wxPy_BEGIN_ALLOW_THREADS
;
943 _result
= (wxCalendarCtrl
*)new_wxCalendarCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
945 wxPy_END_ALLOW_THREADS
;
947 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarCtrl_p");
948 _resultobj
= Py_BuildValue("s",_ptemp
);
951 _resultobj
= Py_None
;
956 #define wxCalendarCtrl_SetDate(_swigobj,_swigarg0) (_swigobj->SetDate(_swigarg0))
957 static PyObject
*_wrap_wxCalendarCtrl_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
958 PyObject
* _resultobj
;
959 wxCalendarCtrl
* _arg0
;
961 PyObject
* _argo0
= 0;
962 PyObject
* _argo1
= 0;
963 char *_kwnames
[] = { "self","date", NULL
};
966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarCtrl_SetDate",_kwnames
,&_argo0
,&_argo1
))
969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetDate. Expected _wxCalendarCtrl_p.");
976 if (_argo1
== Py_None
) { _arg1
= NULL
; }
977 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetDate. Expected _wxDateTime_p.");
983 wxPy_BEGIN_ALLOW_THREADS
;
984 wxCalendarCtrl_SetDate(_arg0
,*_arg1
);
986 wxPy_END_ALLOW_THREADS
;
987 } Py_INCREF(Py_None
);
988 _resultobj
= Py_None
;
992 #define wxCalendarCtrl_GetDate(_swigobj) (_swigobj->GetDate())
993 static PyObject
*_wrap_wxCalendarCtrl_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
994 PyObject
* _resultobj
;
995 wxDateTime
* _result
;
996 wxCalendarCtrl
* _arg0
;
997 PyObject
* _argo0
= 0;
998 char *_kwnames
[] = { "self", NULL
};
1002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetDate",_kwnames
,&_argo0
))
1005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetDate. Expected _wxCalendarCtrl_p.");
1012 wxPy_BEGIN_ALLOW_THREADS
;
1013 const wxDateTime
& _result_ref
= wxCalendarCtrl_GetDate(_arg0
);
1014 _result
= (wxDateTime
*) &_result_ref
;
1016 wxPy_END_ALLOW_THREADS
;
1018 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
1019 _resultobj
= Py_BuildValue("s",_ptemp
);
1022 _resultobj
= Py_None
;
1027 #define wxCalendarCtrl_EnableYearChange(_swigobj,_swigarg0) (_swigobj->EnableYearChange(_swigarg0))
1028 static PyObject
*_wrap_wxCalendarCtrl_EnableYearChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1029 PyObject
* _resultobj
;
1030 wxCalendarCtrl
* _arg0
;
1031 bool _arg1
= (bool ) TRUE
;
1032 PyObject
* _argo0
= 0;
1033 int tempbool1
= (int) TRUE
;
1034 char *_kwnames
[] = { "self","enable", NULL
};
1037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableYearChange",_kwnames
,&_argo0
,&tempbool1
))
1040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableYearChange. Expected _wxCalendarCtrl_p.");
1046 _arg1
= (bool ) tempbool1
;
1048 wxPy_BEGIN_ALLOW_THREADS
;
1049 wxCalendarCtrl_EnableYearChange(_arg0
,_arg1
);
1051 wxPy_END_ALLOW_THREADS
;
1052 } Py_INCREF(Py_None
);
1053 _resultobj
= Py_None
;
1057 #define wxCalendarCtrl_EnableMonthChange(_swigobj,_swigarg0) (_swigobj->EnableMonthChange(_swigarg0))
1058 static PyObject
*_wrap_wxCalendarCtrl_EnableMonthChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1059 PyObject
* _resultobj
;
1060 wxCalendarCtrl
* _arg0
;
1061 bool _arg1
= (bool ) TRUE
;
1062 PyObject
* _argo0
= 0;
1063 int tempbool1
= (int) TRUE
;
1064 char *_kwnames
[] = { "self","enable", NULL
};
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableMonthChange",_kwnames
,&_argo0
,&tempbool1
))
1070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableMonthChange. Expected _wxCalendarCtrl_p.");
1076 _arg1
= (bool ) tempbool1
;
1078 wxPy_BEGIN_ALLOW_THREADS
;
1079 wxCalendarCtrl_EnableMonthChange(_arg0
,_arg1
);
1081 wxPy_END_ALLOW_THREADS
;
1082 } Py_INCREF(Py_None
);
1083 _resultobj
= Py_None
;
1087 #define wxCalendarCtrl_EnableHolidayDisplay(_swigobj,_swigarg0) (_swigobj->EnableHolidayDisplay(_swigarg0))
1088 static PyObject
*_wrap_wxCalendarCtrl_EnableHolidayDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1089 PyObject
* _resultobj
;
1090 wxCalendarCtrl
* _arg0
;
1091 bool _arg1
= (bool ) TRUE
;
1092 PyObject
* _argo0
= 0;
1093 int tempbool1
= (int) TRUE
;
1094 char *_kwnames
[] = { "self","display", NULL
};
1097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableHolidayDisplay",_kwnames
,&_argo0
,&tempbool1
))
1100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableHolidayDisplay. Expected _wxCalendarCtrl_p.");
1106 _arg1
= (bool ) tempbool1
;
1108 wxPy_BEGIN_ALLOW_THREADS
;
1109 wxCalendarCtrl_EnableHolidayDisplay(_arg0
,_arg1
);
1111 wxPy_END_ALLOW_THREADS
;
1112 } Py_INCREF(Py_None
);
1113 _resultobj
= Py_None
;
1117 #define wxCalendarCtrl_SetHeaderColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeaderColours(_swigarg0,_swigarg1))
1118 static PyObject
*_wrap_wxCalendarCtrl_SetHeaderColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1119 PyObject
* _resultobj
;
1120 wxCalendarCtrl
* _arg0
;
1123 PyObject
* _argo0
= 0;
1125 PyObject
* _obj1
= 0;
1127 PyObject
* _obj2
= 0;
1128 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHeaderColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHeaderColours. Expected _wxCalendarCtrl_p.");
1142 if (! wxColour_helper(_obj1
, &_arg1
))
1147 if (! wxColour_helper(_obj2
, &_arg2
))
1151 wxPy_BEGIN_ALLOW_THREADS
;
1152 wxCalendarCtrl_SetHeaderColours(_arg0
,*_arg1
,*_arg2
);
1154 wxPy_END_ALLOW_THREADS
;
1155 } Py_INCREF(Py_None
);
1156 _resultobj
= Py_None
;
1160 #define wxCalendarCtrl_GetHeaderColourFg(_swigobj) (_swigobj->GetHeaderColourFg())
1161 static PyObject
*_wrap_wxCalendarCtrl_GetHeaderColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1162 PyObject
* _resultobj
;
1164 wxCalendarCtrl
* _arg0
;
1165 PyObject
* _argo0
= 0;
1166 char *_kwnames
[] = { "self", NULL
};
1170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHeaderColourFg",_kwnames
,&_argo0
))
1173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHeaderColourFg. Expected _wxCalendarCtrl_p.");
1180 wxPy_BEGIN_ALLOW_THREADS
;
1181 const wxColour
& _result_ref
= wxCalendarCtrl_GetHeaderColourFg(_arg0
);
1182 _result
= (wxColour
*) &_result_ref
;
1184 wxPy_END_ALLOW_THREADS
;
1186 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1187 _resultobj
= Py_BuildValue("s",_ptemp
);
1190 _resultobj
= Py_None
;
1195 #define wxCalendarCtrl_GetHeaderColourBg(_swigobj) (_swigobj->GetHeaderColourBg())
1196 static PyObject
*_wrap_wxCalendarCtrl_GetHeaderColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1197 PyObject
* _resultobj
;
1199 wxCalendarCtrl
* _arg0
;
1200 PyObject
* _argo0
= 0;
1201 char *_kwnames
[] = { "self", NULL
};
1205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHeaderColourBg",_kwnames
,&_argo0
))
1208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHeaderColourBg. Expected _wxCalendarCtrl_p.");
1215 wxPy_BEGIN_ALLOW_THREADS
;
1216 const wxColour
& _result_ref
= wxCalendarCtrl_GetHeaderColourBg(_arg0
);
1217 _result
= (wxColour
*) &_result_ref
;
1219 wxPy_END_ALLOW_THREADS
;
1221 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1222 _resultobj
= Py_BuildValue("s",_ptemp
);
1225 _resultobj
= Py_None
;
1230 #define wxCalendarCtrl_SetHighlightColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlightColours(_swigarg0,_swigarg1))
1231 static PyObject
*_wrap_wxCalendarCtrl_SetHighlightColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1232 PyObject
* _resultobj
;
1233 wxCalendarCtrl
* _arg0
;
1236 PyObject
* _argo0
= 0;
1238 PyObject
* _obj1
= 0;
1240 PyObject
* _obj2
= 0;
1241 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHighlightColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHighlightColours. Expected _wxCalendarCtrl_p.");
1255 if (! wxColour_helper(_obj1
, &_arg1
))
1260 if (! wxColour_helper(_obj2
, &_arg2
))
1264 wxPy_BEGIN_ALLOW_THREADS
;
1265 wxCalendarCtrl_SetHighlightColours(_arg0
,*_arg1
,*_arg2
);
1267 wxPy_END_ALLOW_THREADS
;
1268 } Py_INCREF(Py_None
);
1269 _resultobj
= Py_None
;
1273 #define wxCalendarCtrl_GetHighlightColourFg(_swigobj) (_swigobj->GetHighlightColourFg())
1274 static PyObject
*_wrap_wxCalendarCtrl_GetHighlightColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1275 PyObject
* _resultobj
;
1277 wxCalendarCtrl
* _arg0
;
1278 PyObject
* _argo0
= 0;
1279 char *_kwnames
[] = { "self", NULL
};
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHighlightColourFg",_kwnames
,&_argo0
))
1286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHighlightColourFg. Expected _wxCalendarCtrl_p.");
1293 wxPy_BEGIN_ALLOW_THREADS
;
1294 const wxColour
& _result_ref
= wxCalendarCtrl_GetHighlightColourFg(_arg0
);
1295 _result
= (wxColour
*) &_result_ref
;
1297 wxPy_END_ALLOW_THREADS
;
1299 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1300 _resultobj
= Py_BuildValue("s",_ptemp
);
1303 _resultobj
= Py_None
;
1308 #define wxCalendarCtrl_GetHighlightColourBg(_swigobj) (_swigobj->GetHighlightColourBg())
1309 static PyObject
*_wrap_wxCalendarCtrl_GetHighlightColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1310 PyObject
* _resultobj
;
1312 wxCalendarCtrl
* _arg0
;
1313 PyObject
* _argo0
= 0;
1314 char *_kwnames
[] = { "self", NULL
};
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHighlightColourBg",_kwnames
,&_argo0
))
1321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHighlightColourBg. Expected _wxCalendarCtrl_p.");
1328 wxPy_BEGIN_ALLOW_THREADS
;
1329 const wxColour
& _result_ref
= wxCalendarCtrl_GetHighlightColourBg(_arg0
);
1330 _result
= (wxColour
*) &_result_ref
;
1332 wxPy_END_ALLOW_THREADS
;
1334 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1335 _resultobj
= Py_BuildValue("s",_ptemp
);
1338 _resultobj
= Py_None
;
1343 #define wxCalendarCtrl_SetHolidayColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHolidayColours(_swigarg0,_swigarg1))
1344 static PyObject
*_wrap_wxCalendarCtrl_SetHolidayColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
* _resultobj
;
1346 wxCalendarCtrl
* _arg0
;
1349 PyObject
* _argo0
= 0;
1351 PyObject
* _obj1
= 0;
1353 PyObject
* _obj2
= 0;
1354 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHolidayColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHolidayColours. Expected _wxCalendarCtrl_p.");
1368 if (! wxColour_helper(_obj1
, &_arg1
))
1373 if (! wxColour_helper(_obj2
, &_arg2
))
1377 wxPy_BEGIN_ALLOW_THREADS
;
1378 wxCalendarCtrl_SetHolidayColours(_arg0
,*_arg1
,*_arg2
);
1380 wxPy_END_ALLOW_THREADS
;
1381 } Py_INCREF(Py_None
);
1382 _resultobj
= Py_None
;
1386 #define wxCalendarCtrl_GetHolidayColourFg(_swigobj) (_swigobj->GetHolidayColourFg())
1387 static PyObject
*_wrap_wxCalendarCtrl_GetHolidayColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1388 PyObject
* _resultobj
;
1390 wxCalendarCtrl
* _arg0
;
1391 PyObject
* _argo0
= 0;
1392 char *_kwnames
[] = { "self", NULL
};
1396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHolidayColourFg",_kwnames
,&_argo0
))
1399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHolidayColourFg. Expected _wxCalendarCtrl_p.");
1406 wxPy_BEGIN_ALLOW_THREADS
;
1407 const wxColour
& _result_ref
= wxCalendarCtrl_GetHolidayColourFg(_arg0
);
1408 _result
= (wxColour
*) &_result_ref
;
1410 wxPy_END_ALLOW_THREADS
;
1412 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1413 _resultobj
= Py_BuildValue("s",_ptemp
);
1416 _resultobj
= Py_None
;
1421 #define wxCalendarCtrl_GetHolidayColourBg(_swigobj) (_swigobj->GetHolidayColourBg())
1422 static PyObject
*_wrap_wxCalendarCtrl_GetHolidayColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
* _resultobj
;
1425 wxCalendarCtrl
* _arg0
;
1426 PyObject
* _argo0
= 0;
1427 char *_kwnames
[] = { "self", NULL
};
1431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHolidayColourBg",_kwnames
,&_argo0
))
1434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHolidayColourBg. Expected _wxCalendarCtrl_p.");
1441 wxPy_BEGIN_ALLOW_THREADS
;
1442 const wxColour
& _result_ref
= wxCalendarCtrl_GetHolidayColourBg(_arg0
);
1443 _result
= (wxColour
*) &_result_ref
;
1445 wxPy_END_ALLOW_THREADS
;
1447 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1448 _resultobj
= Py_BuildValue("s",_ptemp
);
1451 _resultobj
= Py_None
;
1456 #define wxCalendarCtrl_GetAttr(_swigobj,_swigarg0) (_swigobj->GetAttr(_swigarg0))
1457 static PyObject
*_wrap_wxCalendarCtrl_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1458 PyObject
* _resultobj
;
1459 wxCalendarDateAttr
* _result
;
1460 wxCalendarCtrl
* _arg0
;
1462 PyObject
* _argo0
= 0;
1463 char *_kwnames
[] = { "self","day", NULL
};
1467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_GetAttr",_kwnames
,&_argo0
,&_arg1
))
1470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetAttr. Expected _wxCalendarCtrl_p.");
1477 wxPy_BEGIN_ALLOW_THREADS
;
1478 _result
= (wxCalendarDateAttr
*)wxCalendarCtrl_GetAttr(_arg0
,_arg1
);
1480 wxPy_END_ALLOW_THREADS
;
1482 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
1483 _resultobj
= Py_BuildValue("s",_ptemp
);
1486 _resultobj
= Py_None
;
1491 #define wxCalendarCtrl_SetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttr(_swigarg0,_swigarg1))
1492 static PyObject
*_wrap_wxCalendarCtrl_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1493 PyObject
* _resultobj
;
1494 wxCalendarCtrl
* _arg0
;
1496 wxCalendarDateAttr
* _arg2
;
1497 PyObject
* _argo0
= 0;
1498 PyObject
* _argo2
= 0;
1499 char *_kwnames
[] = { "self","day","attr", NULL
};
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxCalendarCtrl_SetAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
1505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetAttr. Expected _wxCalendarCtrl_p.");
1512 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1513 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxCalendarDateAttr_p")) {
1514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_SetAttr. Expected _wxCalendarDateAttr_p.");
1519 wxPy_BEGIN_ALLOW_THREADS
;
1520 wxCalendarCtrl_SetAttr(_arg0
,_arg1
,_arg2
);
1522 wxPy_END_ALLOW_THREADS
;
1523 } Py_INCREF(Py_None
);
1524 _resultobj
= Py_None
;
1528 #define wxCalendarCtrl_SetHoliday(_swigobj,_swigarg0) (_swigobj->SetHoliday(_swigarg0))
1529 static PyObject
*_wrap_wxCalendarCtrl_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1530 PyObject
* _resultobj
;
1531 wxCalendarCtrl
* _arg0
;
1533 PyObject
* _argo0
= 0;
1534 char *_kwnames
[] = { "self","day", NULL
};
1537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_SetHoliday",_kwnames
,&_argo0
,&_arg1
))
1540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHoliday. Expected _wxCalendarCtrl_p.");
1547 wxPy_BEGIN_ALLOW_THREADS
;
1548 wxCalendarCtrl_SetHoliday(_arg0
,_arg1
);
1550 wxPy_END_ALLOW_THREADS
;
1551 } Py_INCREF(Py_None
);
1552 _resultobj
= Py_None
;
1556 #define wxCalendarCtrl_ResetAttr(_swigobj,_swigarg0) (_swigobj->ResetAttr(_swigarg0))
1557 static PyObject
*_wrap_wxCalendarCtrl_ResetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1558 PyObject
* _resultobj
;
1559 wxCalendarCtrl
* _arg0
;
1561 PyObject
* _argo0
= 0;
1562 char *_kwnames
[] = { "self","day", NULL
};
1565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_ResetAttr",_kwnames
,&_argo0
,&_arg1
))
1568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_ResetAttr. Expected _wxCalendarCtrl_p.");
1575 wxPy_BEGIN_ALLOW_THREADS
;
1576 wxCalendarCtrl_ResetAttr(_arg0
,_arg1
);
1578 wxPy_END_ALLOW_THREADS
;
1579 } Py_INCREF(Py_None
);
1580 _resultobj
= Py_None
;
1584 #define wxCalendarCtrl_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2))
1585 static PyObject
*_wrap_wxCalendarCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
* _resultobj
;
1587 wxCalendarHitTestResult _result
;
1588 wxCalendarCtrl
* _arg0
;
1590 wxDateTime
* _arg2
= (wxDateTime
*) NULL
;
1591 wxDateTime::WeekDay
* _arg3
= (wxDateTime::WeekDay
*) NULL
;
1592 PyObject
* _argo0
= 0;
1594 PyObject
* _obj1
= 0;
1595 PyObject
* _argo2
= 0;
1596 PyObject
* _argo3
= 0;
1597 char *_kwnames
[] = { "self","pos","date","wd", NULL
};
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxCalendarCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
1603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_HitTest. Expected _wxCalendarCtrl_p.");
1611 if (! wxPoint_helper(_obj1
, &_arg1
))
1615 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1616 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
1617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_HitTest. Expected _wxDateTime_p.");
1622 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1623 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime::WeekDay_p")) {
1624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxCalendarCtrl_HitTest. Expected _wxDateTime::WeekDay_p.");
1629 wxPy_BEGIN_ALLOW_THREADS
;
1630 _result
= (wxCalendarHitTestResult
)wxCalendarCtrl_HitTest(_arg0
,*_arg1
,_arg2
,_arg3
);
1632 wxPy_END_ALLOW_THREADS
;
1633 } _resultobj
= Py_BuildValue("i",_result
);
1637 static PyMethodDef calendarcMethods
[] = {
1638 { "wxCalendarCtrl_HitTest", (PyCFunction
) _wrap_wxCalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
1639 { "wxCalendarCtrl_ResetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1640 { "wxCalendarCtrl_SetHoliday", (PyCFunction
) _wrap_wxCalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1641 { "wxCalendarCtrl_SetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1642 { "wxCalendarCtrl_GetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1643 { "wxCalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1644 { "wxCalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1645 { "wxCalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
},
1646 { "wxCalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1647 { "wxCalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1648 { "wxCalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
},
1649 { "wxCalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1650 { "wxCalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1651 { "wxCalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
},
1652 { "wxCalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_wxCalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
},
1653 { "wxCalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_wxCalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
},
1654 { "wxCalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_wxCalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
},
1655 { "wxCalendarCtrl_GetDate", (PyCFunction
) _wrap_wxCalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
1656 { "wxCalendarCtrl_SetDate", (PyCFunction
) _wrap_wxCalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
1657 { "new_wxCalendarCtrl", (PyCFunction
) _wrap_new_wxCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1658 { "wxCalendarEvent_GetWeekDay", (PyCFunction
) _wrap_wxCalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
1659 { "wxCalendarEvent_GetDate", (PyCFunction
) _wrap_wxCalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
1660 { "new_wxCalendarEvent", (PyCFunction
) _wrap_new_wxCalendarEvent
, METH_VARARGS
| METH_KEYWORDS
},
1661 { "wxCalendarDateAttr_GetBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
1662 { "wxCalendarDateAttr_GetFont", (PyCFunction
) _wrap_wxCalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
1663 { "wxCalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1664 { "wxCalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1665 { "wxCalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1666 { "wxCalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_wxCalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1667 { "wxCalendarDateAttr_HasBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
1668 { "wxCalendarDateAttr_HasFont", (PyCFunction
) _wrap_wxCalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
1669 { "wxCalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1670 { "wxCalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1671 { "wxCalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1672 { "wxCalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_wxCalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1673 { "wxCalendarDateAttr_SetBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
1674 { "wxCalendarDateAttr_SetFont", (PyCFunction
) _wrap_wxCalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
1675 { "wxCalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1676 { "wxCalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1677 { "wxCalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1678 { "new_wxCalendarDateAttrBorder", (PyCFunction
) _wrap_new_wxCalendarDateAttrBorder
, METH_VARARGS
| METH_KEYWORDS
},
1679 { "new_wxCalendarDateAttr", (PyCFunction
) _wrap_new_wxCalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
},
1686 * This table is used by the pointer type-checker
1688 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1689 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1690 { "_wxEvent","_class_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
1691 { "_wxEvent","_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
1692 { "_wxEvent","_class_wxEvent",0},
1693 { "_class_wxActivateEvent","_wxActivateEvent",0},
1694 { "_signed_long","_long",0},
1695 { "_wxMenuEvent","_class_wxMenuEvent",0},
1696 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
1697 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
1698 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
1699 { "_class_wxDateTime","_wxDateTime",0},
1700 { "_wxPrintQuality","_wxCoord",0},
1701 { "_wxPrintQuality","_int",0},
1702 { "_wxPrintQuality","_signed_int",0},
1703 { "_wxPrintQuality","_unsigned_int",0},
1704 { "_wxPrintQuality","_wxWindowID",0},
1705 { "_wxPrintQuality","_uint",0},
1706 { "_wxPrintQuality","_EBool",0},
1707 { "_wxPrintQuality","_size_t",0},
1708 { "_wxPrintQuality","_time_t",0},
1709 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
1710 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
1711 { "_class_wxRegionIterator","_wxRegionIterator",0},
1712 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
1713 { "_class_wxMenuBar","_wxMenuBar",0},
1714 { "_class_wxEvtHandler","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler
},
1715 { "_class_wxEvtHandler","_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler
},
1716 { "_class_wxEvtHandler","_wxEvtHandler",0},
1717 { "_wxPaintEvent","_class_wxPaintEvent",0},
1718 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1719 { "_wxCursor","_class_wxCursor",0},
1720 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
1721 { "_wxMask","_class_wxMask",0},
1722 { "_wxPen","_class_wxPen",0},
1723 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
1724 { "_byte","_unsigned_char",0},
1725 { "_wxDataObject","_class_wxDataObject",0},
1726 { "_wxStaticBox","_class_wxStaticBox",0},
1727 { "_wxColourDatabase","_class_wxColourDatabase",0},
1728 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
1729 { "_wxPyDropSource","_class_wxPyDropSource",0},
1730 { "_wxChoice","_class_wxChoice",0},
1731 { "_wxSlider","_class_wxSlider",0},
1732 { "_long","_unsigned_long",0},
1733 { "_long","_signed_long",0},
1734 { "_wxImageList","_class_wxImageList",0},
1735 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
1736 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
1737 { "_wxBitmapButton","_class_wxBitmapButton",0},
1738 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
1739 { "_class_wxClipboard","_wxClipboard",0},
1740 { "_class_wxGauge","_wxGauge",0},
1741 { "_wxGDIObject","_class_wxGDIObject",0},
1742 { "_wxDC","_class_wxDC",0},
1743 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
1744 { "_class_wxObject","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxObject
},
1745 { "_class_wxObject","_wxCalendarCtrl",SwigwxCalendarCtrlTowxObject
},
1746 { "_class_wxObject","_class_wxCalendarEvent",SwigwxCalendarEventTowxObject
},
1747 { "_class_wxObject","_wxCalendarEvent",SwigwxCalendarEventTowxObject
},
1748 { "_class_wxObject","_wxObject",0},
1749 { "_wxSpinEvent","_class_wxSpinEvent",0},
1750 { "_size_t","_wxCoord",0},
1751 { "_size_t","_wxPrintQuality",0},
1752 { "_size_t","_time_t",0},
1753 { "_size_t","_unsigned_int",0},
1754 { "_size_t","_int",0},
1755 { "_size_t","_wxWindowID",0},
1756 { "_size_t","_uint",0},
1757 { "_class_wxRealPoint","_wxRealPoint",0},
1758 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
1759 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
1760 { "_class_wxMenuItem","_wxMenuItem",0},
1761 { "_class_wxPaintEvent","_wxPaintEvent",0},
1762 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
1763 { "_wxPanel","_class_wxPanel",0},
1764 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
1765 { "_wxCheckBox","_class_wxCheckBox",0},
1766 { "_wxPyEvent","_class_wxPyEvent",0},
1767 { "_wxTextCtrl","_class_wxTextCtrl",0},
1768 { "_class_wxMask","_wxMask",0},
1769 { "_wxTextDataObject","_class_wxTextDataObject",0},
1770 { "_class_wxKeyEvent","_wxKeyEvent",0},
1771 { "_wxFileConfig","_class_wxFileConfig",0},
1772 { "_wxColour","_class_wxColour",0},
1773 { "_class_wxDialog","_wxDialog",0},
1774 { "_class_wxFileDataObject","_wxFileDataObject",0},
1775 { "_wxIdleEvent","_class_wxIdleEvent",0},
1776 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
1777 { "_class_wxDataObject","_wxDataObject",0},
1778 { "_wxStaticLine","_class_wxStaticLine",0},
1779 { "_wxBrush","_class_wxBrush",0},
1780 { "_wxToggleButton","_class_wxToggleButton",0},
1781 { "_wxDataFormat","_class_wxDataFormat",0},
1782 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
1783 { "_wxShowEvent","_class_wxShowEvent",0},
1784 { "_uint","_wxCoord",0},
1785 { "_uint","_wxPrintQuality",0},
1786 { "_uint","_time_t",0},
1787 { "_uint","_size_t",0},
1788 { "_uint","_unsigned_int",0},
1789 { "_uint","_int",0},
1790 { "_uint","_wxWindowID",0},
1791 { "_wxChar","_char",0},
1792 { "_wxPyValidator","_class_wxPyValidator",0},
1793 { "_class_wxEvent","_class_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
1794 { "_class_wxEvent","_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
1795 { "_class_wxEvent","_wxEvent",0},
1796 { "_wxCheckListBox","_class_wxCheckListBox",0},
1797 { "_wxRect","_class_wxRect",0},
1798 { "_wxCommandEvent","_class_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
1799 { "_wxCommandEvent","_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
1800 { "_wxCommandEvent","_class_wxCommandEvent",0},
1801 { "_wxSizeEvent","_class_wxSizeEvent",0},
1802 { "_wxPoint","_class_wxPoint",0},
1803 { "_class_wxButton","_wxButton",0},
1804 { "_wxRadioBox","_class_wxRadioBox",0},
1805 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
1806 { "_char","_wxChar",0},
1807 { "_wxBitmap","_class_wxBitmap",0},
1808 { "_wxPenList","_class_wxPenList",0},
1809 { "_wxWindowDC","_class_wxWindowDC",0},
1810 { "_wxTimerEvent","_class_wxTimerEvent",0},
1811 { "_wxScrollBar","_class_wxScrollBar",0},
1812 { "_wxSpinButton","_class_wxSpinButton",0},
1813 { "_wxCalendarEvent","_class_wxCalendarEvent",0},
1814 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1815 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
1816 { "_class_wxValidator","_wxValidator",0},
1817 { "_class_wxPyEvent","_wxPyEvent",0},
1818 { "_wxConfig","_class_wxConfig",0},
1819 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
1820 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
1821 { "_class_wxFileConfig","_wxFileConfig",0},
1822 { "_wxDropTarget","_class_wxDropTarget",0},
1823 { "_class_wxStaticLine","_wxStaticLine",0},
1824 { "_class_wxColourDatabase","_wxColourDatabase",0},
1825 { "_wxScrollEvent","_class_wxScrollEvent",0},
1826 { "_EBool","_wxCoord",0},
1827 { "_EBool","_wxPrintQuality",0},
1828 { "_EBool","_signed_int",0},
1829 { "_EBool","_int",0},
1830 { "_EBool","_wxWindowID",0},
1831 { "_class_wxRegion","_wxRegion",0},
1832 { "_class_wxDataFormat","_wxDataFormat",0},
1833 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
1834 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
1835 { "_wxStaticText","_class_wxStaticText",0},
1836 { "_wxFont","_class_wxFont",0},
1837 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
1838 { "_wxCloseEvent","_class_wxCloseEvent",0},
1839 { "_unsigned_long","_long",0},
1840 { "_class_wxRect","_wxRect",0},
1841 { "_class_wxDC","_wxDC",0},
1842 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
1843 { "_class_wxBrushList","_wxBrushList",0},
1844 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
1845 { "_class_wxPenList","_wxPenList",0},
1846 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
1847 { "_wxTimeSpan","_class_wxTimeSpan",0},
1848 { "_wxFocusEvent","_class_wxFocusEvent",0},
1849 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
1850 { "_class_wxTimerEvent","_wxTimerEvent",0},
1851 { "_class_wxSpinButton","_wxSpinButton",0},
1852 { "_class_wxCalendarEvent","_wxCalendarEvent",0},
1853 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1854 { "_class_wxPanel","_wxPanel",0},
1855 { "_class_wxCheckBox","_wxCheckBox",0},
1856 { "_wxComboBox","_class_wxComboBox",0},
1857 { "_wxRadioButton","_class_wxRadioButton",0},
1858 { "_signed_int","_wxCoord",0},
1859 { "_signed_int","_wxPrintQuality",0},
1860 { "_signed_int","_EBool",0},
1861 { "_signed_int","_wxWindowID",0},
1862 { "_signed_int","_int",0},
1863 { "_class_wxTextCtrl","_wxTextCtrl",0},
1864 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
1865 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
1866 { "_class_wxTextDataObject","_wxTextDataObject",0},
1867 { "_wxMenu","_class_wxMenu",0},
1868 { "_class_wxMoveEvent","_wxMoveEvent",0},
1869 { "_wxListBox","_class_wxListBox",0},
1870 { "_wxScreenDC","_class_wxScreenDC",0},
1871 { "_class_wxCalendarCtrl","_wxCalendarCtrl",0},
1872 { "_WXTYPE","_wxDateTime_t",0},
1873 { "_WXTYPE","_short",0},
1874 { "_WXTYPE","_signed_short",0},
1875 { "_WXTYPE","_unsigned_short",0},
1876 { "_class_wxDropTarget","_wxDropTarget",0},
1877 { "_class_wxBrush","_wxBrush",0},
1878 { "_unsigned_short","_wxDateTime_t",0},
1879 { "_unsigned_short","_WXTYPE",0},
1880 { "_unsigned_short","_short",0},
1881 { "_class_wxWindow","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
1882 { "_class_wxWindow","_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
1883 { "_class_wxWindow","_wxWindow",0},
1884 { "_wxDateSpan","_class_wxDateSpan",0},
1885 { "_class_wxStaticText","_wxStaticText",0},
1886 { "_class_wxFont","_wxFont",0},
1887 { "_wxClipboard","_class_wxClipboard",0},
1888 { "_class_wxPyValidator","_wxPyValidator",0},
1889 { "_class_wxCloseEvent","_wxCloseEvent",0},
1890 { "_wxBusyInfo","_class_wxBusyInfo",0},
1891 { "_wxFontList","_class_wxFontList",0},
1892 { "_class_wxMenuEvent","_wxMenuEvent",0},
1893 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
1894 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
1895 { "_wxClientDC","_class_wxClientDC",0},
1896 { "_wxMouseEvent","_class_wxMouseEvent",0},
1897 { "_wxObject","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxObject
},
1898 { "_wxObject","_wxCalendarCtrl",SwigwxCalendarCtrlTowxObject
},
1899 { "_wxObject","_class_wxCalendarEvent",SwigwxCalendarEventTowxObject
},
1900 { "_wxObject","_wxCalendarEvent",SwigwxCalendarEventTowxObject
},
1901 { "_wxObject","_class_wxObject",0},
1902 { "_class_wxPoint","_wxPoint",0},
1903 { "_wxRealPoint","_class_wxRealPoint",0},
1904 { "_class_wxRadioBox","_wxRadioBox",0},
1905 { "_signed_short","_WXTYPE",0},
1906 { "_signed_short","_short",0},
1907 { "_wxMemoryDC","_class_wxMemoryDC",0},
1908 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
1909 { "_wxPaintDC","_class_wxPaintDC",0},
1910 { "_class_wxWindowDC","_wxWindowDC",0},
1911 { "_class_wxFocusEvent","_wxFocusEvent",0},
1912 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
1913 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1914 { "_class_wxCursor","_wxCursor",0},
1915 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
1916 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1917 { "_wxCalendarDateAttr","_class_wxCalendarDateAttr",0},
1918 { "_unsigned_char","_byte",0},
1919 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
1920 { "_class_wxMenu","_wxMenu",0},
1921 { "_wxControl","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
1922 { "_wxControl","_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
1923 { "_wxControl","_class_wxControl",0},
1924 { "_class_wxListBox","_wxListBox",0},
1925 { "_unsigned_int","_wxCoord",0},
1926 { "_unsigned_int","_wxPrintQuality",0},
1927 { "_unsigned_int","_time_t",0},
1928 { "_unsigned_int","_size_t",0},
1929 { "_unsigned_int","_uint",0},
1930 { "_unsigned_int","_wxWindowID",0},
1931 { "_unsigned_int","_int",0},
1932 { "_wxIcon","_class_wxIcon",0},
1933 { "_wxDialog","_class_wxDialog",0},
1934 { "_class_wxPen","_wxPen",0},
1935 { "_wxConfigBase","_class_wxConfigBase",0},
1936 { "_short","_wxDateTime_t",0},
1937 { "_short","_WXTYPE",0},
1938 { "_short","_unsigned_short",0},
1939 { "_short","_signed_short",0},
1940 { "_class_wxStaticBox","_wxStaticBox",0},
1941 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
1942 { "_class_wxPyDropSource","_wxPyDropSource",0},
1943 { "_class_wxScrollEvent","_wxScrollEvent",0},
1944 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
1945 { "_class_wxChoice","_wxChoice",0},
1946 { "_class_wxSlider","_wxSlider",0},
1947 { "_class_wxImageList","_wxImageList",0},
1948 { "_class_wxBitmapButton","_wxBitmapButton",0},
1949 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
1950 { "_wxWindowID","_wxCoord",0},
1951 { "_wxWindowID","_wxPrintQuality",0},
1952 { "_wxWindowID","_time_t",0},
1953 { "_wxWindowID","_size_t",0},
1954 { "_wxWindowID","_EBool",0},
1955 { "_wxWindowID","_uint",0},
1956 { "_wxWindowID","_int",0},
1957 { "_wxWindowID","_signed_int",0},
1958 { "_wxWindowID","_unsigned_int",0},
1959 { "_class_wxGDIObject","_wxGDIObject",0},
1960 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
1961 { "_int","_wxCoord",0},
1962 { "_int","_wxPrintQuality",0},
1963 { "_int","_time_t",0},
1964 { "_int","_size_t",0},
1965 { "_int","_EBool",0},
1966 { "_int","_uint",0},
1967 { "_int","_wxWindowID",0},
1968 { "_int","_unsigned_int",0},
1969 { "_int","_signed_int",0},
1970 { "_class_wxMouseEvent","_wxMouseEvent",0},
1971 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
1972 { "_wxDateTime_t","_unsigned_short",0},
1973 { "_wxDateTime_t","_short",0},
1974 { "_wxDateTime_t","_WXTYPE",0},
1975 { "_class_wxSpinEvent","_wxSpinEvent",0},
1976 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
1977 { "_wxDateTime","_class_wxDateTime",0},
1978 { "_time_t","_wxCoord",0},
1979 { "_time_t","_wxPrintQuality",0},
1980 { "_time_t","_unsigned_int",0},
1981 { "_time_t","_int",0},
1982 { "_time_t","_wxWindowID",0},
1983 { "_time_t","_uint",0},
1984 { "_time_t","_size_t",0},
1985 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
1986 { "_wxButton","_class_wxButton",0},
1987 { "_wxSize","_class_wxSize",0},
1988 { "_wxRegionIterator","_class_wxRegionIterator",0},
1989 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
1990 { "_class_wxTimeSpan","_wxTimeSpan",0},
1991 { "_class_wxPaintDC","_wxPaintDC",0},
1992 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
1993 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
1994 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
1995 { "_class_wxComboBox","_wxComboBox",0},
1996 { "_class_wxRadioButton","_wxRadioButton",0},
1997 { "_wxValidator","_class_wxValidator",0},
1998 { "_class_wxCalendarDateAttr","_wxCalendarDateAttr",0},
1999 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2000 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2001 { "_class_wxControl","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
2002 { "_class_wxControl","_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
2003 { "_class_wxControl","_wxControl",0},
2004 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2005 { "_class_wxIcon","_wxIcon",0},
2006 { "_class_wxColour","_wxColour",0},
2007 { "_class_wxScreenDC","_wxScreenDC",0},
2008 { "_wxPalette","_class_wxPalette",0},
2009 { "_class_wxIdleEvent","_wxIdleEvent",0},
2010 { "_class_wxConfigBase","_wxConfigBase",0},
2011 { "_wxCoord","_int",0},
2012 { "_wxCoord","_signed_int",0},
2013 { "_wxCoord","_unsigned_int",0},
2014 { "_wxCoord","_wxWindowID",0},
2015 { "_wxCoord","_uint",0},
2016 { "_wxCoord","_EBool",0},
2017 { "_wxCoord","_size_t",0},
2018 { "_wxCoord","_time_t",0},
2019 { "_wxCoord","_wxPrintQuality",0},
2020 { "_wxEraseEvent","_class_wxEraseEvent",0},
2021 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
2022 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2023 { "_class_wxToggleButton","_wxToggleButton",0},
2024 { "_wxRegion","_class_wxRegion",0},
2025 { "_class_wxDateSpan","_wxDateSpan",0},
2026 { "_class_wxShowEvent","_wxShowEvent",0},
2027 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
2028 { "_wxActivateEvent","_class_wxActivateEvent",0},
2029 { "_wxGauge","_class_wxGauge",0},
2030 { "_class_wxCheckListBox","_wxCheckListBox",0},
2031 { "_class_wxBusyInfo","_wxBusyInfo",0},
2032 { "_class_wxFontList","_wxFontList",0},
2033 { "_class_wxCommandEvent","_class_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
2034 { "_class_wxCommandEvent","_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
2035 { "_class_wxCommandEvent","_wxCommandEvent",0},
2036 { "_class_wxClientDC","_wxClientDC",0},
2037 { "_class_wxSizeEvent","_wxSizeEvent",0},
2038 { "_wxBrushList","_class_wxBrushList",0},
2039 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
2040 { "_class_wxSize","_wxSize",0},
2041 { "_class_wxBitmap","_wxBitmap",0},
2042 { "_class_wxMemoryDC","_wxMemoryDC",0},
2043 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
2044 { "_wxMenuBar","_class_wxMenuBar",0},
2045 { "_wxEvtHandler","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler
},
2046 { "_wxEvtHandler","_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler
},
2047 { "_wxEvtHandler","_class_wxEvtHandler",0},
2048 { "_wxMenuItem","_class_wxMenuItem",0},
2049 { "_class_wxScrollBar","_wxScrollBar",0},
2050 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2051 { "_class_wxConfig","_wxConfig",0},
2052 { "_wxKeyEvent","_class_wxKeyEvent",0},
2053 { "_wxMoveEvent","_class_wxMoveEvent",0},
2054 { "_wxCalendarCtrl","_class_wxCalendarCtrl",0},
2055 { "_class_wxPalette","_wxPalette",0},
2056 { "_wxFileDataObject","_class_wxFileDataObject",0},
2057 { "_class_wxEraseEvent","_wxEraseEvent",0},
2058 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
2059 { "_wxWindow","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
2060 { "_wxWindow","_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
2061 { "_wxWindow","_class_wxWindow",0},
2062 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
2065 static PyObject
*SWIG_globals
;
2069 SWIGEXPORT(void) initcalendarc() {
2071 SWIG_globals
= SWIG_newvarlink();
2072 m
= Py_InitModule("calendarc", calendarcMethods
);
2073 d
= PyModule_GetDict(m
);
2074 PyDict_SetItemString(d
,"wxCAL_SUNDAY_FIRST", PyInt_FromLong((long) wxCAL_SUNDAY_FIRST
));
2075 PyDict_SetItemString(d
,"wxCAL_MONDAY_FIRST", PyInt_FromLong((long) wxCAL_MONDAY_FIRST
));
2076 PyDict_SetItemString(d
,"wxCAL_SHOW_HOLIDAYS", PyInt_FromLong((long) wxCAL_SHOW_HOLIDAYS
));
2077 PyDict_SetItemString(d
,"wxCAL_NO_YEAR_CHANGE", PyInt_FromLong((long) wxCAL_NO_YEAR_CHANGE
));
2078 PyDict_SetItemString(d
,"wxCAL_NO_MONTH_CHANGE", PyInt_FromLong((long) wxCAL_NO_MONTH_CHANGE
));
2079 PyDict_SetItemString(d
,"wxCAL_HITTEST_NOWHERE", PyInt_FromLong((long) wxCAL_HITTEST_NOWHERE
));
2080 PyDict_SetItemString(d
,"wxCAL_HITTEST_HEADER", PyInt_FromLong((long) wxCAL_HITTEST_HEADER
));
2081 PyDict_SetItemString(d
,"wxCAL_HITTEST_DAY", PyInt_FromLong((long) wxCAL_HITTEST_DAY
));
2082 PyDict_SetItemString(d
,"wxCAL_BORDER_NONE", PyInt_FromLong((long) wxCAL_BORDER_NONE
));
2083 PyDict_SetItemString(d
,"wxCAL_BORDER_SQUARE", PyInt_FromLong((long) wxCAL_BORDER_SQUARE
));
2084 PyDict_SetItemString(d
,"wxCAL_BORDER_ROUND", PyInt_FromLong((long) wxCAL_BORDER_ROUND
));
2085 PyDict_SetItemString(d
,"wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_CALENDAR_DOUBLECLICKED
));
2086 PyDict_SetItemString(d
,"wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_SEL_CHANGED
));
2087 PyDict_SetItemString(d
,"wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_DAY_CHANGED
));
2088 PyDict_SetItemString(d
,"wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_MONTH_CHANGED
));
2089 PyDict_SetItemString(d
,"wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_YEAR_CHANGED
));
2090 PyDict_SetItemString(d
,"wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong((long) wxEVT_CALENDAR_WEEKDAY_CLICKED
));
2092 wxClassInfo::CleanUpClasses();
2093 wxClassInfo::InitializeClasses();
2096 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2097 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);