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 static char* wxStringErrorMsg
= "string type is required for parameter";
111 #define new_wxCalendarDateAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxCalendarDateAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
112 static PyObject
*_wrap_new_wxCalendarDateAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
113 PyObject
* _resultobj
;
114 wxCalendarDateAttr
* _result
;
116 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
117 wxColour
* _arg2
= (wxColour
*) &wxNullColour
;
118 wxFont
* _arg3
= (wxFont
*) &wxNullFont
;
119 wxCalendarDateBorder _arg4
= (wxCalendarDateBorder
) (wxCAL_BORDER_NONE
);
121 PyObject
* _obj0
= 0;
123 PyObject
* _obj1
= 0;
125 PyObject
* _obj2
= 0;
126 PyObject
* _argo3
= 0;
127 char *_kwnames
[] = { "colText","colBack","colBorder","font","border", NULL
};
131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOi:new_wxCalendarDateAttr",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
))
135 if (! wxColour_helper(_obj0
, &_arg0
))
141 if (! wxColour_helper(_obj1
, &_arg1
))
147 if (! wxColour_helper(_obj2
, &_arg2
))
151 if (_argo3
== Py_None
) { _arg3
= NULL
; }
152 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxCalendarDateAttr. Expected _wxFont_p.");
158 wxPy_BEGIN_ALLOW_THREADS
;
159 _result
= (wxCalendarDateAttr
*)new_wxCalendarDateAttr(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
161 wxPy_END_ALLOW_THREADS
;
163 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
164 _resultobj
= Py_BuildValue("s",_ptemp
);
167 _resultobj
= Py_None
;
172 #define new_wxCalendarDateAttrBorder(_swigarg0,_swigarg1) (new wxCalendarDateAttr(_swigarg0,_swigarg1))
173 static PyObject
*_wrap_new_wxCalendarDateAttrBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
174 PyObject
* _resultobj
;
175 wxCalendarDateAttr
* _result
;
176 wxCalendarDateBorder _arg0
;
177 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
179 PyObject
* _obj1
= 0;
180 char *_kwnames
[] = { "border","colBorder", NULL
};
184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|O:new_wxCalendarDateAttrBorder",_kwnames
,&_arg0
,&_obj1
))
189 if (! wxColour_helper(_obj1
, &_arg1
))
193 wxPy_BEGIN_ALLOW_THREADS
;
194 _result
= (wxCalendarDateAttr
*)new_wxCalendarDateAttrBorder(_arg0
,*_arg1
);
196 wxPy_END_ALLOW_THREADS
;
198 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
199 _resultobj
= Py_BuildValue("s",_ptemp
);
202 _resultobj
= Py_None
;
207 #define wxCalendarDateAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
208 static PyObject
*_wrap_wxCalendarDateAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
209 PyObject
* _resultobj
;
210 wxCalendarDateAttr
* _arg0
;
212 PyObject
* _argo0
= 0;
214 PyObject
* _obj1
= 0;
215 char *_kwnames
[] = { "self","colText", NULL
};
218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetTextColour. Expected _wxCalendarDateAttr_p.");
229 if (! wxColour_helper(_obj1
, &_arg1
))
233 wxPy_BEGIN_ALLOW_THREADS
;
234 wxCalendarDateAttr_SetTextColour(_arg0
,*_arg1
);
236 wxPy_END_ALLOW_THREADS
;
237 } Py_INCREF(Py_None
);
238 _resultobj
= Py_None
;
242 #define wxCalendarDateAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
243 static PyObject
*_wrap_wxCalendarDateAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
244 PyObject
* _resultobj
;
245 wxCalendarDateAttr
* _arg0
;
247 PyObject
* _argo0
= 0;
249 PyObject
* _obj1
= 0;
250 char *_kwnames
[] = { "self","colBack", NULL
};
253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBackgroundColour. Expected _wxCalendarDateAttr_p.");
264 if (! wxColour_helper(_obj1
, &_arg1
))
268 wxPy_BEGIN_ALLOW_THREADS
;
269 wxCalendarDateAttr_SetBackgroundColour(_arg0
,*_arg1
);
271 wxPy_END_ALLOW_THREADS
;
272 } Py_INCREF(Py_None
);
273 _resultobj
= Py_None
;
277 #define wxCalendarDateAttr_SetBorderColour(_swigobj,_swigarg0) (_swigobj->SetBorderColour(_swigarg0))
278 static PyObject
*_wrap_wxCalendarDateAttr_SetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
279 PyObject
* _resultobj
;
280 wxCalendarDateAttr
* _arg0
;
282 PyObject
* _argo0
= 0;
284 PyObject
* _obj1
= 0;
285 char *_kwnames
[] = { "self","col", NULL
};
288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetBorderColour",_kwnames
,&_argo0
,&_obj1
))
291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBorderColour. Expected _wxCalendarDateAttr_p.");
299 if (! wxColour_helper(_obj1
, &_arg1
))
303 wxPy_BEGIN_ALLOW_THREADS
;
304 wxCalendarDateAttr_SetBorderColour(_arg0
,*_arg1
);
306 wxPy_END_ALLOW_THREADS
;
307 } Py_INCREF(Py_None
);
308 _resultobj
= Py_None
;
312 #define wxCalendarDateAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
313 static PyObject
*_wrap_wxCalendarDateAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
314 PyObject
* _resultobj
;
315 wxCalendarDateAttr
* _arg0
;
317 PyObject
* _argo0
= 0;
318 PyObject
* _argo1
= 0;
319 char *_kwnames
[] = { "self","font", NULL
};
322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetFont. Expected _wxCalendarDateAttr_p.");
332 if (_argo1
== Py_None
) { _arg1
= NULL
; }
333 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarDateAttr_SetFont. Expected _wxFont_p.");
339 wxPy_BEGIN_ALLOW_THREADS
;
340 wxCalendarDateAttr_SetFont(_arg0
,*_arg1
);
342 wxPy_END_ALLOW_THREADS
;
343 } Py_INCREF(Py_None
);
344 _resultobj
= Py_None
;
348 #define wxCalendarDateAttr_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
349 static PyObject
*_wrap_wxCalendarDateAttr_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
350 PyObject
* _resultobj
;
351 wxCalendarDateAttr
* _arg0
;
352 wxCalendarDateBorder _arg1
;
353 PyObject
* _argo0
= 0;
354 char *_kwnames
[] = { "self","border", NULL
};
357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarDateAttr_SetBorder",_kwnames
,&_argo0
,&_arg1
))
360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBorder. Expected _wxCalendarDateAttr_p.");
367 wxPy_BEGIN_ALLOW_THREADS
;
368 wxCalendarDateAttr_SetBorder(_arg0
,_arg1
);
370 wxPy_END_ALLOW_THREADS
;
371 } Py_INCREF(Py_None
);
372 _resultobj
= Py_None
;
376 #define wxCalendarDateAttr_SetHoliday(_swigobj,_swigarg0) (_swigobj->SetHoliday(_swigarg0))
377 static PyObject
*_wrap_wxCalendarDateAttr_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
378 PyObject
* _resultobj
;
379 wxCalendarDateAttr
* _arg0
;
381 PyObject
* _argo0
= 0;
383 char *_kwnames
[] = { "self","holiday", NULL
};
386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarDateAttr_SetHoliday",_kwnames
,&_argo0
,&tempbool1
))
389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetHoliday. Expected _wxCalendarDateAttr_p.");
395 _arg1
= (bool ) tempbool1
;
397 wxPy_BEGIN_ALLOW_THREADS
;
398 wxCalendarDateAttr_SetHoliday(_arg0
,_arg1
);
400 wxPy_END_ALLOW_THREADS
;
401 } Py_INCREF(Py_None
);
402 _resultobj
= Py_None
;
406 #define wxCalendarDateAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
407 static PyObject
*_wrap_wxCalendarDateAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
408 PyObject
* _resultobj
;
410 wxCalendarDateAttr
* _arg0
;
411 PyObject
* _argo0
= 0;
412 char *_kwnames
[] = { "self", NULL
};
415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasTextColour",_kwnames
,&_argo0
))
418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasTextColour. Expected _wxCalendarDateAttr_p.");
425 wxPy_BEGIN_ALLOW_THREADS
;
426 _result
= (bool )wxCalendarDateAttr_HasTextColour(_arg0
);
428 wxPy_END_ALLOW_THREADS
;
429 } _resultobj
= Py_BuildValue("i",_result
);
433 #define wxCalendarDateAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
434 static PyObject
*_wrap_wxCalendarDateAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
435 PyObject
* _resultobj
;
437 wxCalendarDateAttr
* _arg0
;
438 PyObject
* _argo0
= 0;
439 char *_kwnames
[] = { "self", NULL
};
442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBackgroundColour",_kwnames
,&_argo0
))
445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBackgroundColour. Expected _wxCalendarDateAttr_p.");
452 wxPy_BEGIN_ALLOW_THREADS
;
453 _result
= (bool )wxCalendarDateAttr_HasBackgroundColour(_arg0
);
455 wxPy_END_ALLOW_THREADS
;
456 } _resultobj
= Py_BuildValue("i",_result
);
460 #define wxCalendarDateAttr_HasBorderColour(_swigobj) (_swigobj->HasBorderColour())
461 static PyObject
*_wrap_wxCalendarDateAttr_HasBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
462 PyObject
* _resultobj
;
464 wxCalendarDateAttr
* _arg0
;
465 PyObject
* _argo0
= 0;
466 char *_kwnames
[] = { "self", NULL
};
469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBorderColour",_kwnames
,&_argo0
))
472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBorderColour. Expected _wxCalendarDateAttr_p.");
479 wxPy_BEGIN_ALLOW_THREADS
;
480 _result
= (bool )wxCalendarDateAttr_HasBorderColour(_arg0
);
482 wxPy_END_ALLOW_THREADS
;
483 } _resultobj
= Py_BuildValue("i",_result
);
487 #define wxCalendarDateAttr_HasFont(_swigobj) (_swigobj->HasFont())
488 static PyObject
*_wrap_wxCalendarDateAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
489 PyObject
* _resultobj
;
491 wxCalendarDateAttr
* _arg0
;
492 PyObject
* _argo0
= 0;
493 char *_kwnames
[] = { "self", NULL
};
496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasFont",_kwnames
,&_argo0
))
499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasFont. Expected _wxCalendarDateAttr_p.");
506 wxPy_BEGIN_ALLOW_THREADS
;
507 _result
= (bool )wxCalendarDateAttr_HasFont(_arg0
);
509 wxPy_END_ALLOW_THREADS
;
510 } _resultobj
= Py_BuildValue("i",_result
);
514 #define wxCalendarDateAttr_HasBorder(_swigobj) (_swigobj->HasBorder())
515 static PyObject
*_wrap_wxCalendarDateAttr_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
516 PyObject
* _resultobj
;
518 wxCalendarDateAttr
* _arg0
;
519 PyObject
* _argo0
= 0;
520 char *_kwnames
[] = { "self", NULL
};
523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBorder",_kwnames
,&_argo0
))
526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBorder. Expected _wxCalendarDateAttr_p.");
533 wxPy_BEGIN_ALLOW_THREADS
;
534 _result
= (bool )wxCalendarDateAttr_HasBorder(_arg0
);
536 wxPy_END_ALLOW_THREADS
;
537 } _resultobj
= Py_BuildValue("i",_result
);
541 #define wxCalendarDateAttr_IsHoliday(_swigobj) (_swigobj->IsHoliday())
542 static PyObject
*_wrap_wxCalendarDateAttr_IsHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
543 PyObject
* _resultobj
;
545 wxCalendarDateAttr
* _arg0
;
546 PyObject
* _argo0
= 0;
547 char *_kwnames
[] = { "self", NULL
};
550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_IsHoliday",_kwnames
,&_argo0
))
553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_IsHoliday. Expected _wxCalendarDateAttr_p.");
560 wxPy_BEGIN_ALLOW_THREADS
;
561 _result
= (bool )wxCalendarDateAttr_IsHoliday(_arg0
);
563 wxPy_END_ALLOW_THREADS
;
564 } _resultobj
= Py_BuildValue("i",_result
);
568 #define wxCalendarDateAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
569 static PyObject
*_wrap_wxCalendarDateAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
570 PyObject
* _resultobj
;
572 wxCalendarDateAttr
* _arg0
;
573 PyObject
* _argo0
= 0;
574 char *_kwnames
[] = { "self", NULL
};
578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetTextColour",_kwnames
,&_argo0
))
581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetTextColour. Expected _wxCalendarDateAttr_p.");
588 wxPy_BEGIN_ALLOW_THREADS
;
589 const wxColour
& _result_ref
= wxCalendarDateAttr_GetTextColour(_arg0
);
590 _result
= (wxColour
*) &_result_ref
;
592 wxPy_END_ALLOW_THREADS
;
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
;
629 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
630 _resultobj
= Py_BuildValue("s",_ptemp
);
633 _resultobj
= Py_None
;
638 #define wxCalendarDateAttr_GetBorderColour(_swigobj) (_swigobj->GetBorderColour())
639 static PyObject
*_wrap_wxCalendarDateAttr_GetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
640 PyObject
* _resultobj
;
642 wxCalendarDateAttr
* _arg0
;
643 PyObject
* _argo0
= 0;
644 char *_kwnames
[] = { "self", NULL
};
648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBorderColour",_kwnames
,&_argo0
))
651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBorderColour. Expected _wxCalendarDateAttr_p.");
658 wxPy_BEGIN_ALLOW_THREADS
;
659 const wxColour
& _result_ref
= wxCalendarDateAttr_GetBorderColour(_arg0
);
660 _result
= (wxColour
*) &_result_ref
;
662 wxPy_END_ALLOW_THREADS
;
664 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
665 _resultobj
= Py_BuildValue("s",_ptemp
);
668 _resultobj
= Py_None
;
673 #define wxCalendarDateAttr_GetFont(_swigobj) (_swigobj->GetFont())
674 static PyObject
*_wrap_wxCalendarDateAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
675 PyObject
* _resultobj
;
677 wxCalendarDateAttr
* _arg0
;
678 PyObject
* _argo0
= 0;
679 char *_kwnames
[] = { "self", NULL
};
683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetFont",_kwnames
,&_argo0
))
686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetFont. Expected _wxCalendarDateAttr_p.");
693 wxPy_BEGIN_ALLOW_THREADS
;
694 const wxFont
& _result_ref
= wxCalendarDateAttr_GetFont(_arg0
);
695 _result
= (wxFont
*) &_result_ref
;
697 wxPy_END_ALLOW_THREADS
;
699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
700 _resultobj
= Py_BuildValue("s",_ptemp
);
703 _resultobj
= Py_None
;
708 #define wxCalendarDateAttr_GetBorder(_swigobj) (_swigobj->GetBorder())
709 static PyObject
*_wrap_wxCalendarDateAttr_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
710 PyObject
* _resultobj
;
711 wxCalendarDateBorder _result
;
712 wxCalendarDateAttr
* _arg0
;
713 PyObject
* _argo0
= 0;
714 char *_kwnames
[] = { "self", NULL
};
717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBorder",_kwnames
,&_argo0
))
720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBorder. Expected _wxCalendarDateAttr_p.");
727 wxPy_BEGIN_ALLOW_THREADS
;
728 _result
= (wxCalendarDateBorder
)wxCalendarDateAttr_GetBorder(_arg0
);
730 wxPy_END_ALLOW_THREADS
;
731 } _resultobj
= Py_BuildValue("i",_result
);
735 static void *SwigwxCalendarEventTowxCommandEvent(void *ptr
) {
736 wxCalendarEvent
*src
;
737 wxCommandEvent
*dest
;
738 src
= (wxCalendarEvent
*) ptr
;
739 dest
= (wxCommandEvent
*) src
;
740 return (void *) dest
;
743 static void *SwigwxCalendarEventTowxEvent(void *ptr
) {
744 wxCalendarEvent
*src
;
746 src
= (wxCalendarEvent
*) ptr
;
747 dest
= (wxEvent
*) src
;
748 return (void *) dest
;
751 #define new_wxCalendarEvent(_swigarg0,_swigarg1) (new wxCalendarEvent(_swigarg0,_swigarg1))
752 static PyObject
*_wrap_new_wxCalendarEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
753 PyObject
* _resultobj
;
754 wxCalendarEvent
* _result
;
755 wxCalendarCtrl
* _arg0
;
757 PyObject
* _argo0
= 0;
758 char *_kwnames
[] = { "cal","type", NULL
};
762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:new_wxCalendarEvent",_kwnames
,&_argo0
,&_arg1
))
765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCalendarEvent. Expected _wxCalendarCtrl_p.");
772 wxPy_BEGIN_ALLOW_THREADS
;
773 _result
= (wxCalendarEvent
*)new_wxCalendarEvent(_arg0
,_arg1
);
775 wxPy_END_ALLOW_THREADS
;
777 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarEvent_p");
778 _resultobj
= Py_BuildValue("s",_ptemp
);
781 _resultobj
= Py_None
;
786 #define wxCalendarEvent_GetDate(_swigobj) (_swigobj->GetDate())
787 static PyObject
*_wrap_wxCalendarEvent_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
788 PyObject
* _resultobj
;
789 wxDateTime
* _result
;
790 wxCalendarEvent
* _arg0
;
791 PyObject
* _argo0
= 0;
792 char *_kwnames
[] = { "self", NULL
};
796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarEvent_GetDate",_kwnames
,&_argo0
))
799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarEvent_p")) {
801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarEvent_GetDate. Expected _wxCalendarEvent_p.");
806 wxPy_BEGIN_ALLOW_THREADS
;
807 const wxDateTime
& _result_ref
= wxCalendarEvent_GetDate(_arg0
);
808 _result
= (wxDateTime
*) &_result_ref
;
810 wxPy_END_ALLOW_THREADS
;
812 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
813 _resultobj
= Py_BuildValue("s",_ptemp
);
816 _resultobj
= Py_None
;
821 #define wxCalendarEvent_GetWeekDay(_swigobj) (_swigobj->GetWeekDay())
822 static PyObject
*_wrap_wxCalendarEvent_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
823 PyObject
* _resultobj
;
824 wxDateTime::WeekDay _result
;
825 wxCalendarEvent
* _arg0
;
826 PyObject
* _argo0
= 0;
827 char *_kwnames
[] = { "self", NULL
};
830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarEvent_GetWeekDay",_kwnames
,&_argo0
))
833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarEvent_p")) {
835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarEvent_GetWeekDay. Expected _wxCalendarEvent_p.");
840 wxPy_BEGIN_ALLOW_THREADS
;
841 _result
= (wxDateTime::WeekDay
)wxCalendarEvent_GetWeekDay(_arg0
);
843 wxPy_END_ALLOW_THREADS
;
844 } _resultobj
= Py_BuildValue("i",_result
);
848 static void *SwigwxCalendarCtrlTowxControl(void *ptr
) {
851 src
= (wxCalendarCtrl
*) ptr
;
852 dest
= (wxControl
*) src
;
853 return (void *) dest
;
856 static void *SwigwxCalendarCtrlTowxWindow(void *ptr
) {
859 src
= (wxCalendarCtrl
*) ptr
;
860 dest
= (wxWindow
*) src
;
861 return (void *) dest
;
864 static void *SwigwxCalendarCtrlTowxEvtHandler(void *ptr
) {
867 src
= (wxCalendarCtrl
*) ptr
;
868 dest
= (wxEvtHandler
*) src
;
869 return (void *) dest
;
872 #define new_wxCalendarCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxCalendarCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
873 static PyObject
*_wrap_new_wxCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
874 PyObject
* _resultobj
;
875 wxCalendarCtrl
* _result
;
878 wxDateTime
* _arg2
= (wxDateTime
*) &wxDefaultDateTime
;
879 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
880 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
881 long _arg5
= (long ) (wxCAL_SHOW_HOLIDAYS
);
882 char * _arg6
= (char *) "calendar";
883 PyObject
* _argo0
= 0;
884 PyObject
* _argo2
= 0;
886 PyObject
* _obj3
= 0;
888 PyObject
* _obj4
= 0;
889 char *_kwnames
[] = { "parent","id","date","pos","size","style","name", NULL
};
893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOls:new_wxCalendarCtrl",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCalendarCtrl. Expected _wxWindow_p.");
903 if (_argo2
== Py_None
) { _arg2
= NULL
; }
904 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxCalendarCtrl. Expected _wxDateTime_p.");
912 if (! wxPoint_helper(_obj3
, &_arg3
))
918 if (! wxSize_helper(_obj4
, &_arg4
))
922 wxPy_BEGIN_ALLOW_THREADS
;
923 _result
= (wxCalendarCtrl
*)new_wxCalendarCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
925 wxPy_END_ALLOW_THREADS
;
927 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarCtrl_p");
928 _resultobj
= Py_BuildValue("s",_ptemp
);
931 _resultobj
= Py_None
;
936 #define wxCalendarCtrl_SetDate(_swigobj,_swigarg0) (_swigobj->SetDate(_swigarg0))
937 static PyObject
*_wrap_wxCalendarCtrl_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
938 PyObject
* _resultobj
;
939 wxCalendarCtrl
* _arg0
;
941 PyObject
* _argo0
= 0;
942 PyObject
* _argo1
= 0;
943 char *_kwnames
[] = { "self","date", NULL
};
946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarCtrl_SetDate",_kwnames
,&_argo0
,&_argo1
))
949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetDate. Expected _wxCalendarCtrl_p.");
956 if (_argo1
== Py_None
) { _arg1
= NULL
; }
957 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetDate. Expected _wxDateTime_p.");
963 wxPy_BEGIN_ALLOW_THREADS
;
964 wxCalendarCtrl_SetDate(_arg0
,*_arg1
);
966 wxPy_END_ALLOW_THREADS
;
967 } Py_INCREF(Py_None
);
968 _resultobj
= Py_None
;
972 #define wxCalendarCtrl_GetDate(_swigobj) (_swigobj->GetDate())
973 static PyObject
*_wrap_wxCalendarCtrl_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
975 wxDateTime
* _result
;
976 wxCalendarCtrl
* _arg0
;
977 PyObject
* _argo0
= 0;
978 char *_kwnames
[] = { "self", NULL
};
982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetDate",_kwnames
,&_argo0
))
985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetDate. Expected _wxCalendarCtrl_p.");
992 wxPy_BEGIN_ALLOW_THREADS
;
993 const wxDateTime
& _result_ref
= wxCalendarCtrl_GetDate(_arg0
);
994 _result
= (wxDateTime
*) &_result_ref
;
996 wxPy_END_ALLOW_THREADS
;
998 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
999 _resultobj
= Py_BuildValue("s",_ptemp
);
1002 _resultobj
= Py_None
;
1007 #define wxCalendarCtrl_EnableYearChange(_swigobj,_swigarg0) (_swigobj->EnableYearChange(_swigarg0))
1008 static PyObject
*_wrap_wxCalendarCtrl_EnableYearChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1009 PyObject
* _resultobj
;
1010 wxCalendarCtrl
* _arg0
;
1011 bool _arg1
= (bool ) TRUE
;
1012 PyObject
* _argo0
= 0;
1013 int tempbool1
= (int) TRUE
;
1014 char *_kwnames
[] = { "self","enable", NULL
};
1017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableYearChange",_kwnames
,&_argo0
,&tempbool1
))
1020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableYearChange. Expected _wxCalendarCtrl_p.");
1026 _arg1
= (bool ) tempbool1
;
1028 wxPy_BEGIN_ALLOW_THREADS
;
1029 wxCalendarCtrl_EnableYearChange(_arg0
,_arg1
);
1031 wxPy_END_ALLOW_THREADS
;
1032 } Py_INCREF(Py_None
);
1033 _resultobj
= Py_None
;
1037 #define wxCalendarCtrl_EnableMonthChange(_swigobj,_swigarg0) (_swigobj->EnableMonthChange(_swigarg0))
1038 static PyObject
*_wrap_wxCalendarCtrl_EnableMonthChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1039 PyObject
* _resultobj
;
1040 wxCalendarCtrl
* _arg0
;
1041 bool _arg1
= (bool ) TRUE
;
1042 PyObject
* _argo0
= 0;
1043 int tempbool1
= (int) TRUE
;
1044 char *_kwnames
[] = { "self","enable", NULL
};
1047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableMonthChange",_kwnames
,&_argo0
,&tempbool1
))
1050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableMonthChange. Expected _wxCalendarCtrl_p.");
1056 _arg1
= (bool ) tempbool1
;
1058 wxPy_BEGIN_ALLOW_THREADS
;
1059 wxCalendarCtrl_EnableMonthChange(_arg0
,_arg1
);
1061 wxPy_END_ALLOW_THREADS
;
1062 } Py_INCREF(Py_None
);
1063 _resultobj
= Py_None
;
1067 #define wxCalendarCtrl_EnableHolidayDisplay(_swigobj,_swigarg0) (_swigobj->EnableHolidayDisplay(_swigarg0))
1068 static PyObject
*_wrap_wxCalendarCtrl_EnableHolidayDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1069 PyObject
* _resultobj
;
1070 wxCalendarCtrl
* _arg0
;
1071 bool _arg1
= (bool ) TRUE
;
1072 PyObject
* _argo0
= 0;
1073 int tempbool1
= (int) TRUE
;
1074 char *_kwnames
[] = { "self","display", NULL
};
1077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableHolidayDisplay",_kwnames
,&_argo0
,&tempbool1
))
1080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableHolidayDisplay. Expected _wxCalendarCtrl_p.");
1086 _arg1
= (bool ) tempbool1
;
1088 wxPy_BEGIN_ALLOW_THREADS
;
1089 wxCalendarCtrl_EnableHolidayDisplay(_arg0
,_arg1
);
1091 wxPy_END_ALLOW_THREADS
;
1092 } Py_INCREF(Py_None
);
1093 _resultobj
= Py_None
;
1097 #define wxCalendarCtrl_SetHeaderColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeaderColours(_swigarg0,_swigarg1))
1098 static PyObject
*_wrap_wxCalendarCtrl_SetHeaderColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1099 PyObject
* _resultobj
;
1100 wxCalendarCtrl
* _arg0
;
1103 PyObject
* _argo0
= 0;
1105 PyObject
* _obj1
= 0;
1107 PyObject
* _obj2
= 0;
1108 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHeaderColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHeaderColours. Expected _wxCalendarCtrl_p.");
1122 if (! wxColour_helper(_obj1
, &_arg1
))
1127 if (! wxColour_helper(_obj2
, &_arg2
))
1131 wxPy_BEGIN_ALLOW_THREADS
;
1132 wxCalendarCtrl_SetHeaderColours(_arg0
,*_arg1
,*_arg2
);
1134 wxPy_END_ALLOW_THREADS
;
1135 } Py_INCREF(Py_None
);
1136 _resultobj
= Py_None
;
1140 #define wxCalendarCtrl_GetHeaderColourFg(_swigobj) (_swigobj->GetHeaderColourFg())
1141 static PyObject
*_wrap_wxCalendarCtrl_GetHeaderColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1142 PyObject
* _resultobj
;
1144 wxCalendarCtrl
* _arg0
;
1145 PyObject
* _argo0
= 0;
1146 char *_kwnames
[] = { "self", NULL
};
1150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHeaderColourFg",_kwnames
,&_argo0
))
1153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHeaderColourFg. Expected _wxCalendarCtrl_p.");
1160 wxPy_BEGIN_ALLOW_THREADS
;
1161 const wxColour
& _result_ref
= wxCalendarCtrl_GetHeaderColourFg(_arg0
);
1162 _result
= (wxColour
*) &_result_ref
;
1164 wxPy_END_ALLOW_THREADS
;
1166 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1167 _resultobj
= Py_BuildValue("s",_ptemp
);
1170 _resultobj
= Py_None
;
1175 #define wxCalendarCtrl_GetHeaderColourBg(_swigobj) (_swigobj->GetHeaderColourBg())
1176 static PyObject
*_wrap_wxCalendarCtrl_GetHeaderColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1177 PyObject
* _resultobj
;
1179 wxCalendarCtrl
* _arg0
;
1180 PyObject
* _argo0
= 0;
1181 char *_kwnames
[] = { "self", NULL
};
1185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHeaderColourBg",_kwnames
,&_argo0
))
1188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHeaderColourBg. Expected _wxCalendarCtrl_p.");
1195 wxPy_BEGIN_ALLOW_THREADS
;
1196 const wxColour
& _result_ref
= wxCalendarCtrl_GetHeaderColourBg(_arg0
);
1197 _result
= (wxColour
*) &_result_ref
;
1199 wxPy_END_ALLOW_THREADS
;
1201 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1202 _resultobj
= Py_BuildValue("s",_ptemp
);
1205 _resultobj
= Py_None
;
1210 #define wxCalendarCtrl_SetHighlightColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlightColours(_swigarg0,_swigarg1))
1211 static PyObject
*_wrap_wxCalendarCtrl_SetHighlightColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1212 PyObject
* _resultobj
;
1213 wxCalendarCtrl
* _arg0
;
1216 PyObject
* _argo0
= 0;
1218 PyObject
* _obj1
= 0;
1220 PyObject
* _obj2
= 0;
1221 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHighlightColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHighlightColours. Expected _wxCalendarCtrl_p.");
1235 if (! wxColour_helper(_obj1
, &_arg1
))
1240 if (! wxColour_helper(_obj2
, &_arg2
))
1244 wxPy_BEGIN_ALLOW_THREADS
;
1245 wxCalendarCtrl_SetHighlightColours(_arg0
,*_arg1
,*_arg2
);
1247 wxPy_END_ALLOW_THREADS
;
1248 } Py_INCREF(Py_None
);
1249 _resultobj
= Py_None
;
1253 #define wxCalendarCtrl_GetHighlightColourFg(_swigobj) (_swigobj->GetHighlightColourFg())
1254 static PyObject
*_wrap_wxCalendarCtrl_GetHighlightColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1255 PyObject
* _resultobj
;
1257 wxCalendarCtrl
* _arg0
;
1258 PyObject
* _argo0
= 0;
1259 char *_kwnames
[] = { "self", NULL
};
1263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHighlightColourFg",_kwnames
,&_argo0
))
1266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHighlightColourFg. Expected _wxCalendarCtrl_p.");
1273 wxPy_BEGIN_ALLOW_THREADS
;
1274 const wxColour
& _result_ref
= wxCalendarCtrl_GetHighlightColourFg(_arg0
);
1275 _result
= (wxColour
*) &_result_ref
;
1277 wxPy_END_ALLOW_THREADS
;
1279 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1280 _resultobj
= Py_BuildValue("s",_ptemp
);
1283 _resultobj
= Py_None
;
1288 #define wxCalendarCtrl_GetHighlightColourBg(_swigobj) (_swigobj->GetHighlightColourBg())
1289 static PyObject
*_wrap_wxCalendarCtrl_GetHighlightColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1290 PyObject
* _resultobj
;
1292 wxCalendarCtrl
* _arg0
;
1293 PyObject
* _argo0
= 0;
1294 char *_kwnames
[] = { "self", NULL
};
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHighlightColourBg",_kwnames
,&_argo0
))
1301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHighlightColourBg. Expected _wxCalendarCtrl_p.");
1308 wxPy_BEGIN_ALLOW_THREADS
;
1309 const wxColour
& _result_ref
= wxCalendarCtrl_GetHighlightColourBg(_arg0
);
1310 _result
= (wxColour
*) &_result_ref
;
1312 wxPy_END_ALLOW_THREADS
;
1314 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1315 _resultobj
= Py_BuildValue("s",_ptemp
);
1318 _resultobj
= Py_None
;
1323 #define wxCalendarCtrl_SetHolidayColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHolidayColours(_swigarg0,_swigarg1))
1324 static PyObject
*_wrap_wxCalendarCtrl_SetHolidayColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
* _resultobj
;
1326 wxCalendarCtrl
* _arg0
;
1329 PyObject
* _argo0
= 0;
1331 PyObject
* _obj1
= 0;
1333 PyObject
* _obj2
= 0;
1334 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHolidayColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHolidayColours. Expected _wxCalendarCtrl_p.");
1348 if (! wxColour_helper(_obj1
, &_arg1
))
1353 if (! wxColour_helper(_obj2
, &_arg2
))
1357 wxPy_BEGIN_ALLOW_THREADS
;
1358 wxCalendarCtrl_SetHolidayColours(_arg0
,*_arg1
,*_arg2
);
1360 wxPy_END_ALLOW_THREADS
;
1361 } Py_INCREF(Py_None
);
1362 _resultobj
= Py_None
;
1366 #define wxCalendarCtrl_GetHolidayColourFg(_swigobj) (_swigobj->GetHolidayColourFg())
1367 static PyObject
*_wrap_wxCalendarCtrl_GetHolidayColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
* _resultobj
;
1370 wxCalendarCtrl
* _arg0
;
1371 PyObject
* _argo0
= 0;
1372 char *_kwnames
[] = { "self", NULL
};
1376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHolidayColourFg",_kwnames
,&_argo0
))
1379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHolidayColourFg. Expected _wxCalendarCtrl_p.");
1386 wxPy_BEGIN_ALLOW_THREADS
;
1387 const wxColour
& _result_ref
= wxCalendarCtrl_GetHolidayColourFg(_arg0
);
1388 _result
= (wxColour
*) &_result_ref
;
1390 wxPy_END_ALLOW_THREADS
;
1392 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1393 _resultobj
= Py_BuildValue("s",_ptemp
);
1396 _resultobj
= Py_None
;
1401 #define wxCalendarCtrl_GetHolidayColourBg(_swigobj) (_swigobj->GetHolidayColourBg())
1402 static PyObject
*_wrap_wxCalendarCtrl_GetHolidayColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1403 PyObject
* _resultobj
;
1405 wxCalendarCtrl
* _arg0
;
1406 PyObject
* _argo0
= 0;
1407 char *_kwnames
[] = { "self", NULL
};
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHolidayColourBg",_kwnames
,&_argo0
))
1414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHolidayColourBg. Expected _wxCalendarCtrl_p.");
1421 wxPy_BEGIN_ALLOW_THREADS
;
1422 const wxColour
& _result_ref
= wxCalendarCtrl_GetHolidayColourBg(_arg0
);
1423 _result
= (wxColour
*) &_result_ref
;
1425 wxPy_END_ALLOW_THREADS
;
1427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1428 _resultobj
= Py_BuildValue("s",_ptemp
);
1431 _resultobj
= Py_None
;
1436 #define wxCalendarCtrl_GetAttr(_swigobj,_swigarg0) (_swigobj->GetAttr(_swigarg0))
1437 static PyObject
*_wrap_wxCalendarCtrl_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
* _resultobj
;
1439 wxCalendarDateAttr
* _result
;
1440 wxCalendarCtrl
* _arg0
;
1442 PyObject
* _argo0
= 0;
1443 char *_kwnames
[] = { "self","day", NULL
};
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_GetAttr",_kwnames
,&_argo0
,&_arg1
))
1450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetAttr. Expected _wxCalendarCtrl_p.");
1457 wxPy_BEGIN_ALLOW_THREADS
;
1458 _result
= (wxCalendarDateAttr
*)wxCalendarCtrl_GetAttr(_arg0
,_arg1
);
1460 wxPy_END_ALLOW_THREADS
;
1462 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
1463 _resultobj
= Py_BuildValue("s",_ptemp
);
1466 _resultobj
= Py_None
;
1471 #define wxCalendarCtrl_SetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttr(_swigarg0,_swigarg1))
1472 static PyObject
*_wrap_wxCalendarCtrl_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1473 PyObject
* _resultobj
;
1474 wxCalendarCtrl
* _arg0
;
1476 wxCalendarDateAttr
* _arg2
;
1477 PyObject
* _argo0
= 0;
1478 PyObject
* _argo2
= 0;
1479 char *_kwnames
[] = { "self","day","attr", NULL
};
1482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxCalendarCtrl_SetAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
1485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetAttr. Expected _wxCalendarCtrl_p.");
1492 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1493 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxCalendarDateAttr_p")) {
1494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_SetAttr. Expected _wxCalendarDateAttr_p.");
1499 wxPy_BEGIN_ALLOW_THREADS
;
1500 wxCalendarCtrl_SetAttr(_arg0
,_arg1
,_arg2
);
1502 wxPy_END_ALLOW_THREADS
;
1503 } Py_INCREF(Py_None
);
1504 _resultobj
= Py_None
;
1508 #define wxCalendarCtrl_SetHoliday(_swigobj,_swigarg0) (_swigobj->SetHoliday(_swigarg0))
1509 static PyObject
*_wrap_wxCalendarCtrl_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1510 PyObject
* _resultobj
;
1511 wxCalendarCtrl
* _arg0
;
1513 PyObject
* _argo0
= 0;
1514 char *_kwnames
[] = { "self","day", NULL
};
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_SetHoliday",_kwnames
,&_argo0
,&_arg1
))
1520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHoliday. Expected _wxCalendarCtrl_p.");
1527 wxPy_BEGIN_ALLOW_THREADS
;
1528 wxCalendarCtrl_SetHoliday(_arg0
,_arg1
);
1530 wxPy_END_ALLOW_THREADS
;
1531 } Py_INCREF(Py_None
);
1532 _resultobj
= Py_None
;
1536 #define wxCalendarCtrl_ResetAttr(_swigobj,_swigarg0) (_swigobj->ResetAttr(_swigarg0))
1537 static PyObject
*_wrap_wxCalendarCtrl_ResetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1538 PyObject
* _resultobj
;
1539 wxCalendarCtrl
* _arg0
;
1541 PyObject
* _argo0
= 0;
1542 char *_kwnames
[] = { "self","day", NULL
};
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_ResetAttr",_kwnames
,&_argo0
,&_arg1
))
1548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_ResetAttr. Expected _wxCalendarCtrl_p.");
1555 wxPy_BEGIN_ALLOW_THREADS
;
1556 wxCalendarCtrl_ResetAttr(_arg0
,_arg1
);
1558 wxPy_END_ALLOW_THREADS
;
1559 } Py_INCREF(Py_None
);
1560 _resultobj
= Py_None
;
1564 #define wxCalendarCtrl_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2))
1565 static PyObject
*_wrap_wxCalendarCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
* _resultobj
;
1567 wxCalendarHitTestResult _result
;
1568 wxCalendarCtrl
* _arg0
;
1570 wxDateTime
* _arg2
= (wxDateTime
*) NULL
;
1571 wxDateTime::WeekDay
* _arg3
= (wxDateTime::WeekDay
*) NULL
;
1572 PyObject
* _argo0
= 0;
1574 PyObject
* _obj1
= 0;
1575 PyObject
* _argo2
= 0;
1576 PyObject
* _argo3
= 0;
1577 char *_kwnames
[] = { "self","pos","date","wd", NULL
};
1580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxCalendarCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
1583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_HitTest. Expected _wxCalendarCtrl_p.");
1591 if (! wxPoint_helper(_obj1
, &_arg1
))
1595 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1596 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
1597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_HitTest. Expected _wxDateTime_p.");
1602 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1603 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime::WeekDay_p")) {
1604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxCalendarCtrl_HitTest. Expected _wxDateTime::WeekDay_p.");
1609 wxPy_BEGIN_ALLOW_THREADS
;
1610 _result
= (wxCalendarHitTestResult
)wxCalendarCtrl_HitTest(_arg0
,*_arg1
,_arg2
,_arg3
);
1612 wxPy_END_ALLOW_THREADS
;
1613 } _resultobj
= Py_BuildValue("i",_result
);
1617 static PyMethodDef calendarcMethods
[] = {
1618 { "wxCalendarCtrl_HitTest", (PyCFunction
) _wrap_wxCalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
1619 { "wxCalendarCtrl_ResetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1620 { "wxCalendarCtrl_SetHoliday", (PyCFunction
) _wrap_wxCalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1621 { "wxCalendarCtrl_SetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1622 { "wxCalendarCtrl_GetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1623 { "wxCalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1624 { "wxCalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1625 { "wxCalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
},
1626 { "wxCalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1627 { "wxCalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1628 { "wxCalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
},
1629 { "wxCalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1630 { "wxCalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1631 { "wxCalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
},
1632 { "wxCalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_wxCalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
},
1633 { "wxCalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_wxCalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
},
1634 { "wxCalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_wxCalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
},
1635 { "wxCalendarCtrl_GetDate", (PyCFunction
) _wrap_wxCalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
1636 { "wxCalendarCtrl_SetDate", (PyCFunction
) _wrap_wxCalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
1637 { "new_wxCalendarCtrl", (PyCFunction
) _wrap_new_wxCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1638 { "wxCalendarEvent_GetWeekDay", (PyCFunction
) _wrap_wxCalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
1639 { "wxCalendarEvent_GetDate", (PyCFunction
) _wrap_wxCalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
1640 { "new_wxCalendarEvent", (PyCFunction
) _wrap_new_wxCalendarEvent
, METH_VARARGS
| METH_KEYWORDS
},
1641 { "wxCalendarDateAttr_GetBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
1642 { "wxCalendarDateAttr_GetFont", (PyCFunction
) _wrap_wxCalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
1643 { "wxCalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1644 { "wxCalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1645 { "wxCalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1646 { "wxCalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_wxCalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1647 { "wxCalendarDateAttr_HasBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
1648 { "wxCalendarDateAttr_HasFont", (PyCFunction
) _wrap_wxCalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
1649 { "wxCalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1650 { "wxCalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1651 { "wxCalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1652 { "wxCalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_wxCalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1653 { "wxCalendarDateAttr_SetBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
1654 { "wxCalendarDateAttr_SetFont", (PyCFunction
) _wrap_wxCalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
1655 { "wxCalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1656 { "wxCalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1657 { "wxCalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1658 { "new_wxCalendarDateAttrBorder", (PyCFunction
) _wrap_new_wxCalendarDateAttrBorder
, METH_VARARGS
| METH_KEYWORDS
},
1659 { "new_wxCalendarDateAttr", (PyCFunction
) _wrap_new_wxCalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
},
1666 * This table is used by the pointer type-checker
1668 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1669 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1670 { "_wxEvent","_class_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
1671 { "_wxEvent","_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
1672 { "_wxEvent","_class_wxEvent",0},
1673 { "_class_wxActivateEvent","_wxActivateEvent",0},
1674 { "_signed_long","_long",0},
1675 { "_wxMenuEvent","_class_wxMenuEvent",0},
1676 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
1677 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
1678 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
1679 { "_class_wxDateTime","_wxDateTime",0},
1680 { "_wxPrintQuality","_wxCoord",0},
1681 { "_wxPrintQuality","_int",0},
1682 { "_wxPrintQuality","_signed_int",0},
1683 { "_wxPrintQuality","_unsigned_int",0},
1684 { "_wxPrintQuality","_wxWindowID",0},
1685 { "_wxPrintQuality","_uint",0},
1686 { "_wxPrintQuality","_EBool",0},
1687 { "_wxPrintQuality","_size_t",0},
1688 { "_wxPrintQuality","_time_t",0},
1689 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
1690 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
1691 { "_class_wxRegionIterator","_wxRegionIterator",0},
1692 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
1693 { "_class_wxMenuBar","_wxMenuBar",0},
1694 { "_class_wxEvtHandler","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler
},
1695 { "_class_wxEvtHandler","_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler
},
1696 { "_class_wxEvtHandler","_wxEvtHandler",0},
1697 { "_wxPaintEvent","_class_wxPaintEvent",0},
1698 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1699 { "_wxCursor","_class_wxCursor",0},
1700 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
1701 { "_wxMask","_class_wxMask",0},
1702 { "_wxPen","_class_wxPen",0},
1703 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
1704 { "_byte","_unsigned_char",0},
1705 { "_wxDataObject","_class_wxDataObject",0},
1706 { "_wxStaticBox","_class_wxStaticBox",0},
1707 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
1708 { "_wxPyDropSource","_class_wxPyDropSource",0},
1709 { "_wxChoice","_class_wxChoice",0},
1710 { "_wxSlider","_class_wxSlider",0},
1711 { "_long","_unsigned_long",0},
1712 { "_long","_signed_long",0},
1713 { "_wxImageList","_class_wxImageList",0},
1714 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
1715 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
1716 { "_wxBitmapButton","_class_wxBitmapButton",0},
1717 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
1718 { "_class_wxClipboard","_wxClipboard",0},
1719 { "_class_wxGauge","_wxGauge",0},
1720 { "_wxDC","_class_wxDC",0},
1721 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
1722 { "_wxSpinEvent","_class_wxSpinEvent",0},
1723 { "_size_t","_wxCoord",0},
1724 { "_size_t","_wxPrintQuality",0},
1725 { "_size_t","_time_t",0},
1726 { "_size_t","_unsigned_int",0},
1727 { "_size_t","_int",0},
1728 { "_size_t","_wxWindowID",0},
1729 { "_size_t","_uint",0},
1730 { "_class_wxRealPoint","_wxRealPoint",0},
1731 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
1732 { "_wxPrinterDC","_class_wxPrinterDC",0},
1733 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
1734 { "_class_wxMenuItem","_wxMenuItem",0},
1735 { "_class_wxPaintEvent","_wxPaintEvent",0},
1736 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
1737 { "_wxPanel","_class_wxPanel",0},
1738 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
1739 { "_wxCheckBox","_class_wxCheckBox",0},
1740 { "_wxPyEvent","_class_wxPyEvent",0},
1741 { "_wxTextCtrl","_class_wxTextCtrl",0},
1742 { "_class_wxMask","_wxMask",0},
1743 { "_wxTextDataObject","_class_wxTextDataObject",0},
1744 { "_class_wxKeyEvent","_wxKeyEvent",0},
1745 { "_wxFileConfig","_class_wxFileConfig",0},
1746 { "_wxColour","_class_wxColour",0},
1747 { "_class_wxDialog","_wxDialog",0},
1748 { "_class_wxFileDataObject","_wxFileDataObject",0},
1749 { "_wxIdleEvent","_class_wxIdleEvent",0},
1750 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
1751 { "_class_wxDataObject","_wxDataObject",0},
1752 { "_wxStaticLine","_class_wxStaticLine",0},
1753 { "_wxBrush","_class_wxBrush",0},
1754 { "_wxDataFormat","_class_wxDataFormat",0},
1755 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
1756 { "_wxShowEvent","_class_wxShowEvent",0},
1757 { "_uint","_wxCoord",0},
1758 { "_uint","_wxPrintQuality",0},
1759 { "_uint","_time_t",0},
1760 { "_uint","_size_t",0},
1761 { "_uint","_unsigned_int",0},
1762 { "_uint","_int",0},
1763 { "_uint","_wxWindowID",0},
1764 { "_wxChar","_char",0},
1765 { "_wxPyValidator","_class_wxPyValidator",0},
1766 { "_class_wxEvent","_class_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
1767 { "_class_wxEvent","_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
1768 { "_class_wxEvent","_wxEvent",0},
1769 { "_wxCheckListBox","_class_wxCheckListBox",0},
1770 { "_wxRect","_class_wxRect",0},
1771 { "_wxCommandEvent","_class_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
1772 { "_wxCommandEvent","_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
1773 { "_wxCommandEvent","_class_wxCommandEvent",0},
1774 { "_wxSizeEvent","_class_wxSizeEvent",0},
1775 { "_wxPoint","_class_wxPoint",0},
1776 { "_class_wxButton","_wxButton",0},
1777 { "_wxRadioBox","_class_wxRadioBox",0},
1778 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
1779 { "_char","_wxChar",0},
1780 { "_wxBitmap","_class_wxBitmap",0},
1781 { "_wxWindowDC","_class_wxWindowDC",0},
1782 { "_wxTimerEvent","_class_wxTimerEvent",0},
1783 { "_wxScrollBar","_class_wxScrollBar",0},
1784 { "_wxSpinButton","_class_wxSpinButton",0},
1785 { "_wxCalendarEvent","_class_wxCalendarEvent",0},
1786 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1787 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
1788 { "_class_wxValidator","_wxValidator",0},
1789 { "_class_wxPyEvent","_wxPyEvent",0},
1790 { "_wxConfig","_class_wxConfig",0},
1791 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
1792 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
1793 { "_class_wxFileConfig","_wxFileConfig",0},
1794 { "_wxDropTarget","_class_wxDropTarget",0},
1795 { "_class_wxStaticLine","_wxStaticLine",0},
1796 { "_wxScrollEvent","_class_wxScrollEvent",0},
1797 { "_EBool","_wxCoord",0},
1798 { "_EBool","_wxPrintQuality",0},
1799 { "_EBool","_signed_int",0},
1800 { "_EBool","_int",0},
1801 { "_EBool","_wxWindowID",0},
1802 { "_class_wxRegion","_wxRegion",0},
1803 { "_class_wxDataFormat","_wxDataFormat",0},
1804 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
1805 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
1806 { "_wxStaticText","_class_wxStaticText",0},
1807 { "_wxFont","_class_wxFont",0},
1808 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
1809 { "_wxCloseEvent","_class_wxCloseEvent",0},
1810 { "_unsigned_long","_long",0},
1811 { "_class_wxRect","_wxRect",0},
1812 { "_class_wxDC","_wxDC",0},
1813 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
1814 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
1815 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
1816 { "_wxTimeSpan","_class_wxTimeSpan",0},
1817 { "_wxFocusEvent","_class_wxFocusEvent",0},
1818 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
1819 { "_class_wxTimerEvent","_wxTimerEvent",0},
1820 { "_class_wxSpinButton","_wxSpinButton",0},
1821 { "_class_wxCalendarEvent","_wxCalendarEvent",0},
1822 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1823 { "_class_wxPanel","_wxPanel",0},
1824 { "_class_wxCheckBox","_wxCheckBox",0},
1825 { "_wxComboBox","_class_wxComboBox",0},
1826 { "_wxRadioButton","_class_wxRadioButton",0},
1827 { "_signed_int","_wxCoord",0},
1828 { "_signed_int","_wxPrintQuality",0},
1829 { "_signed_int","_EBool",0},
1830 { "_signed_int","_wxWindowID",0},
1831 { "_signed_int","_int",0},
1832 { "_class_wxTextCtrl","_wxTextCtrl",0},
1833 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
1834 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
1835 { "_class_wxTextDataObject","_wxTextDataObject",0},
1836 { "_wxMenu","_class_wxMenu",0},
1837 { "_class_wxMoveEvent","_wxMoveEvent",0},
1838 { "_wxListBox","_class_wxListBox",0},
1839 { "_wxScreenDC","_class_wxScreenDC",0},
1840 { "_class_wxCalendarCtrl","_wxCalendarCtrl",0},
1841 { "_WXTYPE","_wxDateTime_t",0},
1842 { "_WXTYPE","_short",0},
1843 { "_WXTYPE","_signed_short",0},
1844 { "_WXTYPE","_unsigned_short",0},
1845 { "_class_wxDropTarget","_wxDropTarget",0},
1846 { "_class_wxBrush","_wxBrush",0},
1847 { "_unsigned_short","_wxDateTime_t",0},
1848 { "_unsigned_short","_WXTYPE",0},
1849 { "_unsigned_short","_short",0},
1850 { "_class_wxWindow","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
1851 { "_class_wxWindow","_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
1852 { "_class_wxWindow","_wxWindow",0},
1853 { "_wxDateSpan","_class_wxDateSpan",0},
1854 { "_class_wxStaticText","_wxStaticText",0},
1855 { "_class_wxFont","_wxFont",0},
1856 { "_wxClipboard","_class_wxClipboard",0},
1857 { "_class_wxPyValidator","_wxPyValidator",0},
1858 { "_class_wxCloseEvent","_wxCloseEvent",0},
1859 { "_wxBusyInfo","_class_wxBusyInfo",0},
1860 { "_class_wxMenuEvent","_wxMenuEvent",0},
1861 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
1862 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
1863 { "_wxClientDC","_class_wxClientDC",0},
1864 { "_wxMouseEvent","_class_wxMouseEvent",0},
1865 { "_class_wxPoint","_wxPoint",0},
1866 { "_wxRealPoint","_class_wxRealPoint",0},
1867 { "_class_wxRadioBox","_wxRadioBox",0},
1868 { "_signed_short","_WXTYPE",0},
1869 { "_signed_short","_short",0},
1870 { "_wxMemoryDC","_class_wxMemoryDC",0},
1871 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
1872 { "_wxPaintDC","_class_wxPaintDC",0},
1873 { "_class_wxWindowDC","_wxWindowDC",0},
1874 { "_class_wxFocusEvent","_wxFocusEvent",0},
1875 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
1876 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1877 { "_class_wxCursor","_wxCursor",0},
1878 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
1879 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1880 { "_wxCalendarDateAttr","_class_wxCalendarDateAttr",0},
1881 { "_unsigned_char","_byte",0},
1882 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
1883 { "_class_wxMenu","_wxMenu",0},
1884 { "_wxControl","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
1885 { "_wxControl","_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
1886 { "_wxControl","_class_wxControl",0},
1887 { "_class_wxListBox","_wxListBox",0},
1888 { "_unsigned_int","_wxCoord",0},
1889 { "_unsigned_int","_wxPrintQuality",0},
1890 { "_unsigned_int","_time_t",0},
1891 { "_unsigned_int","_size_t",0},
1892 { "_unsigned_int","_uint",0},
1893 { "_unsigned_int","_wxWindowID",0},
1894 { "_unsigned_int","_int",0},
1895 { "_wxIcon","_class_wxIcon",0},
1896 { "_wxDialog","_class_wxDialog",0},
1897 { "_class_wxPen","_wxPen",0},
1898 { "_wxConfigBase","_class_wxConfigBase",0},
1899 { "_short","_wxDateTime_t",0},
1900 { "_short","_WXTYPE",0},
1901 { "_short","_unsigned_short",0},
1902 { "_short","_signed_short",0},
1903 { "_class_wxStaticBox","_wxStaticBox",0},
1904 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
1905 { "_class_wxPyDropSource","_wxPyDropSource",0},
1906 { "_class_wxScrollEvent","_wxScrollEvent",0},
1907 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
1908 { "_class_wxChoice","_wxChoice",0},
1909 { "_class_wxSlider","_wxSlider",0},
1910 { "_class_wxImageList","_wxImageList",0},
1911 { "_class_wxBitmapButton","_wxBitmapButton",0},
1912 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
1913 { "_wxWindowID","_wxCoord",0},
1914 { "_wxWindowID","_wxPrintQuality",0},
1915 { "_wxWindowID","_time_t",0},
1916 { "_wxWindowID","_size_t",0},
1917 { "_wxWindowID","_EBool",0},
1918 { "_wxWindowID","_uint",0},
1919 { "_wxWindowID","_int",0},
1920 { "_wxWindowID","_signed_int",0},
1921 { "_wxWindowID","_unsigned_int",0},
1922 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
1923 { "_int","_wxCoord",0},
1924 { "_int","_wxPrintQuality",0},
1925 { "_int","_time_t",0},
1926 { "_int","_size_t",0},
1927 { "_int","_EBool",0},
1928 { "_int","_uint",0},
1929 { "_int","_wxWindowID",0},
1930 { "_int","_unsigned_int",0},
1931 { "_int","_signed_int",0},
1932 { "_class_wxMouseEvent","_wxMouseEvent",0},
1933 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
1934 { "_wxDateTime_t","_unsigned_short",0},
1935 { "_wxDateTime_t","_short",0},
1936 { "_wxDateTime_t","_WXTYPE",0},
1937 { "_class_wxSpinEvent","_wxSpinEvent",0},
1938 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
1939 { "_wxDateTime","_class_wxDateTime",0},
1940 { "_time_t","_wxCoord",0},
1941 { "_time_t","_wxPrintQuality",0},
1942 { "_time_t","_unsigned_int",0},
1943 { "_time_t","_int",0},
1944 { "_time_t","_wxWindowID",0},
1945 { "_time_t","_uint",0},
1946 { "_time_t","_size_t",0},
1947 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
1948 { "_wxButton","_class_wxButton",0},
1949 { "_wxSize","_class_wxSize",0},
1950 { "_wxRegionIterator","_class_wxRegionIterator",0},
1951 { "_class_wxPrinterDC","_wxPrinterDC",0},
1952 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
1953 { "_class_wxTimeSpan","_wxTimeSpan",0},
1954 { "_class_wxPaintDC","_wxPaintDC",0},
1955 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
1956 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
1957 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
1958 { "_class_wxComboBox","_wxComboBox",0},
1959 { "_class_wxRadioButton","_wxRadioButton",0},
1960 { "_wxValidator","_class_wxValidator",0},
1961 { "_class_wxCalendarDateAttr","_wxCalendarDateAttr",0},
1962 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
1963 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
1964 { "_class_wxControl","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
1965 { "_class_wxControl","_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
1966 { "_class_wxControl","_wxControl",0},
1967 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
1968 { "_class_wxIcon","_wxIcon",0},
1969 { "_class_wxColour","_wxColour",0},
1970 { "_class_wxScreenDC","_wxScreenDC",0},
1971 { "_wxPalette","_class_wxPalette",0},
1972 { "_class_wxIdleEvent","_wxIdleEvent",0},
1973 { "_class_wxConfigBase","_wxConfigBase",0},
1974 { "_wxCoord","_int",0},
1975 { "_wxCoord","_signed_int",0},
1976 { "_wxCoord","_unsigned_int",0},
1977 { "_wxCoord","_wxWindowID",0},
1978 { "_wxCoord","_uint",0},
1979 { "_wxCoord","_EBool",0},
1980 { "_wxCoord","_size_t",0},
1981 { "_wxCoord","_time_t",0},
1982 { "_wxCoord","_wxPrintQuality",0},
1983 { "_wxEraseEvent","_class_wxEraseEvent",0},
1984 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
1985 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
1986 { "_wxRegion","_class_wxRegion",0},
1987 { "_class_wxDateSpan","_wxDateSpan",0},
1988 { "_class_wxShowEvent","_wxShowEvent",0},
1989 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
1990 { "_wxActivateEvent","_class_wxActivateEvent",0},
1991 { "_wxGauge","_class_wxGauge",0},
1992 { "_class_wxCheckListBox","_wxCheckListBox",0},
1993 { "_class_wxBusyInfo","_wxBusyInfo",0},
1994 { "_class_wxCommandEvent","_class_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
1995 { "_class_wxCommandEvent","_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
1996 { "_class_wxCommandEvent","_wxCommandEvent",0},
1997 { "_class_wxClientDC","_wxClientDC",0},
1998 { "_class_wxSizeEvent","_wxSizeEvent",0},
1999 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
2000 { "_class_wxSize","_wxSize",0},
2001 { "_class_wxBitmap","_wxBitmap",0},
2002 { "_class_wxMemoryDC","_wxMemoryDC",0},
2003 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
2004 { "_wxMenuBar","_class_wxMenuBar",0},
2005 { "_wxEvtHandler","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler
},
2006 { "_wxEvtHandler","_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler
},
2007 { "_wxEvtHandler","_class_wxEvtHandler",0},
2008 { "_wxMenuItem","_class_wxMenuItem",0},
2009 { "_class_wxScrollBar","_wxScrollBar",0},
2010 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2011 { "_class_wxConfig","_wxConfig",0},
2012 { "_wxKeyEvent","_class_wxKeyEvent",0},
2013 { "_wxMoveEvent","_class_wxMoveEvent",0},
2014 { "_wxCalendarCtrl","_class_wxCalendarCtrl",0},
2015 { "_class_wxPalette","_wxPalette",0},
2016 { "_wxFileDataObject","_class_wxFileDataObject",0},
2017 { "_class_wxEraseEvent","_wxEraseEvent",0},
2018 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
2019 { "_wxWindow","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
2020 { "_wxWindow","_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
2021 { "_wxWindow","_class_wxWindow",0},
2022 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
2025 static PyObject
*SWIG_globals
;
2029 SWIGEXPORT(void) initcalendarc() {
2031 SWIG_globals
= SWIG_newvarlink();
2032 m
= Py_InitModule("calendarc", calendarcMethods
);
2033 d
= PyModule_GetDict(m
);
2034 PyDict_SetItemString(d
,"wxCAL_SUNDAY_FIRST", PyInt_FromLong((long) wxCAL_SUNDAY_FIRST
));
2035 PyDict_SetItemString(d
,"wxCAL_MONDAY_FIRST", PyInt_FromLong((long) wxCAL_MONDAY_FIRST
));
2036 PyDict_SetItemString(d
,"wxCAL_SHOW_HOLIDAYS", PyInt_FromLong((long) wxCAL_SHOW_HOLIDAYS
));
2037 PyDict_SetItemString(d
,"wxCAL_NO_YEAR_CHANGE", PyInt_FromLong((long) wxCAL_NO_YEAR_CHANGE
));
2038 PyDict_SetItemString(d
,"wxCAL_NO_MONTH_CHANGE", PyInt_FromLong((long) wxCAL_NO_MONTH_CHANGE
));
2039 PyDict_SetItemString(d
,"wxCAL_HITTEST_NOWHERE", PyInt_FromLong((long) wxCAL_HITTEST_NOWHERE
));
2040 PyDict_SetItemString(d
,"wxCAL_HITTEST_HEADER", PyInt_FromLong((long) wxCAL_HITTEST_HEADER
));
2041 PyDict_SetItemString(d
,"wxCAL_HITTEST_DAY", PyInt_FromLong((long) wxCAL_HITTEST_DAY
));
2042 PyDict_SetItemString(d
,"wxCAL_BORDER_NONE", PyInt_FromLong((long) wxCAL_BORDER_NONE
));
2043 PyDict_SetItemString(d
,"wxCAL_BORDER_SQUARE", PyInt_FromLong((long) wxCAL_BORDER_SQUARE
));
2044 PyDict_SetItemString(d
,"wxCAL_BORDER_ROUND", PyInt_FromLong((long) wxCAL_BORDER_ROUND
));
2045 PyDict_SetItemString(d
,"wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_CALENDAR_DOUBLECLICKED
));
2046 PyDict_SetItemString(d
,"wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_SEL_CHANGED
));
2047 PyDict_SetItemString(d
,"wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_DAY_CHANGED
));
2048 PyDict_SetItemString(d
,"wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_MONTH_CHANGED
));
2049 PyDict_SetItemString(d
,"wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_YEAR_CHANGED
));
2050 PyDict_SetItemString(d
,"wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong((long) wxEVT_CALENDAR_WEEKDAY_CLICKED
));
2053 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2054 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);