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 // Put some wx default wxChar* values into wxStrings.
89 DECLARE_DEF_STRING(CalendarNameStr
);
93 #define new_wxCalendarDateAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxCalendarDateAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
94 static PyObject
*_wrap_new_wxCalendarDateAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
95 PyObject
* _resultobj
;
96 wxCalendarDateAttr
* _result
;
98 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
99 wxColour
* _arg2
= (wxColour
*) &wxNullColour
;
100 wxFont
* _arg3
= (wxFont
*) &wxNullFont
;
101 wxCalendarDateBorder _arg4
= (wxCalendarDateBorder
) (wxCAL_BORDER_NONE
);
103 PyObject
* _obj0
= 0;
105 PyObject
* _obj1
= 0;
107 PyObject
* _obj2
= 0;
108 PyObject
* _argo3
= 0;
109 char *_kwnames
[] = { "colText","colBack","colBorder","font","border", NULL
};
113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOi:new_wxCalendarDateAttr",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
))
117 if (! wxColour_helper(_obj0
, &_arg0
))
123 if (! wxColour_helper(_obj1
, &_arg1
))
129 if (! wxColour_helper(_obj2
, &_arg2
))
133 if (_argo3
== Py_None
) { _arg3
= NULL
; }
134 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxCalendarDateAttr. Expected _wxFont_p.");
140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
141 _result
= (wxCalendarDateAttr
*)new_wxCalendarDateAttr(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
143 wxPyEndAllowThreads(__tstate
);
144 if (PyErr_Occurred()) return NULL
;
146 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
147 _resultobj
= Py_BuildValue("s",_ptemp
);
150 _resultobj
= Py_None
;
155 #define new_wxCalendarDateAttrBorder(_swigarg0,_swigarg1) (new wxCalendarDateAttr(_swigarg0,_swigarg1))
156 static PyObject
*_wrap_new_wxCalendarDateAttrBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
157 PyObject
* _resultobj
;
158 wxCalendarDateAttr
* _result
;
159 wxCalendarDateBorder _arg0
;
160 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
162 PyObject
* _obj1
= 0;
163 char *_kwnames
[] = { "border","colBorder", NULL
};
167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|O:new_wxCalendarDateAttrBorder",_kwnames
,&_arg0
,&_obj1
))
172 if (! wxColour_helper(_obj1
, &_arg1
))
176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
177 _result
= (wxCalendarDateAttr
*)new_wxCalendarDateAttrBorder(_arg0
,*_arg1
);
179 wxPyEndAllowThreads(__tstate
);
180 if (PyErr_Occurred()) return NULL
;
182 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
183 _resultobj
= Py_BuildValue("s",_ptemp
);
186 _resultobj
= Py_None
;
191 #define wxCalendarDateAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
192 static PyObject
*_wrap_wxCalendarDateAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
193 PyObject
* _resultobj
;
194 wxCalendarDateAttr
* _arg0
;
196 PyObject
* _argo0
= 0;
198 PyObject
* _obj1
= 0;
199 char *_kwnames
[] = { "self","colText", NULL
};
202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetTextColour. Expected _wxCalendarDateAttr_p.");
213 if (! wxColour_helper(_obj1
, &_arg1
))
217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
218 wxCalendarDateAttr_SetTextColour(_arg0
,*_arg1
);
220 wxPyEndAllowThreads(__tstate
);
221 if (PyErr_Occurred()) return NULL
;
222 } Py_INCREF(Py_None
);
223 _resultobj
= Py_None
;
227 #define wxCalendarDateAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
228 static PyObject
*_wrap_wxCalendarDateAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
229 PyObject
* _resultobj
;
230 wxCalendarDateAttr
* _arg0
;
232 PyObject
* _argo0
= 0;
234 PyObject
* _obj1
= 0;
235 char *_kwnames
[] = { "self","colBack", NULL
};
238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBackgroundColour. Expected _wxCalendarDateAttr_p.");
249 if (! wxColour_helper(_obj1
, &_arg1
))
253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
254 wxCalendarDateAttr_SetBackgroundColour(_arg0
,*_arg1
);
256 wxPyEndAllowThreads(__tstate
);
257 if (PyErr_Occurred()) return NULL
;
258 } Py_INCREF(Py_None
);
259 _resultobj
= Py_None
;
263 #define wxCalendarDateAttr_SetBorderColour(_swigobj,_swigarg0) (_swigobj->SetBorderColour(_swigarg0))
264 static PyObject
*_wrap_wxCalendarDateAttr_SetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
265 PyObject
* _resultobj
;
266 wxCalendarDateAttr
* _arg0
;
268 PyObject
* _argo0
= 0;
270 PyObject
* _obj1
= 0;
271 char *_kwnames
[] = { "self","col", NULL
};
274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetBorderColour",_kwnames
,&_argo0
,&_obj1
))
277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBorderColour. Expected _wxCalendarDateAttr_p.");
285 if (! wxColour_helper(_obj1
, &_arg1
))
289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
290 wxCalendarDateAttr_SetBorderColour(_arg0
,*_arg1
);
292 wxPyEndAllowThreads(__tstate
);
293 if (PyErr_Occurred()) return NULL
;
294 } Py_INCREF(Py_None
);
295 _resultobj
= Py_None
;
299 #define wxCalendarDateAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
300 static PyObject
*_wrap_wxCalendarDateAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
301 PyObject
* _resultobj
;
302 wxCalendarDateAttr
* _arg0
;
304 PyObject
* _argo0
= 0;
305 PyObject
* _argo1
= 0;
306 char *_kwnames
[] = { "self","font", NULL
};
309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetFont. Expected _wxCalendarDateAttr_p.");
319 if (_argo1
== Py_None
) { _arg1
= NULL
; }
320 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarDateAttr_SetFont. Expected _wxFont_p.");
326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
327 wxCalendarDateAttr_SetFont(_arg0
,*_arg1
);
329 wxPyEndAllowThreads(__tstate
);
330 if (PyErr_Occurred()) return NULL
;
331 } Py_INCREF(Py_None
);
332 _resultobj
= Py_None
;
336 #define wxCalendarDateAttr_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
337 static PyObject
*_wrap_wxCalendarDateAttr_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
338 PyObject
* _resultobj
;
339 wxCalendarDateAttr
* _arg0
;
340 wxCalendarDateBorder _arg1
;
341 PyObject
* _argo0
= 0;
342 char *_kwnames
[] = { "self","border", NULL
};
345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarDateAttr_SetBorder",_kwnames
,&_argo0
,&_arg1
))
348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBorder. Expected _wxCalendarDateAttr_p.");
355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
356 wxCalendarDateAttr_SetBorder(_arg0
,_arg1
);
358 wxPyEndAllowThreads(__tstate
);
359 if (PyErr_Occurred()) return NULL
;
360 } Py_INCREF(Py_None
);
361 _resultobj
= Py_None
;
365 #define wxCalendarDateAttr_SetHoliday(_swigobj,_swigarg0) (_swigobj->SetHoliday(_swigarg0))
366 static PyObject
*_wrap_wxCalendarDateAttr_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
367 PyObject
* _resultobj
;
368 wxCalendarDateAttr
* _arg0
;
370 PyObject
* _argo0
= 0;
372 char *_kwnames
[] = { "self","holiday", NULL
};
375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarDateAttr_SetHoliday",_kwnames
,&_argo0
,&tempbool1
))
378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetHoliday. Expected _wxCalendarDateAttr_p.");
384 _arg1
= (bool ) tempbool1
;
386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
387 wxCalendarDateAttr_SetHoliday(_arg0
,_arg1
);
389 wxPyEndAllowThreads(__tstate
);
390 if (PyErr_Occurred()) return NULL
;
391 } Py_INCREF(Py_None
);
392 _resultobj
= Py_None
;
396 #define wxCalendarDateAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
397 static PyObject
*_wrap_wxCalendarDateAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
398 PyObject
* _resultobj
;
400 wxCalendarDateAttr
* _arg0
;
401 PyObject
* _argo0
= 0;
402 char *_kwnames
[] = { "self", NULL
};
405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasTextColour",_kwnames
,&_argo0
))
408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasTextColour. Expected _wxCalendarDateAttr_p.");
415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
416 _result
= (bool )wxCalendarDateAttr_HasTextColour(_arg0
);
418 wxPyEndAllowThreads(__tstate
);
419 if (PyErr_Occurred()) return NULL
;
420 } _resultobj
= Py_BuildValue("i",_result
);
424 #define wxCalendarDateAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
425 static PyObject
*_wrap_wxCalendarDateAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
426 PyObject
* _resultobj
;
428 wxCalendarDateAttr
* _arg0
;
429 PyObject
* _argo0
= 0;
430 char *_kwnames
[] = { "self", NULL
};
433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBackgroundColour",_kwnames
,&_argo0
))
436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBackgroundColour. Expected _wxCalendarDateAttr_p.");
443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
444 _result
= (bool )wxCalendarDateAttr_HasBackgroundColour(_arg0
);
446 wxPyEndAllowThreads(__tstate
);
447 if (PyErr_Occurred()) return NULL
;
448 } _resultobj
= Py_BuildValue("i",_result
);
452 #define wxCalendarDateAttr_HasBorderColour(_swigobj) (_swigobj->HasBorderColour())
453 static PyObject
*_wrap_wxCalendarDateAttr_HasBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
454 PyObject
* _resultobj
;
456 wxCalendarDateAttr
* _arg0
;
457 PyObject
* _argo0
= 0;
458 char *_kwnames
[] = { "self", NULL
};
461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBorderColour",_kwnames
,&_argo0
))
464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBorderColour. Expected _wxCalendarDateAttr_p.");
471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
472 _result
= (bool )wxCalendarDateAttr_HasBorderColour(_arg0
);
474 wxPyEndAllowThreads(__tstate
);
475 if (PyErr_Occurred()) return NULL
;
476 } _resultobj
= Py_BuildValue("i",_result
);
480 #define wxCalendarDateAttr_HasFont(_swigobj) (_swigobj->HasFont())
481 static PyObject
*_wrap_wxCalendarDateAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
482 PyObject
* _resultobj
;
484 wxCalendarDateAttr
* _arg0
;
485 PyObject
* _argo0
= 0;
486 char *_kwnames
[] = { "self", NULL
};
489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasFont",_kwnames
,&_argo0
))
492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasFont. Expected _wxCalendarDateAttr_p.");
499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
500 _result
= (bool )wxCalendarDateAttr_HasFont(_arg0
);
502 wxPyEndAllowThreads(__tstate
);
503 if (PyErr_Occurred()) return NULL
;
504 } _resultobj
= Py_BuildValue("i",_result
);
508 #define wxCalendarDateAttr_HasBorder(_swigobj) (_swigobj->HasBorder())
509 static PyObject
*_wrap_wxCalendarDateAttr_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
510 PyObject
* _resultobj
;
512 wxCalendarDateAttr
* _arg0
;
513 PyObject
* _argo0
= 0;
514 char *_kwnames
[] = { "self", NULL
};
517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBorder",_kwnames
,&_argo0
))
520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBorder. Expected _wxCalendarDateAttr_p.");
527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
528 _result
= (bool )wxCalendarDateAttr_HasBorder(_arg0
);
530 wxPyEndAllowThreads(__tstate
);
531 if (PyErr_Occurred()) return NULL
;
532 } _resultobj
= Py_BuildValue("i",_result
);
536 #define wxCalendarDateAttr_IsHoliday(_swigobj) (_swigobj->IsHoliday())
537 static PyObject
*_wrap_wxCalendarDateAttr_IsHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
538 PyObject
* _resultobj
;
540 wxCalendarDateAttr
* _arg0
;
541 PyObject
* _argo0
= 0;
542 char *_kwnames
[] = { "self", NULL
};
545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_IsHoliday",_kwnames
,&_argo0
))
548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_IsHoliday. Expected _wxCalendarDateAttr_p.");
555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
556 _result
= (bool )wxCalendarDateAttr_IsHoliday(_arg0
);
558 wxPyEndAllowThreads(__tstate
);
559 if (PyErr_Occurred()) return NULL
;
560 } _resultobj
= Py_BuildValue("i",_result
);
564 #define wxCalendarDateAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
565 static PyObject
*_wrap_wxCalendarDateAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
566 PyObject
* _resultobj
;
568 wxCalendarDateAttr
* _arg0
;
569 PyObject
* _argo0
= 0;
570 char *_kwnames
[] = { "self", NULL
};
574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetTextColour",_kwnames
,&_argo0
))
577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetTextColour. Expected _wxCalendarDateAttr_p.");
584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
585 _result
= new wxColour (wxCalendarDateAttr_GetTextColour(_arg0
));
587 wxPyEndAllowThreads(__tstate
);
588 if (PyErr_Occurred()) return NULL
;
589 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
590 _resultobj
= Py_BuildValue("s",_ptemp
);
594 #define wxCalendarDateAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
595 static PyObject
*_wrap_wxCalendarDateAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
596 PyObject
* _resultobj
;
598 wxCalendarDateAttr
* _arg0
;
599 PyObject
* _argo0
= 0;
600 char *_kwnames
[] = { "self", NULL
};
604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBackgroundColour",_kwnames
,&_argo0
))
607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBackgroundColour. Expected _wxCalendarDateAttr_p.");
614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
615 _result
= new wxColour (wxCalendarDateAttr_GetBackgroundColour(_arg0
));
617 wxPyEndAllowThreads(__tstate
);
618 if (PyErr_Occurred()) return NULL
;
619 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
620 _resultobj
= Py_BuildValue("s",_ptemp
);
624 #define wxCalendarDateAttr_GetBorderColour(_swigobj) (_swigobj->GetBorderColour())
625 static PyObject
*_wrap_wxCalendarDateAttr_GetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
626 PyObject
* _resultobj
;
628 wxCalendarDateAttr
* _arg0
;
629 PyObject
* _argo0
= 0;
630 char *_kwnames
[] = { "self", NULL
};
634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBorderColour",_kwnames
,&_argo0
))
637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBorderColour. Expected _wxCalendarDateAttr_p.");
644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
645 _result
= new wxColour (wxCalendarDateAttr_GetBorderColour(_arg0
));
647 wxPyEndAllowThreads(__tstate
);
648 if (PyErr_Occurred()) return NULL
;
649 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
650 _resultobj
= Py_BuildValue("s",_ptemp
);
654 #define wxCalendarDateAttr_GetFont(_swigobj) (_swigobj->GetFont())
655 static PyObject
*_wrap_wxCalendarDateAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
656 PyObject
* _resultobj
;
658 wxCalendarDateAttr
* _arg0
;
659 PyObject
* _argo0
= 0;
660 char *_kwnames
[] = { "self", NULL
};
664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetFont",_kwnames
,&_argo0
))
667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetFont. Expected _wxCalendarDateAttr_p.");
674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
675 _result
= new wxFont (wxCalendarDateAttr_GetFont(_arg0
));
677 wxPyEndAllowThreads(__tstate
);
678 if (PyErr_Occurred()) return NULL
;
679 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
680 _resultobj
= Py_BuildValue("s",_ptemp
);
684 #define wxCalendarDateAttr_GetBorder(_swigobj) (_swigobj->GetBorder())
685 static PyObject
*_wrap_wxCalendarDateAttr_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
686 PyObject
* _resultobj
;
687 wxCalendarDateBorder _result
;
688 wxCalendarDateAttr
* _arg0
;
689 PyObject
* _argo0
= 0;
690 char *_kwnames
[] = { "self", NULL
};
693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBorder",_kwnames
,&_argo0
))
696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBorder. Expected _wxCalendarDateAttr_p.");
703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
704 _result
= (wxCalendarDateBorder
)wxCalendarDateAttr_GetBorder(_arg0
);
706 wxPyEndAllowThreads(__tstate
);
707 if (PyErr_Occurred()) return NULL
;
708 } _resultobj
= Py_BuildValue("i",_result
);
712 static void *SwigwxCalendarEventTowxCommandEvent(void *ptr
) {
713 wxCalendarEvent
*src
;
714 wxCommandEvent
*dest
;
715 src
= (wxCalendarEvent
*) ptr
;
716 dest
= (wxCommandEvent
*) src
;
717 return (void *) dest
;
720 static void *SwigwxCalendarEventTowxEvent(void *ptr
) {
721 wxCalendarEvent
*src
;
723 src
= (wxCalendarEvent
*) ptr
;
724 dest
= (wxEvent
*) src
;
725 return (void *) dest
;
728 static void *SwigwxCalendarEventTowxObject(void *ptr
) {
729 wxCalendarEvent
*src
;
731 src
= (wxCalendarEvent
*) ptr
;
732 dest
= (wxObject
*) src
;
733 return (void *) dest
;
736 #define new_wxCalendarEvent(_swigarg0,_swigarg1) (new wxCalendarEvent(_swigarg0,_swigarg1))
737 static PyObject
*_wrap_new_wxCalendarEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
738 PyObject
* _resultobj
;
739 wxCalendarEvent
* _result
;
740 wxCalendarCtrl
* _arg0
;
742 PyObject
* _argo0
= 0;
743 char *_kwnames
[] = { "cal","type", NULL
};
747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:new_wxCalendarEvent",_kwnames
,&_argo0
,&_arg1
))
750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCalendarEvent. Expected _wxCalendarCtrl_p.");
757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
758 _result
= (wxCalendarEvent
*)new_wxCalendarEvent(_arg0
,_arg1
);
760 wxPyEndAllowThreads(__tstate
);
761 if (PyErr_Occurred()) return NULL
;
763 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarEvent_p");
764 _resultobj
= Py_BuildValue("s",_ptemp
);
767 _resultobj
= Py_None
;
772 #define wxCalendarEvent_GetDate(_swigobj) (_swigobj->GetDate())
773 static PyObject
*_wrap_wxCalendarEvent_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
774 PyObject
* _resultobj
;
775 wxDateTime
* _result
;
776 wxCalendarEvent
* _arg0
;
777 PyObject
* _argo0
= 0;
778 char *_kwnames
[] = { "self", NULL
};
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarEvent_GetDate",_kwnames
,&_argo0
))
785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarEvent_p")) {
787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarEvent_GetDate. Expected _wxCalendarEvent_p.");
792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
793 const wxDateTime
& _result_ref
= wxCalendarEvent_GetDate(_arg0
);
794 _result
= (wxDateTime
*) &_result_ref
;
796 wxPyEndAllowThreads(__tstate
);
797 if (PyErr_Occurred()) return NULL
;
799 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
800 _resultobj
= Py_BuildValue("s",_ptemp
);
803 _resultobj
= Py_None
;
808 #define wxCalendarEvent_GetWeekDay(_swigobj) (_swigobj->GetWeekDay())
809 static PyObject
*_wrap_wxCalendarEvent_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
810 PyObject
* _resultobj
;
811 wxDateTime::WeekDay _result
;
812 wxCalendarEvent
* _arg0
;
813 PyObject
* _argo0
= 0;
814 char *_kwnames
[] = { "self", NULL
};
817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarEvent_GetWeekDay",_kwnames
,&_argo0
))
820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarEvent_p")) {
822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarEvent_GetWeekDay. Expected _wxCalendarEvent_p.");
827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
828 _result
= (wxDateTime::WeekDay
)wxCalendarEvent_GetWeekDay(_arg0
);
830 wxPyEndAllowThreads(__tstate
);
831 if (PyErr_Occurred()) return NULL
;
832 } _resultobj
= Py_BuildValue("i",_result
);
836 static void *SwigwxCalendarCtrlTowxControl(void *ptr
) {
839 src
= (wxCalendarCtrl
*) ptr
;
840 dest
= (wxControl
*) src
;
841 return (void *) dest
;
844 static void *SwigwxCalendarCtrlTowxWindow(void *ptr
) {
847 src
= (wxCalendarCtrl
*) ptr
;
848 dest
= (wxWindow
*) src
;
849 return (void *) dest
;
852 static void *SwigwxCalendarCtrlTowxEvtHandler(void *ptr
) {
855 src
= (wxCalendarCtrl
*) ptr
;
856 dest
= (wxEvtHandler
*) src
;
857 return (void *) dest
;
860 static void *SwigwxCalendarCtrlTowxObject(void *ptr
) {
863 src
= (wxCalendarCtrl
*) ptr
;
864 dest
= (wxObject
*) src
;
865 return (void *) dest
;
868 #define new_wxCalendarCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxCalendarCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
869 static PyObject
*_wrap_new_wxCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
870 PyObject
* _resultobj
;
871 wxCalendarCtrl
* _result
;
874 wxDateTime
* _arg2
= (wxDateTime
*) &wxDefaultDateTime
;
875 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
876 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
877 long _arg5
= (long ) (wxCAL_SHOW_HOLIDAYS
)|wxWANTS_CHARS
;
878 wxString
* _arg6
= (wxString
*) &wxPyCalendarNameStr
;
879 PyObject
* _argo0
= 0;
880 PyObject
* _argo2
= 0;
882 PyObject
* _obj3
= 0;
884 PyObject
* _obj4
= 0;
885 PyObject
* _obj6
= 0;
886 char *_kwnames
[] = { "parent","id","date","pos","size","style","name", NULL
};
890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlO:new_wxCalendarCtrl",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCalendarCtrl. Expected _wxWindow_p.");
900 if (_argo2
== Py_None
) { _arg2
= NULL
; }
901 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxCalendarCtrl. Expected _wxDateTime_p.");
909 if (! wxPoint_helper(_obj3
, &_arg3
))
915 if (! wxSize_helper(_obj4
, &_arg4
))
920 _arg6
= wxString_in_helper(_obj6
);
925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
926 _result
= (wxCalendarCtrl
*)new_wxCalendarCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
928 wxPyEndAllowThreads(__tstate
);
929 if (PyErr_Occurred()) return NULL
;
931 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarCtrl_p");
932 _resultobj
= Py_BuildValue("s",_ptemp
);
935 _resultobj
= Py_None
;
944 #define new_wxPreCalendarCtrl() (new wxCalendarCtrl())
945 static PyObject
*_wrap_new_wxPreCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
946 PyObject
* _resultobj
;
947 wxCalendarCtrl
* _result
;
948 char *_kwnames
[] = { NULL
};
952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCalendarCtrl",_kwnames
))
955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
956 _result
= (wxCalendarCtrl
*)new_wxPreCalendarCtrl();
958 wxPyEndAllowThreads(__tstate
);
959 if (PyErr_Occurred()) return NULL
;
961 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarCtrl_p");
962 _resultobj
= Py_BuildValue("s",_ptemp
);
965 _resultobj
= Py_None
;
970 #define wxCalendarCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
971 static PyObject
*_wrap_wxCalendarCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
972 PyObject
* _resultobj
;
974 wxCalendarCtrl
* _arg0
;
977 wxDateTime
* _arg3
= (wxDateTime
*) &wxDefaultDateTime
;
978 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
979 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
980 long _arg6
= (long ) (wxCAL_SHOW_HOLIDAYS
)|wxWANTS_CHARS
;
981 wxString
* _arg7
= (wxString
*) &wxPyCalendarNameStr
;
982 PyObject
* _argo0
= 0;
983 PyObject
* _argo1
= 0;
984 PyObject
* _argo3
= 0;
986 PyObject
* _obj4
= 0;
988 PyObject
* _obj5
= 0;
989 PyObject
* _obj7
= 0;
990 char *_kwnames
[] = { "self","parent","id","date","pos","size","style","name", NULL
};
993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlO:wxCalendarCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_Create. Expected _wxCalendarCtrl_p.");
1003 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1004 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_Create. Expected _wxWindow_p.");
1010 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1011 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime_p")) {
1012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxCalendarCtrl_Create. Expected _wxDateTime_p.");
1019 if (! wxPoint_helper(_obj4
, &_arg4
))
1025 if (! wxSize_helper(_obj5
, &_arg5
))
1030 _arg7
= wxString_in_helper(_obj7
);
1035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1036 _result
= (bool )wxCalendarCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
1038 wxPyEndAllowThreads(__tstate
);
1039 if (PyErr_Occurred()) return NULL
;
1040 } _resultobj
= Py_BuildValue("i",_result
);
1048 #define wxCalendarCtrl_SetDate(_swigobj,_swigarg0) (_swigobj->SetDate(_swigarg0))
1049 static PyObject
*_wrap_wxCalendarCtrl_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1050 PyObject
* _resultobj
;
1051 wxCalendarCtrl
* _arg0
;
1053 PyObject
* _argo0
= 0;
1054 PyObject
* _argo1
= 0;
1055 char *_kwnames
[] = { "self","date", NULL
};
1058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarCtrl_SetDate",_kwnames
,&_argo0
,&_argo1
))
1061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetDate. Expected _wxCalendarCtrl_p.");
1068 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1069 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
1070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetDate. Expected _wxDateTime_p.");
1075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1076 wxCalendarCtrl_SetDate(_arg0
,*_arg1
);
1078 wxPyEndAllowThreads(__tstate
);
1079 if (PyErr_Occurred()) return NULL
;
1080 } Py_INCREF(Py_None
);
1081 _resultobj
= Py_None
;
1085 #define wxCalendarCtrl_GetDate(_swigobj) (_swigobj->GetDate())
1086 static PyObject
*_wrap_wxCalendarCtrl_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1087 PyObject
* _resultobj
;
1088 wxDateTime
* _result
;
1089 wxCalendarCtrl
* _arg0
;
1090 PyObject
* _argo0
= 0;
1091 char *_kwnames
[] = { "self", NULL
};
1095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetDate",_kwnames
,&_argo0
))
1098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetDate. Expected _wxCalendarCtrl_p.");
1105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1106 const wxDateTime
& _result_ref
= wxCalendarCtrl_GetDate(_arg0
);
1107 _result
= (wxDateTime
*) &_result_ref
;
1109 wxPyEndAllowThreads(__tstate
);
1110 if (PyErr_Occurred()) return NULL
;
1112 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
1113 _resultobj
= Py_BuildValue("s",_ptemp
);
1116 _resultobj
= Py_None
;
1121 #define wxCalendarCtrl_SetLowerDateLimit(_swigobj,_swigarg0) (_swigobj->SetLowerDateLimit(_swigarg0))
1122 static PyObject
*_wrap_wxCalendarCtrl_SetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1123 PyObject
* _resultobj
;
1125 wxCalendarCtrl
* _arg0
;
1126 wxDateTime
* _arg1
= (wxDateTime
*) &wxDefaultDateTime
;
1127 PyObject
* _argo0
= 0;
1128 PyObject
* _argo1
= 0;
1129 char *_kwnames
[] = { "self","date", NULL
};
1132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxCalendarCtrl_SetLowerDateLimit",_kwnames
,&_argo0
,&_argo1
))
1135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetLowerDateLimit. Expected _wxCalendarCtrl_p.");
1142 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1143 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
1144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetLowerDateLimit. Expected _wxDateTime_p.");
1149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1150 _result
= (bool )wxCalendarCtrl_SetLowerDateLimit(_arg0
,*_arg1
);
1152 wxPyEndAllowThreads(__tstate
);
1153 if (PyErr_Occurred()) return NULL
;
1154 } _resultobj
= Py_BuildValue("i",_result
);
1158 #define wxCalendarCtrl_GetLowerDateLimit(_swigobj) (_swigobj->GetLowerDateLimit())
1159 static PyObject
*_wrap_wxCalendarCtrl_GetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1160 PyObject
* _resultobj
;
1161 wxDateTime
* _result
;
1162 wxCalendarCtrl
* _arg0
;
1163 PyObject
* _argo0
= 0;
1164 char *_kwnames
[] = { "self", NULL
};
1168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetLowerDateLimit",_kwnames
,&_argo0
))
1171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetLowerDateLimit. Expected _wxCalendarCtrl_p.");
1178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1179 const wxDateTime
& _result_ref
= wxCalendarCtrl_GetLowerDateLimit(_arg0
);
1180 _result
= (wxDateTime
*) &_result_ref
;
1182 wxPyEndAllowThreads(__tstate
);
1183 if (PyErr_Occurred()) return NULL
;
1185 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
1186 _resultobj
= Py_BuildValue("s",_ptemp
);
1189 _resultobj
= Py_None
;
1194 #define wxCalendarCtrl_SetUpperDateLimit(_swigobj,_swigarg0) (_swigobj->SetUpperDateLimit(_swigarg0))
1195 static PyObject
*_wrap_wxCalendarCtrl_SetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1196 PyObject
* _resultobj
;
1198 wxCalendarCtrl
* _arg0
;
1199 wxDateTime
* _arg1
= (wxDateTime
*) &wxDefaultDateTime
;
1200 PyObject
* _argo0
= 0;
1201 PyObject
* _argo1
= 0;
1202 char *_kwnames
[] = { "self","date", NULL
};
1205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxCalendarCtrl_SetUpperDateLimit",_kwnames
,&_argo0
,&_argo1
))
1208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetUpperDateLimit. Expected _wxCalendarCtrl_p.");
1215 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1216 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
1217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetUpperDateLimit. Expected _wxDateTime_p.");
1222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1223 _result
= (bool )wxCalendarCtrl_SetUpperDateLimit(_arg0
,*_arg1
);
1225 wxPyEndAllowThreads(__tstate
);
1226 if (PyErr_Occurred()) return NULL
;
1227 } _resultobj
= Py_BuildValue("i",_result
);
1231 #define wxCalendarCtrl_GetUpperDateLimit(_swigobj) (_swigobj->GetUpperDateLimit())
1232 static PyObject
*_wrap_wxCalendarCtrl_GetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1233 PyObject
* _resultobj
;
1234 wxDateTime
* _result
;
1235 wxCalendarCtrl
* _arg0
;
1236 PyObject
* _argo0
= 0;
1237 char *_kwnames
[] = { "self", NULL
};
1241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetUpperDateLimit",_kwnames
,&_argo0
))
1244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetUpperDateLimit. Expected _wxCalendarCtrl_p.");
1251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1252 const wxDateTime
& _result_ref
= wxCalendarCtrl_GetUpperDateLimit(_arg0
);
1253 _result
= (wxDateTime
*) &_result_ref
;
1255 wxPyEndAllowThreads(__tstate
);
1256 if (PyErr_Occurred()) return NULL
;
1258 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
1259 _resultobj
= Py_BuildValue("s",_ptemp
);
1262 _resultobj
= Py_None
;
1267 #define wxCalendarCtrl_SetDateRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDateRange(_swigarg0,_swigarg1))
1268 static PyObject
*_wrap_wxCalendarCtrl_SetDateRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1269 PyObject
* _resultobj
;
1271 wxCalendarCtrl
* _arg0
;
1272 wxDateTime
* _arg1
= (wxDateTime
*) &wxDefaultDateTime
;
1273 wxDateTime
* _arg2
= (wxDateTime
*) &wxDefaultDateTime
;
1274 PyObject
* _argo0
= 0;
1275 PyObject
* _argo1
= 0;
1276 PyObject
* _argo2
= 0;
1277 char *_kwnames
[] = { "self","lowerdate","upperdate", NULL
};
1280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxCalendarCtrl_SetDateRange",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetDateRange. Expected _wxCalendarCtrl_p.");
1290 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1291 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
1292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetDateRange. Expected _wxDateTime_p.");
1297 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1298 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
1299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_SetDateRange. Expected _wxDateTime_p.");
1304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1305 _result
= (bool )wxCalendarCtrl_SetDateRange(_arg0
,*_arg1
,*_arg2
);
1307 wxPyEndAllowThreads(__tstate
);
1308 if (PyErr_Occurred()) return NULL
;
1309 } _resultobj
= Py_BuildValue("i",_result
);
1313 #define wxCalendarCtrl_EnableYearChange(_swigobj,_swigarg0) (_swigobj->EnableYearChange(_swigarg0))
1314 static PyObject
*_wrap_wxCalendarCtrl_EnableYearChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1315 PyObject
* _resultobj
;
1316 wxCalendarCtrl
* _arg0
;
1317 bool _arg1
= (bool ) TRUE
;
1318 PyObject
* _argo0
= 0;
1319 int tempbool1
= (int) TRUE
;
1320 char *_kwnames
[] = { "self","enable", NULL
};
1323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableYearChange",_kwnames
,&_argo0
,&tempbool1
))
1326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableYearChange. Expected _wxCalendarCtrl_p.");
1332 _arg1
= (bool ) tempbool1
;
1334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1335 wxCalendarCtrl_EnableYearChange(_arg0
,_arg1
);
1337 wxPyEndAllowThreads(__tstate
);
1338 if (PyErr_Occurred()) return NULL
;
1339 } Py_INCREF(Py_None
);
1340 _resultobj
= Py_None
;
1344 #define wxCalendarCtrl_EnableMonthChange(_swigobj,_swigarg0) (_swigobj->EnableMonthChange(_swigarg0))
1345 static PyObject
*_wrap_wxCalendarCtrl_EnableMonthChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1346 PyObject
* _resultobj
;
1347 wxCalendarCtrl
* _arg0
;
1348 bool _arg1
= (bool ) TRUE
;
1349 PyObject
* _argo0
= 0;
1350 int tempbool1
= (int) TRUE
;
1351 char *_kwnames
[] = { "self","enable", NULL
};
1354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableMonthChange",_kwnames
,&_argo0
,&tempbool1
))
1357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableMonthChange. Expected _wxCalendarCtrl_p.");
1363 _arg1
= (bool ) tempbool1
;
1365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1366 wxCalendarCtrl_EnableMonthChange(_arg0
,_arg1
);
1368 wxPyEndAllowThreads(__tstate
);
1369 if (PyErr_Occurred()) return NULL
;
1370 } Py_INCREF(Py_None
);
1371 _resultobj
= Py_None
;
1375 #define wxCalendarCtrl_EnableHolidayDisplay(_swigobj,_swigarg0) (_swigobj->EnableHolidayDisplay(_swigarg0))
1376 static PyObject
*_wrap_wxCalendarCtrl_EnableHolidayDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1377 PyObject
* _resultobj
;
1378 wxCalendarCtrl
* _arg0
;
1379 bool _arg1
= (bool ) TRUE
;
1380 PyObject
* _argo0
= 0;
1381 int tempbool1
= (int) TRUE
;
1382 char *_kwnames
[] = { "self","display", NULL
};
1385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableHolidayDisplay",_kwnames
,&_argo0
,&tempbool1
))
1388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableHolidayDisplay. Expected _wxCalendarCtrl_p.");
1394 _arg1
= (bool ) tempbool1
;
1396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1397 wxCalendarCtrl_EnableHolidayDisplay(_arg0
,_arg1
);
1399 wxPyEndAllowThreads(__tstate
);
1400 if (PyErr_Occurred()) return NULL
;
1401 } Py_INCREF(Py_None
);
1402 _resultobj
= Py_None
;
1406 #define wxCalendarCtrl_SetHeaderColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeaderColours(_swigarg0,_swigarg1))
1407 static PyObject
*_wrap_wxCalendarCtrl_SetHeaderColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1408 PyObject
* _resultobj
;
1409 wxCalendarCtrl
* _arg0
;
1412 PyObject
* _argo0
= 0;
1414 PyObject
* _obj1
= 0;
1416 PyObject
* _obj2
= 0;
1417 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHeaderColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHeaderColours. Expected _wxCalendarCtrl_p.");
1431 if (! wxColour_helper(_obj1
, &_arg1
))
1436 if (! wxColour_helper(_obj2
, &_arg2
))
1440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1441 wxCalendarCtrl_SetHeaderColours(_arg0
,*_arg1
,*_arg2
);
1443 wxPyEndAllowThreads(__tstate
);
1444 if (PyErr_Occurred()) return NULL
;
1445 } Py_INCREF(Py_None
);
1446 _resultobj
= Py_None
;
1450 #define wxCalendarCtrl_GetHeaderColourFg(_swigobj) (_swigobj->GetHeaderColourFg())
1451 static PyObject
*_wrap_wxCalendarCtrl_GetHeaderColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1452 PyObject
* _resultobj
;
1454 wxCalendarCtrl
* _arg0
;
1455 PyObject
* _argo0
= 0;
1456 char *_kwnames
[] = { "self", NULL
};
1460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHeaderColourFg",_kwnames
,&_argo0
))
1463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHeaderColourFg. Expected _wxCalendarCtrl_p.");
1470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1471 _result
= new wxColour (wxCalendarCtrl_GetHeaderColourFg(_arg0
));
1473 wxPyEndAllowThreads(__tstate
);
1474 if (PyErr_Occurred()) return NULL
;
1475 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1476 _resultobj
= Py_BuildValue("s",_ptemp
);
1480 #define wxCalendarCtrl_GetHeaderColourBg(_swigobj) (_swigobj->GetHeaderColourBg())
1481 static PyObject
*_wrap_wxCalendarCtrl_GetHeaderColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
* _resultobj
;
1484 wxCalendarCtrl
* _arg0
;
1485 PyObject
* _argo0
= 0;
1486 char *_kwnames
[] = { "self", NULL
};
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHeaderColourBg",_kwnames
,&_argo0
))
1493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHeaderColourBg. Expected _wxCalendarCtrl_p.");
1500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1501 _result
= new wxColour (wxCalendarCtrl_GetHeaderColourBg(_arg0
));
1503 wxPyEndAllowThreads(__tstate
);
1504 if (PyErr_Occurred()) return NULL
;
1505 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1506 _resultobj
= Py_BuildValue("s",_ptemp
);
1510 #define wxCalendarCtrl_SetHighlightColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlightColours(_swigarg0,_swigarg1))
1511 static PyObject
*_wrap_wxCalendarCtrl_SetHighlightColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1512 PyObject
* _resultobj
;
1513 wxCalendarCtrl
* _arg0
;
1516 PyObject
* _argo0
= 0;
1518 PyObject
* _obj1
= 0;
1520 PyObject
* _obj2
= 0;
1521 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHighlightColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHighlightColours. Expected _wxCalendarCtrl_p.");
1535 if (! wxColour_helper(_obj1
, &_arg1
))
1540 if (! wxColour_helper(_obj2
, &_arg2
))
1544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1545 wxCalendarCtrl_SetHighlightColours(_arg0
,*_arg1
,*_arg2
);
1547 wxPyEndAllowThreads(__tstate
);
1548 if (PyErr_Occurred()) return NULL
;
1549 } Py_INCREF(Py_None
);
1550 _resultobj
= Py_None
;
1554 #define wxCalendarCtrl_GetHighlightColourFg(_swigobj) (_swigobj->GetHighlightColourFg())
1555 static PyObject
*_wrap_wxCalendarCtrl_GetHighlightColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1556 PyObject
* _resultobj
;
1558 wxCalendarCtrl
* _arg0
;
1559 PyObject
* _argo0
= 0;
1560 char *_kwnames
[] = { "self", NULL
};
1564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHighlightColourFg",_kwnames
,&_argo0
))
1567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHighlightColourFg. Expected _wxCalendarCtrl_p.");
1574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1575 _result
= new wxColour (wxCalendarCtrl_GetHighlightColourFg(_arg0
));
1577 wxPyEndAllowThreads(__tstate
);
1578 if (PyErr_Occurred()) return NULL
;
1579 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1580 _resultobj
= Py_BuildValue("s",_ptemp
);
1584 #define wxCalendarCtrl_GetHighlightColourBg(_swigobj) (_swigobj->GetHighlightColourBg())
1585 static PyObject
*_wrap_wxCalendarCtrl_GetHighlightColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
* _resultobj
;
1588 wxCalendarCtrl
* _arg0
;
1589 PyObject
* _argo0
= 0;
1590 char *_kwnames
[] = { "self", NULL
};
1594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHighlightColourBg",_kwnames
,&_argo0
))
1597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHighlightColourBg. Expected _wxCalendarCtrl_p.");
1604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1605 _result
= new wxColour (wxCalendarCtrl_GetHighlightColourBg(_arg0
));
1607 wxPyEndAllowThreads(__tstate
);
1608 if (PyErr_Occurred()) return NULL
;
1609 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1610 _resultobj
= Py_BuildValue("s",_ptemp
);
1614 #define wxCalendarCtrl_SetHolidayColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHolidayColours(_swigarg0,_swigarg1))
1615 static PyObject
*_wrap_wxCalendarCtrl_SetHolidayColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
* _resultobj
;
1617 wxCalendarCtrl
* _arg0
;
1620 PyObject
* _argo0
= 0;
1622 PyObject
* _obj1
= 0;
1624 PyObject
* _obj2
= 0;
1625 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHolidayColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHolidayColours. Expected _wxCalendarCtrl_p.");
1639 if (! wxColour_helper(_obj1
, &_arg1
))
1644 if (! wxColour_helper(_obj2
, &_arg2
))
1648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1649 wxCalendarCtrl_SetHolidayColours(_arg0
,*_arg1
,*_arg2
);
1651 wxPyEndAllowThreads(__tstate
);
1652 if (PyErr_Occurred()) return NULL
;
1653 } Py_INCREF(Py_None
);
1654 _resultobj
= Py_None
;
1658 #define wxCalendarCtrl_GetHolidayColourFg(_swigobj) (_swigobj->GetHolidayColourFg())
1659 static PyObject
*_wrap_wxCalendarCtrl_GetHolidayColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1660 PyObject
* _resultobj
;
1662 wxCalendarCtrl
* _arg0
;
1663 PyObject
* _argo0
= 0;
1664 char *_kwnames
[] = { "self", NULL
};
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHolidayColourFg",_kwnames
,&_argo0
))
1671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHolidayColourFg. Expected _wxCalendarCtrl_p.");
1678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1679 _result
= new wxColour (wxCalendarCtrl_GetHolidayColourFg(_arg0
));
1681 wxPyEndAllowThreads(__tstate
);
1682 if (PyErr_Occurred()) return NULL
;
1683 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1684 _resultobj
= Py_BuildValue("s",_ptemp
);
1688 #define wxCalendarCtrl_GetHolidayColourBg(_swigobj) (_swigobj->GetHolidayColourBg())
1689 static PyObject
*_wrap_wxCalendarCtrl_GetHolidayColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
* _resultobj
;
1692 wxCalendarCtrl
* _arg0
;
1693 PyObject
* _argo0
= 0;
1694 char *_kwnames
[] = { "self", NULL
};
1698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHolidayColourBg",_kwnames
,&_argo0
))
1701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHolidayColourBg. Expected _wxCalendarCtrl_p.");
1708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1709 _result
= new wxColour (wxCalendarCtrl_GetHolidayColourBg(_arg0
));
1711 wxPyEndAllowThreads(__tstate
);
1712 if (PyErr_Occurred()) return NULL
;
1713 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1714 _resultobj
= Py_BuildValue("s",_ptemp
);
1718 #define wxCalendarCtrl_GetAttr(_swigobj,_swigarg0) (_swigobj->GetAttr(_swigarg0))
1719 static PyObject
*_wrap_wxCalendarCtrl_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1720 PyObject
* _resultobj
;
1721 wxCalendarDateAttr
* _result
;
1722 wxCalendarCtrl
* _arg0
;
1724 PyObject
* _argo0
= 0;
1725 char *_kwnames
[] = { "self","day", NULL
};
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_GetAttr",_kwnames
,&_argo0
,&_arg1
))
1732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetAttr. Expected _wxCalendarCtrl_p.");
1739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1740 _result
= (wxCalendarDateAttr
*)wxCalendarCtrl_GetAttr(_arg0
,_arg1
);
1742 wxPyEndAllowThreads(__tstate
);
1743 if (PyErr_Occurred()) return NULL
;
1745 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
1746 _resultobj
= Py_BuildValue("s",_ptemp
);
1749 _resultobj
= Py_None
;
1754 #define wxCalendarCtrl_SetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttr(_swigarg0,_swigarg1))
1755 static PyObject
*_wrap_wxCalendarCtrl_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1756 PyObject
* _resultobj
;
1757 wxCalendarCtrl
* _arg0
;
1759 wxCalendarDateAttr
* _arg2
;
1760 PyObject
* _argo0
= 0;
1761 PyObject
* _argo2
= 0;
1762 char *_kwnames
[] = { "self","day","attr", NULL
};
1765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxCalendarCtrl_SetAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
1768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetAttr. Expected _wxCalendarCtrl_p.");
1775 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1776 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxCalendarDateAttr_p")) {
1777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_SetAttr. Expected _wxCalendarDateAttr_p.");
1782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1783 wxCalendarCtrl_SetAttr(_arg0
,_arg1
,_arg2
);
1785 wxPyEndAllowThreads(__tstate
);
1786 if (PyErr_Occurred()) return NULL
;
1787 } Py_INCREF(Py_None
);
1788 _resultobj
= Py_None
;
1792 #define wxCalendarCtrl_SetHoliday(_swigobj,_swigarg0) (_swigobj->SetHoliday(_swigarg0))
1793 static PyObject
*_wrap_wxCalendarCtrl_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
* _resultobj
;
1795 wxCalendarCtrl
* _arg0
;
1797 PyObject
* _argo0
= 0;
1798 char *_kwnames
[] = { "self","day", NULL
};
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_SetHoliday",_kwnames
,&_argo0
,&_arg1
))
1804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHoliday. Expected _wxCalendarCtrl_p.");
1811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1812 wxCalendarCtrl_SetHoliday(_arg0
,_arg1
);
1814 wxPyEndAllowThreads(__tstate
);
1815 if (PyErr_Occurred()) return NULL
;
1816 } Py_INCREF(Py_None
);
1817 _resultobj
= Py_None
;
1821 #define wxCalendarCtrl_ResetAttr(_swigobj,_swigarg0) (_swigobj->ResetAttr(_swigarg0))
1822 static PyObject
*_wrap_wxCalendarCtrl_ResetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1823 PyObject
* _resultobj
;
1824 wxCalendarCtrl
* _arg0
;
1826 PyObject
* _argo0
= 0;
1827 char *_kwnames
[] = { "self","day", NULL
};
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_ResetAttr",_kwnames
,&_argo0
,&_arg1
))
1833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_ResetAttr. Expected _wxCalendarCtrl_p.");
1840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1841 wxCalendarCtrl_ResetAttr(_arg0
,_arg1
);
1843 wxPyEndAllowThreads(__tstate
);
1844 if (PyErr_Occurred()) return NULL
;
1845 } Py_INCREF(Py_None
);
1846 _resultobj
= Py_None
;
1850 #define wxCalendarCtrl_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2))
1851 static PyObject
*_wrap_wxCalendarCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1852 PyObject
* _resultobj
;
1853 wxCalendarHitTestResult _result
;
1854 wxCalendarCtrl
* _arg0
;
1856 wxDateTime
* _arg2
= (wxDateTime
*) NULL
;
1857 wxDateTime::WeekDay
* _arg3
= (wxDateTime::WeekDay
*) NULL
;
1858 PyObject
* _argo0
= 0;
1860 PyObject
* _obj1
= 0;
1861 PyObject
* _argo2
= 0;
1862 PyObject
* _argo3
= 0;
1863 char *_kwnames
[] = { "self","pos","date","wd", NULL
};
1866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxCalendarCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
1869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_HitTest. Expected _wxCalendarCtrl_p.");
1877 if (! wxPoint_helper(_obj1
, &_arg1
))
1881 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1882 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
1883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_HitTest. Expected _wxDateTime_p.");
1888 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1889 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime::WeekDay_p")) {
1890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxCalendarCtrl_HitTest. Expected _wxDateTime::WeekDay_p.");
1895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1896 _result
= (wxCalendarHitTestResult
)wxCalendarCtrl_HitTest(_arg0
,*_arg1
,_arg2
,_arg3
);
1898 wxPyEndAllowThreads(__tstate
);
1899 if (PyErr_Occurred()) return NULL
;
1900 } _resultobj
= Py_BuildValue("i",_result
);
1904 #define wxCalendarCtrl_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1905 static PyObject
*_wrap_wxCalendarCtrl_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
* _resultobj
;
1908 wxCalendarCtrl
* _arg0
;
1909 bool _arg1
= (bool ) TRUE
;
1910 PyObject
* _argo0
= 0;
1911 int tempbool1
= (int) TRUE
;
1912 char *_kwnames
[] = { "self","enable", NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_Enable",_kwnames
,&_argo0
,&tempbool1
))
1918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_Enable. Expected _wxCalendarCtrl_p.");
1924 _arg1
= (bool ) tempbool1
;
1926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1927 _result
= (bool )wxCalendarCtrl_Enable(_arg0
,_arg1
);
1929 wxPyEndAllowThreads(__tstate
);
1930 if (PyErr_Occurred()) return NULL
;
1931 } _resultobj
= Py_BuildValue("i",_result
);
1935 #define wxCalendarCtrl_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
1936 static PyObject
*_wrap_wxCalendarCtrl_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
* _resultobj
;
1939 wxCalendarCtrl
* _arg0
;
1940 bool _arg1
= (bool ) TRUE
;
1941 PyObject
* _argo0
= 0;
1942 int tempbool1
= (int) TRUE
;
1943 char *_kwnames
[] = { "self","show", NULL
};
1946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_Show",_kwnames
,&_argo0
,&tempbool1
))
1949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_Show. Expected _wxCalendarCtrl_p.");
1955 _arg1
= (bool ) tempbool1
;
1957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1958 _result
= (bool )wxCalendarCtrl_Show(_arg0
,_arg1
);
1960 wxPyEndAllowThreads(__tstate
);
1961 if (PyErr_Occurred()) return NULL
;
1962 } _resultobj
= Py_BuildValue("i",_result
);
1966 static PyMethodDef calendarcMethods
[] = {
1967 { "wxCalendarCtrl_Show", (PyCFunction
) _wrap_wxCalendarCtrl_Show
, METH_VARARGS
| METH_KEYWORDS
},
1968 { "wxCalendarCtrl_Enable", (PyCFunction
) _wrap_wxCalendarCtrl_Enable
, METH_VARARGS
| METH_KEYWORDS
},
1969 { "wxCalendarCtrl_HitTest", (PyCFunction
) _wrap_wxCalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
1970 { "wxCalendarCtrl_ResetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1971 { "wxCalendarCtrl_SetHoliday", (PyCFunction
) _wrap_wxCalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1972 { "wxCalendarCtrl_SetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1973 { "wxCalendarCtrl_GetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1974 { "wxCalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1975 { "wxCalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1976 { "wxCalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
},
1977 { "wxCalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1978 { "wxCalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1979 { "wxCalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
},
1980 { "wxCalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1981 { "wxCalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1982 { "wxCalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
},
1983 { "wxCalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_wxCalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
},
1984 { "wxCalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_wxCalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
},
1985 { "wxCalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_wxCalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
},
1986 { "wxCalendarCtrl_SetDateRange", (PyCFunction
) _wrap_wxCalendarCtrl_SetDateRange
, METH_VARARGS
| METH_KEYWORDS
},
1987 { "wxCalendarCtrl_GetUpperDateLimit", (PyCFunction
) _wrap_wxCalendarCtrl_GetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1988 { "wxCalendarCtrl_SetUpperDateLimit", (PyCFunction
) _wrap_wxCalendarCtrl_SetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1989 { "wxCalendarCtrl_GetLowerDateLimit", (PyCFunction
) _wrap_wxCalendarCtrl_GetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1990 { "wxCalendarCtrl_SetLowerDateLimit", (PyCFunction
) _wrap_wxCalendarCtrl_SetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1991 { "wxCalendarCtrl_GetDate", (PyCFunction
) _wrap_wxCalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
1992 { "wxCalendarCtrl_SetDate", (PyCFunction
) _wrap_wxCalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
1993 { "wxCalendarCtrl_Create", (PyCFunction
) _wrap_wxCalendarCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
1994 { "new_wxPreCalendarCtrl", (PyCFunction
) _wrap_new_wxPreCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1995 { "new_wxCalendarCtrl", (PyCFunction
) _wrap_new_wxCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1996 { "wxCalendarEvent_GetWeekDay", (PyCFunction
) _wrap_wxCalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
1997 { "wxCalendarEvent_GetDate", (PyCFunction
) _wrap_wxCalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
1998 { "new_wxCalendarEvent", (PyCFunction
) _wrap_new_wxCalendarEvent
, METH_VARARGS
| METH_KEYWORDS
},
1999 { "wxCalendarDateAttr_GetBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2000 { "wxCalendarDateAttr_GetFont", (PyCFunction
) _wrap_wxCalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
2001 { "wxCalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2002 { "wxCalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2003 { "wxCalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2004 { "wxCalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_wxCalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2005 { "wxCalendarDateAttr_HasBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2006 { "wxCalendarDateAttr_HasFont", (PyCFunction
) _wrap_wxCalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
2007 { "wxCalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2008 { "wxCalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2009 { "wxCalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2010 { "wxCalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_wxCalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2011 { "wxCalendarDateAttr_SetBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2012 { "wxCalendarDateAttr_SetFont", (PyCFunction
) _wrap_wxCalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
2013 { "wxCalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2014 { "wxCalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2015 { "wxCalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2016 { "new_wxCalendarDateAttrBorder", (PyCFunction
) _wrap_new_wxCalendarDateAttrBorder
, METH_VARARGS
| METH_KEYWORDS
},
2017 { "new_wxCalendarDateAttr", (PyCFunction
) _wrap_new_wxCalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
},
2024 * This table is used by the pointer type-checker
2026 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2027 { "_wxEvent","_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
2028 { "_signed_long","_long",0},
2029 { "_wxPrintQuality","_wxCoord",0},
2030 { "_wxPrintQuality","_int",0},
2031 { "_wxPrintQuality","_signed_int",0},
2032 { "_wxPrintQuality","_unsigned_int",0},
2033 { "_wxPrintQuality","_wxWindowID",0},
2034 { "_wxPrintQuality","_uint",0},
2035 { "_wxPrintQuality","_EBool",0},
2036 { "_wxPrintQuality","_size_t",0},
2037 { "_wxPrintQuality","_time_t",0},
2038 { "_byte","_unsigned_char",0},
2039 { "_long","_unsigned_long",0},
2040 { "_long","_signed_long",0},
2041 { "_size_t","_wxCoord",0},
2042 { "_size_t","_wxPrintQuality",0},
2043 { "_size_t","_time_t",0},
2044 { "_size_t","_unsigned_int",0},
2045 { "_size_t","_int",0},
2046 { "_size_t","_wxWindowID",0},
2047 { "_size_t","_uint",0},
2048 { "_uint","_wxCoord",0},
2049 { "_uint","_wxPrintQuality",0},
2050 { "_uint","_time_t",0},
2051 { "_uint","_size_t",0},
2052 { "_uint","_unsigned_int",0},
2053 { "_uint","_int",0},
2054 { "_uint","_wxWindowID",0},
2055 { "_wxChar","_char",0},
2056 { "_wxCommandEvent","_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
2057 { "_char","_wxChar",0},
2058 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2059 { "_EBool","_wxCoord",0},
2060 { "_EBool","_wxPrintQuality",0},
2061 { "_EBool","_signed_int",0},
2062 { "_EBool","_int",0},
2063 { "_EBool","_wxWindowID",0},
2064 { "_unsigned_long","_long",0},
2065 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2066 { "_signed_int","_wxCoord",0},
2067 { "_signed_int","_wxPrintQuality",0},
2068 { "_signed_int","_EBool",0},
2069 { "_signed_int","_wxWindowID",0},
2070 { "_signed_int","_int",0},
2071 { "_WXTYPE","_wxDateTime_t",0},
2072 { "_WXTYPE","_short",0},
2073 { "_WXTYPE","_signed_short",0},
2074 { "_WXTYPE","_unsigned_short",0},
2075 { "_unsigned_short","_wxDateTime_t",0},
2076 { "_unsigned_short","_WXTYPE",0},
2077 { "_unsigned_short","_short",0},
2078 { "_wxObject","_wxCalendarCtrl",SwigwxCalendarCtrlTowxObject
},
2079 { "_wxObject","_wxCalendarEvent",SwigwxCalendarEventTowxObject
},
2080 { "_signed_short","_WXTYPE",0},
2081 { "_signed_short","_short",0},
2082 { "_unsigned_char","_byte",0},
2083 { "_wxControl","_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
2084 { "_unsigned_int","_wxCoord",0},
2085 { "_unsigned_int","_wxPrintQuality",0},
2086 { "_unsigned_int","_time_t",0},
2087 { "_unsigned_int","_size_t",0},
2088 { "_unsigned_int","_uint",0},
2089 { "_unsigned_int","_wxWindowID",0},
2090 { "_unsigned_int","_int",0},
2091 { "_short","_wxDateTime_t",0},
2092 { "_short","_WXTYPE",0},
2093 { "_short","_unsigned_short",0},
2094 { "_short","_signed_short",0},
2095 { "_wxWindowID","_wxCoord",0},
2096 { "_wxWindowID","_wxPrintQuality",0},
2097 { "_wxWindowID","_time_t",0},
2098 { "_wxWindowID","_size_t",0},
2099 { "_wxWindowID","_EBool",0},
2100 { "_wxWindowID","_uint",0},
2101 { "_wxWindowID","_int",0},
2102 { "_wxWindowID","_signed_int",0},
2103 { "_wxWindowID","_unsigned_int",0},
2104 { "_int","_wxCoord",0},
2105 { "_int","_wxPrintQuality",0},
2106 { "_int","_time_t",0},
2107 { "_int","_size_t",0},
2108 { "_int","_EBool",0},
2109 { "_int","_uint",0},
2110 { "_int","_wxWindowID",0},
2111 { "_int","_unsigned_int",0},
2112 { "_int","_signed_int",0},
2113 { "_wxDateTime_t","_unsigned_short",0},
2114 { "_wxDateTime_t","_short",0},
2115 { "_wxDateTime_t","_WXTYPE",0},
2116 { "_time_t","_wxCoord",0},
2117 { "_time_t","_wxPrintQuality",0},
2118 { "_time_t","_unsigned_int",0},
2119 { "_time_t","_int",0},
2120 { "_time_t","_wxWindowID",0},
2121 { "_time_t","_uint",0},
2122 { "_time_t","_size_t",0},
2123 { "_wxCoord","_int",0},
2124 { "_wxCoord","_signed_int",0},
2125 { "_wxCoord","_unsigned_int",0},
2126 { "_wxCoord","_wxWindowID",0},
2127 { "_wxCoord","_uint",0},
2128 { "_wxCoord","_EBool",0},
2129 { "_wxCoord","_size_t",0},
2130 { "_wxCoord","_time_t",0},
2131 { "_wxCoord","_wxPrintQuality",0},
2132 { "_wxEvtHandler","_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler
},
2133 { "_wxWindow","_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
2136 static PyObject
*SWIG_globals
;
2140 SWIGEXPORT(void) initcalendarc() {
2142 SWIG_globals
= SWIG_newvarlink();
2143 m
= Py_InitModule("calendarc", calendarcMethods
);
2144 d
= PyModule_GetDict(m
);
2145 PyDict_SetItemString(d
,"wxCAL_SUNDAY_FIRST", PyInt_FromLong((long) wxCAL_SUNDAY_FIRST
));
2146 PyDict_SetItemString(d
,"wxCAL_MONDAY_FIRST", PyInt_FromLong((long) wxCAL_MONDAY_FIRST
));
2147 PyDict_SetItemString(d
,"wxCAL_SHOW_HOLIDAYS", PyInt_FromLong((long) wxCAL_SHOW_HOLIDAYS
));
2148 PyDict_SetItemString(d
,"wxCAL_NO_YEAR_CHANGE", PyInt_FromLong((long) wxCAL_NO_YEAR_CHANGE
));
2149 PyDict_SetItemString(d
,"wxCAL_NO_MONTH_CHANGE", PyInt_FromLong((long) wxCAL_NO_MONTH_CHANGE
));
2150 PyDict_SetItemString(d
,"wxCAL_SEQUENTIAL_MONTH_SELECTION", PyInt_FromLong((long) wxCAL_SEQUENTIAL_MONTH_SELECTION
));
2151 PyDict_SetItemString(d
,"wxCAL_SHOW_SURROUNDING_WEEKS", PyInt_FromLong((long) wxCAL_SHOW_SURROUNDING_WEEKS
));
2152 PyDict_SetItemString(d
,"wxCAL_HITTEST_NOWHERE", PyInt_FromLong((long) wxCAL_HITTEST_NOWHERE
));
2153 PyDict_SetItemString(d
,"wxCAL_HITTEST_HEADER", PyInt_FromLong((long) wxCAL_HITTEST_HEADER
));
2154 PyDict_SetItemString(d
,"wxCAL_HITTEST_DAY", PyInt_FromLong((long) wxCAL_HITTEST_DAY
));
2155 PyDict_SetItemString(d
,"wxCAL_HITTEST_INCMONTH", PyInt_FromLong((long) wxCAL_HITTEST_INCMONTH
));
2156 PyDict_SetItemString(d
,"wxCAL_HITTEST_DECMONTH", PyInt_FromLong((long) wxCAL_HITTEST_DECMONTH
));
2157 PyDict_SetItemString(d
,"wxCAL_HITTEST_SURROUNDING_WEEK", PyInt_FromLong((long) wxCAL_HITTEST_SURROUNDING_WEEK
));
2158 PyDict_SetItemString(d
,"wxCAL_BORDER_NONE", PyInt_FromLong((long) wxCAL_BORDER_NONE
));
2159 PyDict_SetItemString(d
,"wxCAL_BORDER_SQUARE", PyInt_FromLong((long) wxCAL_BORDER_SQUARE
));
2160 PyDict_SetItemString(d
,"wxCAL_BORDER_ROUND", PyInt_FromLong((long) wxCAL_BORDER_ROUND
));
2161 PyDict_SetItemString(d
,"wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_CALENDAR_DOUBLECLICKED
));
2162 PyDict_SetItemString(d
,"wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_SEL_CHANGED
));
2163 PyDict_SetItemString(d
,"wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_DAY_CHANGED
));
2164 PyDict_SetItemString(d
,"wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_MONTH_CHANGED
));
2165 PyDict_SetItemString(d
,"wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_YEAR_CHANGED
));
2166 PyDict_SetItemString(d
,"wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong((long) wxEVT_CALENDAR_WEEKDAY_CLICKED
));
2168 wxClassInfo::CleanUpClasses();
2169 wxClassInfo::InitializeClasses();
2172 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2173 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);