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