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 */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initcalendarc
55 #define SWIG_name "calendarc"
58 #include <wx/calctrl.h>
61 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
67 } else if (target
== Py_None
) {
71 if (!PyTuple_Check(target
)) {
73 target
= PyTuple_New(1);
74 PyTuple_SetItem(target
, 0, o2
);
77 PyTuple_SetItem(o3
, 0, o
);
80 target
= PySequence_Concat(o2
, o3
);
87 // Put some wx default wxChar* values into wxStrings.
88 DECLARE_DEF_STRING(CalendarNameStr
);
92 #define new_wxCalendarDateAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxCalendarDateAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
93 static PyObject
*_wrap_new_wxCalendarDateAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
94 PyObject
* _resultobj
;
95 wxCalendarDateAttr
* _result
;
97 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
98 wxColour
* _arg2
= (wxColour
*) &wxNullColour
;
99 wxFont
* _arg3
= (wxFont
*) &wxNullFont
;
100 wxCalendarDateBorder _arg4
= (wxCalendarDateBorder
) (wxCAL_BORDER_NONE
);
102 PyObject
* _obj0
= 0;
104 PyObject
* _obj1
= 0;
106 PyObject
* _obj2
= 0;
107 PyObject
* _argo3
= 0;
108 char *_kwnames
[] = { "colText","colBack","colBorder","font","border", NULL
};
112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOi:new_wxCalendarDateAttr",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
))
116 if (! wxColour_helper(_obj0
, &_arg0
))
122 if (! wxColour_helper(_obj1
, &_arg1
))
128 if (! wxColour_helper(_obj2
, &_arg2
))
132 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxCalendarDateAttr. Expected _wxFont_p.");
138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
139 _result
= (wxCalendarDateAttr
*)new_wxCalendarDateAttr(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
141 wxPyEndAllowThreads(__tstate
);
142 if (PyErr_Occurred()) return NULL
;
144 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
145 _resultobj
= Py_BuildValue("s",_ptemp
);
148 _resultobj
= Py_None
;
153 #define new_wxCalendarDateAttrBorder(_swigarg0,_swigarg1) (new wxCalendarDateAttr(_swigarg0,_swigarg1))
154 static PyObject
*_wrap_new_wxCalendarDateAttrBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
155 PyObject
* _resultobj
;
156 wxCalendarDateAttr
* _result
;
157 wxCalendarDateBorder _arg0
;
158 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
160 PyObject
* _obj1
= 0;
161 char *_kwnames
[] = { "border","colBorder", NULL
};
165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|O:new_wxCalendarDateAttrBorder",_kwnames
,&_arg0
,&_obj1
))
170 if (! wxColour_helper(_obj1
, &_arg1
))
174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
175 _result
= (wxCalendarDateAttr
*)new_wxCalendarDateAttrBorder(_arg0
,*_arg1
);
177 wxPyEndAllowThreads(__tstate
);
178 if (PyErr_Occurred()) return NULL
;
180 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
181 _resultobj
= Py_BuildValue("s",_ptemp
);
184 _resultobj
= Py_None
;
189 #define wxCalendarDateAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
190 static PyObject
*_wrap_wxCalendarDateAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
191 PyObject
* _resultobj
;
192 wxCalendarDateAttr
* _arg0
;
194 PyObject
* _argo0
= 0;
196 PyObject
* _obj1
= 0;
197 char *_kwnames
[] = { "self","colText", NULL
};
200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetTextColour. Expected _wxCalendarDateAttr_p.");
211 if (! wxColour_helper(_obj1
, &_arg1
))
215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
216 wxCalendarDateAttr_SetTextColour(_arg0
,*_arg1
);
218 wxPyEndAllowThreads(__tstate
);
219 if (PyErr_Occurred()) return NULL
;
220 } Py_INCREF(Py_None
);
221 _resultobj
= Py_None
;
225 #define wxCalendarDateAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
226 static PyObject
*_wrap_wxCalendarDateAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
227 PyObject
* _resultobj
;
228 wxCalendarDateAttr
* _arg0
;
230 PyObject
* _argo0
= 0;
232 PyObject
* _obj1
= 0;
233 char *_kwnames
[] = { "self","colBack", NULL
};
236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBackgroundColour. Expected _wxCalendarDateAttr_p.");
247 if (! wxColour_helper(_obj1
, &_arg1
))
251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
252 wxCalendarDateAttr_SetBackgroundColour(_arg0
,*_arg1
);
254 wxPyEndAllowThreads(__tstate
);
255 if (PyErr_Occurred()) return NULL
;
256 } Py_INCREF(Py_None
);
257 _resultobj
= Py_None
;
261 #define wxCalendarDateAttr_SetBorderColour(_swigobj,_swigarg0) (_swigobj->SetBorderColour(_swigarg0))
262 static PyObject
*_wrap_wxCalendarDateAttr_SetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
263 PyObject
* _resultobj
;
264 wxCalendarDateAttr
* _arg0
;
266 PyObject
* _argo0
= 0;
268 PyObject
* _obj1
= 0;
269 char *_kwnames
[] = { "self","col", NULL
};
272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetBorderColour",_kwnames
,&_argo0
,&_obj1
))
275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBorderColour. Expected _wxCalendarDateAttr_p.");
283 if (! wxColour_helper(_obj1
, &_arg1
))
287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
288 wxCalendarDateAttr_SetBorderColour(_arg0
,*_arg1
);
290 wxPyEndAllowThreads(__tstate
);
291 if (PyErr_Occurred()) return NULL
;
292 } Py_INCREF(Py_None
);
293 _resultobj
= Py_None
;
297 #define wxCalendarDateAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
298 static PyObject
*_wrap_wxCalendarDateAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
299 PyObject
* _resultobj
;
300 wxCalendarDateAttr
* _arg0
;
302 PyObject
* _argo0
= 0;
303 PyObject
* _argo1
= 0;
304 char *_kwnames
[] = { "self","font", NULL
};
307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetFont. Expected _wxCalendarDateAttr_p.");
317 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 wxString
* _arg6
= (wxString
*) &wxPyCalendarNameStr
;
876 PyObject
* _argo0
= 0;
877 PyObject
* _argo2
= 0;
879 PyObject
* _obj3
= 0;
881 PyObject
* _obj4
= 0;
882 PyObject
* _obj6
= 0;
883 char *_kwnames
[] = { "parent","id","date","pos","size","style","name", NULL
};
887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlO:new_wxCalendarCtrl",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCalendarCtrl. Expected _wxWindow_p.");
897 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
))
916 _arg6
= wxString_in_helper(_obj6
);
921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
922 _result
= (wxCalendarCtrl
*)new_wxCalendarCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
924 wxPyEndAllowThreads(__tstate
);
925 if (PyErr_Occurred()) return NULL
;
927 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarCtrl_p");
928 _resultobj
= Py_BuildValue("s",_ptemp
);
931 _resultobj
= Py_None
;
940 #define new_wxPreCalendarCtrl() (new wxCalendarCtrl())
941 static PyObject
*_wrap_new_wxPreCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
942 PyObject
* _resultobj
;
943 wxCalendarCtrl
* _result
;
944 char *_kwnames
[] = { NULL
};
948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCalendarCtrl",_kwnames
))
951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
952 _result
= (wxCalendarCtrl
*)new_wxPreCalendarCtrl();
954 wxPyEndAllowThreads(__tstate
);
955 if (PyErr_Occurred()) return NULL
;
957 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarCtrl_p");
958 _resultobj
= Py_BuildValue("s",_ptemp
);
961 _resultobj
= Py_None
;
966 #define wxCalendarCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
967 static PyObject
*_wrap_wxCalendarCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
968 PyObject
* _resultobj
;
970 wxCalendarCtrl
* _arg0
;
973 wxDateTime
* _arg3
= (wxDateTime
*) &wxDefaultDateTime
;
974 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
975 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
976 long _arg6
= (long ) (wxCAL_SHOW_HOLIDAYS
)|wxWANTS_CHARS
;
977 wxString
* _arg7
= (wxString
*) &wxPyCalendarNameStr
;
978 PyObject
* _argo0
= 0;
979 PyObject
* _argo1
= 0;
980 PyObject
* _argo3
= 0;
982 PyObject
* _obj4
= 0;
984 PyObject
* _obj5
= 0;
985 PyObject
* _obj7
= 0;
986 char *_kwnames
[] = { "self","parent","id","date","pos","size","style","name", NULL
};
989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlO:wxCalendarCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_Create. Expected _wxCalendarCtrl_p.");
999 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1000 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_Create. Expected _wxWindow_p.");
1006 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime_p")) {
1007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxCalendarCtrl_Create. Expected _wxDateTime_p.");
1014 if (! wxPoint_helper(_obj4
, &_arg4
))
1020 if (! wxSize_helper(_obj5
, &_arg5
))
1025 _arg7
= wxString_in_helper(_obj7
);
1030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1031 _result
= (bool )wxCalendarCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
1033 wxPyEndAllowThreads(__tstate
);
1034 if (PyErr_Occurred()) return NULL
;
1035 } _resultobj
= Py_BuildValue("i",_result
);
1043 #define wxCalendarCtrl_SetDate(_swigobj,_swigarg0) (_swigobj->SetDate(_swigarg0))
1044 static PyObject
*_wrap_wxCalendarCtrl_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1045 PyObject
* _resultobj
;
1046 wxCalendarCtrl
* _arg0
;
1048 PyObject
* _argo0
= 0;
1049 PyObject
* _argo1
= 0;
1050 char *_kwnames
[] = { "self","date", NULL
};
1053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarCtrl_SetDate",_kwnames
,&_argo0
,&_argo1
))
1056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetDate. Expected _wxCalendarCtrl_p.");
1063 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
1064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetDate. Expected _wxDateTime_p.");
1069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1070 wxCalendarCtrl_SetDate(_arg0
,*_arg1
);
1072 wxPyEndAllowThreads(__tstate
);
1073 if (PyErr_Occurred()) return NULL
;
1074 } Py_INCREF(Py_None
);
1075 _resultobj
= Py_None
;
1079 #define wxCalendarCtrl_GetDate(_swigobj) (_swigobj->GetDate())
1080 static PyObject
*_wrap_wxCalendarCtrl_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1081 PyObject
* _resultobj
;
1082 wxDateTime
* _result
;
1083 wxCalendarCtrl
* _arg0
;
1084 PyObject
* _argo0
= 0;
1085 char *_kwnames
[] = { "self", NULL
};
1089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetDate",_kwnames
,&_argo0
))
1092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetDate. Expected _wxCalendarCtrl_p.");
1099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1100 const wxDateTime
& _result_ref
= wxCalendarCtrl_GetDate(_arg0
);
1101 _result
= (wxDateTime
*) &_result_ref
;
1103 wxPyEndAllowThreads(__tstate
);
1104 if (PyErr_Occurred()) return NULL
;
1106 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
1107 _resultobj
= Py_BuildValue("s",_ptemp
);
1110 _resultobj
= Py_None
;
1115 #define wxCalendarCtrl_SetLowerDateLimit(_swigobj,_swigarg0) (_swigobj->SetLowerDateLimit(_swigarg0))
1116 static PyObject
*_wrap_wxCalendarCtrl_SetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1117 PyObject
* _resultobj
;
1119 wxCalendarCtrl
* _arg0
;
1120 wxDateTime
* _arg1
= (wxDateTime
*) &wxDefaultDateTime
;
1121 PyObject
* _argo0
= 0;
1122 PyObject
* _argo1
= 0;
1123 char *_kwnames
[] = { "self","date", NULL
};
1126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxCalendarCtrl_SetLowerDateLimit",_kwnames
,&_argo0
,&_argo1
))
1129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetLowerDateLimit. Expected _wxCalendarCtrl_p.");
1136 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
1137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetLowerDateLimit. Expected _wxDateTime_p.");
1142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1143 _result
= (bool )wxCalendarCtrl_SetLowerDateLimit(_arg0
,*_arg1
);
1145 wxPyEndAllowThreads(__tstate
);
1146 if (PyErr_Occurred()) return NULL
;
1147 } _resultobj
= Py_BuildValue("i",_result
);
1151 #define wxCalendarCtrl_GetLowerDateLimit(_swigobj) (_swigobj->GetLowerDateLimit())
1152 static PyObject
*_wrap_wxCalendarCtrl_GetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1153 PyObject
* _resultobj
;
1154 wxDateTime
* _result
;
1155 wxCalendarCtrl
* _arg0
;
1156 PyObject
* _argo0
= 0;
1157 char *_kwnames
[] = { "self", NULL
};
1161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetLowerDateLimit",_kwnames
,&_argo0
))
1164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetLowerDateLimit. Expected _wxCalendarCtrl_p.");
1171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1172 const wxDateTime
& _result_ref
= wxCalendarCtrl_GetLowerDateLimit(_arg0
);
1173 _result
= (wxDateTime
*) &_result_ref
;
1175 wxPyEndAllowThreads(__tstate
);
1176 if (PyErr_Occurred()) return NULL
;
1178 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
1179 _resultobj
= Py_BuildValue("s",_ptemp
);
1182 _resultobj
= Py_None
;
1187 #define wxCalendarCtrl_SetUpperDateLimit(_swigobj,_swigarg0) (_swigobj->SetUpperDateLimit(_swigarg0))
1188 static PyObject
*_wrap_wxCalendarCtrl_SetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1189 PyObject
* _resultobj
;
1191 wxCalendarCtrl
* _arg0
;
1192 wxDateTime
* _arg1
= (wxDateTime
*) &wxDefaultDateTime
;
1193 PyObject
* _argo0
= 0;
1194 PyObject
* _argo1
= 0;
1195 char *_kwnames
[] = { "self","date", NULL
};
1198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxCalendarCtrl_SetUpperDateLimit",_kwnames
,&_argo0
,&_argo1
))
1201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetUpperDateLimit. Expected _wxCalendarCtrl_p.");
1208 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
1209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetUpperDateLimit. Expected _wxDateTime_p.");
1214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1215 _result
= (bool )wxCalendarCtrl_SetUpperDateLimit(_arg0
,*_arg1
);
1217 wxPyEndAllowThreads(__tstate
);
1218 if (PyErr_Occurred()) return NULL
;
1219 } _resultobj
= Py_BuildValue("i",_result
);
1223 #define wxCalendarCtrl_GetUpperDateLimit(_swigobj) (_swigobj->GetUpperDateLimit())
1224 static PyObject
*_wrap_wxCalendarCtrl_GetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1225 PyObject
* _resultobj
;
1226 wxDateTime
* _result
;
1227 wxCalendarCtrl
* _arg0
;
1228 PyObject
* _argo0
= 0;
1229 char *_kwnames
[] = { "self", NULL
};
1233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetUpperDateLimit",_kwnames
,&_argo0
))
1236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetUpperDateLimit. Expected _wxCalendarCtrl_p.");
1243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1244 const wxDateTime
& _result_ref
= wxCalendarCtrl_GetUpperDateLimit(_arg0
);
1245 _result
= (wxDateTime
*) &_result_ref
;
1247 wxPyEndAllowThreads(__tstate
);
1248 if (PyErr_Occurred()) return NULL
;
1250 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
1251 _resultobj
= Py_BuildValue("s",_ptemp
);
1254 _resultobj
= Py_None
;
1259 #define wxCalendarCtrl_SetDateRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDateRange(_swigarg0,_swigarg1))
1260 static PyObject
*_wrap_wxCalendarCtrl_SetDateRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1261 PyObject
* _resultobj
;
1263 wxCalendarCtrl
* _arg0
;
1264 wxDateTime
* _arg1
= (wxDateTime
*) &wxDefaultDateTime
;
1265 wxDateTime
* _arg2
= (wxDateTime
*) &wxDefaultDateTime
;
1266 PyObject
* _argo0
= 0;
1267 PyObject
* _argo1
= 0;
1268 PyObject
* _argo2
= 0;
1269 char *_kwnames
[] = { "self","lowerdate","upperdate", NULL
};
1272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxCalendarCtrl_SetDateRange",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetDateRange. Expected _wxCalendarCtrl_p.");
1282 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
1283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetDateRange. Expected _wxDateTime_p.");
1288 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
1289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_SetDateRange. Expected _wxDateTime_p.");
1294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1295 _result
= (bool )wxCalendarCtrl_SetDateRange(_arg0
,*_arg1
,*_arg2
);
1297 wxPyEndAllowThreads(__tstate
);
1298 if (PyErr_Occurred()) return NULL
;
1299 } _resultobj
= Py_BuildValue("i",_result
);
1303 #define wxCalendarCtrl_EnableYearChange(_swigobj,_swigarg0) (_swigobj->EnableYearChange(_swigarg0))
1304 static PyObject
*_wrap_wxCalendarCtrl_EnableYearChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
* _resultobj
;
1306 wxCalendarCtrl
* _arg0
;
1307 bool _arg1
= (bool ) TRUE
;
1308 PyObject
* _argo0
= 0;
1309 int tempbool1
= (int) TRUE
;
1310 char *_kwnames
[] = { "self","enable", NULL
};
1313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableYearChange",_kwnames
,&_argo0
,&tempbool1
))
1316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableYearChange. Expected _wxCalendarCtrl_p.");
1322 _arg1
= (bool ) tempbool1
;
1324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1325 wxCalendarCtrl_EnableYearChange(_arg0
,_arg1
);
1327 wxPyEndAllowThreads(__tstate
);
1328 if (PyErr_Occurred()) return NULL
;
1329 } Py_INCREF(Py_None
);
1330 _resultobj
= Py_None
;
1334 #define wxCalendarCtrl_EnableMonthChange(_swigobj,_swigarg0) (_swigobj->EnableMonthChange(_swigarg0))
1335 static PyObject
*_wrap_wxCalendarCtrl_EnableMonthChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1336 PyObject
* _resultobj
;
1337 wxCalendarCtrl
* _arg0
;
1338 bool _arg1
= (bool ) TRUE
;
1339 PyObject
* _argo0
= 0;
1340 int tempbool1
= (int) TRUE
;
1341 char *_kwnames
[] = { "self","enable", NULL
};
1344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableMonthChange",_kwnames
,&_argo0
,&tempbool1
))
1347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableMonthChange. Expected _wxCalendarCtrl_p.");
1353 _arg1
= (bool ) tempbool1
;
1355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1356 wxCalendarCtrl_EnableMonthChange(_arg0
,_arg1
);
1358 wxPyEndAllowThreads(__tstate
);
1359 if (PyErr_Occurred()) return NULL
;
1360 } Py_INCREF(Py_None
);
1361 _resultobj
= Py_None
;
1365 #define wxCalendarCtrl_EnableHolidayDisplay(_swigobj,_swigarg0) (_swigobj->EnableHolidayDisplay(_swigarg0))
1366 static PyObject
*_wrap_wxCalendarCtrl_EnableHolidayDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
* _resultobj
;
1368 wxCalendarCtrl
* _arg0
;
1369 bool _arg1
= (bool ) TRUE
;
1370 PyObject
* _argo0
= 0;
1371 int tempbool1
= (int) TRUE
;
1372 char *_kwnames
[] = { "self","display", NULL
};
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableHolidayDisplay",_kwnames
,&_argo0
,&tempbool1
))
1378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableHolidayDisplay. Expected _wxCalendarCtrl_p.");
1384 _arg1
= (bool ) tempbool1
;
1386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1387 wxCalendarCtrl_EnableHolidayDisplay(_arg0
,_arg1
);
1389 wxPyEndAllowThreads(__tstate
);
1390 if (PyErr_Occurred()) return NULL
;
1391 } Py_INCREF(Py_None
);
1392 _resultobj
= Py_None
;
1396 #define wxCalendarCtrl_SetHeaderColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeaderColours(_swigarg0,_swigarg1))
1397 static PyObject
*_wrap_wxCalendarCtrl_SetHeaderColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1398 PyObject
* _resultobj
;
1399 wxCalendarCtrl
* _arg0
;
1402 PyObject
* _argo0
= 0;
1404 PyObject
* _obj1
= 0;
1406 PyObject
* _obj2
= 0;
1407 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHeaderColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHeaderColours. Expected _wxCalendarCtrl_p.");
1421 if (! wxColour_helper(_obj1
, &_arg1
))
1426 if (! wxColour_helper(_obj2
, &_arg2
))
1430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1431 wxCalendarCtrl_SetHeaderColours(_arg0
,*_arg1
,*_arg2
);
1433 wxPyEndAllowThreads(__tstate
);
1434 if (PyErr_Occurred()) return NULL
;
1435 } Py_INCREF(Py_None
);
1436 _resultobj
= Py_None
;
1440 #define wxCalendarCtrl_GetHeaderColourFg(_swigobj) (_swigobj->GetHeaderColourFg())
1441 static PyObject
*_wrap_wxCalendarCtrl_GetHeaderColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1442 PyObject
* _resultobj
;
1444 wxCalendarCtrl
* _arg0
;
1445 PyObject
* _argo0
= 0;
1446 char *_kwnames
[] = { "self", NULL
};
1450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHeaderColourFg",_kwnames
,&_argo0
))
1453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHeaderColourFg. Expected _wxCalendarCtrl_p.");
1460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1461 _result
= new wxColour (wxCalendarCtrl_GetHeaderColourFg(_arg0
));
1463 wxPyEndAllowThreads(__tstate
);
1464 if (PyErr_Occurred()) return NULL
;
1465 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1466 _resultobj
= Py_BuildValue("s",_ptemp
);
1470 #define wxCalendarCtrl_GetHeaderColourBg(_swigobj) (_swigobj->GetHeaderColourBg())
1471 static PyObject
*_wrap_wxCalendarCtrl_GetHeaderColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1472 PyObject
* _resultobj
;
1474 wxCalendarCtrl
* _arg0
;
1475 PyObject
* _argo0
= 0;
1476 char *_kwnames
[] = { "self", NULL
};
1480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHeaderColourBg",_kwnames
,&_argo0
))
1483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHeaderColourBg. Expected _wxCalendarCtrl_p.");
1490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1491 _result
= new wxColour (wxCalendarCtrl_GetHeaderColourBg(_arg0
));
1493 wxPyEndAllowThreads(__tstate
);
1494 if (PyErr_Occurred()) return NULL
;
1495 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1496 _resultobj
= Py_BuildValue("s",_ptemp
);
1500 #define wxCalendarCtrl_SetHighlightColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlightColours(_swigarg0,_swigarg1))
1501 static PyObject
*_wrap_wxCalendarCtrl_SetHighlightColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1502 PyObject
* _resultobj
;
1503 wxCalendarCtrl
* _arg0
;
1506 PyObject
* _argo0
= 0;
1508 PyObject
* _obj1
= 0;
1510 PyObject
* _obj2
= 0;
1511 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHighlightColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHighlightColours. Expected _wxCalendarCtrl_p.");
1525 if (! wxColour_helper(_obj1
, &_arg1
))
1530 if (! wxColour_helper(_obj2
, &_arg2
))
1534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 wxCalendarCtrl_SetHighlightColours(_arg0
,*_arg1
,*_arg2
);
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) return NULL
;
1539 } Py_INCREF(Py_None
);
1540 _resultobj
= Py_None
;
1544 #define wxCalendarCtrl_GetHighlightColourFg(_swigobj) (_swigobj->GetHighlightColourFg())
1545 static PyObject
*_wrap_wxCalendarCtrl_GetHighlightColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1546 PyObject
* _resultobj
;
1548 wxCalendarCtrl
* _arg0
;
1549 PyObject
* _argo0
= 0;
1550 char *_kwnames
[] = { "self", NULL
};
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHighlightColourFg",_kwnames
,&_argo0
))
1557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHighlightColourFg. Expected _wxCalendarCtrl_p.");
1564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1565 _result
= new wxColour (wxCalendarCtrl_GetHighlightColourFg(_arg0
));
1567 wxPyEndAllowThreads(__tstate
);
1568 if (PyErr_Occurred()) return NULL
;
1569 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1570 _resultobj
= Py_BuildValue("s",_ptemp
);
1574 #define wxCalendarCtrl_GetHighlightColourBg(_swigobj) (_swigobj->GetHighlightColourBg())
1575 static PyObject
*_wrap_wxCalendarCtrl_GetHighlightColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1576 PyObject
* _resultobj
;
1578 wxCalendarCtrl
* _arg0
;
1579 PyObject
* _argo0
= 0;
1580 char *_kwnames
[] = { "self", NULL
};
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHighlightColourBg",_kwnames
,&_argo0
))
1587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHighlightColourBg. Expected _wxCalendarCtrl_p.");
1594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1595 _result
= new wxColour (wxCalendarCtrl_GetHighlightColourBg(_arg0
));
1597 wxPyEndAllowThreads(__tstate
);
1598 if (PyErr_Occurred()) return NULL
;
1599 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1600 _resultobj
= Py_BuildValue("s",_ptemp
);
1604 #define wxCalendarCtrl_SetHolidayColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHolidayColours(_swigarg0,_swigarg1))
1605 static PyObject
*_wrap_wxCalendarCtrl_SetHolidayColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1606 PyObject
* _resultobj
;
1607 wxCalendarCtrl
* _arg0
;
1610 PyObject
* _argo0
= 0;
1612 PyObject
* _obj1
= 0;
1614 PyObject
* _obj2
= 0;
1615 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHolidayColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHolidayColours. Expected _wxCalendarCtrl_p.");
1629 if (! wxColour_helper(_obj1
, &_arg1
))
1634 if (! wxColour_helper(_obj2
, &_arg2
))
1638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1639 wxCalendarCtrl_SetHolidayColours(_arg0
,*_arg1
,*_arg2
);
1641 wxPyEndAllowThreads(__tstate
);
1642 if (PyErr_Occurred()) return NULL
;
1643 } Py_INCREF(Py_None
);
1644 _resultobj
= Py_None
;
1648 #define wxCalendarCtrl_GetHolidayColourFg(_swigobj) (_swigobj->GetHolidayColourFg())
1649 static PyObject
*_wrap_wxCalendarCtrl_GetHolidayColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
* _resultobj
;
1652 wxCalendarCtrl
* _arg0
;
1653 PyObject
* _argo0
= 0;
1654 char *_kwnames
[] = { "self", NULL
};
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHolidayColourFg",_kwnames
,&_argo0
))
1661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHolidayColourFg. Expected _wxCalendarCtrl_p.");
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 _result
= new wxColour (wxCalendarCtrl_GetHolidayColourFg(_arg0
));
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) return NULL
;
1673 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1674 _resultobj
= Py_BuildValue("s",_ptemp
);
1678 #define wxCalendarCtrl_GetHolidayColourBg(_swigobj) (_swigobj->GetHolidayColourBg())
1679 static PyObject
*_wrap_wxCalendarCtrl_GetHolidayColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
* _resultobj
;
1682 wxCalendarCtrl
* _arg0
;
1683 PyObject
* _argo0
= 0;
1684 char *_kwnames
[] = { "self", NULL
};
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHolidayColourBg",_kwnames
,&_argo0
))
1691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHolidayColourBg. Expected _wxCalendarCtrl_p.");
1698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1699 _result
= new wxColour (wxCalendarCtrl_GetHolidayColourBg(_arg0
));
1701 wxPyEndAllowThreads(__tstate
);
1702 if (PyErr_Occurred()) return NULL
;
1703 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1704 _resultobj
= Py_BuildValue("s",_ptemp
);
1708 #define wxCalendarCtrl_GetAttr(_swigobj,_swigarg0) (_swigobj->GetAttr(_swigarg0))
1709 static PyObject
*_wrap_wxCalendarCtrl_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1710 PyObject
* _resultobj
;
1711 wxCalendarDateAttr
* _result
;
1712 wxCalendarCtrl
* _arg0
;
1714 PyObject
* _argo0
= 0;
1715 char *_kwnames
[] = { "self","day", NULL
};
1719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_GetAttr",_kwnames
,&_argo0
,&_arg1
))
1722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetAttr. Expected _wxCalendarCtrl_p.");
1729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1730 _result
= (wxCalendarDateAttr
*)wxCalendarCtrl_GetAttr(_arg0
,_arg1
);
1732 wxPyEndAllowThreads(__tstate
);
1733 if (PyErr_Occurred()) return NULL
;
1735 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
1736 _resultobj
= Py_BuildValue("s",_ptemp
);
1739 _resultobj
= Py_None
;
1744 #define wxCalendarCtrl_SetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttr(_swigarg0,_swigarg1))
1745 static PyObject
*_wrap_wxCalendarCtrl_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1746 PyObject
* _resultobj
;
1747 wxCalendarCtrl
* _arg0
;
1749 wxCalendarDateAttr
* _arg2
;
1750 PyObject
* _argo0
= 0;
1751 PyObject
* _argo2
= 0;
1752 char *_kwnames
[] = { "self","day","attr", NULL
};
1755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxCalendarCtrl_SetAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
1758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetAttr. Expected _wxCalendarCtrl_p.");
1765 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1766 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxCalendarDateAttr_p")) {
1767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_SetAttr. Expected _wxCalendarDateAttr_p.");
1772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1773 wxCalendarCtrl_SetAttr(_arg0
,_arg1
,_arg2
);
1775 wxPyEndAllowThreads(__tstate
);
1776 if (PyErr_Occurred()) return NULL
;
1777 } Py_INCREF(Py_None
);
1778 _resultobj
= Py_None
;
1782 #define wxCalendarCtrl_SetHoliday(_swigobj,_swigarg0) (_swigobj->SetHoliday(_swigarg0))
1783 static PyObject
*_wrap_wxCalendarCtrl_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
* _resultobj
;
1785 wxCalendarCtrl
* _arg0
;
1787 PyObject
* _argo0
= 0;
1788 char *_kwnames
[] = { "self","day", NULL
};
1791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_SetHoliday",_kwnames
,&_argo0
,&_arg1
))
1794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHoliday. Expected _wxCalendarCtrl_p.");
1801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1802 wxCalendarCtrl_SetHoliday(_arg0
,_arg1
);
1804 wxPyEndAllowThreads(__tstate
);
1805 if (PyErr_Occurred()) return NULL
;
1806 } Py_INCREF(Py_None
);
1807 _resultobj
= Py_None
;
1811 #define wxCalendarCtrl_ResetAttr(_swigobj,_swigarg0) (_swigobj->ResetAttr(_swigarg0))
1812 static PyObject
*_wrap_wxCalendarCtrl_ResetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1813 PyObject
* _resultobj
;
1814 wxCalendarCtrl
* _arg0
;
1816 PyObject
* _argo0
= 0;
1817 char *_kwnames
[] = { "self","day", NULL
};
1820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_ResetAttr",_kwnames
,&_argo0
,&_arg1
))
1823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_ResetAttr. Expected _wxCalendarCtrl_p.");
1830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1831 wxCalendarCtrl_ResetAttr(_arg0
,_arg1
);
1833 wxPyEndAllowThreads(__tstate
);
1834 if (PyErr_Occurred()) return NULL
;
1835 } Py_INCREF(Py_None
);
1836 _resultobj
= Py_None
;
1840 #define wxCalendarCtrl_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2))
1841 static PyObject
*_wrap_wxCalendarCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1842 PyObject
* _resultobj
;
1843 wxCalendarHitTestResult _result
;
1844 wxCalendarCtrl
* _arg0
;
1846 wxDateTime
* _arg2
= (wxDateTime
*) NULL
;
1847 wxDateTime::WeekDay
* _arg3
= (wxDateTime::WeekDay
*) NULL
;
1848 PyObject
* _argo0
= 0;
1850 PyObject
* _obj1
= 0;
1851 PyObject
* _argo2
= 0;
1852 PyObject
* _argo3
= 0;
1853 char *_kwnames
[] = { "self","pos","date","wd", NULL
};
1856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxCalendarCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
1859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_HitTest. Expected _wxCalendarCtrl_p.");
1867 if (! wxPoint_helper(_obj1
, &_arg1
))
1871 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1872 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
1873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_HitTest. Expected _wxDateTime_p.");
1878 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1879 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime::WeekDay_p")) {
1880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxCalendarCtrl_HitTest. Expected _wxDateTime::WeekDay_p.");
1885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1886 _result
= (wxCalendarHitTestResult
)wxCalendarCtrl_HitTest(_arg0
,*_arg1
,_arg2
,_arg3
);
1888 wxPyEndAllowThreads(__tstate
);
1889 if (PyErr_Occurred()) return NULL
;
1890 } _resultobj
= Py_BuildValue("i",_result
);
1894 #define wxCalendarCtrl_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1895 static PyObject
*_wrap_wxCalendarCtrl_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1896 PyObject
* _resultobj
;
1898 wxCalendarCtrl
* _arg0
;
1899 bool _arg1
= (bool ) TRUE
;
1900 PyObject
* _argo0
= 0;
1901 int tempbool1
= (int) TRUE
;
1902 char *_kwnames
[] = { "self","enable", NULL
};
1905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_Enable",_kwnames
,&_argo0
,&tempbool1
))
1908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_Enable. Expected _wxCalendarCtrl_p.");
1914 _arg1
= (bool ) tempbool1
;
1916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1917 _result
= (bool )wxCalendarCtrl_Enable(_arg0
,_arg1
);
1919 wxPyEndAllowThreads(__tstate
);
1920 if (PyErr_Occurred()) return NULL
;
1921 } _resultobj
= Py_BuildValue("i",_result
);
1925 #define wxCalendarCtrl_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
1926 static PyObject
*_wrap_wxCalendarCtrl_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1927 PyObject
* _resultobj
;
1929 wxCalendarCtrl
* _arg0
;
1930 bool _arg1
= (bool ) TRUE
;
1931 PyObject
* _argo0
= 0;
1932 int tempbool1
= (int) TRUE
;
1933 char *_kwnames
[] = { "self","show", NULL
};
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_Show",_kwnames
,&_argo0
,&tempbool1
))
1939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_Show. Expected _wxCalendarCtrl_p.");
1945 _arg1
= (bool ) tempbool1
;
1947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1948 _result
= (bool )wxCalendarCtrl_Show(_arg0
,_arg1
);
1950 wxPyEndAllowThreads(__tstate
);
1951 if (PyErr_Occurred()) return NULL
;
1952 } _resultobj
= Py_BuildValue("i",_result
);
1956 static PyMethodDef calendarcMethods
[] = {
1957 { "wxCalendarCtrl_Show", (PyCFunction
) _wrap_wxCalendarCtrl_Show
, METH_VARARGS
| METH_KEYWORDS
},
1958 { "wxCalendarCtrl_Enable", (PyCFunction
) _wrap_wxCalendarCtrl_Enable
, METH_VARARGS
| METH_KEYWORDS
},
1959 { "wxCalendarCtrl_HitTest", (PyCFunction
) _wrap_wxCalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
1960 { "wxCalendarCtrl_ResetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1961 { "wxCalendarCtrl_SetHoliday", (PyCFunction
) _wrap_wxCalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1962 { "wxCalendarCtrl_SetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1963 { "wxCalendarCtrl_GetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1964 { "wxCalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1965 { "wxCalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1966 { "wxCalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
},
1967 { "wxCalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1968 { "wxCalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1969 { "wxCalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
},
1970 { "wxCalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1971 { "wxCalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1972 { "wxCalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
},
1973 { "wxCalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_wxCalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
},
1974 { "wxCalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_wxCalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
},
1975 { "wxCalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_wxCalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
},
1976 { "wxCalendarCtrl_SetDateRange", (PyCFunction
) _wrap_wxCalendarCtrl_SetDateRange
, METH_VARARGS
| METH_KEYWORDS
},
1977 { "wxCalendarCtrl_GetUpperDateLimit", (PyCFunction
) _wrap_wxCalendarCtrl_GetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1978 { "wxCalendarCtrl_SetUpperDateLimit", (PyCFunction
) _wrap_wxCalendarCtrl_SetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1979 { "wxCalendarCtrl_GetLowerDateLimit", (PyCFunction
) _wrap_wxCalendarCtrl_GetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1980 { "wxCalendarCtrl_SetLowerDateLimit", (PyCFunction
) _wrap_wxCalendarCtrl_SetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1981 { "wxCalendarCtrl_GetDate", (PyCFunction
) _wrap_wxCalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
1982 { "wxCalendarCtrl_SetDate", (PyCFunction
) _wrap_wxCalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
1983 { "wxCalendarCtrl_Create", (PyCFunction
) _wrap_wxCalendarCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
1984 { "new_wxPreCalendarCtrl", (PyCFunction
) _wrap_new_wxPreCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1985 { "new_wxCalendarCtrl", (PyCFunction
) _wrap_new_wxCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1986 { "wxCalendarEvent_GetWeekDay", (PyCFunction
) _wrap_wxCalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
1987 { "wxCalendarEvent_GetDate", (PyCFunction
) _wrap_wxCalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
1988 { "new_wxCalendarEvent", (PyCFunction
) _wrap_new_wxCalendarEvent
, METH_VARARGS
| METH_KEYWORDS
},
1989 { "wxCalendarDateAttr_GetBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
1990 { "wxCalendarDateAttr_GetFont", (PyCFunction
) _wrap_wxCalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
1991 { "wxCalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1992 { "wxCalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1993 { "wxCalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1994 { "wxCalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_wxCalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1995 { "wxCalendarDateAttr_HasBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
1996 { "wxCalendarDateAttr_HasFont", (PyCFunction
) _wrap_wxCalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
1997 { "wxCalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1998 { "wxCalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1999 { "wxCalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2000 { "wxCalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_wxCalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2001 { "wxCalendarDateAttr_SetBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2002 { "wxCalendarDateAttr_SetFont", (PyCFunction
) _wrap_wxCalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
2003 { "wxCalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2004 { "wxCalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2005 { "wxCalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2006 { "new_wxCalendarDateAttrBorder", (PyCFunction
) _wrap_new_wxCalendarDateAttrBorder
, METH_VARARGS
| METH_KEYWORDS
},
2007 { "new_wxCalendarDateAttr", (PyCFunction
) _wrap_new_wxCalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
},
2014 * This table is used by the pointer type-checker
2016 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2017 { "_wxEvent","_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
2018 { "_signed_long","_long",0},
2019 { "_wxPrintQuality","_wxCoord",0},
2020 { "_wxPrintQuality","_int",0},
2021 { "_wxPrintQuality","_signed_int",0},
2022 { "_wxPrintQuality","_unsigned_int",0},
2023 { "_wxPrintQuality","_wxWindowID",0},
2024 { "_wxPrintQuality","_uint",0},
2025 { "_wxPrintQuality","_EBool",0},
2026 { "_wxPrintQuality","_size_t",0},
2027 { "_wxPrintQuality","_time_t",0},
2028 { "_byte","_unsigned_char",0},
2029 { "_long","_unsigned_long",0},
2030 { "_long","_signed_long",0},
2031 { "_size_t","_wxCoord",0},
2032 { "_size_t","_wxPrintQuality",0},
2033 { "_size_t","_time_t",0},
2034 { "_size_t","_unsigned_int",0},
2035 { "_size_t","_int",0},
2036 { "_size_t","_wxWindowID",0},
2037 { "_size_t","_uint",0},
2038 { "_uint","_wxCoord",0},
2039 { "_uint","_wxPrintQuality",0},
2040 { "_uint","_time_t",0},
2041 { "_uint","_size_t",0},
2042 { "_uint","_unsigned_int",0},
2043 { "_uint","_int",0},
2044 { "_uint","_wxWindowID",0},
2045 { "_wxChar","_char",0},
2046 { "_wxCommandEvent","_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
2047 { "_char","_wxChar",0},
2048 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2049 { "_EBool","_wxCoord",0},
2050 { "_EBool","_wxPrintQuality",0},
2051 { "_EBool","_signed_int",0},
2052 { "_EBool","_int",0},
2053 { "_EBool","_wxWindowID",0},
2054 { "_unsigned_long","_long",0},
2055 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2056 { "_signed_int","_wxCoord",0},
2057 { "_signed_int","_wxPrintQuality",0},
2058 { "_signed_int","_EBool",0},
2059 { "_signed_int","_wxWindowID",0},
2060 { "_signed_int","_int",0},
2061 { "_WXTYPE","_wxDateTime_t",0},
2062 { "_WXTYPE","_short",0},
2063 { "_WXTYPE","_signed_short",0},
2064 { "_WXTYPE","_unsigned_short",0},
2065 { "_unsigned_short","_wxDateTime_t",0},
2066 { "_unsigned_short","_WXTYPE",0},
2067 { "_unsigned_short","_short",0},
2068 { "_wxObject","_wxCalendarCtrl",SwigwxCalendarCtrlTowxObject
},
2069 { "_wxObject","_wxCalendarEvent",SwigwxCalendarEventTowxObject
},
2070 { "_signed_short","_WXTYPE",0},
2071 { "_signed_short","_short",0},
2072 { "_unsigned_char","_byte",0},
2073 { "_wxControl","_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
2074 { "_unsigned_int","_wxCoord",0},
2075 { "_unsigned_int","_wxPrintQuality",0},
2076 { "_unsigned_int","_time_t",0},
2077 { "_unsigned_int","_size_t",0},
2078 { "_unsigned_int","_uint",0},
2079 { "_unsigned_int","_wxWindowID",0},
2080 { "_unsigned_int","_int",0},
2081 { "_short","_wxDateTime_t",0},
2082 { "_short","_WXTYPE",0},
2083 { "_short","_unsigned_short",0},
2084 { "_short","_signed_short",0},
2085 { "_wxWindowID","_wxCoord",0},
2086 { "_wxWindowID","_wxPrintQuality",0},
2087 { "_wxWindowID","_time_t",0},
2088 { "_wxWindowID","_size_t",0},
2089 { "_wxWindowID","_EBool",0},
2090 { "_wxWindowID","_uint",0},
2091 { "_wxWindowID","_int",0},
2092 { "_wxWindowID","_signed_int",0},
2093 { "_wxWindowID","_unsigned_int",0},
2094 { "_int","_wxCoord",0},
2095 { "_int","_wxPrintQuality",0},
2096 { "_int","_time_t",0},
2097 { "_int","_size_t",0},
2098 { "_int","_EBool",0},
2099 { "_int","_uint",0},
2100 { "_int","_wxWindowID",0},
2101 { "_int","_unsigned_int",0},
2102 { "_int","_signed_int",0},
2103 { "_wxDateTime_t","_unsigned_short",0},
2104 { "_wxDateTime_t","_short",0},
2105 { "_wxDateTime_t","_WXTYPE",0},
2106 { "_time_t","_wxCoord",0},
2107 { "_time_t","_wxPrintQuality",0},
2108 { "_time_t","_unsigned_int",0},
2109 { "_time_t","_int",0},
2110 { "_time_t","_wxWindowID",0},
2111 { "_time_t","_uint",0},
2112 { "_time_t","_size_t",0},
2113 { "_wxCoord","_int",0},
2114 { "_wxCoord","_signed_int",0},
2115 { "_wxCoord","_unsigned_int",0},
2116 { "_wxCoord","_wxWindowID",0},
2117 { "_wxCoord","_uint",0},
2118 { "_wxCoord","_EBool",0},
2119 { "_wxCoord","_size_t",0},
2120 { "_wxCoord","_time_t",0},
2121 { "_wxCoord","_wxPrintQuality",0},
2122 { "_wxEvtHandler","_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler
},
2123 { "_wxWindow","_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
2126 static PyObject
*SWIG_globals
;
2130 SWIGEXPORT(void) initcalendarc() {
2132 SWIG_globals
= SWIG_newvarlink();
2133 m
= Py_InitModule("calendarc", calendarcMethods
);
2134 d
= PyModule_GetDict(m
);
2135 PyDict_SetItemString(d
,"wxCAL_SUNDAY_FIRST", PyInt_FromLong((long) wxCAL_SUNDAY_FIRST
));
2136 PyDict_SetItemString(d
,"wxCAL_MONDAY_FIRST", PyInt_FromLong((long) wxCAL_MONDAY_FIRST
));
2137 PyDict_SetItemString(d
,"wxCAL_SHOW_HOLIDAYS", PyInt_FromLong((long) wxCAL_SHOW_HOLIDAYS
));
2138 PyDict_SetItemString(d
,"wxCAL_NO_YEAR_CHANGE", PyInt_FromLong((long) wxCAL_NO_YEAR_CHANGE
));
2139 PyDict_SetItemString(d
,"wxCAL_NO_MONTH_CHANGE", PyInt_FromLong((long) wxCAL_NO_MONTH_CHANGE
));
2140 PyDict_SetItemString(d
,"wxCAL_SEQUENTIAL_MONTH_SELECTION", PyInt_FromLong((long) wxCAL_SEQUENTIAL_MONTH_SELECTION
));
2141 PyDict_SetItemString(d
,"wxCAL_SHOW_SURROUNDING_WEEKS", PyInt_FromLong((long) wxCAL_SHOW_SURROUNDING_WEEKS
));
2142 PyDict_SetItemString(d
,"wxCAL_HITTEST_NOWHERE", PyInt_FromLong((long) wxCAL_HITTEST_NOWHERE
));
2143 PyDict_SetItemString(d
,"wxCAL_HITTEST_HEADER", PyInt_FromLong((long) wxCAL_HITTEST_HEADER
));
2144 PyDict_SetItemString(d
,"wxCAL_HITTEST_DAY", PyInt_FromLong((long) wxCAL_HITTEST_DAY
));
2145 PyDict_SetItemString(d
,"wxCAL_HITTEST_INCMONTH", PyInt_FromLong((long) wxCAL_HITTEST_INCMONTH
));
2146 PyDict_SetItemString(d
,"wxCAL_HITTEST_DECMONTH", PyInt_FromLong((long) wxCAL_HITTEST_DECMONTH
));
2147 PyDict_SetItemString(d
,"wxCAL_HITTEST_SURROUNDING_WEEK", PyInt_FromLong((long) wxCAL_HITTEST_SURROUNDING_WEEK
));
2148 PyDict_SetItemString(d
,"wxCAL_BORDER_NONE", PyInt_FromLong((long) wxCAL_BORDER_NONE
));
2149 PyDict_SetItemString(d
,"wxCAL_BORDER_SQUARE", PyInt_FromLong((long) wxCAL_BORDER_SQUARE
));
2150 PyDict_SetItemString(d
,"wxCAL_BORDER_ROUND", PyInt_FromLong((long) wxCAL_BORDER_ROUND
));
2151 PyDict_SetItemString(d
,"wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_CALENDAR_DOUBLECLICKED
));
2152 PyDict_SetItemString(d
,"wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_SEL_CHANGED
));
2153 PyDict_SetItemString(d
,"wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_DAY_CHANGED
));
2154 PyDict_SetItemString(d
,"wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_MONTH_CHANGED
));
2155 PyDict_SetItemString(d
,"wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_YEAR_CHANGED
));
2156 PyDict_SetItemString(d
,"wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong((long) wxEVT_CALENDAR_WEEKDAY_CLICKED
));
2158 wxClassInfo::CleanUpClasses();
2159 wxClassInfo::InitializeClasses();
2162 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2163 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);