2 * FILE : src/gtk/calendar.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcalendarc
56 #define SWIG_name "calendarc"
59 #include <wx/calctrl.h>
62 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyTuple_Check(target
)) {
74 target
= PyTuple_New(1);
75 PyTuple_SetItem(target
, 0, o2
);
78 PyTuple_SetItem(o3
, 0, o
);
81 target
= PySequence_Concat(o2
, o3
);
88 #if PYTHON_API_VERSION >= 1009
89 static char* wxStringErrorMsg
= "String or Unicode type required";
91 static char* wxStringErrorMsg
= "String type required";
96 #define new_wxCalendarDateAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxCalendarDateAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
97 static PyObject
*_wrap_new_wxCalendarDateAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
98 PyObject
* _resultobj
;
99 wxCalendarDateAttr
* _result
;
101 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
102 wxColour
* _arg2
= (wxColour
*) &wxNullColour
;
103 wxFont
* _arg3
= (wxFont
*) &wxNullFont
;
104 wxCalendarDateBorder _arg4
= (wxCalendarDateBorder
) (wxCAL_BORDER_NONE
);
106 PyObject
* _obj0
= 0;
108 PyObject
* _obj1
= 0;
110 PyObject
* _obj2
= 0;
111 PyObject
* _argo3
= 0;
112 char *_kwnames
[] = { "colText","colBack","colBorder","font","border", NULL
};
116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOi:new_wxCalendarDateAttr",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
))
120 if (! wxColour_helper(_obj0
, &_arg0
))
126 if (! wxColour_helper(_obj1
, &_arg1
))
132 if (! wxColour_helper(_obj2
, &_arg2
))
136 if (_argo3
== Py_None
) { _arg3
= NULL
; }
137 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxCalendarDateAttr. Expected _wxFont_p.");
143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
144 _result
= (wxCalendarDateAttr
*)new_wxCalendarDateAttr(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
146 wxPyEndAllowThreads(__tstate
);
147 if (PyErr_Occurred()) return NULL
;
149 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
150 _resultobj
= Py_BuildValue("s",_ptemp
);
153 _resultobj
= Py_None
;
158 #define new_wxCalendarDateAttrBorder(_swigarg0,_swigarg1) (new wxCalendarDateAttr(_swigarg0,_swigarg1))
159 static PyObject
*_wrap_new_wxCalendarDateAttrBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
160 PyObject
* _resultobj
;
161 wxCalendarDateAttr
* _result
;
162 wxCalendarDateBorder _arg0
;
163 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
165 PyObject
* _obj1
= 0;
166 char *_kwnames
[] = { "border","colBorder", NULL
};
170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|O:new_wxCalendarDateAttrBorder",_kwnames
,&_arg0
,&_obj1
))
175 if (! wxColour_helper(_obj1
, &_arg1
))
179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
180 _result
= (wxCalendarDateAttr
*)new_wxCalendarDateAttrBorder(_arg0
,*_arg1
);
182 wxPyEndAllowThreads(__tstate
);
183 if (PyErr_Occurred()) return NULL
;
185 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
186 _resultobj
= Py_BuildValue("s",_ptemp
);
189 _resultobj
= Py_None
;
194 #define wxCalendarDateAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
195 static PyObject
*_wrap_wxCalendarDateAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
196 PyObject
* _resultobj
;
197 wxCalendarDateAttr
* _arg0
;
199 PyObject
* _argo0
= 0;
201 PyObject
* _obj1
= 0;
202 char *_kwnames
[] = { "self","colText", NULL
};
205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetTextColour. Expected _wxCalendarDateAttr_p.");
216 if (! wxColour_helper(_obj1
, &_arg1
))
220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
221 wxCalendarDateAttr_SetTextColour(_arg0
,*_arg1
);
223 wxPyEndAllowThreads(__tstate
);
224 if (PyErr_Occurred()) return NULL
;
225 } Py_INCREF(Py_None
);
226 _resultobj
= Py_None
;
230 #define wxCalendarDateAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
231 static PyObject
*_wrap_wxCalendarDateAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
232 PyObject
* _resultobj
;
233 wxCalendarDateAttr
* _arg0
;
235 PyObject
* _argo0
= 0;
237 PyObject
* _obj1
= 0;
238 char *_kwnames
[] = { "self","colBack", NULL
};
241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBackgroundColour. Expected _wxCalendarDateAttr_p.");
252 if (! wxColour_helper(_obj1
, &_arg1
))
256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
257 wxCalendarDateAttr_SetBackgroundColour(_arg0
,*_arg1
);
259 wxPyEndAllowThreads(__tstate
);
260 if (PyErr_Occurred()) return NULL
;
261 } Py_INCREF(Py_None
);
262 _resultobj
= Py_None
;
266 #define wxCalendarDateAttr_SetBorderColour(_swigobj,_swigarg0) (_swigobj->SetBorderColour(_swigarg0))
267 static PyObject
*_wrap_wxCalendarDateAttr_SetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
268 PyObject
* _resultobj
;
269 wxCalendarDateAttr
* _arg0
;
271 PyObject
* _argo0
= 0;
273 PyObject
* _obj1
= 0;
274 char *_kwnames
[] = { "self","col", NULL
};
277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetBorderColour",_kwnames
,&_argo0
,&_obj1
))
280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBorderColour. Expected _wxCalendarDateAttr_p.");
288 if (! wxColour_helper(_obj1
, &_arg1
))
292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
293 wxCalendarDateAttr_SetBorderColour(_arg0
,*_arg1
);
295 wxPyEndAllowThreads(__tstate
);
296 if (PyErr_Occurred()) return NULL
;
297 } Py_INCREF(Py_None
);
298 _resultobj
= Py_None
;
302 #define wxCalendarDateAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
303 static PyObject
*_wrap_wxCalendarDateAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
304 PyObject
* _resultobj
;
305 wxCalendarDateAttr
* _arg0
;
307 PyObject
* _argo0
= 0;
308 PyObject
* _argo1
= 0;
309 char *_kwnames
[] = { "self","font", NULL
};
312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetFont. Expected _wxCalendarDateAttr_p.");
322 if (_argo1
== Py_None
) { _arg1
= NULL
; }
323 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarDateAttr_SetFont. Expected _wxFont_p.");
329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
330 wxCalendarDateAttr_SetFont(_arg0
,*_arg1
);
332 wxPyEndAllowThreads(__tstate
);
333 if (PyErr_Occurred()) return NULL
;
334 } Py_INCREF(Py_None
);
335 _resultobj
= Py_None
;
339 #define wxCalendarDateAttr_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
340 static PyObject
*_wrap_wxCalendarDateAttr_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
341 PyObject
* _resultobj
;
342 wxCalendarDateAttr
* _arg0
;
343 wxCalendarDateBorder _arg1
;
344 PyObject
* _argo0
= 0;
345 char *_kwnames
[] = { "self","border", NULL
};
348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarDateAttr_SetBorder",_kwnames
,&_argo0
,&_arg1
))
351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBorder. Expected _wxCalendarDateAttr_p.");
358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
359 wxCalendarDateAttr_SetBorder(_arg0
,_arg1
);
361 wxPyEndAllowThreads(__tstate
);
362 if (PyErr_Occurred()) return NULL
;
363 } Py_INCREF(Py_None
);
364 _resultobj
= Py_None
;
368 #define wxCalendarDateAttr_SetHoliday(_swigobj,_swigarg0) (_swigobj->SetHoliday(_swigarg0))
369 static PyObject
*_wrap_wxCalendarDateAttr_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
370 PyObject
* _resultobj
;
371 wxCalendarDateAttr
* _arg0
;
373 PyObject
* _argo0
= 0;
375 char *_kwnames
[] = { "self","holiday", NULL
};
378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarDateAttr_SetHoliday",_kwnames
,&_argo0
,&tempbool1
))
381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetHoliday. Expected _wxCalendarDateAttr_p.");
387 _arg1
= (bool ) tempbool1
;
389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
390 wxCalendarDateAttr_SetHoliday(_arg0
,_arg1
);
392 wxPyEndAllowThreads(__tstate
);
393 if (PyErr_Occurred()) return NULL
;
394 } Py_INCREF(Py_None
);
395 _resultobj
= Py_None
;
399 #define wxCalendarDateAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
400 static PyObject
*_wrap_wxCalendarDateAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
401 PyObject
* _resultobj
;
403 wxCalendarDateAttr
* _arg0
;
404 PyObject
* _argo0
= 0;
405 char *_kwnames
[] = { "self", NULL
};
408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasTextColour",_kwnames
,&_argo0
))
411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasTextColour. Expected _wxCalendarDateAttr_p.");
418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
419 _result
= (bool )wxCalendarDateAttr_HasTextColour(_arg0
);
421 wxPyEndAllowThreads(__tstate
);
422 if (PyErr_Occurred()) return NULL
;
423 } _resultobj
= Py_BuildValue("i",_result
);
427 #define wxCalendarDateAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
428 static PyObject
*_wrap_wxCalendarDateAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
429 PyObject
* _resultobj
;
431 wxCalendarDateAttr
* _arg0
;
432 PyObject
* _argo0
= 0;
433 char *_kwnames
[] = { "self", NULL
};
436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBackgroundColour",_kwnames
,&_argo0
))
439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBackgroundColour. Expected _wxCalendarDateAttr_p.");
446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
447 _result
= (bool )wxCalendarDateAttr_HasBackgroundColour(_arg0
);
449 wxPyEndAllowThreads(__tstate
);
450 if (PyErr_Occurred()) return NULL
;
451 } _resultobj
= Py_BuildValue("i",_result
);
455 #define wxCalendarDateAttr_HasBorderColour(_swigobj) (_swigobj->HasBorderColour())
456 static PyObject
*_wrap_wxCalendarDateAttr_HasBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
457 PyObject
* _resultobj
;
459 wxCalendarDateAttr
* _arg0
;
460 PyObject
* _argo0
= 0;
461 char *_kwnames
[] = { "self", NULL
};
464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBorderColour",_kwnames
,&_argo0
))
467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBorderColour. Expected _wxCalendarDateAttr_p.");
474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
475 _result
= (bool )wxCalendarDateAttr_HasBorderColour(_arg0
);
477 wxPyEndAllowThreads(__tstate
);
478 if (PyErr_Occurred()) return NULL
;
479 } _resultobj
= Py_BuildValue("i",_result
);
483 #define wxCalendarDateAttr_HasFont(_swigobj) (_swigobj->HasFont())
484 static PyObject
*_wrap_wxCalendarDateAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
485 PyObject
* _resultobj
;
487 wxCalendarDateAttr
* _arg0
;
488 PyObject
* _argo0
= 0;
489 char *_kwnames
[] = { "self", NULL
};
492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasFont",_kwnames
,&_argo0
))
495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasFont. Expected _wxCalendarDateAttr_p.");
502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
503 _result
= (bool )wxCalendarDateAttr_HasFont(_arg0
);
505 wxPyEndAllowThreads(__tstate
);
506 if (PyErr_Occurred()) return NULL
;
507 } _resultobj
= Py_BuildValue("i",_result
);
511 #define wxCalendarDateAttr_HasBorder(_swigobj) (_swigobj->HasBorder())
512 static PyObject
*_wrap_wxCalendarDateAttr_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
513 PyObject
* _resultobj
;
515 wxCalendarDateAttr
* _arg0
;
516 PyObject
* _argo0
= 0;
517 char *_kwnames
[] = { "self", NULL
};
520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBorder",_kwnames
,&_argo0
))
523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBorder. Expected _wxCalendarDateAttr_p.");
530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
531 _result
= (bool )wxCalendarDateAttr_HasBorder(_arg0
);
533 wxPyEndAllowThreads(__tstate
);
534 if (PyErr_Occurred()) return NULL
;
535 } _resultobj
= Py_BuildValue("i",_result
);
539 #define wxCalendarDateAttr_IsHoliday(_swigobj) (_swigobj->IsHoliday())
540 static PyObject
*_wrap_wxCalendarDateAttr_IsHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
541 PyObject
* _resultobj
;
543 wxCalendarDateAttr
* _arg0
;
544 PyObject
* _argo0
= 0;
545 char *_kwnames
[] = { "self", NULL
};
548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_IsHoliday",_kwnames
,&_argo0
))
551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_IsHoliday. Expected _wxCalendarDateAttr_p.");
558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
559 _result
= (bool )wxCalendarDateAttr_IsHoliday(_arg0
);
561 wxPyEndAllowThreads(__tstate
);
562 if (PyErr_Occurred()) return NULL
;
563 } _resultobj
= Py_BuildValue("i",_result
);
567 #define wxCalendarDateAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
568 static PyObject
*_wrap_wxCalendarDateAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
569 PyObject
* _resultobj
;
571 wxCalendarDateAttr
* _arg0
;
572 PyObject
* _argo0
= 0;
573 char *_kwnames
[] = { "self", NULL
};
577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetTextColour",_kwnames
,&_argo0
))
580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetTextColour. Expected _wxCalendarDateAttr_p.");
587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
588 _result
= new wxColour (wxCalendarDateAttr_GetTextColour(_arg0
));
590 wxPyEndAllowThreads(__tstate
);
591 if (PyErr_Occurred()) return NULL
;
592 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
593 _resultobj
= Py_BuildValue("s",_ptemp
);
597 #define wxCalendarDateAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
598 static PyObject
*_wrap_wxCalendarDateAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
599 PyObject
* _resultobj
;
601 wxCalendarDateAttr
* _arg0
;
602 PyObject
* _argo0
= 0;
603 char *_kwnames
[] = { "self", NULL
};
607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBackgroundColour",_kwnames
,&_argo0
))
610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBackgroundColour. Expected _wxCalendarDateAttr_p.");
617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
618 _result
= new wxColour (wxCalendarDateAttr_GetBackgroundColour(_arg0
));
620 wxPyEndAllowThreads(__tstate
);
621 if (PyErr_Occurred()) return NULL
;
622 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
623 _resultobj
= Py_BuildValue("s",_ptemp
);
627 #define wxCalendarDateAttr_GetBorderColour(_swigobj) (_swigobj->GetBorderColour())
628 static PyObject
*_wrap_wxCalendarDateAttr_GetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
629 PyObject
* _resultobj
;
631 wxCalendarDateAttr
* _arg0
;
632 PyObject
* _argo0
= 0;
633 char *_kwnames
[] = { "self", NULL
};
637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBorderColour",_kwnames
,&_argo0
))
640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBorderColour. Expected _wxCalendarDateAttr_p.");
647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
648 _result
= new wxColour (wxCalendarDateAttr_GetBorderColour(_arg0
));
650 wxPyEndAllowThreads(__tstate
);
651 if (PyErr_Occurred()) return NULL
;
652 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
653 _resultobj
= Py_BuildValue("s",_ptemp
);
657 #define wxCalendarDateAttr_GetFont(_swigobj) (_swigobj->GetFont())
658 static PyObject
*_wrap_wxCalendarDateAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
659 PyObject
* _resultobj
;
661 wxCalendarDateAttr
* _arg0
;
662 PyObject
* _argo0
= 0;
663 char *_kwnames
[] = { "self", NULL
};
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetFont",_kwnames
,&_argo0
))
670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetFont. Expected _wxCalendarDateAttr_p.");
677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
678 _result
= new wxFont (wxCalendarDateAttr_GetFont(_arg0
));
680 wxPyEndAllowThreads(__tstate
);
681 if (PyErr_Occurred()) return NULL
;
682 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
683 _resultobj
= Py_BuildValue("s",_ptemp
);
687 #define wxCalendarDateAttr_GetBorder(_swigobj) (_swigobj->GetBorder())
688 static PyObject
*_wrap_wxCalendarDateAttr_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
689 PyObject
* _resultobj
;
690 wxCalendarDateBorder _result
;
691 wxCalendarDateAttr
* _arg0
;
692 PyObject
* _argo0
= 0;
693 char *_kwnames
[] = { "self", NULL
};
696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBorder",_kwnames
,&_argo0
))
699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBorder. Expected _wxCalendarDateAttr_p.");
706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
707 _result
= (wxCalendarDateBorder
)wxCalendarDateAttr_GetBorder(_arg0
);
709 wxPyEndAllowThreads(__tstate
);
710 if (PyErr_Occurred()) return NULL
;
711 } _resultobj
= Py_BuildValue("i",_result
);
715 static void *SwigwxCalendarEventTowxCommandEvent(void *ptr
) {
716 wxCalendarEvent
*src
;
717 wxCommandEvent
*dest
;
718 src
= (wxCalendarEvent
*) ptr
;
719 dest
= (wxCommandEvent
*) src
;
720 return (void *) dest
;
723 static void *SwigwxCalendarEventTowxEvent(void *ptr
) {
724 wxCalendarEvent
*src
;
726 src
= (wxCalendarEvent
*) ptr
;
727 dest
= (wxEvent
*) src
;
728 return (void *) dest
;
731 static void *SwigwxCalendarEventTowxObject(void *ptr
) {
732 wxCalendarEvent
*src
;
734 src
= (wxCalendarEvent
*) ptr
;
735 dest
= (wxObject
*) src
;
736 return (void *) dest
;
739 #define new_wxCalendarEvent(_swigarg0,_swigarg1) (new wxCalendarEvent(_swigarg0,_swigarg1))
740 static PyObject
*_wrap_new_wxCalendarEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
741 PyObject
* _resultobj
;
742 wxCalendarEvent
* _result
;
743 wxCalendarCtrl
* _arg0
;
745 PyObject
* _argo0
= 0;
746 char *_kwnames
[] = { "cal","type", NULL
};
750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:new_wxCalendarEvent",_kwnames
,&_argo0
,&_arg1
))
753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCalendarEvent. Expected _wxCalendarCtrl_p.");
760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
761 _result
= (wxCalendarEvent
*)new_wxCalendarEvent(_arg0
,_arg1
);
763 wxPyEndAllowThreads(__tstate
);
764 if (PyErr_Occurred()) return NULL
;
766 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarEvent_p");
767 _resultobj
= Py_BuildValue("s",_ptemp
);
770 _resultobj
= Py_None
;
775 #define wxCalendarEvent_GetDate(_swigobj) (_swigobj->GetDate())
776 static PyObject
*_wrap_wxCalendarEvent_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
777 PyObject
* _resultobj
;
778 wxDateTime
* _result
;
779 wxCalendarEvent
* _arg0
;
780 PyObject
* _argo0
= 0;
781 char *_kwnames
[] = { "self", NULL
};
785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarEvent_GetDate",_kwnames
,&_argo0
))
788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarEvent_p")) {
790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarEvent_GetDate. Expected _wxCalendarEvent_p.");
795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
796 const wxDateTime
& _result_ref
= wxCalendarEvent_GetDate(_arg0
);
797 _result
= (wxDateTime
*) &_result_ref
;
799 wxPyEndAllowThreads(__tstate
);
800 if (PyErr_Occurred()) return NULL
;
802 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
803 _resultobj
= Py_BuildValue("s",_ptemp
);
806 _resultobj
= Py_None
;
811 #define wxCalendarEvent_GetWeekDay(_swigobj) (_swigobj->GetWeekDay())
812 static PyObject
*_wrap_wxCalendarEvent_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
813 PyObject
* _resultobj
;
814 wxDateTime::WeekDay _result
;
815 wxCalendarEvent
* _arg0
;
816 PyObject
* _argo0
= 0;
817 char *_kwnames
[] = { "self", NULL
};
820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarEvent_GetWeekDay",_kwnames
,&_argo0
))
823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarEvent_p")) {
825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarEvent_GetWeekDay. Expected _wxCalendarEvent_p.");
830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
831 _result
= (wxDateTime::WeekDay
)wxCalendarEvent_GetWeekDay(_arg0
);
833 wxPyEndAllowThreads(__tstate
);
834 if (PyErr_Occurred()) return NULL
;
835 } _resultobj
= Py_BuildValue("i",_result
);
839 static void *SwigwxCalendarCtrlTowxControl(void *ptr
) {
842 src
= (wxCalendarCtrl
*) ptr
;
843 dest
= (wxControl
*) src
;
844 return (void *) dest
;
847 static void *SwigwxCalendarCtrlTowxWindow(void *ptr
) {
850 src
= (wxCalendarCtrl
*) ptr
;
851 dest
= (wxWindow
*) src
;
852 return (void *) dest
;
855 static void *SwigwxCalendarCtrlTowxEvtHandler(void *ptr
) {
858 src
= (wxCalendarCtrl
*) ptr
;
859 dest
= (wxEvtHandler
*) src
;
860 return (void *) dest
;
863 static void *SwigwxCalendarCtrlTowxObject(void *ptr
) {
866 src
= (wxCalendarCtrl
*) ptr
;
867 dest
= (wxObject
*) src
;
868 return (void *) dest
;
871 #define new_wxCalendarCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxCalendarCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
872 static PyObject
*_wrap_new_wxCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
873 PyObject
* _resultobj
;
874 wxCalendarCtrl
* _result
;
877 wxDateTime
* _arg2
= (wxDateTime
*) &wxDefaultDateTime
;
878 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
879 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
880 long _arg5
= (long ) (wxCAL_SHOW_HOLIDAYS
)|wxWANTS_CHARS
;
881 char * _arg6
= (char *) "calendar";
882 PyObject
* _argo0
= 0;
883 PyObject
* _argo2
= 0;
885 PyObject
* _obj3
= 0;
887 PyObject
* _obj4
= 0;
888 char *_kwnames
[] = { "parent","id","date","pos","size","style","name", NULL
};
892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOls:new_wxCalendarCtrl",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCalendarCtrl. Expected _wxWindow_p.");
902 if (_argo2
== Py_None
) { _arg2
= NULL
; }
903 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxCalendarCtrl. Expected _wxDateTime_p.");
911 if (! wxPoint_helper(_obj3
, &_arg3
))
917 if (! wxSize_helper(_obj4
, &_arg4
))
921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
922 _result
= (wxCalendarCtrl
*)new_wxCalendarCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
924 wxPyEndAllowThreads(__tstate
);
925 if (PyErr_Occurred()) return NULL
;
927 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarCtrl_p");
928 _resultobj
= Py_BuildValue("s",_ptemp
);
931 _resultobj
= Py_None
;
936 #define new_wxPreCalendarCtrl() (new wxCalendarCtrl())
937 static PyObject
*_wrap_new_wxPreCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
938 PyObject
* _resultobj
;
939 wxCalendarCtrl
* _result
;
940 char *_kwnames
[] = { NULL
};
944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCalendarCtrl",_kwnames
))
947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
948 _result
= (wxCalendarCtrl
*)new_wxPreCalendarCtrl();
950 wxPyEndAllowThreads(__tstate
);
951 if (PyErr_Occurred()) return NULL
;
953 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarCtrl_p");
954 _resultobj
= Py_BuildValue("s",_ptemp
);
957 _resultobj
= Py_None
;
962 #define wxCalendarCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
963 static PyObject
*_wrap_wxCalendarCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
964 PyObject
* _resultobj
;
966 wxCalendarCtrl
* _arg0
;
969 wxDateTime
* _arg3
= (wxDateTime
*) &wxDefaultDateTime
;
970 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
971 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
972 long _arg6
= (long ) (wxCAL_SHOW_HOLIDAYS
)|wxWANTS_CHARS
;
973 char * _arg7
= (char *) "calendar";
974 PyObject
* _argo0
= 0;
975 PyObject
* _argo1
= 0;
976 PyObject
* _argo3
= 0;
978 PyObject
* _obj4
= 0;
980 PyObject
* _obj5
= 0;
981 char *_kwnames
[] = { "self","parent","id","date","pos","size","style","name", NULL
};
984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOls:wxCalendarCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_Create. Expected _wxCalendarCtrl_p.");
994 if (_argo1
== Py_None
) { _arg1
= NULL
; }
995 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_Create. Expected _wxWindow_p.");
1001 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1002 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime_p")) {
1003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxCalendarCtrl_Create. Expected _wxDateTime_p.");
1010 if (! wxPoint_helper(_obj4
, &_arg4
))
1016 if (! wxSize_helper(_obj5
, &_arg5
))
1020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1021 _result
= (bool )wxCalendarCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
1023 wxPyEndAllowThreads(__tstate
);
1024 if (PyErr_Occurred()) return NULL
;
1025 } _resultobj
= Py_BuildValue("i",_result
);
1029 #define wxCalendarCtrl_SetDate(_swigobj,_swigarg0) (_swigobj->SetDate(_swigarg0))
1030 static PyObject
*_wrap_wxCalendarCtrl_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1031 PyObject
* _resultobj
;
1032 wxCalendarCtrl
* _arg0
;
1034 PyObject
* _argo0
= 0;
1035 PyObject
* _argo1
= 0;
1036 char *_kwnames
[] = { "self","date", NULL
};
1039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarCtrl_SetDate",_kwnames
,&_argo0
,&_argo1
))
1042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetDate. Expected _wxCalendarCtrl_p.");
1049 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1050 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
1051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetDate. Expected _wxDateTime_p.");
1056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1057 wxCalendarCtrl_SetDate(_arg0
,*_arg1
);
1059 wxPyEndAllowThreads(__tstate
);
1060 if (PyErr_Occurred()) return NULL
;
1061 } Py_INCREF(Py_None
);
1062 _resultobj
= Py_None
;
1066 #define wxCalendarCtrl_GetDate(_swigobj) (_swigobj->GetDate())
1067 static PyObject
*_wrap_wxCalendarCtrl_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1068 PyObject
* _resultobj
;
1069 wxDateTime
* _result
;
1070 wxCalendarCtrl
* _arg0
;
1071 PyObject
* _argo0
= 0;
1072 char *_kwnames
[] = { "self", NULL
};
1076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetDate",_kwnames
,&_argo0
))
1079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetDate. Expected _wxCalendarCtrl_p.");
1086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1087 const wxDateTime
& _result_ref
= wxCalendarCtrl_GetDate(_arg0
);
1088 _result
= (wxDateTime
*) &_result_ref
;
1090 wxPyEndAllowThreads(__tstate
);
1091 if (PyErr_Occurred()) return NULL
;
1093 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
1094 _resultobj
= Py_BuildValue("s",_ptemp
);
1097 _resultobj
= Py_None
;
1102 #define wxCalendarCtrl_SetLowerDateLimit(_swigobj,_swigarg0) (_swigobj->SetLowerDateLimit(_swigarg0))
1103 static PyObject
*_wrap_wxCalendarCtrl_SetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1104 PyObject
* _resultobj
;
1106 wxCalendarCtrl
* _arg0
;
1107 wxDateTime
* _arg1
= (wxDateTime
*) &wxDefaultDateTime
;
1108 PyObject
* _argo0
= 0;
1109 PyObject
* _argo1
= 0;
1110 char *_kwnames
[] = { "self","date", NULL
};
1113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxCalendarCtrl_SetLowerDateLimit",_kwnames
,&_argo0
,&_argo1
))
1116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetLowerDateLimit. Expected _wxCalendarCtrl_p.");
1123 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1124 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
1125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetLowerDateLimit. Expected _wxDateTime_p.");
1130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1131 _result
= (bool )wxCalendarCtrl_SetLowerDateLimit(_arg0
,*_arg1
);
1133 wxPyEndAllowThreads(__tstate
);
1134 if (PyErr_Occurred()) return NULL
;
1135 } _resultobj
= Py_BuildValue("i",_result
);
1139 #define wxCalendarCtrl_GetLowerDateLimit(_swigobj) (_swigobj->GetLowerDateLimit())
1140 static PyObject
*_wrap_wxCalendarCtrl_GetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1141 PyObject
* _resultobj
;
1142 wxDateTime
* _result
;
1143 wxCalendarCtrl
* _arg0
;
1144 PyObject
* _argo0
= 0;
1145 char *_kwnames
[] = { "self", NULL
};
1149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetLowerDateLimit",_kwnames
,&_argo0
))
1152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetLowerDateLimit. Expected _wxCalendarCtrl_p.");
1159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1160 const wxDateTime
& _result_ref
= wxCalendarCtrl_GetLowerDateLimit(_arg0
);
1161 _result
= (wxDateTime
*) &_result_ref
;
1163 wxPyEndAllowThreads(__tstate
);
1164 if (PyErr_Occurred()) return NULL
;
1166 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
1167 _resultobj
= Py_BuildValue("s",_ptemp
);
1170 _resultobj
= Py_None
;
1175 #define wxCalendarCtrl_SetUpperDateLimit(_swigobj,_swigarg0) (_swigobj->SetUpperDateLimit(_swigarg0))
1176 static PyObject
*_wrap_wxCalendarCtrl_SetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1177 PyObject
* _resultobj
;
1179 wxCalendarCtrl
* _arg0
;
1180 wxDateTime
* _arg1
= (wxDateTime
*) &wxDefaultDateTime
;
1181 PyObject
* _argo0
= 0;
1182 PyObject
* _argo1
= 0;
1183 char *_kwnames
[] = { "self","date", NULL
};
1186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxCalendarCtrl_SetUpperDateLimit",_kwnames
,&_argo0
,&_argo1
))
1189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetUpperDateLimit. Expected _wxCalendarCtrl_p.");
1196 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1197 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
1198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetUpperDateLimit. Expected _wxDateTime_p.");
1203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1204 _result
= (bool )wxCalendarCtrl_SetUpperDateLimit(_arg0
,*_arg1
);
1206 wxPyEndAllowThreads(__tstate
);
1207 if (PyErr_Occurred()) return NULL
;
1208 } _resultobj
= Py_BuildValue("i",_result
);
1212 #define wxCalendarCtrl_GetUpperDateLimit(_swigobj) (_swigobj->GetUpperDateLimit())
1213 static PyObject
*_wrap_wxCalendarCtrl_GetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1214 PyObject
* _resultobj
;
1215 wxDateTime
* _result
;
1216 wxCalendarCtrl
* _arg0
;
1217 PyObject
* _argo0
= 0;
1218 char *_kwnames
[] = { "self", NULL
};
1222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetUpperDateLimit",_kwnames
,&_argo0
))
1225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetUpperDateLimit. Expected _wxCalendarCtrl_p.");
1232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1233 const wxDateTime
& _result_ref
= wxCalendarCtrl_GetUpperDateLimit(_arg0
);
1234 _result
= (wxDateTime
*) &_result_ref
;
1236 wxPyEndAllowThreads(__tstate
);
1237 if (PyErr_Occurred()) return NULL
;
1239 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
1240 _resultobj
= Py_BuildValue("s",_ptemp
);
1243 _resultobj
= Py_None
;
1248 #define wxCalendarCtrl_SetDateRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDateRange(_swigarg0,_swigarg1))
1249 static PyObject
*_wrap_wxCalendarCtrl_SetDateRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1250 PyObject
* _resultobj
;
1252 wxCalendarCtrl
* _arg0
;
1253 wxDateTime
* _arg1
= (wxDateTime
*) &wxDefaultDateTime
;
1254 wxDateTime
* _arg2
= (wxDateTime
*) &wxDefaultDateTime
;
1255 PyObject
* _argo0
= 0;
1256 PyObject
* _argo1
= 0;
1257 PyObject
* _argo2
= 0;
1258 char *_kwnames
[] = { "self","lowerdate","upperdate", NULL
};
1261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxCalendarCtrl_SetDateRange",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetDateRange. Expected _wxCalendarCtrl_p.");
1271 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1272 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
1273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetDateRange. Expected _wxDateTime_p.");
1278 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1279 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
1280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_SetDateRange. Expected _wxDateTime_p.");
1285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1286 _result
= (bool )wxCalendarCtrl_SetDateRange(_arg0
,*_arg1
,*_arg2
);
1288 wxPyEndAllowThreads(__tstate
);
1289 if (PyErr_Occurred()) return NULL
;
1290 } _resultobj
= Py_BuildValue("i",_result
);
1294 #define wxCalendarCtrl_EnableYearChange(_swigobj,_swigarg0) (_swigobj->EnableYearChange(_swigarg0))
1295 static PyObject
*_wrap_wxCalendarCtrl_EnableYearChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1296 PyObject
* _resultobj
;
1297 wxCalendarCtrl
* _arg0
;
1298 bool _arg1
= (bool ) TRUE
;
1299 PyObject
* _argo0
= 0;
1300 int tempbool1
= (int) TRUE
;
1301 char *_kwnames
[] = { "self","enable", NULL
};
1304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableYearChange",_kwnames
,&_argo0
,&tempbool1
))
1307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableYearChange. Expected _wxCalendarCtrl_p.");
1313 _arg1
= (bool ) tempbool1
;
1315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1316 wxCalendarCtrl_EnableYearChange(_arg0
,_arg1
);
1318 wxPyEndAllowThreads(__tstate
);
1319 if (PyErr_Occurred()) return NULL
;
1320 } Py_INCREF(Py_None
);
1321 _resultobj
= Py_None
;
1325 #define wxCalendarCtrl_EnableMonthChange(_swigobj,_swigarg0) (_swigobj->EnableMonthChange(_swigarg0))
1326 static PyObject
*_wrap_wxCalendarCtrl_EnableMonthChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1327 PyObject
* _resultobj
;
1328 wxCalendarCtrl
* _arg0
;
1329 bool _arg1
= (bool ) TRUE
;
1330 PyObject
* _argo0
= 0;
1331 int tempbool1
= (int) TRUE
;
1332 char *_kwnames
[] = { "self","enable", NULL
};
1335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableMonthChange",_kwnames
,&_argo0
,&tempbool1
))
1338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableMonthChange. Expected _wxCalendarCtrl_p.");
1344 _arg1
= (bool ) tempbool1
;
1346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1347 wxCalendarCtrl_EnableMonthChange(_arg0
,_arg1
);
1349 wxPyEndAllowThreads(__tstate
);
1350 if (PyErr_Occurred()) return NULL
;
1351 } Py_INCREF(Py_None
);
1352 _resultobj
= Py_None
;
1356 #define wxCalendarCtrl_EnableHolidayDisplay(_swigobj,_swigarg0) (_swigobj->EnableHolidayDisplay(_swigarg0))
1357 static PyObject
*_wrap_wxCalendarCtrl_EnableHolidayDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1358 PyObject
* _resultobj
;
1359 wxCalendarCtrl
* _arg0
;
1360 bool _arg1
= (bool ) TRUE
;
1361 PyObject
* _argo0
= 0;
1362 int tempbool1
= (int) TRUE
;
1363 char *_kwnames
[] = { "self","display", NULL
};
1366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableHolidayDisplay",_kwnames
,&_argo0
,&tempbool1
))
1369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableHolidayDisplay. Expected _wxCalendarCtrl_p.");
1375 _arg1
= (bool ) tempbool1
;
1377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1378 wxCalendarCtrl_EnableHolidayDisplay(_arg0
,_arg1
);
1380 wxPyEndAllowThreads(__tstate
);
1381 if (PyErr_Occurred()) return NULL
;
1382 } Py_INCREF(Py_None
);
1383 _resultobj
= Py_None
;
1387 #define wxCalendarCtrl_SetHeaderColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeaderColours(_swigarg0,_swigarg1))
1388 static PyObject
*_wrap_wxCalendarCtrl_SetHeaderColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1389 PyObject
* _resultobj
;
1390 wxCalendarCtrl
* _arg0
;
1393 PyObject
* _argo0
= 0;
1395 PyObject
* _obj1
= 0;
1397 PyObject
* _obj2
= 0;
1398 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHeaderColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHeaderColours. Expected _wxCalendarCtrl_p.");
1412 if (! wxColour_helper(_obj1
, &_arg1
))
1417 if (! wxColour_helper(_obj2
, &_arg2
))
1421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1422 wxCalendarCtrl_SetHeaderColours(_arg0
,*_arg1
,*_arg2
);
1424 wxPyEndAllowThreads(__tstate
);
1425 if (PyErr_Occurred()) return NULL
;
1426 } Py_INCREF(Py_None
);
1427 _resultobj
= Py_None
;
1431 #define wxCalendarCtrl_GetHeaderColourFg(_swigobj) (_swigobj->GetHeaderColourFg())
1432 static PyObject
*_wrap_wxCalendarCtrl_GetHeaderColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1433 PyObject
* _resultobj
;
1435 wxCalendarCtrl
* _arg0
;
1436 PyObject
* _argo0
= 0;
1437 char *_kwnames
[] = { "self", NULL
};
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHeaderColourFg",_kwnames
,&_argo0
))
1444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHeaderColourFg. Expected _wxCalendarCtrl_p.");
1451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1452 _result
= new wxColour (wxCalendarCtrl_GetHeaderColourFg(_arg0
));
1454 wxPyEndAllowThreads(__tstate
);
1455 if (PyErr_Occurred()) return NULL
;
1456 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1457 _resultobj
= Py_BuildValue("s",_ptemp
);
1461 #define wxCalendarCtrl_GetHeaderColourBg(_swigobj) (_swigobj->GetHeaderColourBg())
1462 static PyObject
*_wrap_wxCalendarCtrl_GetHeaderColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1463 PyObject
* _resultobj
;
1465 wxCalendarCtrl
* _arg0
;
1466 PyObject
* _argo0
= 0;
1467 char *_kwnames
[] = { "self", NULL
};
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHeaderColourBg",_kwnames
,&_argo0
))
1474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHeaderColourBg. Expected _wxCalendarCtrl_p.");
1481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1482 _result
= new wxColour (wxCalendarCtrl_GetHeaderColourBg(_arg0
));
1484 wxPyEndAllowThreads(__tstate
);
1485 if (PyErr_Occurred()) return NULL
;
1486 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1487 _resultobj
= Py_BuildValue("s",_ptemp
);
1491 #define wxCalendarCtrl_SetHighlightColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlightColours(_swigarg0,_swigarg1))
1492 static PyObject
*_wrap_wxCalendarCtrl_SetHighlightColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1493 PyObject
* _resultobj
;
1494 wxCalendarCtrl
* _arg0
;
1497 PyObject
* _argo0
= 0;
1499 PyObject
* _obj1
= 0;
1501 PyObject
* _obj2
= 0;
1502 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHighlightColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHighlightColours. Expected _wxCalendarCtrl_p.");
1516 if (! wxColour_helper(_obj1
, &_arg1
))
1521 if (! wxColour_helper(_obj2
, &_arg2
))
1525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1526 wxCalendarCtrl_SetHighlightColours(_arg0
,*_arg1
,*_arg2
);
1528 wxPyEndAllowThreads(__tstate
);
1529 if (PyErr_Occurred()) return NULL
;
1530 } Py_INCREF(Py_None
);
1531 _resultobj
= Py_None
;
1535 #define wxCalendarCtrl_GetHighlightColourFg(_swigobj) (_swigobj->GetHighlightColourFg())
1536 static PyObject
*_wrap_wxCalendarCtrl_GetHighlightColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1537 PyObject
* _resultobj
;
1539 wxCalendarCtrl
* _arg0
;
1540 PyObject
* _argo0
= 0;
1541 char *_kwnames
[] = { "self", NULL
};
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHighlightColourFg",_kwnames
,&_argo0
))
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_GetHighlightColourFg. Expected _wxCalendarCtrl_p.");
1555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1556 _result
= new wxColour (wxCalendarCtrl_GetHighlightColourFg(_arg0
));
1558 wxPyEndAllowThreads(__tstate
);
1559 if (PyErr_Occurred()) return NULL
;
1560 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1561 _resultobj
= Py_BuildValue("s",_ptemp
);
1565 #define wxCalendarCtrl_GetHighlightColourBg(_swigobj) (_swigobj->GetHighlightColourBg())
1566 static PyObject
*_wrap_wxCalendarCtrl_GetHighlightColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1567 PyObject
* _resultobj
;
1569 wxCalendarCtrl
* _arg0
;
1570 PyObject
* _argo0
= 0;
1571 char *_kwnames
[] = { "self", NULL
};
1575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHighlightColourBg",_kwnames
,&_argo0
))
1578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHighlightColourBg. Expected _wxCalendarCtrl_p.");
1585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1586 _result
= new wxColour (wxCalendarCtrl_GetHighlightColourBg(_arg0
));
1588 wxPyEndAllowThreads(__tstate
);
1589 if (PyErr_Occurred()) return NULL
;
1590 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1591 _resultobj
= Py_BuildValue("s",_ptemp
);
1595 #define wxCalendarCtrl_SetHolidayColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHolidayColours(_swigarg0,_swigarg1))
1596 static PyObject
*_wrap_wxCalendarCtrl_SetHolidayColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1597 PyObject
* _resultobj
;
1598 wxCalendarCtrl
* _arg0
;
1601 PyObject
* _argo0
= 0;
1603 PyObject
* _obj1
= 0;
1605 PyObject
* _obj2
= 0;
1606 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHolidayColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHolidayColours. Expected _wxCalendarCtrl_p.");
1620 if (! wxColour_helper(_obj1
, &_arg1
))
1625 if (! wxColour_helper(_obj2
, &_arg2
))
1629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1630 wxCalendarCtrl_SetHolidayColours(_arg0
,*_arg1
,*_arg2
);
1632 wxPyEndAllowThreads(__tstate
);
1633 if (PyErr_Occurred()) return NULL
;
1634 } Py_INCREF(Py_None
);
1635 _resultobj
= Py_None
;
1639 #define wxCalendarCtrl_GetHolidayColourFg(_swigobj) (_swigobj->GetHolidayColourFg())
1640 static PyObject
*_wrap_wxCalendarCtrl_GetHolidayColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
* _resultobj
;
1643 wxCalendarCtrl
* _arg0
;
1644 PyObject
* _argo0
= 0;
1645 char *_kwnames
[] = { "self", NULL
};
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHolidayColourFg",_kwnames
,&_argo0
))
1652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHolidayColourFg. Expected _wxCalendarCtrl_p.");
1659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1660 _result
= new wxColour (wxCalendarCtrl_GetHolidayColourFg(_arg0
));
1662 wxPyEndAllowThreads(__tstate
);
1663 if (PyErr_Occurred()) return NULL
;
1664 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1665 _resultobj
= Py_BuildValue("s",_ptemp
);
1669 #define wxCalendarCtrl_GetHolidayColourBg(_swigobj) (_swigobj->GetHolidayColourBg())
1670 static PyObject
*_wrap_wxCalendarCtrl_GetHolidayColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1671 PyObject
* _resultobj
;
1673 wxCalendarCtrl
* _arg0
;
1674 PyObject
* _argo0
= 0;
1675 char *_kwnames
[] = { "self", NULL
};
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHolidayColourBg",_kwnames
,&_argo0
))
1682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHolidayColourBg. Expected _wxCalendarCtrl_p.");
1689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1690 _result
= new wxColour (wxCalendarCtrl_GetHolidayColourBg(_arg0
));
1692 wxPyEndAllowThreads(__tstate
);
1693 if (PyErr_Occurred()) return NULL
;
1694 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1695 _resultobj
= Py_BuildValue("s",_ptemp
);
1699 #define wxCalendarCtrl_GetAttr(_swigobj,_swigarg0) (_swigobj->GetAttr(_swigarg0))
1700 static PyObject
*_wrap_wxCalendarCtrl_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
* _resultobj
;
1702 wxCalendarDateAttr
* _result
;
1703 wxCalendarCtrl
* _arg0
;
1705 PyObject
* _argo0
= 0;
1706 char *_kwnames
[] = { "self","day", NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_GetAttr",_kwnames
,&_argo0
,&_arg1
))
1713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetAttr. Expected _wxCalendarCtrl_p.");
1720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1721 _result
= (wxCalendarDateAttr
*)wxCalendarCtrl_GetAttr(_arg0
,_arg1
);
1723 wxPyEndAllowThreads(__tstate
);
1724 if (PyErr_Occurred()) return NULL
;
1726 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
1727 _resultobj
= Py_BuildValue("s",_ptemp
);
1730 _resultobj
= Py_None
;
1735 #define wxCalendarCtrl_SetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttr(_swigarg0,_swigarg1))
1736 static PyObject
*_wrap_wxCalendarCtrl_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
* _resultobj
;
1738 wxCalendarCtrl
* _arg0
;
1740 wxCalendarDateAttr
* _arg2
;
1741 PyObject
* _argo0
= 0;
1742 PyObject
* _argo2
= 0;
1743 char *_kwnames
[] = { "self","day","attr", NULL
};
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxCalendarCtrl_SetAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
1749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetAttr. Expected _wxCalendarCtrl_p.");
1756 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1757 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxCalendarDateAttr_p")) {
1758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_SetAttr. Expected _wxCalendarDateAttr_p.");
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 wxCalendarCtrl_SetAttr(_arg0
,_arg1
,_arg2
);
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) return NULL
;
1768 } Py_INCREF(Py_None
);
1769 _resultobj
= Py_None
;
1773 #define wxCalendarCtrl_SetHoliday(_swigobj,_swigarg0) (_swigobj->SetHoliday(_swigarg0))
1774 static PyObject
*_wrap_wxCalendarCtrl_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
* _resultobj
;
1776 wxCalendarCtrl
* _arg0
;
1778 PyObject
* _argo0
= 0;
1779 char *_kwnames
[] = { "self","day", NULL
};
1782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_SetHoliday",_kwnames
,&_argo0
,&_arg1
))
1785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHoliday. Expected _wxCalendarCtrl_p.");
1792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1793 wxCalendarCtrl_SetHoliday(_arg0
,_arg1
);
1795 wxPyEndAllowThreads(__tstate
);
1796 if (PyErr_Occurred()) return NULL
;
1797 } Py_INCREF(Py_None
);
1798 _resultobj
= Py_None
;
1802 #define wxCalendarCtrl_ResetAttr(_swigobj,_swigarg0) (_swigobj->ResetAttr(_swigarg0))
1803 static PyObject
*_wrap_wxCalendarCtrl_ResetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
* _resultobj
;
1805 wxCalendarCtrl
* _arg0
;
1807 PyObject
* _argo0
= 0;
1808 char *_kwnames
[] = { "self","day", NULL
};
1811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_ResetAttr",_kwnames
,&_argo0
,&_arg1
))
1814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_ResetAttr. Expected _wxCalendarCtrl_p.");
1821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1822 wxCalendarCtrl_ResetAttr(_arg0
,_arg1
);
1824 wxPyEndAllowThreads(__tstate
);
1825 if (PyErr_Occurred()) return NULL
;
1826 } Py_INCREF(Py_None
);
1827 _resultobj
= Py_None
;
1831 #define wxCalendarCtrl_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2))
1832 static PyObject
*_wrap_wxCalendarCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
* _resultobj
;
1834 wxCalendarHitTestResult _result
;
1835 wxCalendarCtrl
* _arg0
;
1837 wxDateTime
* _arg2
= (wxDateTime
*) NULL
;
1838 wxDateTime::WeekDay
* _arg3
= (wxDateTime::WeekDay
*) NULL
;
1839 PyObject
* _argo0
= 0;
1841 PyObject
* _obj1
= 0;
1842 PyObject
* _argo2
= 0;
1843 PyObject
* _argo3
= 0;
1844 char *_kwnames
[] = { "self","pos","date","wd", NULL
};
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxCalendarCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
1850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_HitTest. Expected _wxCalendarCtrl_p.");
1858 if (! wxPoint_helper(_obj1
, &_arg1
))
1862 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1863 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
1864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_HitTest. Expected _wxDateTime_p.");
1869 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1870 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime::WeekDay_p")) {
1871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxCalendarCtrl_HitTest. Expected _wxDateTime::WeekDay_p.");
1876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1877 _result
= (wxCalendarHitTestResult
)wxCalendarCtrl_HitTest(_arg0
,*_arg1
,_arg2
,_arg3
);
1879 wxPyEndAllowThreads(__tstate
);
1880 if (PyErr_Occurred()) return NULL
;
1881 } _resultobj
= Py_BuildValue("i",_result
);
1885 #define wxCalendarCtrl_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1886 static PyObject
*_wrap_wxCalendarCtrl_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1887 PyObject
* _resultobj
;
1889 wxCalendarCtrl
* _arg0
;
1890 bool _arg1
= (bool ) TRUE
;
1891 PyObject
* _argo0
= 0;
1892 int tempbool1
= (int) TRUE
;
1893 char *_kwnames
[] = { "self","enable", NULL
};
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_Enable",_kwnames
,&_argo0
,&tempbool1
))
1899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_Enable. Expected _wxCalendarCtrl_p.");
1905 _arg1
= (bool ) tempbool1
;
1907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1908 _result
= (bool )wxCalendarCtrl_Enable(_arg0
,_arg1
);
1910 wxPyEndAllowThreads(__tstate
);
1911 if (PyErr_Occurred()) return NULL
;
1912 } _resultobj
= Py_BuildValue("i",_result
);
1916 #define wxCalendarCtrl_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
1917 static PyObject
*_wrap_wxCalendarCtrl_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1918 PyObject
* _resultobj
;
1920 wxCalendarCtrl
* _arg0
;
1921 bool _arg1
= (bool ) TRUE
;
1922 PyObject
* _argo0
= 0;
1923 int tempbool1
= (int) TRUE
;
1924 char *_kwnames
[] = { "self","show", NULL
};
1927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_Show",_kwnames
,&_argo0
,&tempbool1
))
1930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_Show. Expected _wxCalendarCtrl_p.");
1936 _arg1
= (bool ) tempbool1
;
1938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1939 _result
= (bool )wxCalendarCtrl_Show(_arg0
,_arg1
);
1941 wxPyEndAllowThreads(__tstate
);
1942 if (PyErr_Occurred()) return NULL
;
1943 } _resultobj
= Py_BuildValue("i",_result
);
1947 static PyMethodDef calendarcMethods
[] = {
1948 { "wxCalendarCtrl_Show", (PyCFunction
) _wrap_wxCalendarCtrl_Show
, METH_VARARGS
| METH_KEYWORDS
},
1949 { "wxCalendarCtrl_Enable", (PyCFunction
) _wrap_wxCalendarCtrl_Enable
, METH_VARARGS
| METH_KEYWORDS
},
1950 { "wxCalendarCtrl_HitTest", (PyCFunction
) _wrap_wxCalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
1951 { "wxCalendarCtrl_ResetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1952 { "wxCalendarCtrl_SetHoliday", (PyCFunction
) _wrap_wxCalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1953 { "wxCalendarCtrl_SetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1954 { "wxCalendarCtrl_GetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1955 { "wxCalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1956 { "wxCalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1957 { "wxCalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
},
1958 { "wxCalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1959 { "wxCalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1960 { "wxCalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
},
1961 { "wxCalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1962 { "wxCalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1963 { "wxCalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
},
1964 { "wxCalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_wxCalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
},
1965 { "wxCalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_wxCalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
},
1966 { "wxCalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_wxCalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
},
1967 { "wxCalendarCtrl_SetDateRange", (PyCFunction
) _wrap_wxCalendarCtrl_SetDateRange
, METH_VARARGS
| METH_KEYWORDS
},
1968 { "wxCalendarCtrl_GetUpperDateLimit", (PyCFunction
) _wrap_wxCalendarCtrl_GetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1969 { "wxCalendarCtrl_SetUpperDateLimit", (PyCFunction
) _wrap_wxCalendarCtrl_SetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1970 { "wxCalendarCtrl_GetLowerDateLimit", (PyCFunction
) _wrap_wxCalendarCtrl_GetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1971 { "wxCalendarCtrl_SetLowerDateLimit", (PyCFunction
) _wrap_wxCalendarCtrl_SetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1972 { "wxCalendarCtrl_GetDate", (PyCFunction
) _wrap_wxCalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
1973 { "wxCalendarCtrl_SetDate", (PyCFunction
) _wrap_wxCalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
1974 { "wxCalendarCtrl_Create", (PyCFunction
) _wrap_wxCalendarCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
1975 { "new_wxPreCalendarCtrl", (PyCFunction
) _wrap_new_wxPreCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1976 { "new_wxCalendarCtrl", (PyCFunction
) _wrap_new_wxCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1977 { "wxCalendarEvent_GetWeekDay", (PyCFunction
) _wrap_wxCalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
1978 { "wxCalendarEvent_GetDate", (PyCFunction
) _wrap_wxCalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
1979 { "new_wxCalendarEvent", (PyCFunction
) _wrap_new_wxCalendarEvent
, METH_VARARGS
| METH_KEYWORDS
},
1980 { "wxCalendarDateAttr_GetBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
1981 { "wxCalendarDateAttr_GetFont", (PyCFunction
) _wrap_wxCalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
1982 { "wxCalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1983 { "wxCalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1984 { "wxCalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1985 { "wxCalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_wxCalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1986 { "wxCalendarDateAttr_HasBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
1987 { "wxCalendarDateAttr_HasFont", (PyCFunction
) _wrap_wxCalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
1988 { "wxCalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1989 { "wxCalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1990 { "wxCalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1991 { "wxCalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_wxCalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1992 { "wxCalendarDateAttr_SetBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
1993 { "wxCalendarDateAttr_SetFont", (PyCFunction
) _wrap_wxCalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
1994 { "wxCalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1995 { "wxCalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1996 { "wxCalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1997 { "new_wxCalendarDateAttrBorder", (PyCFunction
) _wrap_new_wxCalendarDateAttrBorder
, METH_VARARGS
| METH_KEYWORDS
},
1998 { "new_wxCalendarDateAttr", (PyCFunction
) _wrap_new_wxCalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
},
2005 * This table is used by the pointer type-checker
2007 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2008 { "_wxEvent","_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
2009 { "_signed_long","_long",0},
2010 { "_wxPrintQuality","_wxCoord",0},
2011 { "_wxPrintQuality","_int",0},
2012 { "_wxPrintQuality","_signed_int",0},
2013 { "_wxPrintQuality","_unsigned_int",0},
2014 { "_wxPrintQuality","_wxWindowID",0},
2015 { "_wxPrintQuality","_uint",0},
2016 { "_wxPrintQuality","_EBool",0},
2017 { "_wxPrintQuality","_size_t",0},
2018 { "_wxPrintQuality","_time_t",0},
2019 { "_byte","_unsigned_char",0},
2020 { "_long","_unsigned_long",0},
2021 { "_long","_signed_long",0},
2022 { "_size_t","_wxCoord",0},
2023 { "_size_t","_wxPrintQuality",0},
2024 { "_size_t","_time_t",0},
2025 { "_size_t","_unsigned_int",0},
2026 { "_size_t","_int",0},
2027 { "_size_t","_wxWindowID",0},
2028 { "_size_t","_uint",0},
2029 { "_uint","_wxCoord",0},
2030 { "_uint","_wxPrintQuality",0},
2031 { "_uint","_time_t",0},
2032 { "_uint","_size_t",0},
2033 { "_uint","_unsigned_int",0},
2034 { "_uint","_int",0},
2035 { "_uint","_wxWindowID",0},
2036 { "_wxChar","_char",0},
2037 { "_wxCommandEvent","_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
2038 { "_char","_wxChar",0},
2039 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2040 { "_EBool","_wxCoord",0},
2041 { "_EBool","_wxPrintQuality",0},
2042 { "_EBool","_signed_int",0},
2043 { "_EBool","_int",0},
2044 { "_EBool","_wxWindowID",0},
2045 { "_unsigned_long","_long",0},
2046 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2047 { "_signed_int","_wxCoord",0},
2048 { "_signed_int","_wxPrintQuality",0},
2049 { "_signed_int","_EBool",0},
2050 { "_signed_int","_wxWindowID",0},
2051 { "_signed_int","_int",0},
2052 { "_WXTYPE","_wxDateTime_t",0},
2053 { "_WXTYPE","_short",0},
2054 { "_WXTYPE","_signed_short",0},
2055 { "_WXTYPE","_unsigned_short",0},
2056 { "_unsigned_short","_wxDateTime_t",0},
2057 { "_unsigned_short","_WXTYPE",0},
2058 { "_unsigned_short","_short",0},
2059 { "_wxObject","_wxCalendarCtrl",SwigwxCalendarCtrlTowxObject
},
2060 { "_wxObject","_wxCalendarEvent",SwigwxCalendarEventTowxObject
},
2061 { "_signed_short","_WXTYPE",0},
2062 { "_signed_short","_short",0},
2063 { "_unsigned_char","_byte",0},
2064 { "_wxControl","_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
2065 { "_unsigned_int","_wxCoord",0},
2066 { "_unsigned_int","_wxPrintQuality",0},
2067 { "_unsigned_int","_time_t",0},
2068 { "_unsigned_int","_size_t",0},
2069 { "_unsigned_int","_uint",0},
2070 { "_unsigned_int","_wxWindowID",0},
2071 { "_unsigned_int","_int",0},
2072 { "_short","_wxDateTime_t",0},
2073 { "_short","_WXTYPE",0},
2074 { "_short","_unsigned_short",0},
2075 { "_short","_signed_short",0},
2076 { "_wxWindowID","_wxCoord",0},
2077 { "_wxWindowID","_wxPrintQuality",0},
2078 { "_wxWindowID","_time_t",0},
2079 { "_wxWindowID","_size_t",0},
2080 { "_wxWindowID","_EBool",0},
2081 { "_wxWindowID","_uint",0},
2082 { "_wxWindowID","_int",0},
2083 { "_wxWindowID","_signed_int",0},
2084 { "_wxWindowID","_unsigned_int",0},
2085 { "_int","_wxCoord",0},
2086 { "_int","_wxPrintQuality",0},
2087 { "_int","_time_t",0},
2088 { "_int","_size_t",0},
2089 { "_int","_EBool",0},
2090 { "_int","_uint",0},
2091 { "_int","_wxWindowID",0},
2092 { "_int","_unsigned_int",0},
2093 { "_int","_signed_int",0},
2094 { "_wxDateTime_t","_unsigned_short",0},
2095 { "_wxDateTime_t","_short",0},
2096 { "_wxDateTime_t","_WXTYPE",0},
2097 { "_time_t","_wxCoord",0},
2098 { "_time_t","_wxPrintQuality",0},
2099 { "_time_t","_unsigned_int",0},
2100 { "_time_t","_int",0},
2101 { "_time_t","_wxWindowID",0},
2102 { "_time_t","_uint",0},
2103 { "_time_t","_size_t",0},
2104 { "_wxCoord","_int",0},
2105 { "_wxCoord","_signed_int",0},
2106 { "_wxCoord","_unsigned_int",0},
2107 { "_wxCoord","_wxWindowID",0},
2108 { "_wxCoord","_uint",0},
2109 { "_wxCoord","_EBool",0},
2110 { "_wxCoord","_size_t",0},
2111 { "_wxCoord","_time_t",0},
2112 { "_wxCoord","_wxPrintQuality",0},
2113 { "_wxEvtHandler","_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler
},
2114 { "_wxWindow","_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
2117 static PyObject
*SWIG_globals
;
2121 SWIGEXPORT(void) initcalendarc() {
2123 SWIG_globals
= SWIG_newvarlink();
2124 m
= Py_InitModule("calendarc", calendarcMethods
);
2125 d
= PyModule_GetDict(m
);
2126 PyDict_SetItemString(d
,"wxCAL_SUNDAY_FIRST", PyInt_FromLong((long) wxCAL_SUNDAY_FIRST
));
2127 PyDict_SetItemString(d
,"wxCAL_MONDAY_FIRST", PyInt_FromLong((long) wxCAL_MONDAY_FIRST
));
2128 PyDict_SetItemString(d
,"wxCAL_SHOW_HOLIDAYS", PyInt_FromLong((long) wxCAL_SHOW_HOLIDAYS
));
2129 PyDict_SetItemString(d
,"wxCAL_NO_YEAR_CHANGE", PyInt_FromLong((long) wxCAL_NO_YEAR_CHANGE
));
2130 PyDict_SetItemString(d
,"wxCAL_NO_MONTH_CHANGE", PyInt_FromLong((long) wxCAL_NO_MONTH_CHANGE
));
2131 PyDict_SetItemString(d
,"wxCAL_SEQUENTIAL_MONTH_SELECTION", PyInt_FromLong((long) wxCAL_SEQUENTIAL_MONTH_SELECTION
));
2132 PyDict_SetItemString(d
,"wxCAL_SHOW_SURROUNDING_WEEKS", PyInt_FromLong((long) wxCAL_SHOW_SURROUNDING_WEEKS
));
2133 PyDict_SetItemString(d
,"wxCAL_HITTEST_NOWHERE", PyInt_FromLong((long) wxCAL_HITTEST_NOWHERE
));
2134 PyDict_SetItemString(d
,"wxCAL_HITTEST_HEADER", PyInt_FromLong((long) wxCAL_HITTEST_HEADER
));
2135 PyDict_SetItemString(d
,"wxCAL_HITTEST_DAY", PyInt_FromLong((long) wxCAL_HITTEST_DAY
));
2136 PyDict_SetItemString(d
,"wxCAL_HITTEST_INCMONTH", PyInt_FromLong((long) wxCAL_HITTEST_INCMONTH
));
2137 PyDict_SetItemString(d
,"wxCAL_HITTEST_DECMONTH", PyInt_FromLong((long) wxCAL_HITTEST_DECMONTH
));
2138 PyDict_SetItemString(d
,"wxCAL_HITTEST_SURROUNDING_WEEK", PyInt_FromLong((long) wxCAL_HITTEST_SURROUNDING_WEEK
));
2139 PyDict_SetItemString(d
,"wxCAL_BORDER_NONE", PyInt_FromLong((long) wxCAL_BORDER_NONE
));
2140 PyDict_SetItemString(d
,"wxCAL_BORDER_SQUARE", PyInt_FromLong((long) wxCAL_BORDER_SQUARE
));
2141 PyDict_SetItemString(d
,"wxCAL_BORDER_ROUND", PyInt_FromLong((long) wxCAL_BORDER_ROUND
));
2142 PyDict_SetItemString(d
,"wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_CALENDAR_DOUBLECLICKED
));
2143 PyDict_SetItemString(d
,"wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_SEL_CHANGED
));
2144 PyDict_SetItemString(d
,"wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_DAY_CHANGED
));
2145 PyDict_SetItemString(d
,"wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_MONTH_CHANGED
));
2146 PyDict_SetItemString(d
,"wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_YEAR_CHANGED
));
2147 PyDict_SetItemString(d
,"wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong((long) wxEVT_CALENDAR_WEEKDAY_CLICKED
));
2149 wxClassInfo::CleanUpClasses();
2150 wxClassInfo::InitializeClasses();
2153 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2154 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);