]>
Commit | Line | Data |
---|---|---|
f6bcfd97 | 1 | /* |
2cd2fac8 | 2 | * FILE : src/gtk/calendar.cpp |
f6bcfd97 BP |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
2cd2fac8 | 6 | * Version 1.1 (Build 883) |
f6bcfd97 BP |
7 | * |
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. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
27 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
1c09ae54 | 30 | # define SWIGEXPORT(a) a _export |
f6bcfd97 | 31 | # else |
1c09ae54 | 32 | # define SWIGEXPORT(a) a |
f6bcfd97 BP |
33 | # endif |
34 | # endif | |
35 | #else | |
1c09ae54 | 36 | # define SWIGEXPORT(a) a |
f6bcfd97 BP |
37 | #endif |
38 | ||
1c09ae54 RD |
39 | #include "Python.h" |
40 | ||
f6bcfd97 BP |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
1c09ae54 | 44 | |
f6bcfd97 BP |
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); | |
51 | #ifdef __cplusplus | |
52 | } | |
53 | #endif | |
54 | #define SWIG_init initcalendarc | |
55 | ||
56 | #define SWIG_name "calendarc" | |
57 | ||
b68dc582 | 58 | #include "export.h" |
f6bcfd97 BP |
59 | #include <wx/calctrl.h> |
60 | ||
61 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
62 | PyObject* o2; | |
1c09ae54 | 63 | if (!target) { |
f6bcfd97 | 64 | target = o; |
1c09ae54 | 65 | } else if (target == Py_None) { |
f6bcfd97 BP |
66 | Py_DECREF(Py_None); |
67 | target = o; | |
1c09ae54 | 68 | } else { |
f6bcfd97 BP |
69 | if (!PyList_Check(target)) { |
70 | o2 = target; | |
71 | target = PyList_New(0); | |
72 | PyList_Append(target, o2); | |
73 | Py_XDECREF(o2); | |
74 | } | |
75 | PyList_Append(target,o); | |
76 | Py_XDECREF(o); | |
77 | } | |
78 | return target; | |
79 | } | |
80 | ||
81 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
82 | PyObject* o2; | |
83 | PyObject* o3; | |
84 | ||
1c09ae54 | 85 | if (!target) { |
f6bcfd97 | 86 | target = o; |
1c09ae54 | 87 | } else if (target == Py_None) { |
f6bcfd97 BP |
88 | Py_DECREF(Py_None); |
89 | target = o; | |
1c09ae54 | 90 | } else { |
f6bcfd97 BP |
91 | if (!PyTuple_Check(target)) { |
92 | o2 = target; | |
93 | target = PyTuple_New(1); | |
94 | PyTuple_SetItem(target, 0, o2); | |
95 | } | |
1c09ae54 RD |
96 | o3 = PyTuple_New(1); |
97 | PyTuple_SetItem(o3, 0, o); | |
f6bcfd97 BP |
98 | |
99 | o2 = target; | |
1c09ae54 RD |
100 | target = PySequence_Concat(o2, o3); |
101 | Py_DECREF(o2); | |
f6bcfd97 BP |
102 | Py_DECREF(o3); |
103 | } | |
104 | return target; | |
105 | } | |
106 | ||
107 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
108 | #ifdef __cplusplus | |
109 | extern "C" { | |
110 | #endif | |
111 | #define new_wxCalendarDateAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxCalendarDateAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
112 | static PyObject *_wrap_new_wxCalendarDateAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
113 | PyObject * _resultobj; | |
114 | wxCalendarDateAttr * _result; | |
115 | wxColour * _arg0; | |
116 | wxColour * _arg1 = (wxColour *) &wxNullColour; | |
117 | wxColour * _arg2 = (wxColour *) &wxNullColour; | |
118 | wxFont * _arg3 = (wxFont *) &wxNullFont; | |
119 | wxCalendarDateBorder _arg4 = (wxCalendarDateBorder ) (wxCAL_BORDER_NONE); | |
120 | wxColour temp; | |
121 | PyObject * _obj0 = 0; | |
122 | wxColour temp0; | |
123 | PyObject * _obj1 = 0; | |
124 | wxColour temp1; | |
125 | PyObject * _obj2 = 0; | |
126 | PyObject * _argo3 = 0; | |
127 | char *_kwnames[] = { "colText","colBack","colBorder","font","border", NULL }; | |
128 | char _ptemp[128]; | |
129 | ||
130 | self = self; | |
131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|OOOi:new_wxCalendarDateAttr",_kwnames,&_obj0,&_obj1,&_obj2,&_argo3,&_arg4)) | |
132 | return NULL; | |
133 | { | |
134 | _arg0 = &temp; | |
135 | if (! wxColour_helper(_obj0, &_arg0)) | |
136 | return NULL; | |
137 | } | |
138 | if (_obj1) | |
139 | { | |
140 | _arg1 = &temp0; | |
141 | if (! wxColour_helper(_obj1, &_arg1)) | |
142 | return NULL; | |
143 | } | |
144 | if (_obj2) | |
145 | { | |
146 | _arg2 = &temp1; | |
147 | if (! wxColour_helper(_obj2, &_arg2)) | |
148 | return NULL; | |
149 | } | |
150 | if (_argo3) { | |
151 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
152 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) { | |
153 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxCalendarDateAttr. Expected _wxFont_p."); | |
154 | return NULL; | |
155 | } | |
156 | } | |
157 | { | |
158 | wxPy_BEGIN_ALLOW_THREADS; | |
159 | _result = (wxCalendarDateAttr *)new_wxCalendarDateAttr(*_arg0,*_arg1,*_arg2,*_arg3,_arg4); | |
160 | ||
161 | wxPy_END_ALLOW_THREADS; | |
162 | } if (_result) { | |
163 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxCalendarDateAttr_p"); | |
164 | _resultobj = Py_BuildValue("s",_ptemp); | |
165 | } else { | |
166 | Py_INCREF(Py_None); | |
167 | _resultobj = Py_None; | |
168 | } | |
169 | return _resultobj; | |
170 | } | |
171 | ||
172 | #define new_wxCalendarDateAttrBorder(_swigarg0,_swigarg1) (new wxCalendarDateAttr(_swigarg0,_swigarg1)) | |
173 | static PyObject *_wrap_new_wxCalendarDateAttrBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
174 | PyObject * _resultobj; | |
175 | wxCalendarDateAttr * _result; | |
176 | wxCalendarDateBorder _arg0; | |
177 | wxColour * _arg1 = (wxColour *) &wxNullColour; | |
178 | wxColour temp; | |
179 | PyObject * _obj1 = 0; | |
180 | char *_kwnames[] = { "border","colBorder", NULL }; | |
181 | char _ptemp[128]; | |
182 | ||
183 | self = self; | |
184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i|O:new_wxCalendarDateAttrBorder",_kwnames,&_arg0,&_obj1)) | |
185 | return NULL; | |
186 | if (_obj1) | |
187 | { | |
188 | _arg1 = &temp; | |
189 | if (! wxColour_helper(_obj1, &_arg1)) | |
190 | return NULL; | |
191 | } | |
192 | { | |
193 | wxPy_BEGIN_ALLOW_THREADS; | |
194 | _result = (wxCalendarDateAttr *)new_wxCalendarDateAttrBorder(_arg0,*_arg1); | |
195 | ||
196 | wxPy_END_ALLOW_THREADS; | |
197 | } if (_result) { | |
198 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxCalendarDateAttr_p"); | |
199 | _resultobj = Py_BuildValue("s",_ptemp); | |
200 | } else { | |
201 | Py_INCREF(Py_None); | |
202 | _resultobj = Py_None; | |
203 | } | |
204 | return _resultobj; | |
205 | } | |
206 | ||
207 | #define wxCalendarDateAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0)) | |
208 | static PyObject *_wrap_wxCalendarDateAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
209 | PyObject * _resultobj; | |
210 | wxCalendarDateAttr * _arg0; | |
211 | wxColour * _arg1; | |
212 | PyObject * _argo0 = 0; | |
213 | wxColour temp; | |
214 | PyObject * _obj1 = 0; | |
215 | char *_kwnames[] = { "self","colText", NULL }; | |
216 | ||
217 | self = self; | |
218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCalendarDateAttr_SetTextColour",_kwnames,&_argo0,&_obj1)) | |
219 | return NULL; | |
220 | if (_argo0) { | |
221 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
222 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarDateAttr_p")) { | |
223 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarDateAttr_SetTextColour. Expected _wxCalendarDateAttr_p."); | |
224 | return NULL; | |
225 | } | |
226 | } | |
227 | { | |
228 | _arg1 = &temp; | |
229 | if (! wxColour_helper(_obj1, &_arg1)) | |
230 | return NULL; | |
231 | } | |
232 | { | |
233 | wxPy_BEGIN_ALLOW_THREADS; | |
234 | wxCalendarDateAttr_SetTextColour(_arg0,*_arg1); | |
235 | ||
236 | wxPy_END_ALLOW_THREADS; | |
237 | } Py_INCREF(Py_None); | |
238 | _resultobj = Py_None; | |
239 | return _resultobj; | |
240 | } | |
241 | ||
242 | #define wxCalendarDateAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) | |
243 | static PyObject *_wrap_wxCalendarDateAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
244 | PyObject * _resultobj; | |
245 | wxCalendarDateAttr * _arg0; | |
246 | wxColour * _arg1; | |
247 | PyObject * _argo0 = 0; | |
248 | wxColour temp; | |
249 | PyObject * _obj1 = 0; | |
250 | char *_kwnames[] = { "self","colBack", NULL }; | |
251 | ||
252 | self = self; | |
253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCalendarDateAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1)) | |
254 | return NULL; | |
255 | if (_argo0) { | |
256 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
257 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarDateAttr_p")) { | |
258 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarDateAttr_SetBackgroundColour. Expected _wxCalendarDateAttr_p."); | |
259 | return NULL; | |
260 | } | |
261 | } | |
262 | { | |
263 | _arg1 = &temp; | |
264 | if (! wxColour_helper(_obj1, &_arg1)) | |
265 | return NULL; | |
266 | } | |
267 | { | |
268 | wxPy_BEGIN_ALLOW_THREADS; | |
269 | wxCalendarDateAttr_SetBackgroundColour(_arg0,*_arg1); | |
270 | ||
271 | wxPy_END_ALLOW_THREADS; | |
272 | } Py_INCREF(Py_None); | |
273 | _resultobj = Py_None; | |
274 | return _resultobj; | |
275 | } | |
276 | ||
277 | #define wxCalendarDateAttr_SetBorderColour(_swigobj,_swigarg0) (_swigobj->SetBorderColour(_swigarg0)) | |
278 | static PyObject *_wrap_wxCalendarDateAttr_SetBorderColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
279 | PyObject * _resultobj; | |
280 | wxCalendarDateAttr * _arg0; | |
281 | wxColour * _arg1; | |
282 | PyObject * _argo0 = 0; | |
283 | wxColour temp; | |
284 | PyObject * _obj1 = 0; | |
285 | char *_kwnames[] = { "self","col", NULL }; | |
286 | ||
287 | self = self; | |
288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCalendarDateAttr_SetBorderColour",_kwnames,&_argo0,&_obj1)) | |
289 | return NULL; | |
290 | if (_argo0) { | |
291 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
292 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarDateAttr_p")) { | |
293 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarDateAttr_SetBorderColour. Expected _wxCalendarDateAttr_p."); | |
294 | return NULL; | |
295 | } | |
296 | } | |
297 | { | |
298 | _arg1 = &temp; | |
299 | if (! wxColour_helper(_obj1, &_arg1)) | |
300 | return NULL; | |
301 | } | |
302 | { | |
303 | wxPy_BEGIN_ALLOW_THREADS; | |
304 | wxCalendarDateAttr_SetBorderColour(_arg0,*_arg1); | |
305 | ||
306 | wxPy_END_ALLOW_THREADS; | |
307 | } Py_INCREF(Py_None); | |
308 | _resultobj = Py_None; | |
309 | return _resultobj; | |
310 | } | |
311 | ||
312 | #define wxCalendarDateAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0)) | |
313 | static PyObject *_wrap_wxCalendarDateAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
314 | PyObject * _resultobj; | |
315 | wxCalendarDateAttr * _arg0; | |
316 | wxFont * _arg1; | |
317 | PyObject * _argo0 = 0; | |
318 | PyObject * _argo1 = 0; | |
319 | char *_kwnames[] = { "self","font", NULL }; | |
320 | ||
321 | self = self; | |
322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCalendarDateAttr_SetFont",_kwnames,&_argo0,&_argo1)) | |
323 | return NULL; | |
324 | if (_argo0) { | |
325 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
326 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarDateAttr_p")) { | |
327 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarDateAttr_SetFont. Expected _wxCalendarDateAttr_p."); | |
328 | return NULL; | |
329 | } | |
330 | } | |
331 | if (_argo1) { | |
332 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
333 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
334 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxCalendarDateAttr_SetFont. Expected _wxFont_p."); | |
335 | return NULL; | |
336 | } | |
337 | } | |
338 | { | |
339 | wxPy_BEGIN_ALLOW_THREADS; | |
340 | wxCalendarDateAttr_SetFont(_arg0,*_arg1); | |
341 | ||
342 | wxPy_END_ALLOW_THREADS; | |
343 | } Py_INCREF(Py_None); | |
344 | _resultobj = Py_None; | |
345 | return _resultobj; | |
346 | } | |
347 | ||
348 | #define wxCalendarDateAttr_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0)) | |
349 | static PyObject *_wrap_wxCalendarDateAttr_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
350 | PyObject * _resultobj; | |
351 | wxCalendarDateAttr * _arg0; | |
352 | wxCalendarDateBorder _arg1; | |
353 | PyObject * _argo0 = 0; | |
354 | char *_kwnames[] = { "self","border", NULL }; | |
355 | ||
356 | self = self; | |
357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCalendarDateAttr_SetBorder",_kwnames,&_argo0,&_arg1)) | |
358 | return NULL; | |
359 | if (_argo0) { | |
360 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
361 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarDateAttr_p")) { | |
362 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarDateAttr_SetBorder. Expected _wxCalendarDateAttr_p."); | |
363 | return NULL; | |
364 | } | |
365 | } | |
366 | { | |
367 | wxPy_BEGIN_ALLOW_THREADS; | |
368 | wxCalendarDateAttr_SetBorder(_arg0,_arg1); | |
369 | ||
370 | wxPy_END_ALLOW_THREADS; | |
371 | } Py_INCREF(Py_None); | |
372 | _resultobj = Py_None; | |
373 | return _resultobj; | |
374 | } | |
375 | ||
376 | #define wxCalendarDateAttr_SetHoliday(_swigobj,_swigarg0) (_swigobj->SetHoliday(_swigarg0)) | |
377 | static PyObject *_wrap_wxCalendarDateAttr_SetHoliday(PyObject *self, PyObject *args, PyObject *kwargs) { | |
378 | PyObject * _resultobj; | |
379 | wxCalendarDateAttr * _arg0; | |
380 | bool _arg1; | |
381 | PyObject * _argo0 = 0; | |
382 | int tempbool1; | |
383 | char *_kwnames[] = { "self","holiday", NULL }; | |
384 | ||
385 | self = self; | |
386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCalendarDateAttr_SetHoliday",_kwnames,&_argo0,&tempbool1)) | |
387 | return NULL; | |
388 | if (_argo0) { | |
389 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
390 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarDateAttr_p")) { | |
391 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarDateAttr_SetHoliday. Expected _wxCalendarDateAttr_p."); | |
392 | return NULL; | |
393 | } | |
394 | } | |
395 | _arg1 = (bool ) tempbool1; | |
396 | { | |
397 | wxPy_BEGIN_ALLOW_THREADS; | |
398 | wxCalendarDateAttr_SetHoliday(_arg0,_arg1); | |
399 | ||
400 | wxPy_END_ALLOW_THREADS; | |
401 | } Py_INCREF(Py_None); | |
402 | _resultobj = Py_None; | |
403 | return _resultobj; | |
404 | } | |
405 | ||
406 | #define wxCalendarDateAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour()) | |
407 | static PyObject *_wrap_wxCalendarDateAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
408 | PyObject * _resultobj; | |
409 | bool _result; | |
410 | wxCalendarDateAttr * _arg0; | |
411 | PyObject * _argo0 = 0; | |
412 | char *_kwnames[] = { "self", NULL }; | |
413 | ||
414 | self = self; | |
415 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalendarDateAttr_HasTextColour",_kwnames,&_argo0)) | |
416 | return NULL; | |
417 | if (_argo0) { | |
418 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
419 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarDateAttr_p")) { | |
420 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarDateAttr_HasTextColour. Expected _wxCalendarDateAttr_p."); | |
421 | return NULL; | |
422 | } | |
423 | } | |
424 | { | |
425 | wxPy_BEGIN_ALLOW_THREADS; | |
426 | _result = (bool )wxCalendarDateAttr_HasTextColour(_arg0); | |
427 | ||
428 | wxPy_END_ALLOW_THREADS; | |
429 | } _resultobj = Py_BuildValue("i",_result); | |
430 | return _resultobj; | |
431 | } | |
432 | ||
433 | #define wxCalendarDateAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour()) | |
434 | static PyObject *_wrap_wxCalendarDateAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
435 | PyObject * _resultobj; | |
436 | bool _result; | |
437 | wxCalendarDateAttr * _arg0; | |
438 | PyObject * _argo0 = 0; | |
439 | char *_kwnames[] = { "self", NULL }; | |
440 | ||
441 | self = self; | |
442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalendarDateAttr_HasBackgroundColour",_kwnames,&_argo0)) | |
443 | return NULL; | |
444 | if (_argo0) { | |
445 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
446 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarDateAttr_p")) { | |
447 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarDateAttr_HasBackgroundColour. Expected _wxCalendarDateAttr_p."); | |
448 | return NULL; | |
449 | } | |
450 | } | |
451 | { | |
452 | wxPy_BEGIN_ALLOW_THREADS; | |
453 | _result = (bool )wxCalendarDateAttr_HasBackgroundColour(_arg0); | |
454 | ||
455 | wxPy_END_ALLOW_THREADS; | |
456 | } _resultobj = Py_BuildValue("i",_result); | |
457 | return _resultobj; | |
458 | } | |
459 | ||
460 | #define wxCalendarDateAttr_HasBorderColour(_swigobj) (_swigobj->HasBorderColour()) | |
461 | static PyObject *_wrap_wxCalendarDateAttr_HasBorderColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
462 | PyObject * _resultobj; | |
463 | bool _result; | |
464 | wxCalendarDateAttr * _arg0; | |
465 | PyObject * _argo0 = 0; | |
466 | char *_kwnames[] = { "self", NULL }; | |
467 | ||
468 | self = self; | |
469 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalendarDateAttr_HasBorderColour",_kwnames,&_argo0)) | |
470 | return NULL; | |
471 | if (_argo0) { | |
472 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
473 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarDateAttr_p")) { | |
474 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarDateAttr_HasBorderColour. Expected _wxCalendarDateAttr_p."); | |
475 | return NULL; | |
476 | } | |
477 | } | |
478 | { | |
479 | wxPy_BEGIN_ALLOW_THREADS; | |
480 | _result = (bool )wxCalendarDateAttr_HasBorderColour(_arg0); | |
481 | ||
482 | wxPy_END_ALLOW_THREADS; | |
483 | } _resultobj = Py_BuildValue("i",_result); | |
484 | return _resultobj; | |
485 | } | |
486 | ||
487 | #define wxCalendarDateAttr_HasFont(_swigobj) (_swigobj->HasFont()) | |
488 | static PyObject *_wrap_wxCalendarDateAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
489 | PyObject * _resultobj; | |
490 | bool _result; | |
491 | wxCalendarDateAttr * _arg0; | |
492 | PyObject * _argo0 = 0; | |
493 | char *_kwnames[] = { "self", NULL }; | |
494 | ||
495 | self = self; | |
496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalendarDateAttr_HasFont",_kwnames,&_argo0)) | |
497 | return NULL; | |
498 | if (_argo0) { | |
499 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
500 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarDateAttr_p")) { | |
501 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarDateAttr_HasFont. Expected _wxCalendarDateAttr_p."); | |
502 | return NULL; | |
503 | } | |
504 | } | |
505 | { | |
506 | wxPy_BEGIN_ALLOW_THREADS; | |
507 | _result = (bool )wxCalendarDateAttr_HasFont(_arg0); | |
508 | ||
509 | wxPy_END_ALLOW_THREADS; | |
510 | } _resultobj = Py_BuildValue("i",_result); | |
511 | return _resultobj; | |
512 | } | |
513 | ||
514 | #define wxCalendarDateAttr_HasBorder(_swigobj) (_swigobj->HasBorder()) | |
515 | static PyObject *_wrap_wxCalendarDateAttr_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
516 | PyObject * _resultobj; | |
517 | bool _result; | |
518 | wxCalendarDateAttr * _arg0; | |
519 | PyObject * _argo0 = 0; | |
520 | char *_kwnames[] = { "self", NULL }; | |
521 | ||
522 | self = self; | |
523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalendarDateAttr_HasBorder",_kwnames,&_argo0)) | |
524 | return NULL; | |
525 | if (_argo0) { | |
526 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
527 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarDateAttr_p")) { | |
528 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarDateAttr_HasBorder. Expected _wxCalendarDateAttr_p."); | |
529 | return NULL; | |
530 | } | |
531 | } | |
532 | { | |
533 | wxPy_BEGIN_ALLOW_THREADS; | |
534 | _result = (bool )wxCalendarDateAttr_HasBorder(_arg0); | |
535 | ||
536 | wxPy_END_ALLOW_THREADS; | |
537 | } _resultobj = Py_BuildValue("i",_result); | |
538 | return _resultobj; | |
539 | } | |
540 | ||
541 | #define wxCalendarDateAttr_IsHoliday(_swigobj) (_swigobj->IsHoliday()) | |
542 | static PyObject *_wrap_wxCalendarDateAttr_IsHoliday(PyObject *self, PyObject *args, PyObject *kwargs) { | |
543 | PyObject * _resultobj; | |
544 | bool _result; | |
545 | wxCalendarDateAttr * _arg0; | |
546 | PyObject * _argo0 = 0; | |
547 | char *_kwnames[] = { "self", NULL }; | |
548 | ||
549 | self = self; | |
550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalendarDateAttr_IsHoliday",_kwnames,&_argo0)) | |
551 | return NULL; | |
552 | if (_argo0) { | |
553 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
554 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarDateAttr_p")) { | |
555 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarDateAttr_IsHoliday. Expected _wxCalendarDateAttr_p."); | |
556 | return NULL; | |
557 | } | |
558 | } | |
559 | { | |
560 | wxPy_BEGIN_ALLOW_THREADS; | |
561 | _result = (bool )wxCalendarDateAttr_IsHoliday(_arg0); | |
562 | ||
563 | wxPy_END_ALLOW_THREADS; | |
564 | } _resultobj = Py_BuildValue("i",_result); | |
565 | return _resultobj; | |
566 | } | |
567 | ||
568 | #define wxCalendarDateAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour()) | |
569 | static PyObject *_wrap_wxCalendarDateAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
570 | PyObject * _resultobj; | |
571 | wxColour * _result; | |
572 | wxCalendarDateAttr * _arg0; | |
573 | PyObject * _argo0 = 0; | |
574 | char *_kwnames[] = { "self", NULL }; | |
575 | char _ptemp[128]; | |
576 | ||
577 | self = self; | |
578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalendarDateAttr_GetTextColour",_kwnames,&_argo0)) | |
579 | return NULL; | |
580 | if (_argo0) { | |
581 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
582 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarDateAttr_p")) { | |
583 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarDateAttr_GetTextColour. Expected _wxCalendarDateAttr_p."); | |
584 | return NULL; | |
585 | } | |
586 | } | |
587 | { | |
588 | wxPy_BEGIN_ALLOW_THREADS; | |
589 | const wxColour & _result_ref = wxCalendarDateAttr_GetTextColour(_arg0); | |
590 | _result = (wxColour *) &_result_ref; | |
591 | ||
592 | wxPy_END_ALLOW_THREADS; | |
593 | } if (_result) { | |
594 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
595 | _resultobj = Py_BuildValue("s",_ptemp); | |
596 | } else { | |
597 | Py_INCREF(Py_None); | |
598 | _resultobj = Py_None; | |
599 | } | |
600 | return _resultobj; | |
601 | } | |
602 | ||
603 | #define wxCalendarDateAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour()) | |
604 | static PyObject *_wrap_wxCalendarDateAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
605 | PyObject * _resultobj; | |
606 | wxColour * _result; | |
607 | wxCalendarDateAttr * _arg0; | |
608 | PyObject * _argo0 = 0; | |
609 | char *_kwnames[] = { "self", NULL }; | |
610 | char _ptemp[128]; | |
611 | ||
612 | self = self; | |
613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalendarDateAttr_GetBackgroundColour",_kwnames,&_argo0)) | |
614 | return NULL; | |
615 | if (_argo0) { | |
616 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
617 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarDateAttr_p")) { | |
618 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarDateAttr_GetBackgroundColour. Expected _wxCalendarDateAttr_p."); | |
619 | return NULL; | |
620 | } | |
621 | } | |
622 | { | |
623 | wxPy_BEGIN_ALLOW_THREADS; | |
624 | const wxColour & _result_ref = wxCalendarDateAttr_GetBackgroundColour(_arg0); | |
625 | _result = (wxColour *) &_result_ref; | |
626 | ||
627 | wxPy_END_ALLOW_THREADS; | |
628 | } if (_result) { | |
629 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
630 | _resultobj = Py_BuildValue("s",_ptemp); | |
631 | } else { | |
632 | Py_INCREF(Py_None); | |
633 | _resultobj = Py_None; | |
634 | } | |
635 | return _resultobj; | |
636 | } | |
637 | ||
638 | #define wxCalendarDateAttr_GetBorderColour(_swigobj) (_swigobj->GetBorderColour()) | |
639 | static PyObject *_wrap_wxCalendarDateAttr_GetBorderColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
640 | PyObject * _resultobj; | |
641 | wxColour * _result; | |
642 | wxCalendarDateAttr * _arg0; | |
643 | PyObject * _argo0 = 0; | |
644 | char *_kwnames[] = { "self", NULL }; | |
645 | char _ptemp[128]; | |
646 | ||
647 | self = self; | |
648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalendarDateAttr_GetBorderColour",_kwnames,&_argo0)) | |
649 | return NULL; | |
650 | if (_argo0) { | |
651 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
652 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarDateAttr_p")) { | |
653 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarDateAttr_GetBorderColour. Expected _wxCalendarDateAttr_p."); | |
654 | return NULL; | |
655 | } | |
656 | } | |
657 | { | |
658 | wxPy_BEGIN_ALLOW_THREADS; | |
659 | const wxColour & _result_ref = wxCalendarDateAttr_GetBorderColour(_arg0); | |
660 | _result = (wxColour *) &_result_ref; | |
661 | ||
662 | wxPy_END_ALLOW_THREADS; | |
663 | } if (_result) { | |
664 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
665 | _resultobj = Py_BuildValue("s",_ptemp); | |
666 | } else { | |
667 | Py_INCREF(Py_None); | |
668 | _resultobj = Py_None; | |
669 | } | |
670 | return _resultobj; | |
671 | } | |
672 | ||
673 | #define wxCalendarDateAttr_GetFont(_swigobj) (_swigobj->GetFont()) | |
674 | static PyObject *_wrap_wxCalendarDateAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
675 | PyObject * _resultobj; | |
676 | wxFont * _result; | |
677 | wxCalendarDateAttr * _arg0; | |
678 | PyObject * _argo0 = 0; | |
679 | char *_kwnames[] = { "self", NULL }; | |
680 | char _ptemp[128]; | |
681 | ||
682 | self = self; | |
683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalendarDateAttr_GetFont",_kwnames,&_argo0)) | |
684 | return NULL; | |
685 | if (_argo0) { | |
686 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
687 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarDateAttr_p")) { | |
688 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarDateAttr_GetFont. Expected _wxCalendarDateAttr_p."); | |
689 | return NULL; | |
690 | } | |
691 | } | |
692 | { | |
693 | wxPy_BEGIN_ALLOW_THREADS; | |
694 | const wxFont & _result_ref = wxCalendarDateAttr_GetFont(_arg0); | |
695 | _result = (wxFont *) &_result_ref; | |
696 | ||
697 | wxPy_END_ALLOW_THREADS; | |
698 | } if (_result) { | |
699 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
700 | _resultobj = Py_BuildValue("s",_ptemp); | |
701 | } else { | |
702 | Py_INCREF(Py_None); | |
703 | _resultobj = Py_None; | |
704 | } | |
705 | return _resultobj; | |
706 | } | |
707 | ||
708 | #define wxCalendarDateAttr_GetBorder(_swigobj) (_swigobj->GetBorder()) | |
709 | static PyObject *_wrap_wxCalendarDateAttr_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
710 | PyObject * _resultobj; | |
711 | wxCalendarDateBorder _result; | |
712 | wxCalendarDateAttr * _arg0; | |
713 | PyObject * _argo0 = 0; | |
714 | char *_kwnames[] = { "self", NULL }; | |
715 | ||
716 | self = self; | |
717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalendarDateAttr_GetBorder",_kwnames,&_argo0)) | |
718 | return NULL; | |
719 | if (_argo0) { | |
720 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
721 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarDateAttr_p")) { | |
722 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarDateAttr_GetBorder. Expected _wxCalendarDateAttr_p."); | |
723 | return NULL; | |
724 | } | |
725 | } | |
726 | { | |
727 | wxPy_BEGIN_ALLOW_THREADS; | |
728 | _result = (wxCalendarDateBorder )wxCalendarDateAttr_GetBorder(_arg0); | |
729 | ||
730 | wxPy_END_ALLOW_THREADS; | |
731 | } _resultobj = Py_BuildValue("i",_result); | |
732 | return _resultobj; | |
733 | } | |
734 | ||
735 | static void *SwigwxCalendarEventTowxCommandEvent(void *ptr) { | |
736 | wxCalendarEvent *src; | |
737 | wxCommandEvent *dest; | |
738 | src = (wxCalendarEvent *) ptr; | |
739 | dest = (wxCommandEvent *) src; | |
740 | return (void *) dest; | |
741 | } | |
742 | ||
743 | static void *SwigwxCalendarEventTowxEvent(void *ptr) { | |
744 | wxCalendarEvent *src; | |
745 | wxEvent *dest; | |
746 | src = (wxCalendarEvent *) ptr; | |
747 | dest = (wxEvent *) src; | |
748 | return (void *) dest; | |
749 | } | |
750 | ||
751 | #define new_wxCalendarEvent(_swigarg0,_swigarg1) (new wxCalendarEvent(_swigarg0,_swigarg1)) | |
752 | static PyObject *_wrap_new_wxCalendarEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
753 | PyObject * _resultobj; | |
754 | wxCalendarEvent * _result; | |
755 | wxCalendarCtrl * _arg0; | |
756 | wxEventType _arg1; | |
757 | PyObject * _argo0 = 0; | |
758 | char *_kwnames[] = { "cal","type", NULL }; | |
759 | char _ptemp[128]; | |
760 | ||
761 | self = self; | |
762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:new_wxCalendarEvent",_kwnames,&_argo0,&_arg1)) | |
763 | return NULL; | |
764 | if (_argo0) { | |
765 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
766 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarCtrl_p")) { | |
767 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCalendarEvent. Expected _wxCalendarCtrl_p."); | |
768 | return NULL; | |
769 | } | |
770 | } | |
771 | { | |
772 | wxPy_BEGIN_ALLOW_THREADS; | |
773 | _result = (wxCalendarEvent *)new_wxCalendarEvent(_arg0,_arg1); | |
774 | ||
775 | wxPy_END_ALLOW_THREADS; | |
776 | } if (_result) { | |
777 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxCalendarEvent_p"); | |
778 | _resultobj = Py_BuildValue("s",_ptemp); | |
779 | } else { | |
780 | Py_INCREF(Py_None); | |
781 | _resultobj = Py_None; | |
782 | } | |
783 | return _resultobj; | |
784 | } | |
785 | ||
786 | #define wxCalendarEvent_GetDate(_swigobj) (_swigobj->GetDate()) | |
787 | static PyObject *_wrap_wxCalendarEvent_GetDate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
788 | PyObject * _resultobj; | |
789 | wxDateTime * _result; | |
790 | wxCalendarEvent * _arg0; | |
791 | PyObject * _argo0 = 0; | |
792 | char *_kwnames[] = { "self", NULL }; | |
793 | char _ptemp[128]; | |
794 | ||
795 | self = self; | |
796 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalendarEvent_GetDate",_kwnames,&_argo0)) | |
797 | return NULL; | |
798 | if (_argo0) { | |
799 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
800 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarEvent_p")) { | |
801 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarEvent_GetDate. Expected _wxCalendarEvent_p."); | |
802 | return NULL; | |
803 | } | |
804 | } | |
805 | { | |
806 | wxPy_BEGIN_ALLOW_THREADS; | |
807 | const wxDateTime & _result_ref = wxCalendarEvent_GetDate(_arg0); | |
808 | _result = (wxDateTime *) &_result_ref; | |
809 | ||
810 | wxPy_END_ALLOW_THREADS; | |
811 | } if (_result) { | |
812 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p"); | |
813 | _resultobj = Py_BuildValue("s",_ptemp); | |
814 | } else { | |
815 | Py_INCREF(Py_None); | |
816 | _resultobj = Py_None; | |
817 | } | |
818 | return _resultobj; | |
819 | } | |
820 | ||
821 | #define wxCalendarEvent_GetWeekDay(_swigobj) (_swigobj->GetWeekDay()) | |
822 | static PyObject *_wrap_wxCalendarEvent_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) { | |
823 | PyObject * _resultobj; | |
824 | wxDateTime::WeekDay _result; | |
825 | wxCalendarEvent * _arg0; | |
826 | PyObject * _argo0 = 0; | |
827 | char *_kwnames[] = { "self", NULL }; | |
828 | ||
829 | self = self; | |
830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalendarEvent_GetWeekDay",_kwnames,&_argo0)) | |
831 | return NULL; | |
832 | if (_argo0) { | |
833 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
834 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarEvent_p")) { | |
835 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarEvent_GetWeekDay. Expected _wxCalendarEvent_p."); | |
836 | return NULL; | |
837 | } | |
838 | } | |
839 | { | |
840 | wxPy_BEGIN_ALLOW_THREADS; | |
841 | _result = (wxDateTime::WeekDay )wxCalendarEvent_GetWeekDay(_arg0); | |
842 | ||
843 | wxPy_END_ALLOW_THREADS; | |
844 | } _resultobj = Py_BuildValue("i",_result); | |
845 | return _resultobj; | |
846 | } | |
847 | ||
848 | static void *SwigwxCalendarCtrlTowxControl(void *ptr) { | |
849 | wxCalendarCtrl *src; | |
850 | wxControl *dest; | |
851 | src = (wxCalendarCtrl *) ptr; | |
852 | dest = (wxControl *) src; | |
853 | return (void *) dest; | |
854 | } | |
855 | ||
856 | static void *SwigwxCalendarCtrlTowxWindow(void *ptr) { | |
857 | wxCalendarCtrl *src; | |
858 | wxWindow *dest; | |
859 | src = (wxCalendarCtrl *) ptr; | |
860 | dest = (wxWindow *) src; | |
861 | return (void *) dest; | |
862 | } | |
863 | ||
864 | static void *SwigwxCalendarCtrlTowxEvtHandler(void *ptr) { | |
865 | wxCalendarCtrl *src; | |
866 | wxEvtHandler *dest; | |
867 | src = (wxCalendarCtrl *) ptr; | |
868 | dest = (wxEvtHandler *) src; | |
869 | return (void *) dest; | |
870 | } | |
871 | ||
872 | #define new_wxCalendarCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxCalendarCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
873 | static PyObject *_wrap_new_wxCalendarCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
874 | PyObject * _resultobj; | |
875 | wxCalendarCtrl * _result; | |
876 | wxWindow * _arg0; | |
877 | wxWindowID _arg1; | |
878 | wxDateTime * _arg2 = (wxDateTime *) &wxDefaultDateTime; | |
879 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; | |
880 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
881 | long _arg5 = (long ) (wxCAL_SHOW_HOLIDAYS); | |
882 | char * _arg6 = (char *) "calendar"; | |
883 | PyObject * _argo0 = 0; | |
884 | PyObject * _argo2 = 0; | |
885 | wxPoint temp; | |
886 | PyObject * _obj3 = 0; | |
887 | wxSize temp0; | |
888 | PyObject * _obj4 = 0; | |
889 | char *_kwnames[] = { "parent","id","date","pos","size","style","name", NULL }; | |
890 | char _ptemp[128]; | |
891 | ||
892 | self = self; | |
893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOls:new_wxCalendarCtrl",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_arg6)) | |
894 | return NULL; | |
895 | if (_argo0) { | |
896 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
897 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
898 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCalendarCtrl. Expected _wxWindow_p."); | |
899 | return NULL; | |
900 | } | |
901 | } | |
902 | if (_argo2) { | |
903 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
904 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxDateTime_p")) { | |
905 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxCalendarCtrl. Expected _wxDateTime_p."); | |
906 | return NULL; | |
907 | } | |
908 | } | |
909 | if (_obj3) | |
910 | { | |
911 | _arg3 = &temp; | |
912 | if (! wxPoint_helper(_obj3, &_arg3)) | |
913 | return NULL; | |
914 | } | |
915 | if (_obj4) | |
916 | { | |
917 | _arg4 = &temp0; | |
918 | if (! wxSize_helper(_obj4, &_arg4)) | |
919 | return NULL; | |
920 | } | |
921 | { | |
922 | wxPy_BEGIN_ALLOW_THREADS; | |
923 | _result = (wxCalendarCtrl *)new_wxCalendarCtrl(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6); | |
924 | ||
925 | wxPy_END_ALLOW_THREADS; | |
926 | } if (_result) { | |
927 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxCalendarCtrl_p"); | |
928 | _resultobj = Py_BuildValue("s",_ptemp); | |
929 | } else { | |
930 | Py_INCREF(Py_None); | |
931 | _resultobj = Py_None; | |
932 | } | |
933 | return _resultobj; | |
934 | } | |
935 | ||
936 | #define wxCalendarCtrl_SetDate(_swigobj,_swigarg0) (_swigobj->SetDate(_swigarg0)) | |
937 | static PyObject *_wrap_wxCalendarCtrl_SetDate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
938 | PyObject * _resultobj; | |
939 | wxCalendarCtrl * _arg0; | |
940 | wxDateTime * _arg1; | |
941 | PyObject * _argo0 = 0; | |
942 | PyObject * _argo1 = 0; | |
943 | char *_kwnames[] = { "self","date", NULL }; | |
944 | ||
945 | self = self; | |
946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCalendarCtrl_SetDate",_kwnames,&_argo0,&_argo1)) | |
947 | return NULL; | |
948 | if (_argo0) { | |
949 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
950 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarCtrl_p")) { | |
951 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarCtrl_SetDate. Expected _wxCalendarCtrl_p."); | |
952 | return NULL; | |
953 | } | |
954 | } | |
955 | if (_argo1) { | |
956 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
957 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDateTime_p")) { | |
958 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxCalendarCtrl_SetDate. Expected _wxDateTime_p."); | |
959 | return NULL; | |
960 | } | |
961 | } | |
962 | { | |
963 | wxPy_BEGIN_ALLOW_THREADS; | |
964 | wxCalendarCtrl_SetDate(_arg0,*_arg1); | |
965 | ||
966 | wxPy_END_ALLOW_THREADS; | |
967 | } Py_INCREF(Py_None); | |
968 | _resultobj = Py_None; | |
969 | return _resultobj; | |
970 | } | |
971 | ||
972 | #define wxCalendarCtrl_GetDate(_swigobj) (_swigobj->GetDate()) | |
973 | static PyObject *_wrap_wxCalendarCtrl_GetDate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
974 | PyObject * _resultobj; | |
975 | wxDateTime * _result; | |
976 | wxCalendarCtrl * _arg0; | |
977 | PyObject * _argo0 = 0; | |
978 | char *_kwnames[] = { "self", NULL }; | |
979 | char _ptemp[128]; | |
980 | ||
981 | self = self; | |
982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalendarCtrl_GetDate",_kwnames,&_argo0)) | |
983 | return NULL; | |
984 | if (_argo0) { | |
985 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
986 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarCtrl_p")) { | |
987 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarCtrl_GetDate. Expected _wxCalendarCtrl_p."); | |
988 | return NULL; | |
989 | } | |
990 | } | |
991 | { | |
992 | wxPy_BEGIN_ALLOW_THREADS; | |
993 | const wxDateTime & _result_ref = wxCalendarCtrl_GetDate(_arg0); | |
994 | _result = (wxDateTime *) &_result_ref; | |
995 | ||
996 | wxPy_END_ALLOW_THREADS; | |
997 | } if (_result) { | |
998 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxDateTime_p"); | |
999 | _resultobj = Py_BuildValue("s",_ptemp); | |
1000 | } else { | |
1001 | Py_INCREF(Py_None); | |
1002 | _resultobj = Py_None; | |
1003 | } | |
1004 | return _resultobj; | |
1005 | } | |
1006 | ||
1007 | #define wxCalendarCtrl_EnableYearChange(_swigobj,_swigarg0) (_swigobj->EnableYearChange(_swigarg0)) | |
1008 | static PyObject *_wrap_wxCalendarCtrl_EnableYearChange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1009 | PyObject * _resultobj; | |
1010 | wxCalendarCtrl * _arg0; | |
1011 | bool _arg1 = (bool ) TRUE; | |
1012 | PyObject * _argo0 = 0; | |
1013 | int tempbool1 = (int) TRUE; | |
1014 | char *_kwnames[] = { "self","enable", NULL }; | |
1015 | ||
1016 | self = self; | |
1017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxCalendarCtrl_EnableYearChange",_kwnames,&_argo0,&tempbool1)) | |
1018 | return NULL; | |
1019 | if (_argo0) { | |
1020 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1021 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarCtrl_p")) { | |
1022 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarCtrl_EnableYearChange. Expected _wxCalendarCtrl_p."); | |
1023 | return NULL; | |
1024 | } | |
1025 | } | |
1026 | _arg1 = (bool ) tempbool1; | |
1027 | { | |
1028 | wxPy_BEGIN_ALLOW_THREADS; | |
1029 | wxCalendarCtrl_EnableYearChange(_arg0,_arg1); | |
1030 | ||
1031 | wxPy_END_ALLOW_THREADS; | |
1032 | } Py_INCREF(Py_None); | |
1033 | _resultobj = Py_None; | |
1034 | return _resultobj; | |
1035 | } | |
1036 | ||
1037 | #define wxCalendarCtrl_EnableMonthChange(_swigobj,_swigarg0) (_swigobj->EnableMonthChange(_swigarg0)) | |
1038 | static PyObject *_wrap_wxCalendarCtrl_EnableMonthChange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1039 | PyObject * _resultobj; | |
1040 | wxCalendarCtrl * _arg0; | |
1041 | bool _arg1 = (bool ) TRUE; | |
1042 | PyObject * _argo0 = 0; | |
1043 | int tempbool1 = (int) TRUE; | |
1044 | char *_kwnames[] = { "self","enable", NULL }; | |
1045 | ||
1046 | self = self; | |
1047 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxCalendarCtrl_EnableMonthChange",_kwnames,&_argo0,&tempbool1)) | |
1048 | return NULL; | |
1049 | if (_argo0) { | |
1050 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1051 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarCtrl_p")) { | |
1052 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarCtrl_EnableMonthChange. Expected _wxCalendarCtrl_p."); | |
1053 | return NULL; | |
1054 | } | |
1055 | } | |
1056 | _arg1 = (bool ) tempbool1; | |
1057 | { | |
1058 | wxPy_BEGIN_ALLOW_THREADS; | |
1059 | wxCalendarCtrl_EnableMonthChange(_arg0,_arg1); | |
1060 | ||
1061 | wxPy_END_ALLOW_THREADS; | |
1062 | } Py_INCREF(Py_None); | |
1063 | _resultobj = Py_None; | |
1064 | return _resultobj; | |
1065 | } | |
1066 | ||
1067 | #define wxCalendarCtrl_EnableHolidayDisplay(_swigobj,_swigarg0) (_swigobj->EnableHolidayDisplay(_swigarg0)) | |
1068 | static PyObject *_wrap_wxCalendarCtrl_EnableHolidayDisplay(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1069 | PyObject * _resultobj; | |
1070 | wxCalendarCtrl * _arg0; | |
1071 | bool _arg1 = (bool ) TRUE; | |
1072 | PyObject * _argo0 = 0; | |
1073 | int tempbool1 = (int) TRUE; | |
1074 | char *_kwnames[] = { "self","display", NULL }; | |
1075 | ||
1076 | self = self; | |
1077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxCalendarCtrl_EnableHolidayDisplay",_kwnames,&_argo0,&tempbool1)) | |
1078 | return NULL; | |
1079 | if (_argo0) { | |
1080 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1081 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarCtrl_p")) { | |
1082 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarCtrl_EnableHolidayDisplay. Expected _wxCalendarCtrl_p."); | |
1083 | return NULL; | |
1084 | } | |
1085 | } | |
1086 | _arg1 = (bool ) tempbool1; | |
1087 | { | |
1088 | wxPy_BEGIN_ALLOW_THREADS; | |
1089 | wxCalendarCtrl_EnableHolidayDisplay(_arg0,_arg1); | |
1090 | ||
1091 | wxPy_END_ALLOW_THREADS; | |
1092 | } Py_INCREF(Py_None); | |
1093 | _resultobj = Py_None; | |
1094 | return _resultobj; | |
1095 | } | |
1096 | ||
1097 | #define wxCalendarCtrl_SetHeaderColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeaderColours(_swigarg0,_swigarg1)) | |
1098 | static PyObject *_wrap_wxCalendarCtrl_SetHeaderColours(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1099 | PyObject * _resultobj; | |
1100 | wxCalendarCtrl * _arg0; | |
1101 | wxColour * _arg1; | |
1102 | wxColour * _arg2; | |
1103 | PyObject * _argo0 = 0; | |
1104 | wxColour temp; | |
1105 | PyObject * _obj1 = 0; | |
1106 | wxColour temp0; | |
1107 | PyObject * _obj2 = 0; | |
1108 | char *_kwnames[] = { "self","colFg","colBg", NULL }; | |
1109 | ||
1110 | self = self; | |
1111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxCalendarCtrl_SetHeaderColours",_kwnames,&_argo0,&_obj1,&_obj2)) | |
1112 | return NULL; | |
1113 | if (_argo0) { | |
1114 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1115 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarCtrl_p")) { | |
1116 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarCtrl_SetHeaderColours. Expected _wxCalendarCtrl_p."); | |
1117 | return NULL; | |
1118 | } | |
1119 | } | |
1120 | { | |
1121 | _arg1 = &temp; | |
1122 | if (! wxColour_helper(_obj1, &_arg1)) | |
1123 | return NULL; | |
1124 | } | |
1125 | { | |
1126 | _arg2 = &temp0; | |
1127 | if (! wxColour_helper(_obj2, &_arg2)) | |
1128 | return NULL; | |
1129 | } | |
1130 | { | |
1131 | wxPy_BEGIN_ALLOW_THREADS; | |
1132 | wxCalendarCtrl_SetHeaderColours(_arg0,*_arg1,*_arg2); | |
1133 | ||
1134 | wxPy_END_ALLOW_THREADS; | |
1135 | } Py_INCREF(Py_None); | |
1136 | _resultobj = Py_None; | |
1137 | return _resultobj; | |
1138 | } | |
1139 | ||
1140 | #define wxCalendarCtrl_GetHeaderColourFg(_swigobj) (_swigobj->GetHeaderColourFg()) | |
1141 | static PyObject *_wrap_wxCalendarCtrl_GetHeaderColourFg(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1142 | PyObject * _resultobj; | |
1143 | wxColour * _result; | |
1144 | wxCalendarCtrl * _arg0; | |
1145 | PyObject * _argo0 = 0; | |
1146 | char *_kwnames[] = { "self", NULL }; | |
1147 | char _ptemp[128]; | |
1148 | ||
1149 | self = self; | |
1150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalendarCtrl_GetHeaderColourFg",_kwnames,&_argo0)) | |
1151 | return NULL; | |
1152 | if (_argo0) { | |
1153 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1154 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarCtrl_p")) { | |
1155 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarCtrl_GetHeaderColourFg. Expected _wxCalendarCtrl_p."); | |
1156 | return NULL; | |
1157 | } | |
1158 | } | |
1159 | { | |
1160 | wxPy_BEGIN_ALLOW_THREADS; | |
1161 | const wxColour & _result_ref = wxCalendarCtrl_GetHeaderColourFg(_arg0); | |
1162 | _result = (wxColour *) &_result_ref; | |
1163 | ||
1164 | wxPy_END_ALLOW_THREADS; | |
1165 | } if (_result) { | |
1166 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
1167 | _resultobj = Py_BuildValue("s",_ptemp); | |
1168 | } else { | |
1169 | Py_INCREF(Py_None); | |
1170 | _resultobj = Py_None; | |
1171 | } | |
1172 | return _resultobj; | |
1173 | } | |
1174 | ||
1175 | #define wxCalendarCtrl_GetHeaderColourBg(_swigobj) (_swigobj->GetHeaderColourBg()) | |
1176 | static PyObject *_wrap_wxCalendarCtrl_GetHeaderColourBg(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1177 | PyObject * _resultobj; | |
1178 | wxColour * _result; | |
1179 | wxCalendarCtrl * _arg0; | |
1180 | PyObject * _argo0 = 0; | |
1181 | char *_kwnames[] = { "self", NULL }; | |
1182 | char _ptemp[128]; | |
1183 | ||
1184 | self = self; | |
1185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalendarCtrl_GetHeaderColourBg",_kwnames,&_argo0)) | |
1186 | return NULL; | |
1187 | if (_argo0) { | |
1188 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1189 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarCtrl_p")) { | |
1190 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarCtrl_GetHeaderColourBg. Expected _wxCalendarCtrl_p."); | |
1191 | return NULL; | |
1192 | } | |
1193 | } | |
1194 | { | |
1195 | wxPy_BEGIN_ALLOW_THREADS; | |
1196 | const wxColour & _result_ref = wxCalendarCtrl_GetHeaderColourBg(_arg0); | |
1197 | _result = (wxColour *) &_result_ref; | |
1198 | ||
1199 | wxPy_END_ALLOW_THREADS; | |
1200 | } if (_result) { | |
1201 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
1202 | _resultobj = Py_BuildValue("s",_ptemp); | |
1203 | } else { | |
1204 | Py_INCREF(Py_None); | |
1205 | _resultobj = Py_None; | |
1206 | } | |
1207 | return _resultobj; | |
1208 | } | |
1209 | ||
1210 | #define wxCalendarCtrl_SetHighlightColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlightColours(_swigarg0,_swigarg1)) | |
1211 | static PyObject *_wrap_wxCalendarCtrl_SetHighlightColours(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1212 | PyObject * _resultobj; | |
1213 | wxCalendarCtrl * _arg0; | |
1214 | wxColour * _arg1; | |
1215 | wxColour * _arg2; | |
1216 | PyObject * _argo0 = 0; | |
1217 | wxColour temp; | |
1218 | PyObject * _obj1 = 0; | |
1219 | wxColour temp0; | |
1220 | PyObject * _obj2 = 0; | |
1221 | char *_kwnames[] = { "self","colFg","colBg", NULL }; | |
1222 | ||
1223 | self = self; | |
1224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxCalendarCtrl_SetHighlightColours",_kwnames,&_argo0,&_obj1,&_obj2)) | |
1225 | return NULL; | |
1226 | if (_argo0) { | |
1227 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1228 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarCtrl_p")) { | |
1229 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarCtrl_SetHighlightColours. Expected _wxCalendarCtrl_p."); | |
1230 | return NULL; | |
1231 | } | |
1232 | } | |
1233 | { | |
1234 | _arg1 = &temp; | |
1235 | if (! wxColour_helper(_obj1, &_arg1)) | |
1236 | return NULL; | |
1237 | } | |
1238 | { | |
1239 | _arg2 = &temp0; | |
1240 | if (! wxColour_helper(_obj2, &_arg2)) | |
1241 | return NULL; | |
1242 | } | |
1243 | { | |
1244 | wxPy_BEGIN_ALLOW_THREADS; | |
1245 | wxCalendarCtrl_SetHighlightColours(_arg0,*_arg1,*_arg2); | |
1246 | ||
1247 | wxPy_END_ALLOW_THREADS; | |
1248 | } Py_INCREF(Py_None); | |
1249 | _resultobj = Py_None; | |
1250 | return _resultobj; | |
1251 | } | |
1252 | ||
1253 | #define wxCalendarCtrl_GetHighlightColourFg(_swigobj) (_swigobj->GetHighlightColourFg()) | |
1254 | static PyObject *_wrap_wxCalendarCtrl_GetHighlightColourFg(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1255 | PyObject * _resultobj; | |
1256 | wxColour * _result; | |
1257 | wxCalendarCtrl * _arg0; | |
1258 | PyObject * _argo0 = 0; | |
1259 | char *_kwnames[] = { "self", NULL }; | |
1260 | char _ptemp[128]; | |
1261 | ||
1262 | self = self; | |
1263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalendarCtrl_GetHighlightColourFg",_kwnames,&_argo0)) | |
1264 | return NULL; | |
1265 | if (_argo0) { | |
1266 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1267 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarCtrl_p")) { | |
1268 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarCtrl_GetHighlightColourFg. Expected _wxCalendarCtrl_p."); | |
1269 | return NULL; | |
1270 | } | |
1271 | } | |
1272 | { | |
1273 | wxPy_BEGIN_ALLOW_THREADS; | |
1274 | const wxColour & _result_ref = wxCalendarCtrl_GetHighlightColourFg(_arg0); | |
1275 | _result = (wxColour *) &_result_ref; | |
1276 | ||
1277 | wxPy_END_ALLOW_THREADS; | |
1278 | } if (_result) { | |
1279 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
1280 | _resultobj = Py_BuildValue("s",_ptemp); | |
1281 | } else { | |
1282 | Py_INCREF(Py_None); | |
1283 | _resultobj = Py_None; | |
1284 | } | |
1285 | return _resultobj; | |
1286 | } | |
1287 | ||
1288 | #define wxCalendarCtrl_GetHighlightColourBg(_swigobj) (_swigobj->GetHighlightColourBg()) | |
1289 | static PyObject *_wrap_wxCalendarCtrl_GetHighlightColourBg(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1290 | PyObject * _resultobj; | |
1291 | wxColour * _result; | |
1292 | wxCalendarCtrl * _arg0; | |
1293 | PyObject * _argo0 = 0; | |
1294 | char *_kwnames[] = { "self", NULL }; | |
1295 | char _ptemp[128]; | |
1296 | ||
1297 | self = self; | |
1298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalendarCtrl_GetHighlightColourBg",_kwnames,&_argo0)) | |
1299 | return NULL; | |
1300 | if (_argo0) { | |
1301 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1302 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarCtrl_p")) { | |
1303 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarCtrl_GetHighlightColourBg. Expected _wxCalendarCtrl_p."); | |
1304 | return NULL; | |
1305 | } | |
1306 | } | |
1307 | { | |
1308 | wxPy_BEGIN_ALLOW_THREADS; | |
1309 | const wxColour & _result_ref = wxCalendarCtrl_GetHighlightColourBg(_arg0); | |
1310 | _result = (wxColour *) &_result_ref; | |
1311 | ||
1312 | wxPy_END_ALLOW_THREADS; | |
1313 | } if (_result) { | |
1314 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
1315 | _resultobj = Py_BuildValue("s",_ptemp); | |
1316 | } else { | |
1317 | Py_INCREF(Py_None); | |
1318 | _resultobj = Py_None; | |
1319 | } | |
1320 | return _resultobj; | |
1321 | } | |
1322 | ||
1323 | #define wxCalendarCtrl_SetHolidayColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHolidayColours(_swigarg0,_swigarg1)) | |
1324 | static PyObject *_wrap_wxCalendarCtrl_SetHolidayColours(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1325 | PyObject * _resultobj; | |
1326 | wxCalendarCtrl * _arg0; | |
1327 | wxColour * _arg1; | |
1328 | wxColour * _arg2; | |
1329 | PyObject * _argo0 = 0; | |
1330 | wxColour temp; | |
1331 | PyObject * _obj1 = 0; | |
1332 | wxColour temp0; | |
1333 | PyObject * _obj2 = 0; | |
1334 | char *_kwnames[] = { "self","colFg","colBg", NULL }; | |
1335 | ||
1336 | self = self; | |
1337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxCalendarCtrl_SetHolidayColours",_kwnames,&_argo0,&_obj1,&_obj2)) | |
1338 | return NULL; | |
1339 | if (_argo0) { | |
1340 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1341 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarCtrl_p")) { | |
1342 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarCtrl_SetHolidayColours. Expected _wxCalendarCtrl_p."); | |
1343 | return NULL; | |
1344 | } | |
1345 | } | |
1346 | { | |
1347 | _arg1 = &temp; | |
1348 | if (! wxColour_helper(_obj1, &_arg1)) | |
1349 | return NULL; | |
1350 | } | |
1351 | { | |
1352 | _arg2 = &temp0; | |
1353 | if (! wxColour_helper(_obj2, &_arg2)) | |
1354 | return NULL; | |
1355 | } | |
1356 | { | |
1357 | wxPy_BEGIN_ALLOW_THREADS; | |
1358 | wxCalendarCtrl_SetHolidayColours(_arg0,*_arg1,*_arg2); | |
1359 | ||
1360 | wxPy_END_ALLOW_THREADS; | |
1361 | } Py_INCREF(Py_None); | |
1362 | _resultobj = Py_None; | |
1363 | return _resultobj; | |
1364 | } | |
1365 | ||
1366 | #define wxCalendarCtrl_GetHolidayColourFg(_swigobj) (_swigobj->GetHolidayColourFg()) | |
1367 | static PyObject *_wrap_wxCalendarCtrl_GetHolidayColourFg(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1368 | PyObject * _resultobj; | |
1369 | wxColour * _result; | |
1370 | wxCalendarCtrl * _arg0; | |
1371 | PyObject * _argo0 = 0; | |
1372 | char *_kwnames[] = { "self", NULL }; | |
1373 | char _ptemp[128]; | |
1374 | ||
1375 | self = self; | |
1376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalendarCtrl_GetHolidayColourFg",_kwnames,&_argo0)) | |
1377 | return NULL; | |
1378 | if (_argo0) { | |
1379 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1380 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarCtrl_p")) { | |
1381 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarCtrl_GetHolidayColourFg. Expected _wxCalendarCtrl_p."); | |
1382 | return NULL; | |
1383 | } | |
1384 | } | |
1385 | { | |
1386 | wxPy_BEGIN_ALLOW_THREADS; | |
1387 | const wxColour & _result_ref = wxCalendarCtrl_GetHolidayColourFg(_arg0); | |
1388 | _result = (wxColour *) &_result_ref; | |
1389 | ||
1390 | wxPy_END_ALLOW_THREADS; | |
1391 | } if (_result) { | |
1392 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
1393 | _resultobj = Py_BuildValue("s",_ptemp); | |
1394 | } else { | |
1395 | Py_INCREF(Py_None); | |
1396 | _resultobj = Py_None; | |
1397 | } | |
1398 | return _resultobj; | |
1399 | } | |
1400 | ||
1401 | #define wxCalendarCtrl_GetHolidayColourBg(_swigobj) (_swigobj->GetHolidayColourBg()) | |
1402 | static PyObject *_wrap_wxCalendarCtrl_GetHolidayColourBg(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1403 | PyObject * _resultobj; | |
1404 | wxColour * _result; | |
1405 | wxCalendarCtrl * _arg0; | |
1406 | PyObject * _argo0 = 0; | |
1407 | char *_kwnames[] = { "self", NULL }; | |
1408 | char _ptemp[128]; | |
1409 | ||
1410 | self = self; | |
1411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalendarCtrl_GetHolidayColourBg",_kwnames,&_argo0)) | |
1412 | return NULL; | |
1413 | if (_argo0) { | |
1414 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1415 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarCtrl_p")) { | |
1416 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarCtrl_GetHolidayColourBg. Expected _wxCalendarCtrl_p."); | |
1417 | return NULL; | |
1418 | } | |
1419 | } | |
1420 | { | |
1421 | wxPy_BEGIN_ALLOW_THREADS; | |
1422 | const wxColour & _result_ref = wxCalendarCtrl_GetHolidayColourBg(_arg0); | |
1423 | _result = (wxColour *) &_result_ref; | |
1424 | ||
1425 | wxPy_END_ALLOW_THREADS; | |
1426 | } if (_result) { | |
1427 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
1428 | _resultobj = Py_BuildValue("s",_ptemp); | |
1429 | } else { | |
1430 | Py_INCREF(Py_None); | |
1431 | _resultobj = Py_None; | |
1432 | } | |
1433 | return _resultobj; | |
1434 | } | |
1435 | ||
1436 | #define wxCalendarCtrl_GetAttr(_swigobj,_swigarg0) (_swigobj->GetAttr(_swigarg0)) | |
1437 | static PyObject *_wrap_wxCalendarCtrl_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1438 | PyObject * _resultobj; | |
1439 | wxCalendarDateAttr * _result; | |
1440 | wxCalendarCtrl * _arg0; | |
1441 | size_t _arg1; | |
1442 | PyObject * _argo0 = 0; | |
1443 | char *_kwnames[] = { "self","day", NULL }; | |
1444 | char _ptemp[128]; | |
1445 | ||
1446 | self = self; | |
1447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCalendarCtrl_GetAttr",_kwnames,&_argo0,&_arg1)) | |
1448 | return NULL; | |
1449 | if (_argo0) { | |
1450 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1451 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarCtrl_p")) { | |
1452 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarCtrl_GetAttr. Expected _wxCalendarCtrl_p."); | |
1453 | return NULL; | |
1454 | } | |
1455 | } | |
1456 | { | |
1457 | wxPy_BEGIN_ALLOW_THREADS; | |
1458 | _result = (wxCalendarDateAttr *)wxCalendarCtrl_GetAttr(_arg0,_arg1); | |
1459 | ||
1460 | wxPy_END_ALLOW_THREADS; | |
1461 | } if (_result) { | |
1462 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxCalendarDateAttr_p"); | |
1463 | _resultobj = Py_BuildValue("s",_ptemp); | |
1464 | } else { | |
1465 | Py_INCREF(Py_None); | |
1466 | _resultobj = Py_None; | |
1467 | } | |
1468 | return _resultobj; | |
1469 | } | |
1470 | ||
1471 | #define wxCalendarCtrl_SetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttr(_swigarg0,_swigarg1)) | |
1472 | static PyObject *_wrap_wxCalendarCtrl_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1473 | PyObject * _resultobj; | |
1474 | wxCalendarCtrl * _arg0; | |
1475 | size_t _arg1; | |
1476 | wxCalendarDateAttr * _arg2; | |
1477 | PyObject * _argo0 = 0; | |
1478 | PyObject * _argo2 = 0; | |
1479 | char *_kwnames[] = { "self","day","attr", NULL }; | |
1480 | ||
1481 | self = self; | |
1482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxCalendarCtrl_SetAttr",_kwnames,&_argo0,&_arg1,&_argo2)) | |
1483 | return NULL; | |
1484 | if (_argo0) { | |
1485 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1486 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarCtrl_p")) { | |
1487 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarCtrl_SetAttr. Expected _wxCalendarCtrl_p."); | |
1488 | return NULL; | |
1489 | } | |
1490 | } | |
1491 | if (_argo2) { | |
1492 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1493 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxCalendarDateAttr_p")) { | |
1494 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxCalendarCtrl_SetAttr. Expected _wxCalendarDateAttr_p."); | |
1495 | return NULL; | |
1496 | } | |
1497 | } | |
1498 | { | |
1499 | wxPy_BEGIN_ALLOW_THREADS; | |
1500 | wxCalendarCtrl_SetAttr(_arg0,_arg1,_arg2); | |
1501 | ||
1502 | wxPy_END_ALLOW_THREADS; | |
1503 | } Py_INCREF(Py_None); | |
1504 | _resultobj = Py_None; | |
1505 | return _resultobj; | |
1506 | } | |
1507 | ||
1508 | #define wxCalendarCtrl_SetHoliday(_swigobj,_swigarg0) (_swigobj->SetHoliday(_swigarg0)) | |
1509 | static PyObject *_wrap_wxCalendarCtrl_SetHoliday(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1510 | PyObject * _resultobj; | |
1511 | wxCalendarCtrl * _arg0; | |
1512 | size_t _arg1; | |
1513 | PyObject * _argo0 = 0; | |
1514 | char *_kwnames[] = { "self","day", NULL }; | |
1515 | ||
1516 | self = self; | |
1517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCalendarCtrl_SetHoliday",_kwnames,&_argo0,&_arg1)) | |
1518 | return NULL; | |
1519 | if (_argo0) { | |
1520 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1521 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarCtrl_p")) { | |
1522 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarCtrl_SetHoliday. Expected _wxCalendarCtrl_p."); | |
1523 | return NULL; | |
1524 | } | |
1525 | } | |
1526 | { | |
1527 | wxPy_BEGIN_ALLOW_THREADS; | |
1528 | wxCalendarCtrl_SetHoliday(_arg0,_arg1); | |
1529 | ||
1530 | wxPy_END_ALLOW_THREADS; | |
1531 | } Py_INCREF(Py_None); | |
1532 | _resultobj = Py_None; | |
1533 | return _resultobj; | |
1534 | } | |
1535 | ||
1536 | #define wxCalendarCtrl_ResetAttr(_swigobj,_swigarg0) (_swigobj->ResetAttr(_swigarg0)) | |
1537 | static PyObject *_wrap_wxCalendarCtrl_ResetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1538 | PyObject * _resultobj; | |
1539 | wxCalendarCtrl * _arg0; | |
1540 | size_t _arg1; | |
1541 | PyObject * _argo0 = 0; | |
1542 | char *_kwnames[] = { "self","day", NULL }; | |
1543 | ||
1544 | self = self; | |
1545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCalendarCtrl_ResetAttr",_kwnames,&_argo0,&_arg1)) | |
1546 | return NULL; | |
1547 | if (_argo0) { | |
1548 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1549 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarCtrl_p")) { | |
1550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarCtrl_ResetAttr. Expected _wxCalendarCtrl_p."); | |
1551 | return NULL; | |
1552 | } | |
1553 | } | |
1554 | { | |
1555 | wxPy_BEGIN_ALLOW_THREADS; | |
1556 | wxCalendarCtrl_ResetAttr(_arg0,_arg1); | |
1557 | ||
1558 | wxPy_END_ALLOW_THREADS; | |
1559 | } Py_INCREF(Py_None); | |
1560 | _resultobj = Py_None; | |
1561 | return _resultobj; | |
1562 | } | |
1563 | ||
1564 | #define wxCalendarCtrl_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2)) | |
1565 | static PyObject *_wrap_wxCalendarCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1566 | PyObject * _resultobj; | |
1567 | wxCalendarHitTestResult _result; | |
1568 | wxCalendarCtrl * _arg0; | |
1569 | wxPoint * _arg1; | |
1570 | wxDateTime * _arg2 = (wxDateTime *) NULL; | |
1571 | wxDateTime::WeekDay * _arg3 = (wxDateTime::WeekDay *) NULL; | |
1572 | PyObject * _argo0 = 0; | |
1573 | wxPoint temp; | |
1574 | PyObject * _obj1 = 0; | |
1575 | PyObject * _argo2 = 0; | |
1576 | PyObject * _argo3 = 0; | |
1577 | char *_kwnames[] = { "self","pos","date","wd", NULL }; | |
1578 | ||
1579 | self = self; | |
1580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|OO:wxCalendarCtrl_HitTest",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3)) | |
1581 | return NULL; | |
1582 | if (_argo0) { | |
1583 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1584 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalendarCtrl_p")) { | |
1585 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalendarCtrl_HitTest. Expected _wxCalendarCtrl_p."); | |
1586 | return NULL; | |
1587 | } | |
1588 | } | |
1589 | { | |
1590 | _arg1 = &temp; | |
1591 | if (! wxPoint_helper(_obj1, &_arg1)) | |
1592 | return NULL; | |
1593 | } | |
1594 | if (_argo2) { | |
1595 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1596 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxDateTime_p")) { | |
1597 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxCalendarCtrl_HitTest. Expected _wxDateTime_p."); | |
1598 | return NULL; | |
1599 | } | |
1600 | } | |
1601 | if (_argo3) { | |
1602 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
1603 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDateTime::WeekDay_p")) { | |
1604 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxCalendarCtrl_HitTest. Expected _wxDateTime::WeekDay_p."); | |
1605 | return NULL; | |
1606 | } | |
1607 | } | |
1608 | { | |
1609 | wxPy_BEGIN_ALLOW_THREADS; | |
1610 | _result = (wxCalendarHitTestResult )wxCalendarCtrl_HitTest(_arg0,*_arg1,_arg2,_arg3); | |
1611 | ||
1612 | wxPy_END_ALLOW_THREADS; | |
1613 | } _resultobj = Py_BuildValue("i",_result); | |
1614 | return _resultobj; | |
1615 | } | |
1616 | ||
1617 | static PyMethodDef calendarcMethods[] = { | |
1618 | { "wxCalendarCtrl_HitTest", (PyCFunction) _wrap_wxCalendarCtrl_HitTest, METH_VARARGS | METH_KEYWORDS }, | |
1619 | { "wxCalendarCtrl_ResetAttr", (PyCFunction) _wrap_wxCalendarCtrl_ResetAttr, METH_VARARGS | METH_KEYWORDS }, | |
1620 | { "wxCalendarCtrl_SetHoliday", (PyCFunction) _wrap_wxCalendarCtrl_SetHoliday, METH_VARARGS | METH_KEYWORDS }, | |
1621 | { "wxCalendarCtrl_SetAttr", (PyCFunction) _wrap_wxCalendarCtrl_SetAttr, METH_VARARGS | METH_KEYWORDS }, | |
1622 | { "wxCalendarCtrl_GetAttr", (PyCFunction) _wrap_wxCalendarCtrl_GetAttr, METH_VARARGS | METH_KEYWORDS }, | |
1623 | { "wxCalendarCtrl_GetHolidayColourBg", (PyCFunction) _wrap_wxCalendarCtrl_GetHolidayColourBg, METH_VARARGS | METH_KEYWORDS }, | |
1624 | { "wxCalendarCtrl_GetHolidayColourFg", (PyCFunction) _wrap_wxCalendarCtrl_GetHolidayColourFg, METH_VARARGS | METH_KEYWORDS }, | |
1625 | { "wxCalendarCtrl_SetHolidayColours", (PyCFunction) _wrap_wxCalendarCtrl_SetHolidayColours, METH_VARARGS | METH_KEYWORDS }, | |
1626 | { "wxCalendarCtrl_GetHighlightColourBg", (PyCFunction) _wrap_wxCalendarCtrl_GetHighlightColourBg, METH_VARARGS | METH_KEYWORDS }, | |
1627 | { "wxCalendarCtrl_GetHighlightColourFg", (PyCFunction) _wrap_wxCalendarCtrl_GetHighlightColourFg, METH_VARARGS | METH_KEYWORDS }, | |
1628 | { "wxCalendarCtrl_SetHighlightColours", (PyCFunction) _wrap_wxCalendarCtrl_SetHighlightColours, METH_VARARGS | METH_KEYWORDS }, | |
1629 | { "wxCalendarCtrl_GetHeaderColourBg", (PyCFunction) _wrap_wxCalendarCtrl_GetHeaderColourBg, METH_VARARGS | METH_KEYWORDS }, | |
1630 | { "wxCalendarCtrl_GetHeaderColourFg", (PyCFunction) _wrap_wxCalendarCtrl_GetHeaderColourFg, METH_VARARGS | METH_KEYWORDS }, | |
1631 | { "wxCalendarCtrl_SetHeaderColours", (PyCFunction) _wrap_wxCalendarCtrl_SetHeaderColours, METH_VARARGS | METH_KEYWORDS }, | |
1632 | { "wxCalendarCtrl_EnableHolidayDisplay", (PyCFunction) _wrap_wxCalendarCtrl_EnableHolidayDisplay, METH_VARARGS | METH_KEYWORDS }, | |
1633 | { "wxCalendarCtrl_EnableMonthChange", (PyCFunction) _wrap_wxCalendarCtrl_EnableMonthChange, METH_VARARGS | METH_KEYWORDS }, | |
1634 | { "wxCalendarCtrl_EnableYearChange", (PyCFunction) _wrap_wxCalendarCtrl_EnableYearChange, METH_VARARGS | METH_KEYWORDS }, | |
1635 | { "wxCalendarCtrl_GetDate", (PyCFunction) _wrap_wxCalendarCtrl_GetDate, METH_VARARGS | METH_KEYWORDS }, | |
1636 | { "wxCalendarCtrl_SetDate", (PyCFunction) _wrap_wxCalendarCtrl_SetDate, METH_VARARGS | METH_KEYWORDS }, | |
1637 | { "new_wxCalendarCtrl", (PyCFunction) _wrap_new_wxCalendarCtrl, METH_VARARGS | METH_KEYWORDS }, | |
1638 | { "wxCalendarEvent_GetWeekDay", (PyCFunction) _wrap_wxCalendarEvent_GetWeekDay, METH_VARARGS | METH_KEYWORDS }, | |
1639 | { "wxCalendarEvent_GetDate", (PyCFunction) _wrap_wxCalendarEvent_GetDate, METH_VARARGS | METH_KEYWORDS }, | |
1640 | { "new_wxCalendarEvent", (PyCFunction) _wrap_new_wxCalendarEvent, METH_VARARGS | METH_KEYWORDS }, | |
1641 | { "wxCalendarDateAttr_GetBorder", (PyCFunction) _wrap_wxCalendarDateAttr_GetBorder, METH_VARARGS | METH_KEYWORDS }, | |
1642 | { "wxCalendarDateAttr_GetFont", (PyCFunction) _wrap_wxCalendarDateAttr_GetFont, METH_VARARGS | METH_KEYWORDS }, | |
1643 | { "wxCalendarDateAttr_GetBorderColour", (PyCFunction) _wrap_wxCalendarDateAttr_GetBorderColour, METH_VARARGS | METH_KEYWORDS }, | |
1644 | { "wxCalendarDateAttr_GetBackgroundColour", (PyCFunction) _wrap_wxCalendarDateAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
1645 | { "wxCalendarDateAttr_GetTextColour", (PyCFunction) _wrap_wxCalendarDateAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
1646 | { "wxCalendarDateAttr_IsHoliday", (PyCFunction) _wrap_wxCalendarDateAttr_IsHoliday, METH_VARARGS | METH_KEYWORDS }, | |
1647 | { "wxCalendarDateAttr_HasBorder", (PyCFunction) _wrap_wxCalendarDateAttr_HasBorder, METH_VARARGS | METH_KEYWORDS }, | |
1648 | { "wxCalendarDateAttr_HasFont", (PyCFunction) _wrap_wxCalendarDateAttr_HasFont, METH_VARARGS | METH_KEYWORDS }, | |
1649 | { "wxCalendarDateAttr_HasBorderColour", (PyCFunction) _wrap_wxCalendarDateAttr_HasBorderColour, METH_VARARGS | METH_KEYWORDS }, | |
1650 | { "wxCalendarDateAttr_HasBackgroundColour", (PyCFunction) _wrap_wxCalendarDateAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
1651 | { "wxCalendarDateAttr_HasTextColour", (PyCFunction) _wrap_wxCalendarDateAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS }, | |
1652 | { "wxCalendarDateAttr_SetHoliday", (PyCFunction) _wrap_wxCalendarDateAttr_SetHoliday, METH_VARARGS | METH_KEYWORDS }, | |
1653 | { "wxCalendarDateAttr_SetBorder", (PyCFunction) _wrap_wxCalendarDateAttr_SetBorder, METH_VARARGS | METH_KEYWORDS }, | |
1654 | { "wxCalendarDateAttr_SetFont", (PyCFunction) _wrap_wxCalendarDateAttr_SetFont, METH_VARARGS | METH_KEYWORDS }, | |
1655 | { "wxCalendarDateAttr_SetBorderColour", (PyCFunction) _wrap_wxCalendarDateAttr_SetBorderColour, METH_VARARGS | METH_KEYWORDS }, | |
1656 | { "wxCalendarDateAttr_SetBackgroundColour", (PyCFunction) _wrap_wxCalendarDateAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
1657 | { "wxCalendarDateAttr_SetTextColour", (PyCFunction) _wrap_wxCalendarDateAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
1658 | { "new_wxCalendarDateAttrBorder", (PyCFunction) _wrap_new_wxCalendarDateAttrBorder, METH_VARARGS | METH_KEYWORDS }, | |
1659 | { "new_wxCalendarDateAttr", (PyCFunction) _wrap_new_wxCalendarDateAttr, METH_VARARGS | METH_KEYWORDS }, | |
1660 | { NULL, NULL } | |
1661 | }; | |
1662 | #ifdef __cplusplus | |
1663 | } | |
1664 | #endif | |
1665 | /* | |
1666 | * This table is used by the pointer type-checker | |
1667 | */ | |
1668 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
1669 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
1670 | { "_wxEvent","_class_wxCalendarEvent",SwigwxCalendarEventTowxEvent}, | |
1671 | { "_wxEvent","_wxCalendarEvent",SwigwxCalendarEventTowxEvent}, | |
1672 | { "_wxEvent","_class_wxEvent",0}, | |
1673 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
1674 | { "_signed_long","_long",0}, | |
1675 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
1676 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, | |
1677 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, | |
1678 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, | |
1679 | { "_class_wxDateTime","_wxDateTime",0}, | |
1680 | { "_wxPrintQuality","_wxCoord",0}, | |
1681 | { "_wxPrintQuality","_int",0}, | |
1682 | { "_wxPrintQuality","_signed_int",0}, | |
1683 | { "_wxPrintQuality","_unsigned_int",0}, | |
1684 | { "_wxPrintQuality","_wxWindowID",0}, | |
1685 | { "_wxPrintQuality","_uint",0}, | |
1686 | { "_wxPrintQuality","_EBool",0}, | |
1687 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 1688 | { "_wxPrintQuality","_time_t",0}, |
f6bcfd97 | 1689 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
c368d904 | 1690 | { "_wxSpinCtrl","_class_wxSpinCtrl",0}, |
f6bcfd97 BP |
1691 | { "_class_wxRegionIterator","_wxRegionIterator",0}, |
1692 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, | |
1693 | { "_class_wxMenuBar","_wxMenuBar",0}, | |
1694 | { "_class_wxEvtHandler","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler}, | |
1695 | { "_class_wxEvtHandler","_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler}, | |
1696 | { "_class_wxEvtHandler","_wxEvtHandler",0}, | |
1697 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
1698 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
1699 | { "_wxCursor","_class_wxCursor",0}, | |
1700 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
1701 | { "_wxMask","_class_wxMask",0}, | |
1702 | { "_wxPen","_class_wxPen",0}, | |
1703 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
1704 | { "_byte","_unsigned_char",0}, | |
1705 | { "_wxDataObject","_class_wxDataObject",0}, | |
1706 | { "_wxStaticBox","_class_wxStaticBox",0}, | |
1c09ae54 | 1707 | { "_wxColourDatabase","_class_wxColourDatabase",0}, |
f6bcfd97 BP |
1708 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, |
1709 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
1710 | { "_wxChoice","_class_wxChoice",0}, | |
1711 | { "_wxSlider","_class_wxSlider",0}, | |
1712 | { "_long","_unsigned_long",0}, | |
1713 | { "_long","_signed_long",0}, | |
1714 | { "_wxImageList","_class_wxImageList",0}, | |
1715 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, | |
1716 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, | |
1717 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
1718 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
1719 | { "_class_wxClipboard","_wxClipboard",0}, | |
1720 | { "_class_wxGauge","_wxGauge",0}, | |
1721 | { "_wxDC","_class_wxDC",0}, | |
1722 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, | |
1723 | { "_wxSpinEvent","_class_wxSpinEvent",0}, | |
1724 | { "_size_t","_wxCoord",0}, | |
1725 | { "_size_t","_wxPrintQuality",0}, | |
c368d904 | 1726 | { "_size_t","_time_t",0}, |
f6bcfd97 BP |
1727 | { "_size_t","_unsigned_int",0}, |
1728 | { "_size_t","_int",0}, | |
1729 | { "_size_t","_wxWindowID",0}, | |
1730 | { "_size_t","_uint",0}, | |
1731 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
1732 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, | |
1733 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, | |
1734 | { "_class_wxMenuItem","_wxMenuItem",0}, | |
1735 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
1736 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
1737 | { "_class_wxPostScriptDC","_wxPostScriptDC",0}, | |
1738 | { "_wxPanel","_class_wxPanel",0}, | |
1739 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
1740 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
1741 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
1742 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
1743 | { "_class_wxMask","_wxMask",0}, | |
1744 | { "_wxTextDataObject","_class_wxTextDataObject",0}, | |
1745 | { "_class_wxKeyEvent","_wxKeyEvent",0}, | |
1746 | { "_wxFileConfig","_class_wxFileConfig",0}, | |
1747 | { "_wxColour","_class_wxColour",0}, | |
1748 | { "_class_wxDialog","_wxDialog",0}, | |
1749 | { "_class_wxFileDataObject","_wxFileDataObject",0}, | |
1750 | { "_wxIdleEvent","_class_wxIdleEvent",0}, | |
1751 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
1752 | { "_class_wxDataObject","_wxDataObject",0}, | |
1753 | { "_wxStaticLine","_class_wxStaticLine",0}, | |
1754 | { "_wxBrush","_class_wxBrush",0}, | |
1755 | { "_wxDataFormat","_class_wxDataFormat",0}, | |
1756 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
1757 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
1758 | { "_uint","_wxCoord",0}, | |
1759 | { "_uint","_wxPrintQuality",0}, | |
c368d904 | 1760 | { "_uint","_time_t",0}, |
f6bcfd97 BP |
1761 | { "_uint","_size_t",0}, |
1762 | { "_uint","_unsigned_int",0}, | |
1763 | { "_uint","_int",0}, | |
1764 | { "_uint","_wxWindowID",0}, | |
1765 | { "_wxChar","_char",0}, | |
1766 | { "_wxPyValidator","_class_wxPyValidator",0}, | |
1767 | { "_class_wxEvent","_class_wxCalendarEvent",SwigwxCalendarEventTowxEvent}, | |
1768 | { "_class_wxEvent","_wxCalendarEvent",SwigwxCalendarEventTowxEvent}, | |
1769 | { "_class_wxEvent","_wxEvent",0}, | |
1770 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
1771 | { "_wxRect","_class_wxRect",0}, | |
1772 | { "_wxCommandEvent","_class_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent}, | |
1773 | { "_wxCommandEvent","_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent}, | |
1774 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
1775 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
1776 | { "_wxPoint","_class_wxPoint",0}, | |
1777 | { "_class_wxButton","_wxButton",0}, | |
1778 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
c368d904 | 1779 | { "_class_wxSpinCtrl","_wxSpinCtrl",0}, |
f6bcfd97 BP |
1780 | { "_char","_wxChar",0}, |
1781 | { "_wxBitmap","_class_wxBitmap",0}, | |
1c09ae54 | 1782 | { "_wxPenList","_class_wxPenList",0}, |
f6bcfd97 BP |
1783 | { "_wxWindowDC","_class_wxWindowDC",0}, |
1784 | { "_wxTimerEvent","_class_wxTimerEvent",0}, | |
1785 | { "_wxScrollBar","_class_wxScrollBar",0}, | |
1786 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
1787 | { "_wxCalendarEvent","_class_wxCalendarEvent",0}, | |
1788 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
1789 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
1790 | { "_class_wxValidator","_wxValidator",0}, | |
1791 | { "_class_wxPyEvent","_wxPyEvent",0}, | |
1792 | { "_wxConfig","_class_wxConfig",0}, | |
1793 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
1794 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
1795 | { "_class_wxFileConfig","_wxFileConfig",0}, | |
1796 | { "_wxDropTarget","_class_wxDropTarget",0}, | |
1797 | { "_class_wxStaticLine","_wxStaticLine",0}, | |
1c09ae54 | 1798 | { "_class_wxColourDatabase","_wxColourDatabase",0}, |
f6bcfd97 BP |
1799 | { "_wxScrollEvent","_class_wxScrollEvent",0}, |
1800 | { "_EBool","_wxCoord",0}, | |
1801 | { "_EBool","_wxPrintQuality",0}, | |
1802 | { "_EBool","_signed_int",0}, | |
1803 | { "_EBool","_int",0}, | |
1804 | { "_EBool","_wxWindowID",0}, | |
1805 | { "_class_wxRegion","_wxRegion",0}, | |
1806 | { "_class_wxDataFormat","_wxDataFormat",0}, | |
1807 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, | |
1808 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, | |
1809 | { "_wxStaticText","_class_wxStaticText",0}, | |
1810 | { "_wxFont","_class_wxFont",0}, | |
1811 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, | |
1812 | { "_wxCloseEvent","_class_wxCloseEvent",0}, | |
1813 | { "_unsigned_long","_long",0}, | |
1814 | { "_class_wxRect","_wxRect",0}, | |
1815 | { "_class_wxDC","_wxDC",0}, | |
1816 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, | |
1c09ae54 | 1817 | { "_class_wxBrushList","_wxBrushList",0}, |
f6bcfd97 | 1818 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
1c09ae54 | 1819 | { "_class_wxPenList","_wxPenList",0}, |
f6bcfd97 BP |
1820 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, |
1821 | { "_wxTimeSpan","_class_wxTimeSpan",0}, | |
1822 | { "_wxFocusEvent","_class_wxFocusEvent",0}, | |
1823 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
1824 | { "_class_wxTimerEvent","_wxTimerEvent",0}, | |
1825 | { "_class_wxSpinButton","_wxSpinButton",0}, | |
1826 | { "_class_wxCalendarEvent","_wxCalendarEvent",0}, | |
1827 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
1828 | { "_class_wxPanel","_wxPanel",0}, | |
1829 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
1830 | { "_wxComboBox","_class_wxComboBox",0}, | |
1831 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
1832 | { "_signed_int","_wxCoord",0}, | |
1833 | { "_signed_int","_wxPrintQuality",0}, | |
1834 | { "_signed_int","_EBool",0}, | |
1835 | { "_signed_int","_wxWindowID",0}, | |
1836 | { "_signed_int","_int",0}, | |
1837 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
1838 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
1839 | { "_class_wxTextDataObject","_wxTextDataObject",0}, | |
1840 | { "_wxMenu","_class_wxMenu",0}, | |
1841 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
1842 | { "_wxListBox","_class_wxListBox",0}, | |
1843 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
1844 | { "_class_wxCalendarCtrl","_wxCalendarCtrl",0}, | |
1845 | { "_WXTYPE","_wxDateTime_t",0}, | |
1846 | { "_WXTYPE","_short",0}, | |
1847 | { "_WXTYPE","_signed_short",0}, | |
1848 | { "_WXTYPE","_unsigned_short",0}, | |
1849 | { "_class_wxDropTarget","_wxDropTarget",0}, | |
1850 | { "_class_wxBrush","_wxBrush",0}, | |
1851 | { "_unsigned_short","_wxDateTime_t",0}, | |
1852 | { "_unsigned_short","_WXTYPE",0}, | |
1853 | { "_unsigned_short","_short",0}, | |
1854 | { "_class_wxWindow","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow}, | |
1855 | { "_class_wxWindow","_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow}, | |
1856 | { "_class_wxWindow","_wxWindow",0}, | |
1857 | { "_wxDateSpan","_class_wxDateSpan",0}, | |
1858 | { "_class_wxStaticText","_wxStaticText",0}, | |
1859 | { "_class_wxFont","_wxFont",0}, | |
1860 | { "_wxClipboard","_class_wxClipboard",0}, | |
1861 | { "_class_wxPyValidator","_wxPyValidator",0}, | |
1862 | { "_class_wxCloseEvent","_wxCloseEvent",0}, | |
1863 | { "_wxBusyInfo","_class_wxBusyInfo",0}, | |
1c09ae54 | 1864 | { "_wxFontList","_class_wxFontList",0}, |
f6bcfd97 BP |
1865 | { "_class_wxMenuEvent","_wxMenuEvent",0}, |
1866 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, | |
1867 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, | |
1868 | { "_wxClientDC","_class_wxClientDC",0}, | |
1869 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
1870 | { "_class_wxPoint","_wxPoint",0}, | |
1871 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
1872 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
1873 | { "_signed_short","_WXTYPE",0}, | |
1874 | { "_signed_short","_short",0}, | |
1875 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
1876 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, | |
1877 | { "_wxPaintDC","_class_wxPaintDC",0}, | |
1878 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
1879 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
1880 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
1881 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
1882 | { "_class_wxCursor","_wxCursor",0}, | |
1883 | { "_wxPostScriptDC","_class_wxPostScriptDC",0}, | |
1884 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, | |
1885 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, | |
1886 | { "_wxCalendarDateAttr","_class_wxCalendarDateAttr",0}, | |
1887 | { "_unsigned_char","_byte",0}, | |
1888 | { "_class_wxMenu","_wxMenu",0}, | |
1889 | { "_wxControl","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl}, | |
1890 | { "_wxControl","_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl}, | |
1891 | { "_wxControl","_class_wxControl",0}, | |
1892 | { "_class_wxListBox","_wxListBox",0}, | |
1893 | { "_unsigned_int","_wxCoord",0}, | |
1894 | { "_unsigned_int","_wxPrintQuality",0}, | |
c368d904 | 1895 | { "_unsigned_int","_time_t",0}, |
f6bcfd97 BP |
1896 | { "_unsigned_int","_size_t",0}, |
1897 | { "_unsigned_int","_uint",0}, | |
1898 | { "_unsigned_int","_wxWindowID",0}, | |
1899 | { "_unsigned_int","_int",0}, | |
1900 | { "_wxIcon","_class_wxIcon",0}, | |
1901 | { "_wxDialog","_class_wxDialog",0}, | |
1902 | { "_class_wxPen","_wxPen",0}, | |
1903 | { "_wxConfigBase","_class_wxConfigBase",0}, | |
1904 | { "_short","_wxDateTime_t",0}, | |
1905 | { "_short","_WXTYPE",0}, | |
1906 | { "_short","_unsigned_short",0}, | |
1907 | { "_short","_signed_short",0}, | |
1908 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
1909 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, | |
1910 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
1911 | { "_class_wxScrollEvent","_wxScrollEvent",0}, | |
1912 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
1913 | { "_class_wxChoice","_wxChoice",0}, | |
1914 | { "_class_wxSlider","_wxSlider",0}, | |
1915 | { "_class_wxImageList","_wxImageList",0}, | |
1916 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
1917 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, | |
1918 | { "_wxWindowID","_wxCoord",0}, | |
1919 | { "_wxWindowID","_wxPrintQuality",0}, | |
c368d904 | 1920 | { "_wxWindowID","_time_t",0}, |
f6bcfd97 BP |
1921 | { "_wxWindowID","_size_t",0}, |
1922 | { "_wxWindowID","_EBool",0}, | |
1923 | { "_wxWindowID","_uint",0}, | |
1924 | { "_wxWindowID","_int",0}, | |
1925 | { "_wxWindowID","_signed_int",0}, | |
1926 | { "_wxWindowID","_unsigned_int",0}, | |
1927 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, | |
1928 | { "_int","_wxCoord",0}, | |
1929 | { "_int","_wxPrintQuality",0}, | |
c368d904 | 1930 | { "_int","_time_t",0}, |
f6bcfd97 BP |
1931 | { "_int","_size_t",0}, |
1932 | { "_int","_EBool",0}, | |
1933 | { "_int","_uint",0}, | |
1934 | { "_int","_wxWindowID",0}, | |
1935 | { "_int","_unsigned_int",0}, | |
1936 | { "_int","_signed_int",0}, | |
1937 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
1938 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, | |
1939 | { "_wxDateTime_t","_unsigned_short",0}, | |
1940 | { "_wxDateTime_t","_short",0}, | |
1941 | { "_wxDateTime_t","_WXTYPE",0}, | |
1942 | { "_class_wxSpinEvent","_wxSpinEvent",0}, | |
1943 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, | |
1944 | { "_wxDateTime","_class_wxDateTime",0}, | |
c368d904 RD |
1945 | { "_time_t","_wxCoord",0}, |
1946 | { "_time_t","_wxPrintQuality",0}, | |
1947 | { "_time_t","_unsigned_int",0}, | |
1948 | { "_time_t","_int",0}, | |
1949 | { "_time_t","_wxWindowID",0}, | |
1950 | { "_time_t","_uint",0}, | |
1951 | { "_time_t","_size_t",0}, | |
f6bcfd97 BP |
1952 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, |
1953 | { "_wxButton","_class_wxButton",0}, | |
1954 | { "_wxSize","_class_wxSize",0}, | |
1955 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
1956 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, | |
1957 | { "_class_wxTimeSpan","_wxTimeSpan",0}, | |
1958 | { "_class_wxPaintDC","_wxPaintDC",0}, | |
1959 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
1960 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, | |
1961 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, | |
1962 | { "_class_wxComboBox","_wxComboBox",0}, | |
1963 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
1964 | { "_wxValidator","_class_wxValidator",0}, | |
1965 | { "_class_wxCalendarDateAttr","_wxCalendarDateAttr",0}, | |
1966 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, | |
1967 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
1968 | { "_class_wxControl","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl}, | |
1969 | { "_class_wxControl","_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl}, | |
1970 | { "_class_wxControl","_wxControl",0}, | |
1971 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
1972 | { "_class_wxIcon","_wxIcon",0}, | |
1973 | { "_class_wxColour","_wxColour",0}, | |
1974 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
1975 | { "_wxPalette","_class_wxPalette",0}, | |
1976 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
1977 | { "_class_wxConfigBase","_wxConfigBase",0}, | |
1978 | { "_wxCoord","_int",0}, | |
1979 | { "_wxCoord","_signed_int",0}, | |
1980 | { "_wxCoord","_unsigned_int",0}, | |
1981 | { "_wxCoord","_wxWindowID",0}, | |
1982 | { "_wxCoord","_uint",0}, | |
1983 | { "_wxCoord","_EBool",0}, | |
1984 | { "_wxCoord","_size_t",0}, | |
c368d904 | 1985 | { "_wxCoord","_time_t",0}, |
f6bcfd97 BP |
1986 | { "_wxCoord","_wxPrintQuality",0}, |
1987 | { "_wxEraseEvent","_class_wxEraseEvent",0}, | |
1988 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, | |
1989 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, | |
1990 | { "_wxRegion","_class_wxRegion",0}, | |
1991 | { "_class_wxDateSpan","_wxDateSpan",0}, | |
1992 | { "_class_wxShowEvent","_wxShowEvent",0}, | |
1993 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, | |
1994 | { "_wxActivateEvent","_class_wxActivateEvent",0}, | |
1995 | { "_wxGauge","_class_wxGauge",0}, | |
1996 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
1997 | { "_class_wxBusyInfo","_wxBusyInfo",0}, | |
1c09ae54 | 1998 | { "_class_wxFontList","_wxFontList",0}, |
f6bcfd97 BP |
1999 | { "_class_wxCommandEvent","_class_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent}, |
2000 | { "_class_wxCommandEvent","_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent}, | |
2001 | { "_class_wxCommandEvent","_wxCommandEvent",0}, | |
2002 | { "_class_wxClientDC","_wxClientDC",0}, | |
2003 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
1c09ae54 | 2004 | { "_wxBrushList","_class_wxBrushList",0}, |
f6bcfd97 BP |
2005 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, |
2006 | { "_class_wxSize","_wxSize",0}, | |
2007 | { "_class_wxBitmap","_wxBitmap",0}, | |
2008 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
2009 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, | |
2010 | { "_wxMenuBar","_class_wxMenuBar",0}, | |
2011 | { "_wxEvtHandler","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler}, | |
2012 | { "_wxEvtHandler","_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler}, | |
2013 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
2014 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
2015 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
2016 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, | |
2017 | { "_class_wxConfig","_wxConfig",0}, | |
2018 | { "_wxKeyEvent","_class_wxKeyEvent",0}, | |
2019 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
2020 | { "_wxCalendarCtrl","_class_wxCalendarCtrl",0}, | |
2021 | { "_class_wxPalette","_wxPalette",0}, | |
2022 | { "_wxFileDataObject","_class_wxFileDataObject",0}, | |
2023 | { "_class_wxEraseEvent","_wxEraseEvent",0}, | |
2024 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, | |
2025 | { "_wxWindow","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow}, | |
2026 | { "_wxWindow","_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow}, | |
2027 | { "_wxWindow","_class_wxWindow",0}, | |
2028 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, | |
2029 | {0,0,0}}; | |
2030 | ||
2031 | static PyObject *SWIG_globals; | |
2032 | #ifdef __cplusplus | |
2033 | extern "C" | |
2034 | #endif | |
2035 | SWIGEXPORT(void) initcalendarc() { | |
2036 | PyObject *m, *d; | |
2037 | SWIG_globals = SWIG_newvarlink(); | |
2038 | m = Py_InitModule("calendarc", calendarcMethods); | |
2039 | d = PyModule_GetDict(m); | |
2040 | PyDict_SetItemString(d,"wxCAL_SUNDAY_FIRST", PyInt_FromLong((long) wxCAL_SUNDAY_FIRST)); | |
2041 | PyDict_SetItemString(d,"wxCAL_MONDAY_FIRST", PyInt_FromLong((long) wxCAL_MONDAY_FIRST)); | |
2042 | PyDict_SetItemString(d,"wxCAL_SHOW_HOLIDAYS", PyInt_FromLong((long) wxCAL_SHOW_HOLIDAYS)); | |
2043 | PyDict_SetItemString(d,"wxCAL_NO_YEAR_CHANGE", PyInt_FromLong((long) wxCAL_NO_YEAR_CHANGE)); | |
2044 | PyDict_SetItemString(d,"wxCAL_NO_MONTH_CHANGE", PyInt_FromLong((long) wxCAL_NO_MONTH_CHANGE)); | |
2045 | PyDict_SetItemString(d,"wxCAL_HITTEST_NOWHERE", PyInt_FromLong((long) wxCAL_HITTEST_NOWHERE)); | |
2046 | PyDict_SetItemString(d,"wxCAL_HITTEST_HEADER", PyInt_FromLong((long) wxCAL_HITTEST_HEADER)); | |
2047 | PyDict_SetItemString(d,"wxCAL_HITTEST_DAY", PyInt_FromLong((long) wxCAL_HITTEST_DAY)); | |
2048 | PyDict_SetItemString(d,"wxCAL_BORDER_NONE", PyInt_FromLong((long) wxCAL_BORDER_NONE)); | |
2049 | PyDict_SetItemString(d,"wxCAL_BORDER_SQUARE", PyInt_FromLong((long) wxCAL_BORDER_SQUARE)); | |
2050 | PyDict_SetItemString(d,"wxCAL_BORDER_ROUND", PyInt_FromLong((long) wxCAL_BORDER_ROUND)); | |
2051 | PyDict_SetItemString(d,"wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_CALENDAR_DOUBLECLICKED)); | |
2052 | PyDict_SetItemString(d,"wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_SEL_CHANGED)); | |
2053 | PyDict_SetItemString(d,"wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_DAY_CHANGED)); | |
2054 | PyDict_SetItemString(d,"wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_MONTH_CHANGED)); | |
2055 | PyDict_SetItemString(d,"wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_YEAR_CHANGED)); | |
2056 | PyDict_SetItemString(d,"wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong((long) wxEVT_CALENDAR_WEEKDAY_CLICKED)); | |
3a70a282 RD |
2057 | |
2058 | wxClassInfo::CleanUpClasses(); | |
2059 | wxClassInfo::InitializeClasses(); | |
f6bcfd97 BP |
2060 | { |
2061 | int i; | |
2062 | for (i = 0; _swig_mapping[i].n1; i++) | |
2063 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
2064 | } | |
2065 | } |