2 * FILE : src/msw/calendar.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcalendarc
56 #define SWIG_name "calendarc"
59 #include <wx/calctrl.h>
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
);
90 #define new_wxCalendarDateAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxCalendarDateAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
91 static PyObject
*_wrap_new_wxCalendarDateAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
92 PyObject
* _resultobj
;
93 wxCalendarDateAttr
* _result
;
95 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
96 wxColour
* _arg2
= (wxColour
*) &wxNullColour
;
97 wxFont
* _arg3
= (wxFont
*) &wxNullFont
;
98 wxCalendarDateBorder _arg4
= (wxCalendarDateBorder
) (wxCAL_BORDER_NONE
);
100 PyObject
* _obj0
= 0;
102 PyObject
* _obj1
= 0;
104 PyObject
* _obj2
= 0;
105 PyObject
* _argo3
= 0;
106 char *_kwnames
[] = { "colText","colBack","colBorder","font","border", NULL
};
110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOi:new_wxCalendarDateAttr",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
))
114 if (! wxColour_helper(_obj0
, &_arg0
))
120 if (! wxColour_helper(_obj1
, &_arg1
))
126 if (! wxColour_helper(_obj2
, &_arg2
))
130 if (_argo3
== Py_None
) { _arg3
= NULL
; }
131 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxCalendarDateAttr. Expected _wxFont_p.");
137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
138 _result
= (wxCalendarDateAttr
*)new_wxCalendarDateAttr(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
140 wxPyEndAllowThreads(__tstate
);
141 if (PyErr_Occurred()) return NULL
;
143 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
144 _resultobj
= Py_BuildValue("s",_ptemp
);
147 _resultobj
= Py_None
;
152 #define new_wxCalendarDateAttrBorder(_swigarg0,_swigarg1) (new wxCalendarDateAttr(_swigarg0,_swigarg1))
153 static PyObject
*_wrap_new_wxCalendarDateAttrBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
154 PyObject
* _resultobj
;
155 wxCalendarDateAttr
* _result
;
156 wxCalendarDateBorder _arg0
;
157 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
159 PyObject
* _obj1
= 0;
160 char *_kwnames
[] = { "border","colBorder", NULL
};
164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|O:new_wxCalendarDateAttrBorder",_kwnames
,&_arg0
,&_obj1
))
169 if (! wxColour_helper(_obj1
, &_arg1
))
173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
174 _result
= (wxCalendarDateAttr
*)new_wxCalendarDateAttrBorder(_arg0
,*_arg1
);
176 wxPyEndAllowThreads(__tstate
);
177 if (PyErr_Occurred()) return NULL
;
179 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
180 _resultobj
= Py_BuildValue("s",_ptemp
);
183 _resultobj
= Py_None
;
188 #define wxCalendarDateAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
189 static PyObject
*_wrap_wxCalendarDateAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
190 PyObject
* _resultobj
;
191 wxCalendarDateAttr
* _arg0
;
193 PyObject
* _argo0
= 0;
195 PyObject
* _obj1
= 0;
196 char *_kwnames
[] = { "self","colText", NULL
};
199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetTextColour. Expected _wxCalendarDateAttr_p.");
210 if (! wxColour_helper(_obj1
, &_arg1
))
214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
215 wxCalendarDateAttr_SetTextColour(_arg0
,*_arg1
);
217 wxPyEndAllowThreads(__tstate
);
218 if (PyErr_Occurred()) return NULL
;
219 } Py_INCREF(Py_None
);
220 _resultobj
= Py_None
;
224 #define wxCalendarDateAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
225 static PyObject
*_wrap_wxCalendarDateAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
226 PyObject
* _resultobj
;
227 wxCalendarDateAttr
* _arg0
;
229 PyObject
* _argo0
= 0;
231 PyObject
* _obj1
= 0;
232 char *_kwnames
[] = { "self","colBack", NULL
};
235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBackgroundColour. Expected _wxCalendarDateAttr_p.");
246 if (! wxColour_helper(_obj1
, &_arg1
))
250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
251 wxCalendarDateAttr_SetBackgroundColour(_arg0
,*_arg1
);
253 wxPyEndAllowThreads(__tstate
);
254 if (PyErr_Occurred()) return NULL
;
255 } Py_INCREF(Py_None
);
256 _resultobj
= Py_None
;
260 #define wxCalendarDateAttr_SetBorderColour(_swigobj,_swigarg0) (_swigobj->SetBorderColour(_swigarg0))
261 static PyObject
*_wrap_wxCalendarDateAttr_SetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
262 PyObject
* _resultobj
;
263 wxCalendarDateAttr
* _arg0
;
265 PyObject
* _argo0
= 0;
267 PyObject
* _obj1
= 0;
268 char *_kwnames
[] = { "self","col", NULL
};
271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetBorderColour",_kwnames
,&_argo0
,&_obj1
))
274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBorderColour. Expected _wxCalendarDateAttr_p.");
282 if (! wxColour_helper(_obj1
, &_arg1
))
286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
287 wxCalendarDateAttr_SetBorderColour(_arg0
,*_arg1
);
289 wxPyEndAllowThreads(__tstate
);
290 if (PyErr_Occurred()) return NULL
;
291 } Py_INCREF(Py_None
);
292 _resultobj
= Py_None
;
296 #define wxCalendarDateAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
297 static PyObject
*_wrap_wxCalendarDateAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
298 PyObject
* _resultobj
;
299 wxCalendarDateAttr
* _arg0
;
301 PyObject
* _argo0
= 0;
302 PyObject
* _argo1
= 0;
303 char *_kwnames
[] = { "self","font", NULL
};
306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetFont. Expected _wxCalendarDateAttr_p.");
316 if (_argo1
== Py_None
) { _arg1
= NULL
; }
317 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarDateAttr_SetFont. Expected _wxFont_p.");
323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
324 wxCalendarDateAttr_SetFont(_arg0
,*_arg1
);
326 wxPyEndAllowThreads(__tstate
);
327 if (PyErr_Occurred()) return NULL
;
328 } Py_INCREF(Py_None
);
329 _resultobj
= Py_None
;
333 #define wxCalendarDateAttr_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
334 static PyObject
*_wrap_wxCalendarDateAttr_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
335 PyObject
* _resultobj
;
336 wxCalendarDateAttr
* _arg0
;
337 wxCalendarDateBorder _arg1
;
338 PyObject
* _argo0
= 0;
339 char *_kwnames
[] = { "self","border", NULL
};
342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarDateAttr_SetBorder",_kwnames
,&_argo0
,&_arg1
))
345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBorder. Expected _wxCalendarDateAttr_p.");
352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
353 wxCalendarDateAttr_SetBorder(_arg0
,_arg1
);
355 wxPyEndAllowThreads(__tstate
);
356 if (PyErr_Occurred()) return NULL
;
357 } Py_INCREF(Py_None
);
358 _resultobj
= Py_None
;
362 #define wxCalendarDateAttr_SetHoliday(_swigobj,_swigarg0) (_swigobj->SetHoliday(_swigarg0))
363 static PyObject
*_wrap_wxCalendarDateAttr_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
364 PyObject
* _resultobj
;
365 wxCalendarDateAttr
* _arg0
;
367 PyObject
* _argo0
= 0;
369 char *_kwnames
[] = { "self","holiday", NULL
};
372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarDateAttr_SetHoliday",_kwnames
,&_argo0
,&tempbool1
))
375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetHoliday. Expected _wxCalendarDateAttr_p.");
381 _arg1
= (bool ) tempbool1
;
383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
384 wxCalendarDateAttr_SetHoliday(_arg0
,_arg1
);
386 wxPyEndAllowThreads(__tstate
);
387 if (PyErr_Occurred()) return NULL
;
388 } Py_INCREF(Py_None
);
389 _resultobj
= Py_None
;
393 #define wxCalendarDateAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
394 static PyObject
*_wrap_wxCalendarDateAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
395 PyObject
* _resultobj
;
397 wxCalendarDateAttr
* _arg0
;
398 PyObject
* _argo0
= 0;
399 char *_kwnames
[] = { "self", NULL
};
402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasTextColour",_kwnames
,&_argo0
))
405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasTextColour. Expected _wxCalendarDateAttr_p.");
412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
413 _result
= (bool )wxCalendarDateAttr_HasTextColour(_arg0
);
415 wxPyEndAllowThreads(__tstate
);
416 if (PyErr_Occurred()) return NULL
;
417 } _resultobj
= Py_BuildValue("i",_result
);
421 #define wxCalendarDateAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
422 static PyObject
*_wrap_wxCalendarDateAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
423 PyObject
* _resultobj
;
425 wxCalendarDateAttr
* _arg0
;
426 PyObject
* _argo0
= 0;
427 char *_kwnames
[] = { "self", NULL
};
430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBackgroundColour",_kwnames
,&_argo0
))
433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBackgroundColour. Expected _wxCalendarDateAttr_p.");
440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
441 _result
= (bool )wxCalendarDateAttr_HasBackgroundColour(_arg0
);
443 wxPyEndAllowThreads(__tstate
);
444 if (PyErr_Occurred()) return NULL
;
445 } _resultobj
= Py_BuildValue("i",_result
);
449 #define wxCalendarDateAttr_HasBorderColour(_swigobj) (_swigobj->HasBorderColour())
450 static PyObject
*_wrap_wxCalendarDateAttr_HasBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
451 PyObject
* _resultobj
;
453 wxCalendarDateAttr
* _arg0
;
454 PyObject
* _argo0
= 0;
455 char *_kwnames
[] = { "self", NULL
};
458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBorderColour",_kwnames
,&_argo0
))
461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBorderColour. Expected _wxCalendarDateAttr_p.");
468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
469 _result
= (bool )wxCalendarDateAttr_HasBorderColour(_arg0
);
471 wxPyEndAllowThreads(__tstate
);
472 if (PyErr_Occurred()) return NULL
;
473 } _resultobj
= Py_BuildValue("i",_result
);
477 #define wxCalendarDateAttr_HasFont(_swigobj) (_swigobj->HasFont())
478 static PyObject
*_wrap_wxCalendarDateAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
479 PyObject
* _resultobj
;
481 wxCalendarDateAttr
* _arg0
;
482 PyObject
* _argo0
= 0;
483 char *_kwnames
[] = { "self", NULL
};
486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasFont",_kwnames
,&_argo0
))
489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasFont. Expected _wxCalendarDateAttr_p.");
496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
497 _result
= (bool )wxCalendarDateAttr_HasFont(_arg0
);
499 wxPyEndAllowThreads(__tstate
);
500 if (PyErr_Occurred()) return NULL
;
501 } _resultobj
= Py_BuildValue("i",_result
);
505 #define wxCalendarDateAttr_HasBorder(_swigobj) (_swigobj->HasBorder())
506 static PyObject
*_wrap_wxCalendarDateAttr_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
507 PyObject
* _resultobj
;
509 wxCalendarDateAttr
* _arg0
;
510 PyObject
* _argo0
= 0;
511 char *_kwnames
[] = { "self", NULL
};
514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBorder",_kwnames
,&_argo0
))
517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBorder. Expected _wxCalendarDateAttr_p.");
524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
525 _result
= (bool )wxCalendarDateAttr_HasBorder(_arg0
);
527 wxPyEndAllowThreads(__tstate
);
528 if (PyErr_Occurred()) return NULL
;
529 } _resultobj
= Py_BuildValue("i",_result
);
533 #define wxCalendarDateAttr_IsHoliday(_swigobj) (_swigobj->IsHoliday())
534 static PyObject
*_wrap_wxCalendarDateAttr_IsHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
535 PyObject
* _resultobj
;
537 wxCalendarDateAttr
* _arg0
;
538 PyObject
* _argo0
= 0;
539 char *_kwnames
[] = { "self", NULL
};
542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_IsHoliday",_kwnames
,&_argo0
))
545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_IsHoliday. Expected _wxCalendarDateAttr_p.");
552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
553 _result
= (bool )wxCalendarDateAttr_IsHoliday(_arg0
);
555 wxPyEndAllowThreads(__tstate
);
556 if (PyErr_Occurred()) return NULL
;
557 } _resultobj
= Py_BuildValue("i",_result
);
561 #define wxCalendarDateAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
562 static PyObject
*_wrap_wxCalendarDateAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
563 PyObject
* _resultobj
;
565 wxCalendarDateAttr
* _arg0
;
566 PyObject
* _argo0
= 0;
567 char *_kwnames
[] = { "self", NULL
};
571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetTextColour",_kwnames
,&_argo0
))
574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetTextColour. Expected _wxCalendarDateAttr_p.");
581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
582 _result
= new wxColour (wxCalendarDateAttr_GetTextColour(_arg0
));
584 wxPyEndAllowThreads(__tstate
);
585 if (PyErr_Occurred()) return NULL
;
586 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
587 _resultobj
= Py_BuildValue("s",_ptemp
);
591 #define wxCalendarDateAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
592 static PyObject
*_wrap_wxCalendarDateAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
593 PyObject
* _resultobj
;
595 wxCalendarDateAttr
* _arg0
;
596 PyObject
* _argo0
= 0;
597 char *_kwnames
[] = { "self", NULL
};
601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBackgroundColour",_kwnames
,&_argo0
))
604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBackgroundColour. Expected _wxCalendarDateAttr_p.");
611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
612 _result
= new wxColour (wxCalendarDateAttr_GetBackgroundColour(_arg0
));
614 wxPyEndAllowThreads(__tstate
);
615 if (PyErr_Occurred()) return NULL
;
616 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
617 _resultobj
= Py_BuildValue("s",_ptemp
);
621 #define wxCalendarDateAttr_GetBorderColour(_swigobj) (_swigobj->GetBorderColour())
622 static PyObject
*_wrap_wxCalendarDateAttr_GetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
623 PyObject
* _resultobj
;
625 wxCalendarDateAttr
* _arg0
;
626 PyObject
* _argo0
= 0;
627 char *_kwnames
[] = { "self", NULL
};
631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBorderColour",_kwnames
,&_argo0
))
634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBorderColour. Expected _wxCalendarDateAttr_p.");
641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
642 _result
= new wxColour (wxCalendarDateAttr_GetBorderColour(_arg0
));
644 wxPyEndAllowThreads(__tstate
);
645 if (PyErr_Occurred()) return NULL
;
646 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
647 _resultobj
= Py_BuildValue("s",_ptemp
);
651 #define wxCalendarDateAttr_GetFont(_swigobj) (_swigobj->GetFont())
652 static PyObject
*_wrap_wxCalendarDateAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
653 PyObject
* _resultobj
;
655 wxCalendarDateAttr
* _arg0
;
656 PyObject
* _argo0
= 0;
657 char *_kwnames
[] = { "self", NULL
};
661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetFont",_kwnames
,&_argo0
))
664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetFont. Expected _wxCalendarDateAttr_p.");
671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
672 _result
= new wxFont (wxCalendarDateAttr_GetFont(_arg0
));
674 wxPyEndAllowThreads(__tstate
);
675 if (PyErr_Occurred()) return NULL
;
676 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
677 _resultobj
= Py_BuildValue("s",_ptemp
);
681 #define wxCalendarDateAttr_GetBorder(_swigobj) (_swigobj->GetBorder())
682 static PyObject
*_wrap_wxCalendarDateAttr_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
683 PyObject
* _resultobj
;
684 wxCalendarDateBorder _result
;
685 wxCalendarDateAttr
* _arg0
;
686 PyObject
* _argo0
= 0;
687 char *_kwnames
[] = { "self", NULL
};
690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBorder",_kwnames
,&_argo0
))
693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBorder. Expected _wxCalendarDateAttr_p.");
700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
701 _result
= (wxCalendarDateBorder
)wxCalendarDateAttr_GetBorder(_arg0
);
703 wxPyEndAllowThreads(__tstate
);
704 if (PyErr_Occurred()) return NULL
;
705 } _resultobj
= Py_BuildValue("i",_result
);
709 static void *SwigwxCalendarEventTowxCommandEvent(void *ptr
) {
710 wxCalendarEvent
*src
;
711 wxCommandEvent
*dest
;
712 src
= (wxCalendarEvent
*) ptr
;
713 dest
= (wxCommandEvent
*) src
;
714 return (void *) dest
;
717 static void *SwigwxCalendarEventTowxEvent(void *ptr
) {
718 wxCalendarEvent
*src
;
720 src
= (wxCalendarEvent
*) ptr
;
721 dest
= (wxEvent
*) src
;
722 return (void *) dest
;
725 static void *SwigwxCalendarEventTowxObject(void *ptr
) {
726 wxCalendarEvent
*src
;
728 src
= (wxCalendarEvent
*) ptr
;
729 dest
= (wxObject
*) src
;
730 return (void *) dest
;
733 #define new_wxCalendarEvent(_swigarg0,_swigarg1) (new wxCalendarEvent(_swigarg0,_swigarg1))
734 static PyObject
*_wrap_new_wxCalendarEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
735 PyObject
* _resultobj
;
736 wxCalendarEvent
* _result
;
737 wxCalendarCtrl
* _arg0
;
739 PyObject
* _argo0
= 0;
740 char *_kwnames
[] = { "cal","type", NULL
};
744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:new_wxCalendarEvent",_kwnames
,&_argo0
,&_arg1
))
747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCalendarEvent. Expected _wxCalendarCtrl_p.");
754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
755 _result
= (wxCalendarEvent
*)new_wxCalendarEvent(_arg0
,_arg1
);
757 wxPyEndAllowThreads(__tstate
);
758 if (PyErr_Occurred()) return NULL
;
760 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarEvent_p");
761 _resultobj
= Py_BuildValue("s",_ptemp
);
764 _resultobj
= Py_None
;
769 #define wxCalendarEvent_GetDate(_swigobj) (_swigobj->GetDate())
770 static PyObject
*_wrap_wxCalendarEvent_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
771 PyObject
* _resultobj
;
772 wxDateTime
* _result
;
773 wxCalendarEvent
* _arg0
;
774 PyObject
* _argo0
= 0;
775 char *_kwnames
[] = { "self", NULL
};
779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarEvent_GetDate",_kwnames
,&_argo0
))
782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarEvent_p")) {
784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarEvent_GetDate. Expected _wxCalendarEvent_p.");
789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
790 const wxDateTime
& _result_ref
= wxCalendarEvent_GetDate(_arg0
);
791 _result
= (wxDateTime
*) &_result_ref
;
793 wxPyEndAllowThreads(__tstate
);
794 if (PyErr_Occurred()) return NULL
;
796 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
797 _resultobj
= Py_BuildValue("s",_ptemp
);
800 _resultobj
= Py_None
;
805 #define wxCalendarEvent_GetWeekDay(_swigobj) (_swigobj->GetWeekDay())
806 static PyObject
*_wrap_wxCalendarEvent_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
807 PyObject
* _resultobj
;
808 wxDateTime::WeekDay _result
;
809 wxCalendarEvent
* _arg0
;
810 PyObject
* _argo0
= 0;
811 char *_kwnames
[] = { "self", NULL
};
814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarEvent_GetWeekDay",_kwnames
,&_argo0
))
817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarEvent_p")) {
819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarEvent_GetWeekDay. Expected _wxCalendarEvent_p.");
824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
825 _result
= (wxDateTime::WeekDay
)wxCalendarEvent_GetWeekDay(_arg0
);
827 wxPyEndAllowThreads(__tstate
);
828 if (PyErr_Occurred()) return NULL
;
829 } _resultobj
= Py_BuildValue("i",_result
);
833 static void *SwigwxCalendarCtrlTowxControl(void *ptr
) {
836 src
= (wxCalendarCtrl
*) ptr
;
837 dest
= (wxControl
*) src
;
838 return (void *) dest
;
841 static void *SwigwxCalendarCtrlTowxWindow(void *ptr
) {
844 src
= (wxCalendarCtrl
*) ptr
;
845 dest
= (wxWindow
*) src
;
846 return (void *) dest
;
849 static void *SwigwxCalendarCtrlTowxEvtHandler(void *ptr
) {
852 src
= (wxCalendarCtrl
*) ptr
;
853 dest
= (wxEvtHandler
*) src
;
854 return (void *) dest
;
857 static void *SwigwxCalendarCtrlTowxObject(void *ptr
) {
860 src
= (wxCalendarCtrl
*) ptr
;
861 dest
= (wxObject
*) src
;
862 return (void *) dest
;
865 #define new_wxCalendarCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxCalendarCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
866 static PyObject
*_wrap_new_wxCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
867 PyObject
* _resultobj
;
868 wxCalendarCtrl
* _result
;
871 wxDateTime
* _arg2
= (wxDateTime
*) &wxDefaultDateTime
;
872 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
873 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
874 long _arg5
= (long ) (wxCAL_SHOW_HOLIDAYS
)|wxWANTS_CHARS
;
875 char * _arg6
= (char *) "calendar";
876 PyObject
* _argo0
= 0;
877 PyObject
* _argo2
= 0;
879 PyObject
* _obj3
= 0;
881 PyObject
* _obj4
= 0;
882 char *_kwnames
[] = { "parent","id","date","pos","size","style","name", NULL
};
886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOls:new_wxCalendarCtrl",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCalendarCtrl. Expected _wxWindow_p.");
896 if (_argo2
== Py_None
) { _arg2
= NULL
; }
897 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxCalendarCtrl. Expected _wxDateTime_p.");
905 if (! wxPoint_helper(_obj3
, &_arg3
))
911 if (! wxSize_helper(_obj4
, &_arg4
))
915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
916 _result
= (wxCalendarCtrl
*)new_wxCalendarCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
918 wxPyEndAllowThreads(__tstate
);
919 if (PyErr_Occurred()) return NULL
;
921 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarCtrl_p");
922 _resultobj
= Py_BuildValue("s",_ptemp
);
925 _resultobj
= Py_None
;
930 #define new_wxPreCalendarCtrl() (new wxCalendarCtrl())
931 static PyObject
*_wrap_new_wxPreCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
932 PyObject
* _resultobj
;
933 wxCalendarCtrl
* _result
;
934 char *_kwnames
[] = { NULL
};
938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCalendarCtrl",_kwnames
))
941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
942 _result
= (wxCalendarCtrl
*)new_wxPreCalendarCtrl();
944 wxPyEndAllowThreads(__tstate
);
945 if (PyErr_Occurred()) return NULL
;
947 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarCtrl_p");
948 _resultobj
= Py_BuildValue("s",_ptemp
);
951 _resultobj
= Py_None
;
956 #define wxCalendarCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
957 static PyObject
*_wrap_wxCalendarCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
958 PyObject
* _resultobj
;
960 wxCalendarCtrl
* _arg0
;
963 wxDateTime
* _arg3
= (wxDateTime
*) &wxDefaultDateTime
;
964 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
965 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
966 long _arg6
= (long ) (wxCAL_SHOW_HOLIDAYS
)|wxWANTS_CHARS
;
967 char * _arg7
= (char *) "calendar";
968 PyObject
* _argo0
= 0;
969 PyObject
* _argo1
= 0;
970 PyObject
* _argo3
= 0;
972 PyObject
* _obj4
= 0;
974 PyObject
* _obj5
= 0;
975 char *_kwnames
[] = { "self","parent","id","date","pos","size","style","name", NULL
};
978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOls:wxCalendarCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_Create. Expected _wxCalendarCtrl_p.");
988 if (_argo1
== Py_None
) { _arg1
= NULL
; }
989 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_Create. Expected _wxWindow_p.");
995 if (_argo3
== Py_None
) { _arg3
= NULL
; }
996 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime_p")) {
997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxCalendarCtrl_Create. Expected _wxDateTime_p.");
1004 if (! wxPoint_helper(_obj4
, &_arg4
))
1010 if (! wxSize_helper(_obj5
, &_arg5
))
1014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1015 _result
= (bool )wxCalendarCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
1017 wxPyEndAllowThreads(__tstate
);
1018 if (PyErr_Occurred()) return NULL
;
1019 } _resultobj
= Py_BuildValue("i",_result
);
1023 #define wxCalendarCtrl_SetDate(_swigobj,_swigarg0) (_swigobj->SetDate(_swigarg0))
1024 static PyObject
*_wrap_wxCalendarCtrl_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1025 PyObject
* _resultobj
;
1026 wxCalendarCtrl
* _arg0
;
1028 PyObject
* _argo0
= 0;
1029 PyObject
* _argo1
= 0;
1030 char *_kwnames
[] = { "self","date", NULL
};
1033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarCtrl_SetDate",_kwnames
,&_argo0
,&_argo1
))
1036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetDate. Expected _wxCalendarCtrl_p.");
1043 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1044 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
1045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetDate. Expected _wxDateTime_p.");
1050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1051 wxCalendarCtrl_SetDate(_arg0
,*_arg1
);
1053 wxPyEndAllowThreads(__tstate
);
1054 if (PyErr_Occurred()) return NULL
;
1055 } Py_INCREF(Py_None
);
1056 _resultobj
= Py_None
;
1060 #define wxCalendarCtrl_GetDate(_swigobj) (_swigobj->GetDate())
1061 static PyObject
*_wrap_wxCalendarCtrl_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1062 PyObject
* _resultobj
;
1063 wxDateTime
* _result
;
1064 wxCalendarCtrl
* _arg0
;
1065 PyObject
* _argo0
= 0;
1066 char *_kwnames
[] = { "self", NULL
};
1070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetDate",_kwnames
,&_argo0
))
1073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetDate. Expected _wxCalendarCtrl_p.");
1080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1081 const wxDateTime
& _result_ref
= wxCalendarCtrl_GetDate(_arg0
);
1082 _result
= (wxDateTime
*) &_result_ref
;
1084 wxPyEndAllowThreads(__tstate
);
1085 if (PyErr_Occurred()) return NULL
;
1087 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
1088 _resultobj
= Py_BuildValue("s",_ptemp
);
1091 _resultobj
= Py_None
;
1096 #define wxCalendarCtrl_SetLowerDateLimit(_swigobj,_swigarg0) (_swigobj->SetLowerDateLimit(_swigarg0))
1097 static PyObject
*_wrap_wxCalendarCtrl_SetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1098 PyObject
* _resultobj
;
1100 wxCalendarCtrl
* _arg0
;
1101 wxDateTime
* _arg1
= (wxDateTime
*) &wxDefaultDateTime
;
1102 PyObject
* _argo0
= 0;
1103 PyObject
* _argo1
= 0;
1104 char *_kwnames
[] = { "self","date", NULL
};
1107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxCalendarCtrl_SetLowerDateLimit",_kwnames
,&_argo0
,&_argo1
))
1110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetLowerDateLimit. Expected _wxCalendarCtrl_p.");
1117 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1118 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
1119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetLowerDateLimit. Expected _wxDateTime_p.");
1124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1125 _result
= (bool )wxCalendarCtrl_SetLowerDateLimit(_arg0
,*_arg1
);
1127 wxPyEndAllowThreads(__tstate
);
1128 if (PyErr_Occurred()) return NULL
;
1129 } _resultobj
= Py_BuildValue("i",_result
);
1133 #define wxCalendarCtrl_GetLowerDateLimit(_swigobj) (_swigobj->GetLowerDateLimit())
1134 static PyObject
*_wrap_wxCalendarCtrl_GetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1135 PyObject
* _resultobj
;
1136 wxDateTime
* _result
;
1137 wxCalendarCtrl
* _arg0
;
1138 PyObject
* _argo0
= 0;
1139 char *_kwnames
[] = { "self", NULL
};
1143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetLowerDateLimit",_kwnames
,&_argo0
))
1146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetLowerDateLimit. Expected _wxCalendarCtrl_p.");
1153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1154 const wxDateTime
& _result_ref
= wxCalendarCtrl_GetLowerDateLimit(_arg0
);
1155 _result
= (wxDateTime
*) &_result_ref
;
1157 wxPyEndAllowThreads(__tstate
);
1158 if (PyErr_Occurred()) return NULL
;
1160 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
1161 _resultobj
= Py_BuildValue("s",_ptemp
);
1164 _resultobj
= Py_None
;
1169 #define wxCalendarCtrl_SetUpperDateLimit(_swigobj,_swigarg0) (_swigobj->SetUpperDateLimit(_swigarg0))
1170 static PyObject
*_wrap_wxCalendarCtrl_SetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1171 PyObject
* _resultobj
;
1173 wxCalendarCtrl
* _arg0
;
1174 wxDateTime
* _arg1
= (wxDateTime
*) &wxDefaultDateTime
;
1175 PyObject
* _argo0
= 0;
1176 PyObject
* _argo1
= 0;
1177 char *_kwnames
[] = { "self","date", NULL
};
1180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxCalendarCtrl_SetUpperDateLimit",_kwnames
,&_argo0
,&_argo1
))
1183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetUpperDateLimit. Expected _wxCalendarCtrl_p.");
1190 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1191 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
1192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetUpperDateLimit. Expected _wxDateTime_p.");
1197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1198 _result
= (bool )wxCalendarCtrl_SetUpperDateLimit(_arg0
,*_arg1
);
1200 wxPyEndAllowThreads(__tstate
);
1201 if (PyErr_Occurred()) return NULL
;
1202 } _resultobj
= Py_BuildValue("i",_result
);
1206 #define wxCalendarCtrl_GetUpperDateLimit(_swigobj) (_swigobj->GetUpperDateLimit())
1207 static PyObject
*_wrap_wxCalendarCtrl_GetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1208 PyObject
* _resultobj
;
1209 wxDateTime
* _result
;
1210 wxCalendarCtrl
* _arg0
;
1211 PyObject
* _argo0
= 0;
1212 char *_kwnames
[] = { "self", NULL
};
1216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetUpperDateLimit",_kwnames
,&_argo0
))
1219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetUpperDateLimit. Expected _wxCalendarCtrl_p.");
1226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1227 const wxDateTime
& _result_ref
= wxCalendarCtrl_GetUpperDateLimit(_arg0
);
1228 _result
= (wxDateTime
*) &_result_ref
;
1230 wxPyEndAllowThreads(__tstate
);
1231 if (PyErr_Occurred()) return NULL
;
1233 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
1234 _resultobj
= Py_BuildValue("s",_ptemp
);
1237 _resultobj
= Py_None
;
1242 #define wxCalendarCtrl_SetDateRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDateRange(_swigarg0,_swigarg1))
1243 static PyObject
*_wrap_wxCalendarCtrl_SetDateRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1244 PyObject
* _resultobj
;
1246 wxCalendarCtrl
* _arg0
;
1247 wxDateTime
* _arg1
= (wxDateTime
*) &wxDefaultDateTime
;
1248 wxDateTime
* _arg2
= (wxDateTime
*) &wxDefaultDateTime
;
1249 PyObject
* _argo0
= 0;
1250 PyObject
* _argo1
= 0;
1251 PyObject
* _argo2
= 0;
1252 char *_kwnames
[] = { "self","lowerdate","upperdate", NULL
};
1255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxCalendarCtrl_SetDateRange",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetDateRange. Expected _wxCalendarCtrl_p.");
1265 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1266 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
1267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetDateRange. Expected _wxDateTime_p.");
1272 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1273 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
1274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_SetDateRange. Expected _wxDateTime_p.");
1279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1280 _result
= (bool )wxCalendarCtrl_SetDateRange(_arg0
,*_arg1
,*_arg2
);
1282 wxPyEndAllowThreads(__tstate
);
1283 if (PyErr_Occurred()) return NULL
;
1284 } _resultobj
= Py_BuildValue("i",_result
);
1288 #define wxCalendarCtrl_EnableYearChange(_swigobj,_swigarg0) (_swigobj->EnableYearChange(_swigarg0))
1289 static PyObject
*_wrap_wxCalendarCtrl_EnableYearChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1290 PyObject
* _resultobj
;
1291 wxCalendarCtrl
* _arg0
;
1292 bool _arg1
= (bool ) TRUE
;
1293 PyObject
* _argo0
= 0;
1294 int tempbool1
= (int) TRUE
;
1295 char *_kwnames
[] = { "self","enable", NULL
};
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableYearChange",_kwnames
,&_argo0
,&tempbool1
))
1301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableYearChange. Expected _wxCalendarCtrl_p.");
1307 _arg1
= (bool ) tempbool1
;
1309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1310 wxCalendarCtrl_EnableYearChange(_arg0
,_arg1
);
1312 wxPyEndAllowThreads(__tstate
);
1313 if (PyErr_Occurred()) return NULL
;
1314 } Py_INCREF(Py_None
);
1315 _resultobj
= Py_None
;
1319 #define wxCalendarCtrl_EnableMonthChange(_swigobj,_swigarg0) (_swigobj->EnableMonthChange(_swigarg0))
1320 static PyObject
*_wrap_wxCalendarCtrl_EnableMonthChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1321 PyObject
* _resultobj
;
1322 wxCalendarCtrl
* _arg0
;
1323 bool _arg1
= (bool ) TRUE
;
1324 PyObject
* _argo0
= 0;
1325 int tempbool1
= (int) TRUE
;
1326 char *_kwnames
[] = { "self","enable", NULL
};
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableMonthChange",_kwnames
,&_argo0
,&tempbool1
))
1332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableMonthChange. Expected _wxCalendarCtrl_p.");
1338 _arg1
= (bool ) tempbool1
;
1340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1341 wxCalendarCtrl_EnableMonthChange(_arg0
,_arg1
);
1343 wxPyEndAllowThreads(__tstate
);
1344 if (PyErr_Occurred()) return NULL
;
1345 } Py_INCREF(Py_None
);
1346 _resultobj
= Py_None
;
1350 #define wxCalendarCtrl_EnableHolidayDisplay(_swigobj,_swigarg0) (_swigobj->EnableHolidayDisplay(_swigarg0))
1351 static PyObject
*_wrap_wxCalendarCtrl_EnableHolidayDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1352 PyObject
* _resultobj
;
1353 wxCalendarCtrl
* _arg0
;
1354 bool _arg1
= (bool ) TRUE
;
1355 PyObject
* _argo0
= 0;
1356 int tempbool1
= (int) TRUE
;
1357 char *_kwnames
[] = { "self","display", NULL
};
1360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableHolidayDisplay",_kwnames
,&_argo0
,&tempbool1
))
1363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableHolidayDisplay. Expected _wxCalendarCtrl_p.");
1369 _arg1
= (bool ) tempbool1
;
1371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1372 wxCalendarCtrl_EnableHolidayDisplay(_arg0
,_arg1
);
1374 wxPyEndAllowThreads(__tstate
);
1375 if (PyErr_Occurred()) return NULL
;
1376 } Py_INCREF(Py_None
);
1377 _resultobj
= Py_None
;
1381 #define wxCalendarCtrl_SetHeaderColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeaderColours(_swigarg0,_swigarg1))
1382 static PyObject
*_wrap_wxCalendarCtrl_SetHeaderColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1383 PyObject
* _resultobj
;
1384 wxCalendarCtrl
* _arg0
;
1387 PyObject
* _argo0
= 0;
1389 PyObject
* _obj1
= 0;
1391 PyObject
* _obj2
= 0;
1392 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHeaderColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHeaderColours. Expected _wxCalendarCtrl_p.");
1406 if (! wxColour_helper(_obj1
, &_arg1
))
1411 if (! wxColour_helper(_obj2
, &_arg2
))
1415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1416 wxCalendarCtrl_SetHeaderColours(_arg0
,*_arg1
,*_arg2
);
1418 wxPyEndAllowThreads(__tstate
);
1419 if (PyErr_Occurred()) return NULL
;
1420 } Py_INCREF(Py_None
);
1421 _resultobj
= Py_None
;
1425 #define wxCalendarCtrl_GetHeaderColourFg(_swigobj) (_swigobj->GetHeaderColourFg())
1426 static PyObject
*_wrap_wxCalendarCtrl_GetHeaderColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1427 PyObject
* _resultobj
;
1429 wxCalendarCtrl
* _arg0
;
1430 PyObject
* _argo0
= 0;
1431 char *_kwnames
[] = { "self", NULL
};
1435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHeaderColourFg",_kwnames
,&_argo0
))
1438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHeaderColourFg. Expected _wxCalendarCtrl_p.");
1445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1446 _result
= new wxColour (wxCalendarCtrl_GetHeaderColourFg(_arg0
));
1448 wxPyEndAllowThreads(__tstate
);
1449 if (PyErr_Occurred()) return NULL
;
1450 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1451 _resultobj
= Py_BuildValue("s",_ptemp
);
1455 #define wxCalendarCtrl_GetHeaderColourBg(_swigobj) (_swigobj->GetHeaderColourBg())
1456 static PyObject
*_wrap_wxCalendarCtrl_GetHeaderColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1457 PyObject
* _resultobj
;
1459 wxCalendarCtrl
* _arg0
;
1460 PyObject
* _argo0
= 0;
1461 char *_kwnames
[] = { "self", NULL
};
1465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHeaderColourBg",_kwnames
,&_argo0
))
1468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHeaderColourBg. Expected _wxCalendarCtrl_p.");
1475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1476 _result
= new wxColour (wxCalendarCtrl_GetHeaderColourBg(_arg0
));
1478 wxPyEndAllowThreads(__tstate
);
1479 if (PyErr_Occurred()) return NULL
;
1480 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1481 _resultobj
= Py_BuildValue("s",_ptemp
);
1485 #define wxCalendarCtrl_SetHighlightColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlightColours(_swigarg0,_swigarg1))
1486 static PyObject
*_wrap_wxCalendarCtrl_SetHighlightColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1487 PyObject
* _resultobj
;
1488 wxCalendarCtrl
* _arg0
;
1491 PyObject
* _argo0
= 0;
1493 PyObject
* _obj1
= 0;
1495 PyObject
* _obj2
= 0;
1496 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHighlightColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHighlightColours. Expected _wxCalendarCtrl_p.");
1510 if (! wxColour_helper(_obj1
, &_arg1
))
1515 if (! wxColour_helper(_obj2
, &_arg2
))
1519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1520 wxCalendarCtrl_SetHighlightColours(_arg0
,*_arg1
,*_arg2
);
1522 wxPyEndAllowThreads(__tstate
);
1523 if (PyErr_Occurred()) return NULL
;
1524 } Py_INCREF(Py_None
);
1525 _resultobj
= Py_None
;
1529 #define wxCalendarCtrl_GetHighlightColourFg(_swigobj) (_swigobj->GetHighlightColourFg())
1530 static PyObject
*_wrap_wxCalendarCtrl_GetHighlightColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1531 PyObject
* _resultobj
;
1533 wxCalendarCtrl
* _arg0
;
1534 PyObject
* _argo0
= 0;
1535 char *_kwnames
[] = { "self", NULL
};
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHighlightColourFg",_kwnames
,&_argo0
))
1542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHighlightColourFg. Expected _wxCalendarCtrl_p.");
1549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1550 _result
= new wxColour (wxCalendarCtrl_GetHighlightColourFg(_arg0
));
1552 wxPyEndAllowThreads(__tstate
);
1553 if (PyErr_Occurred()) return NULL
;
1554 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1555 _resultobj
= Py_BuildValue("s",_ptemp
);
1559 #define wxCalendarCtrl_GetHighlightColourBg(_swigobj) (_swigobj->GetHighlightColourBg())
1560 static PyObject
*_wrap_wxCalendarCtrl_GetHighlightColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
* _resultobj
;
1563 wxCalendarCtrl
* _arg0
;
1564 PyObject
* _argo0
= 0;
1565 char *_kwnames
[] = { "self", NULL
};
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHighlightColourBg",_kwnames
,&_argo0
))
1572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHighlightColourBg. Expected _wxCalendarCtrl_p.");
1579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1580 _result
= new wxColour (wxCalendarCtrl_GetHighlightColourBg(_arg0
));
1582 wxPyEndAllowThreads(__tstate
);
1583 if (PyErr_Occurred()) return NULL
;
1584 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1585 _resultobj
= Py_BuildValue("s",_ptemp
);
1589 #define wxCalendarCtrl_SetHolidayColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHolidayColours(_swigarg0,_swigarg1))
1590 static PyObject
*_wrap_wxCalendarCtrl_SetHolidayColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
* _resultobj
;
1592 wxCalendarCtrl
* _arg0
;
1595 PyObject
* _argo0
= 0;
1597 PyObject
* _obj1
= 0;
1599 PyObject
* _obj2
= 0;
1600 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHolidayColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHolidayColours. Expected _wxCalendarCtrl_p.");
1614 if (! wxColour_helper(_obj1
, &_arg1
))
1619 if (! wxColour_helper(_obj2
, &_arg2
))
1623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1624 wxCalendarCtrl_SetHolidayColours(_arg0
,*_arg1
,*_arg2
);
1626 wxPyEndAllowThreads(__tstate
);
1627 if (PyErr_Occurred()) return NULL
;
1628 } Py_INCREF(Py_None
);
1629 _resultobj
= Py_None
;
1633 #define wxCalendarCtrl_GetHolidayColourFg(_swigobj) (_swigobj->GetHolidayColourFg())
1634 static PyObject
*_wrap_wxCalendarCtrl_GetHolidayColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
* _resultobj
;
1637 wxCalendarCtrl
* _arg0
;
1638 PyObject
* _argo0
= 0;
1639 char *_kwnames
[] = { "self", NULL
};
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHolidayColourFg",_kwnames
,&_argo0
))
1646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHolidayColourFg. Expected _wxCalendarCtrl_p.");
1653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1654 _result
= new wxColour (wxCalendarCtrl_GetHolidayColourFg(_arg0
));
1656 wxPyEndAllowThreads(__tstate
);
1657 if (PyErr_Occurred()) return NULL
;
1658 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1659 _resultobj
= Py_BuildValue("s",_ptemp
);
1663 #define wxCalendarCtrl_GetHolidayColourBg(_swigobj) (_swigobj->GetHolidayColourBg())
1664 static PyObject
*_wrap_wxCalendarCtrl_GetHolidayColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1665 PyObject
* _resultobj
;
1667 wxCalendarCtrl
* _arg0
;
1668 PyObject
* _argo0
= 0;
1669 char *_kwnames
[] = { "self", NULL
};
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHolidayColourBg",_kwnames
,&_argo0
))
1676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHolidayColourBg. Expected _wxCalendarCtrl_p.");
1683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1684 _result
= new wxColour (wxCalendarCtrl_GetHolidayColourBg(_arg0
));
1686 wxPyEndAllowThreads(__tstate
);
1687 if (PyErr_Occurred()) return NULL
;
1688 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1689 _resultobj
= Py_BuildValue("s",_ptemp
);
1693 #define wxCalendarCtrl_GetAttr(_swigobj,_swigarg0) (_swigobj->GetAttr(_swigarg0))
1694 static PyObject
*_wrap_wxCalendarCtrl_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1695 PyObject
* _resultobj
;
1696 wxCalendarDateAttr
* _result
;
1697 wxCalendarCtrl
* _arg0
;
1699 PyObject
* _argo0
= 0;
1700 char *_kwnames
[] = { "self","day", NULL
};
1704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_GetAttr",_kwnames
,&_argo0
,&_arg1
))
1707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetAttr. Expected _wxCalendarCtrl_p.");
1714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1715 _result
= (wxCalendarDateAttr
*)wxCalendarCtrl_GetAttr(_arg0
,_arg1
);
1717 wxPyEndAllowThreads(__tstate
);
1718 if (PyErr_Occurred()) return NULL
;
1720 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
1721 _resultobj
= Py_BuildValue("s",_ptemp
);
1724 _resultobj
= Py_None
;
1729 #define wxCalendarCtrl_SetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttr(_swigarg0,_swigarg1))
1730 static PyObject
*_wrap_wxCalendarCtrl_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1731 PyObject
* _resultobj
;
1732 wxCalendarCtrl
* _arg0
;
1734 wxCalendarDateAttr
* _arg2
;
1735 PyObject
* _argo0
= 0;
1736 PyObject
* _argo2
= 0;
1737 char *_kwnames
[] = { "self","day","attr", NULL
};
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxCalendarCtrl_SetAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
1743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetAttr. Expected _wxCalendarCtrl_p.");
1750 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1751 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxCalendarDateAttr_p")) {
1752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_SetAttr. Expected _wxCalendarDateAttr_p.");
1757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1758 wxCalendarCtrl_SetAttr(_arg0
,_arg1
,_arg2
);
1760 wxPyEndAllowThreads(__tstate
);
1761 if (PyErr_Occurred()) return NULL
;
1762 } Py_INCREF(Py_None
);
1763 _resultobj
= Py_None
;
1767 #define wxCalendarCtrl_SetHoliday(_swigobj,_swigarg0) (_swigobj->SetHoliday(_swigarg0))
1768 static PyObject
*_wrap_wxCalendarCtrl_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
* _resultobj
;
1770 wxCalendarCtrl
* _arg0
;
1772 PyObject
* _argo0
= 0;
1773 char *_kwnames
[] = { "self","day", NULL
};
1776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_SetHoliday",_kwnames
,&_argo0
,&_arg1
))
1779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHoliday. Expected _wxCalendarCtrl_p.");
1786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1787 wxCalendarCtrl_SetHoliday(_arg0
,_arg1
);
1789 wxPyEndAllowThreads(__tstate
);
1790 if (PyErr_Occurred()) return NULL
;
1791 } Py_INCREF(Py_None
);
1792 _resultobj
= Py_None
;
1796 #define wxCalendarCtrl_ResetAttr(_swigobj,_swigarg0) (_swigobj->ResetAttr(_swigarg0))
1797 static PyObject
*_wrap_wxCalendarCtrl_ResetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
* _resultobj
;
1799 wxCalendarCtrl
* _arg0
;
1801 PyObject
* _argo0
= 0;
1802 char *_kwnames
[] = { "self","day", NULL
};
1805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_ResetAttr",_kwnames
,&_argo0
,&_arg1
))
1808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_ResetAttr. Expected _wxCalendarCtrl_p.");
1815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1816 wxCalendarCtrl_ResetAttr(_arg0
,_arg1
);
1818 wxPyEndAllowThreads(__tstate
);
1819 if (PyErr_Occurred()) return NULL
;
1820 } Py_INCREF(Py_None
);
1821 _resultobj
= Py_None
;
1825 #define wxCalendarCtrl_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2))
1826 static PyObject
*_wrap_wxCalendarCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1827 PyObject
* _resultobj
;
1828 wxCalendarHitTestResult _result
;
1829 wxCalendarCtrl
* _arg0
;
1831 wxDateTime
* _arg2
= (wxDateTime
*) NULL
;
1832 wxDateTime::WeekDay
* _arg3
= (wxDateTime::WeekDay
*) NULL
;
1833 PyObject
* _argo0
= 0;
1835 PyObject
* _obj1
= 0;
1836 PyObject
* _argo2
= 0;
1837 PyObject
* _argo3
= 0;
1838 char *_kwnames
[] = { "self","pos","date","wd", NULL
};
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxCalendarCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
1844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_HitTest. Expected _wxCalendarCtrl_p.");
1852 if (! wxPoint_helper(_obj1
, &_arg1
))
1856 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1857 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
1858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_HitTest. Expected _wxDateTime_p.");
1863 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1864 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime::WeekDay_p")) {
1865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxCalendarCtrl_HitTest. Expected _wxDateTime::WeekDay_p.");
1870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1871 _result
= (wxCalendarHitTestResult
)wxCalendarCtrl_HitTest(_arg0
,*_arg1
,_arg2
,_arg3
);
1873 wxPyEndAllowThreads(__tstate
);
1874 if (PyErr_Occurred()) return NULL
;
1875 } _resultobj
= Py_BuildValue("i",_result
);
1879 #define wxCalendarCtrl_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1880 static PyObject
*_wrap_wxCalendarCtrl_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1881 PyObject
* _resultobj
;
1883 wxCalendarCtrl
* _arg0
;
1884 bool _arg1
= (bool ) TRUE
;
1885 PyObject
* _argo0
= 0;
1886 int tempbool1
= (int) TRUE
;
1887 char *_kwnames
[] = { "self","enable", NULL
};
1890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_Enable",_kwnames
,&_argo0
,&tempbool1
))
1893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_Enable. Expected _wxCalendarCtrl_p.");
1899 _arg1
= (bool ) tempbool1
;
1901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1902 _result
= (bool )wxCalendarCtrl_Enable(_arg0
,_arg1
);
1904 wxPyEndAllowThreads(__tstate
);
1905 if (PyErr_Occurred()) return NULL
;
1906 } _resultobj
= Py_BuildValue("i",_result
);
1910 #define wxCalendarCtrl_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
1911 static PyObject
*_wrap_wxCalendarCtrl_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1912 PyObject
* _resultobj
;
1914 wxCalendarCtrl
* _arg0
;
1915 bool _arg1
= (bool ) TRUE
;
1916 PyObject
* _argo0
= 0;
1917 int tempbool1
= (int) TRUE
;
1918 char *_kwnames
[] = { "self","show", NULL
};
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_Show",_kwnames
,&_argo0
,&tempbool1
))
1924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_Show. Expected _wxCalendarCtrl_p.");
1930 _arg1
= (bool ) tempbool1
;
1932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1933 _result
= (bool )wxCalendarCtrl_Show(_arg0
,_arg1
);
1935 wxPyEndAllowThreads(__tstate
);
1936 if (PyErr_Occurred()) return NULL
;
1937 } _resultobj
= Py_BuildValue("i",_result
);
1941 static PyMethodDef calendarcMethods
[] = {
1942 { "wxCalendarCtrl_Show", (PyCFunction
) _wrap_wxCalendarCtrl_Show
, METH_VARARGS
| METH_KEYWORDS
},
1943 { "wxCalendarCtrl_Enable", (PyCFunction
) _wrap_wxCalendarCtrl_Enable
, METH_VARARGS
| METH_KEYWORDS
},
1944 { "wxCalendarCtrl_HitTest", (PyCFunction
) _wrap_wxCalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
1945 { "wxCalendarCtrl_ResetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1946 { "wxCalendarCtrl_SetHoliday", (PyCFunction
) _wrap_wxCalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1947 { "wxCalendarCtrl_SetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1948 { "wxCalendarCtrl_GetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1949 { "wxCalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1950 { "wxCalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1951 { "wxCalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
},
1952 { "wxCalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1953 { "wxCalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1954 { "wxCalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
},
1955 { "wxCalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1956 { "wxCalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1957 { "wxCalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
},
1958 { "wxCalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_wxCalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
},
1959 { "wxCalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_wxCalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
},
1960 { "wxCalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_wxCalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
},
1961 { "wxCalendarCtrl_SetDateRange", (PyCFunction
) _wrap_wxCalendarCtrl_SetDateRange
, METH_VARARGS
| METH_KEYWORDS
},
1962 { "wxCalendarCtrl_GetUpperDateLimit", (PyCFunction
) _wrap_wxCalendarCtrl_GetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1963 { "wxCalendarCtrl_SetUpperDateLimit", (PyCFunction
) _wrap_wxCalendarCtrl_SetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1964 { "wxCalendarCtrl_GetLowerDateLimit", (PyCFunction
) _wrap_wxCalendarCtrl_GetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1965 { "wxCalendarCtrl_SetLowerDateLimit", (PyCFunction
) _wrap_wxCalendarCtrl_SetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1966 { "wxCalendarCtrl_GetDate", (PyCFunction
) _wrap_wxCalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
1967 { "wxCalendarCtrl_SetDate", (PyCFunction
) _wrap_wxCalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
1968 { "wxCalendarCtrl_Create", (PyCFunction
) _wrap_wxCalendarCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
1969 { "new_wxPreCalendarCtrl", (PyCFunction
) _wrap_new_wxPreCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1970 { "new_wxCalendarCtrl", (PyCFunction
) _wrap_new_wxCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1971 { "wxCalendarEvent_GetWeekDay", (PyCFunction
) _wrap_wxCalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
1972 { "wxCalendarEvent_GetDate", (PyCFunction
) _wrap_wxCalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
1973 { "new_wxCalendarEvent", (PyCFunction
) _wrap_new_wxCalendarEvent
, METH_VARARGS
| METH_KEYWORDS
},
1974 { "wxCalendarDateAttr_GetBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
1975 { "wxCalendarDateAttr_GetFont", (PyCFunction
) _wrap_wxCalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
1976 { "wxCalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1977 { "wxCalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1978 { "wxCalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1979 { "wxCalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_wxCalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1980 { "wxCalendarDateAttr_HasBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
1981 { "wxCalendarDateAttr_HasFont", (PyCFunction
) _wrap_wxCalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
1982 { "wxCalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1983 { "wxCalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1984 { "wxCalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1985 { "wxCalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_wxCalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1986 { "wxCalendarDateAttr_SetBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
1987 { "wxCalendarDateAttr_SetFont", (PyCFunction
) _wrap_wxCalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
1988 { "wxCalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1989 { "wxCalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1990 { "wxCalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1991 { "new_wxCalendarDateAttrBorder", (PyCFunction
) _wrap_new_wxCalendarDateAttrBorder
, METH_VARARGS
| METH_KEYWORDS
},
1992 { "new_wxCalendarDateAttr", (PyCFunction
) _wrap_new_wxCalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
},
1999 * This table is used by the pointer type-checker
2001 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2002 { "_wxEvent","_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
2003 { "_signed_long","_long",0},
2004 { "_wxPrintQuality","_wxCoord",0},
2005 { "_wxPrintQuality","_int",0},
2006 { "_wxPrintQuality","_signed_int",0},
2007 { "_wxPrintQuality","_unsigned_int",0},
2008 { "_wxPrintQuality","_wxWindowID",0},
2009 { "_wxPrintQuality","_uint",0},
2010 { "_wxPrintQuality","_EBool",0},
2011 { "_wxPrintQuality","_size_t",0},
2012 { "_wxPrintQuality","_time_t",0},
2013 { "_byte","_unsigned_char",0},
2014 { "_long","_unsigned_long",0},
2015 { "_long","_signed_long",0},
2016 { "_size_t","_wxCoord",0},
2017 { "_size_t","_wxPrintQuality",0},
2018 { "_size_t","_time_t",0},
2019 { "_size_t","_unsigned_int",0},
2020 { "_size_t","_int",0},
2021 { "_size_t","_wxWindowID",0},
2022 { "_size_t","_uint",0},
2023 { "_uint","_wxCoord",0},
2024 { "_uint","_wxPrintQuality",0},
2025 { "_uint","_time_t",0},
2026 { "_uint","_size_t",0},
2027 { "_uint","_unsigned_int",0},
2028 { "_uint","_int",0},
2029 { "_uint","_wxWindowID",0},
2030 { "_wxChar","_char",0},
2031 { "_wxCommandEvent","_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
2032 { "_char","_wxChar",0},
2033 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2034 { "_EBool","_wxCoord",0},
2035 { "_EBool","_wxPrintQuality",0},
2036 { "_EBool","_signed_int",0},
2037 { "_EBool","_int",0},
2038 { "_EBool","_wxWindowID",0},
2039 { "_unsigned_long","_long",0},
2040 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2041 { "_signed_int","_wxCoord",0},
2042 { "_signed_int","_wxPrintQuality",0},
2043 { "_signed_int","_EBool",0},
2044 { "_signed_int","_wxWindowID",0},
2045 { "_signed_int","_int",0},
2046 { "_WXTYPE","_wxDateTime_t",0},
2047 { "_WXTYPE","_short",0},
2048 { "_WXTYPE","_signed_short",0},
2049 { "_WXTYPE","_unsigned_short",0},
2050 { "_unsigned_short","_wxDateTime_t",0},
2051 { "_unsigned_short","_WXTYPE",0},
2052 { "_unsigned_short","_short",0},
2053 { "_wxObject","_wxCalendarCtrl",SwigwxCalendarCtrlTowxObject
},
2054 { "_wxObject","_wxCalendarEvent",SwigwxCalendarEventTowxObject
},
2055 { "_signed_short","_WXTYPE",0},
2056 { "_signed_short","_short",0},
2057 { "_unsigned_char","_byte",0},
2058 { "_wxControl","_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
2059 { "_unsigned_int","_wxCoord",0},
2060 { "_unsigned_int","_wxPrintQuality",0},
2061 { "_unsigned_int","_time_t",0},
2062 { "_unsigned_int","_size_t",0},
2063 { "_unsigned_int","_uint",0},
2064 { "_unsigned_int","_wxWindowID",0},
2065 { "_unsigned_int","_int",0},
2066 { "_short","_wxDateTime_t",0},
2067 { "_short","_WXTYPE",0},
2068 { "_short","_unsigned_short",0},
2069 { "_short","_signed_short",0},
2070 { "_wxWindowID","_wxCoord",0},
2071 { "_wxWindowID","_wxPrintQuality",0},
2072 { "_wxWindowID","_time_t",0},
2073 { "_wxWindowID","_size_t",0},
2074 { "_wxWindowID","_EBool",0},
2075 { "_wxWindowID","_uint",0},
2076 { "_wxWindowID","_int",0},
2077 { "_wxWindowID","_signed_int",0},
2078 { "_wxWindowID","_unsigned_int",0},
2079 { "_int","_wxCoord",0},
2080 { "_int","_wxPrintQuality",0},
2081 { "_int","_time_t",0},
2082 { "_int","_size_t",0},
2083 { "_int","_EBool",0},
2084 { "_int","_uint",0},
2085 { "_int","_wxWindowID",0},
2086 { "_int","_unsigned_int",0},
2087 { "_int","_signed_int",0},
2088 { "_wxDateTime_t","_unsigned_short",0},
2089 { "_wxDateTime_t","_short",0},
2090 { "_wxDateTime_t","_WXTYPE",0},
2091 { "_time_t","_wxCoord",0},
2092 { "_time_t","_wxPrintQuality",0},
2093 { "_time_t","_unsigned_int",0},
2094 { "_time_t","_int",0},
2095 { "_time_t","_wxWindowID",0},
2096 { "_time_t","_uint",0},
2097 { "_time_t","_size_t",0},
2098 { "_wxCoord","_int",0},
2099 { "_wxCoord","_signed_int",0},
2100 { "_wxCoord","_unsigned_int",0},
2101 { "_wxCoord","_wxWindowID",0},
2102 { "_wxCoord","_uint",0},
2103 { "_wxCoord","_EBool",0},
2104 { "_wxCoord","_size_t",0},
2105 { "_wxCoord","_time_t",0},
2106 { "_wxCoord","_wxPrintQuality",0},
2107 { "_wxEvtHandler","_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler
},
2108 { "_wxWindow","_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
2111 static PyObject
*SWIG_globals
;
2115 SWIGEXPORT(void) initcalendarc() {
2117 SWIG_globals
= SWIG_newvarlink();
2118 m
= Py_InitModule("calendarc", calendarcMethods
);
2119 d
= PyModule_GetDict(m
);
2120 PyDict_SetItemString(d
,"wxCAL_SUNDAY_FIRST", PyInt_FromLong((long) wxCAL_SUNDAY_FIRST
));
2121 PyDict_SetItemString(d
,"wxCAL_MONDAY_FIRST", PyInt_FromLong((long) wxCAL_MONDAY_FIRST
));
2122 PyDict_SetItemString(d
,"wxCAL_SHOW_HOLIDAYS", PyInt_FromLong((long) wxCAL_SHOW_HOLIDAYS
));
2123 PyDict_SetItemString(d
,"wxCAL_NO_YEAR_CHANGE", PyInt_FromLong((long) wxCAL_NO_YEAR_CHANGE
));
2124 PyDict_SetItemString(d
,"wxCAL_NO_MONTH_CHANGE", PyInt_FromLong((long) wxCAL_NO_MONTH_CHANGE
));
2125 PyDict_SetItemString(d
,"wxCAL_SEQUENTIAL_MONTH_SELECTION", PyInt_FromLong((long) wxCAL_SEQUENTIAL_MONTH_SELECTION
));
2126 PyDict_SetItemString(d
,"wxCAL_SHOW_SURROUNDING_WEEKS", PyInt_FromLong((long) wxCAL_SHOW_SURROUNDING_WEEKS
));
2127 PyDict_SetItemString(d
,"wxCAL_HITTEST_NOWHERE", PyInt_FromLong((long) wxCAL_HITTEST_NOWHERE
));
2128 PyDict_SetItemString(d
,"wxCAL_HITTEST_HEADER", PyInt_FromLong((long) wxCAL_HITTEST_HEADER
));
2129 PyDict_SetItemString(d
,"wxCAL_HITTEST_DAY", PyInt_FromLong((long) wxCAL_HITTEST_DAY
));
2130 PyDict_SetItemString(d
,"wxCAL_HITTEST_INCMONTH", PyInt_FromLong((long) wxCAL_HITTEST_INCMONTH
));
2131 PyDict_SetItemString(d
,"wxCAL_HITTEST_DECMONTH", PyInt_FromLong((long) wxCAL_HITTEST_DECMONTH
));
2132 PyDict_SetItemString(d
,"wxCAL_HITTEST_SURROUNDING_WEEK", PyInt_FromLong((long) wxCAL_HITTEST_SURROUNDING_WEEK
));
2133 PyDict_SetItemString(d
,"wxCAL_BORDER_NONE", PyInt_FromLong((long) wxCAL_BORDER_NONE
));
2134 PyDict_SetItemString(d
,"wxCAL_BORDER_SQUARE", PyInt_FromLong((long) wxCAL_BORDER_SQUARE
));
2135 PyDict_SetItemString(d
,"wxCAL_BORDER_ROUND", PyInt_FromLong((long) wxCAL_BORDER_ROUND
));
2136 PyDict_SetItemString(d
,"wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_CALENDAR_DOUBLECLICKED
));
2137 PyDict_SetItemString(d
,"wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_SEL_CHANGED
));
2138 PyDict_SetItemString(d
,"wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_DAY_CHANGED
));
2139 PyDict_SetItemString(d
,"wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_MONTH_CHANGED
));
2140 PyDict_SetItemString(d
,"wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_YEAR_CHANGED
));
2141 PyDict_SetItemString(d
,"wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong((long) wxEVT_CALENDAR_WEEKDAY_CLICKED
));
2143 wxClassInfo::CleanUpClasses();
2144 wxClassInfo::InitializeClasses();
2147 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2148 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);