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