]>
Commit | Line | Data |
---|---|---|
70551f47 RD |
1 | /* |
2 | * FILE : gtk/misc.cpp | |
3 | * | |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
6 | * Version 1.1 (Patch 5) | |
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,b) __declspec(dllexport) a b | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
30 | # define SWIGEXPORT(a,b) a _export b | |
31 | # else | |
32 | # define SWIGEXPORT(a,b) a b | |
33 | # endif | |
34 | # endif | |
35 | #else | |
36 | # define SWIGEXPORT(a,b) a b | |
37 | #endif | |
38 | ||
39 | #ifdef __cplusplus | |
40 | extern "C" { | |
41 | #endif | |
42 | #include "Python.h" | |
43 | extern void SWIG_MakePtr(char *, void *, char *); | |
44 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
45 | extern char *SWIG_GetPtr(char *, void **, char *); | |
46 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
47 | extern PyObject *SWIG_newvarlink(void); | |
48 | #ifdef __cplusplus | |
49 | } | |
50 | #endif | |
51 | ||
52 | #define SWIG_init initmiscc | |
53 | ||
54 | #define SWIG_name "miscc" | |
55 | ||
56 | #include "helpers.h" | |
57 | #include <wx/resource.h> | |
58 | ||
59 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
60 | PyObject* o2; | |
61 | PyObject* o3; | |
62 | if (!target) { | |
63 | target = o; | |
64 | } else if (target == Py_None) { | |
65 | Py_DECREF(Py_None); | |
66 | target = o; | |
67 | } else { | |
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 | ||
84 | if (!target) { | |
85 | target = o; | |
86 | } else if (target == Py_None) { | |
87 | Py_DECREF(Py_None); | |
88 | target = o; | |
89 | } else { | |
90 | if (!PyTuple_Check(target)) { | |
91 | o2 = target; | |
92 | target = PyTuple_New(1); | |
93 | PyTuple_SetItem(target, 0, o2); | |
94 | } | |
95 | o3 = PyTuple_New(1); | |
96 | PyTuple_SetItem(o3, 0, o); | |
97 | ||
98 | o2 = target; | |
99 | target = PySequence_Concat(o2, o3); | |
100 | Py_DECREF(o2); | |
101 | Py_DECREF(o3); | |
102 | } | |
103 | return target; | |
104 | } | |
105 | ||
106 | ||
105e45b9 | 107 | extern byte* byte_LIST_helper(PyObject* source); |
70551f47 RD |
108 | extern int* int_LIST_helper(PyObject* source); |
109 | extern long* long_LIST_helper(PyObject* source); | |
110 | extern char** string_LIST_helper(PyObject* source); | |
111 | extern wxPoint* wxPoint_LIST_helper(PyObject* source); | |
112 | extern wxBitmap** wxBitmap_LIST_helper(PyObject* source); | |
113 | extern wxString* wxString_LIST_helper(PyObject* source); | |
70551f47 | 114 | extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source); |
70551f47 RD |
115 | |
116 | ||
117 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
118 | ||
119 | char* wxGetResource(char *section, char *entry, char *file = NULL) { | |
120 | char * retval; | |
121 | wxGetResource(section, entry, &retval, file); | |
122 | return retval; | |
123 | } | |
124 | static PyObject *_wrap_wxFileSelector(PyObject *self, PyObject *args) { | |
125 | PyObject * _resultobj; | |
dd9a3de8 | 126 | wxString * _result; |
70551f47 RD |
127 | char * _arg0; |
128 | char * _arg1 = NULL; | |
129 | char * _arg2 = NULL; | |
130 | char * _arg3 = NULL; | |
131 | char * _arg4 = "*.*"; | |
132 | int _arg5 = 0; | |
133 | wxWindow * _arg6 = NULL; | |
134 | int _arg7 = -1; | |
135 | int _arg8 = -1; | |
136 | char * _argc6 = 0; | |
137 | ||
138 | self = self; | |
139 | if(!PyArg_ParseTuple(args,"s|ssssisii:wxFileSelector",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argc6,&_arg7,&_arg8)) | |
140 | return NULL; | |
141 | if (_argc6) { | |
142 | if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxWindow_p")) { | |
143 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p."); | |
144 | return NULL; | |
145 | } | |
146 | } | |
dd9a3de8 RD |
147 | _result = new wxString (wxFileSelector(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8)); |
148 | { | |
149 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
150 | } | |
151 | { | |
152 | delete _result; | |
153 | } | |
70551f47 RD |
154 | return _resultobj; |
155 | } | |
156 | ||
157 | static PyObject *_wrap_wxGetTextFromUser(PyObject *self, PyObject *args) { | |
158 | PyObject * _resultobj; | |
159 | wxString * _result; | |
160 | wxString * _arg0; | |
161 | wxString * _arg1 = &wxPyEmptyStr; | |
162 | wxString * _arg2 = &wxPyEmptyStr; | |
163 | wxWindow * _arg3 = NULL; | |
164 | int _arg4 = -1; | |
165 | int _arg5 = -1; | |
166 | bool _arg6 = (1); | |
167 | PyObject * _obj0 = 0; | |
168 | PyObject * _obj1 = 0; | |
169 | PyObject * _obj2 = 0; | |
170 | char * _argc3 = 0; | |
171 | int tempbool6; | |
172 | ||
173 | self = self; | |
174 | if(!PyArg_ParseTuple(args,"O|OOsiii:wxGetTextFromUser",&_obj0,&_obj1,&_obj2,&_argc3,&_arg4,&_arg5,&tempbool6)) | |
175 | return NULL; | |
176 | { | |
177 | if (!PyString_Check(_obj0)) { | |
178 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
179 | return NULL; | |
180 | } | |
181 | _arg0 = new wxString(PyString_AsString(_obj0)); | |
182 | } | |
183 | if (_obj1) | |
184 | { | |
185 | if (!PyString_Check(_obj1)) { | |
186 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
187 | return NULL; | |
188 | } | |
189 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
190 | } | |
191 | if (_obj2) | |
192 | { | |
193 | if (!PyString_Check(_obj2)) { | |
194 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
195 | return NULL; | |
196 | } | |
197 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
198 | } | |
199 | if (_argc3) { | |
200 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxWindow_p")) { | |
201 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p."); | |
202 | return NULL; | |
203 | } | |
204 | } | |
205 | _arg6 = (bool ) tempbool6; | |
206 | _result = new wxString (wxGetTextFromUser(*_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6)); | |
207 | { | |
208 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
209 | } | |
210 | { | |
211 | if (_obj0) | |
212 | delete _arg0; | |
213 | } | |
214 | { | |
215 | if (_obj1) | |
216 | delete _arg1; | |
217 | } | |
218 | { | |
219 | if (_obj2) | |
220 | delete _arg2; | |
221 | } | |
222 | { | |
223 | delete _result; | |
224 | } | |
225 | return _resultobj; | |
226 | } | |
227 | ||
228 | static PyObject *_wrap_wxGetSingleChoice(PyObject *self, PyObject *args) { | |
229 | PyObject * _resultobj; | |
230 | wxString * _result; | |
231 | wxString * _arg0; | |
232 | wxString * _arg1; | |
233 | int _arg2; | |
234 | wxString * _arg3; | |
235 | wxWindow * _arg4 = NULL; | |
236 | int _arg5 = -1; | |
237 | int _arg6 = -1; | |
238 | bool _arg7 = (1); | |
239 | int _arg8 = 150; | |
240 | int _arg9 = 200; | |
241 | PyObject * _obj0 = 0; | |
242 | PyObject * _obj1 = 0; | |
243 | PyObject * _obj3 = 0; | |
244 | char * _argc4 = 0; | |
245 | int tempbool7; | |
246 | ||
247 | self = self; | |
248 | if(!PyArg_ParseTuple(args,"OOO|siiiii:wxGetSingleChoice",&_obj0,&_obj1,&_obj3,&_argc4,&_arg5,&_arg6,&tempbool7,&_arg8,&_arg9)) | |
249 | return NULL; | |
250 | { | |
251 | if (!PyString_Check(_obj0)) { | |
252 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
253 | return NULL; | |
254 | } | |
255 | _arg0 = new wxString(PyString_AsString(_obj0)); | |
256 | } | |
257 | { | |
258 | if (!PyString_Check(_obj1)) { | |
259 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
260 | return NULL; | |
261 | } | |
262 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
263 | } | |
264 | if (_obj3) | |
265 | { | |
266 | _arg3 = wxString_LIST_helper(_obj3); | |
267 | if (_arg3 == NULL) { | |
268 | return NULL; | |
269 | } | |
270 | } | |
271 | if (_argc4) { | |
272 | if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxWindow_p")) { | |
273 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p."); | |
274 | return NULL; | |
275 | } | |
276 | } | |
277 | _arg7 = (bool ) tempbool7; | |
278 | { | |
279 | _arg2 = PyList_Size(_obj3); | |
280 | } | |
281 | _result = new wxString (wxGetSingleChoice(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9)); | |
282 | { | |
283 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
284 | } | |
285 | { | |
286 | if (_obj0) | |
287 | delete _arg0; | |
288 | } | |
289 | { | |
290 | if (_obj1) | |
291 | delete _arg1; | |
292 | } | |
293 | { | |
294 | delete [] _arg3; | |
295 | } | |
296 | { | |
297 | delete _result; | |
298 | } | |
299 | return _resultobj; | |
300 | } | |
301 | ||
302 | static PyObject *_wrap_wxGetSingleChoiceIndex(PyObject *self, PyObject *args) { | |
303 | PyObject * _resultobj; | |
304 | int _result; | |
305 | wxString * _arg0; | |
306 | wxString * _arg1; | |
307 | int _arg2; | |
308 | wxString * _arg3; | |
309 | wxWindow * _arg4 = NULL; | |
310 | int _arg5 = -1; | |
311 | int _arg6 = -1; | |
312 | bool _arg7 = (1); | |
313 | int _arg8 = 150; | |
314 | int _arg9 = 200; | |
315 | PyObject * _obj0 = 0; | |
316 | PyObject * _obj1 = 0; | |
317 | PyObject * _obj3 = 0; | |
318 | char * _argc4 = 0; | |
319 | int tempbool7; | |
320 | ||
321 | self = self; | |
322 | if(!PyArg_ParseTuple(args,"OOO|siiiii:wxGetSingleChoiceIndex",&_obj0,&_obj1,&_obj3,&_argc4,&_arg5,&_arg6,&tempbool7,&_arg8,&_arg9)) | |
323 | return NULL; | |
324 | { | |
325 | if (!PyString_Check(_obj0)) { | |
326 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
327 | return NULL; | |
328 | } | |
329 | _arg0 = new wxString(PyString_AsString(_obj0)); | |
330 | } | |
331 | { | |
332 | if (!PyString_Check(_obj1)) { | |
333 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
334 | return NULL; | |
335 | } | |
336 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
337 | } | |
338 | if (_obj3) | |
339 | { | |
340 | _arg3 = wxString_LIST_helper(_obj3); | |
341 | if (_arg3 == NULL) { | |
342 | return NULL; | |
343 | } | |
344 | } | |
345 | if (_argc4) { | |
346 | if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxWindow_p")) { | |
347 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p."); | |
348 | return NULL; | |
349 | } | |
350 | } | |
351 | _arg7 = (bool ) tempbool7; | |
352 | { | |
353 | _arg2 = PyList_Size(_obj3); | |
354 | } | |
355 | _result = (int )wxGetSingleChoiceIndex(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9); | |
356 | _resultobj = Py_BuildValue("i",_result); | |
357 | { | |
358 | if (_obj0) | |
359 | delete _arg0; | |
360 | } | |
361 | { | |
362 | if (_obj1) | |
363 | delete _arg1; | |
364 | } | |
365 | { | |
366 | delete [] _arg3; | |
367 | } | |
368 | return _resultobj; | |
369 | } | |
370 | ||
371 | static PyObject *_wrap_wxMessageBox(PyObject *self, PyObject *args) { | |
372 | PyObject * _resultobj; | |
373 | int _result; | |
374 | wxString * _arg0; | |
375 | wxString * _arg1 = &wxPyEmptyStr; | |
376 | int _arg2 = (wxOK)|(wxCENTRE); | |
377 | wxWindow * _arg3 = NULL; | |
378 | int _arg4 = -1; | |
379 | int _arg5 = -1; | |
380 | PyObject * _obj0 = 0; | |
381 | PyObject * _obj1 = 0; | |
382 | char * _argc3 = 0; | |
383 | ||
384 | self = self; | |
385 | if(!PyArg_ParseTuple(args,"O|Oisii:wxMessageBox",&_obj0,&_obj1,&_arg2,&_argc3,&_arg4,&_arg5)) | |
386 | return NULL; | |
387 | { | |
388 | if (!PyString_Check(_obj0)) { | |
389 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
390 | return NULL; | |
391 | } | |
392 | _arg0 = new wxString(PyString_AsString(_obj0)); | |
393 | } | |
394 | if (_obj1) | |
395 | { | |
396 | if (!PyString_Check(_obj1)) { | |
397 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
398 | return NULL; | |
399 | } | |
400 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
401 | } | |
402 | if (_argc3) { | |
403 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxWindow_p")) { | |
404 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p."); | |
405 | return NULL; | |
406 | } | |
407 | } | |
408 | _result = (int )wxMessageBox(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
409 | _resultobj = Py_BuildValue("i",_result); | |
410 | { | |
411 | if (_obj0) | |
412 | delete _arg0; | |
413 | } | |
414 | { | |
415 | if (_obj1) | |
416 | delete _arg1; | |
417 | } | |
418 | return _resultobj; | |
419 | } | |
420 | ||
421 | static PyObject *_wrap_wxColourDisplay(PyObject *self, PyObject *args) { | |
422 | PyObject * _resultobj; | |
423 | bool _result; | |
424 | ||
425 | self = self; | |
426 | if(!PyArg_ParseTuple(args,":wxColourDisplay")) | |
427 | return NULL; | |
428 | _result = (bool )wxColourDisplay(); | |
429 | _resultobj = Py_BuildValue("i",_result); | |
430 | return _resultobj; | |
431 | } | |
432 | ||
433 | static PyObject *_wrap_wxDisplayDepth(PyObject *self, PyObject *args) { | |
434 | PyObject * _resultobj; | |
435 | int _result; | |
436 | ||
437 | self = self; | |
438 | if(!PyArg_ParseTuple(args,":wxDisplayDepth")) | |
439 | return NULL; | |
440 | _result = (int )wxDisplayDepth(); | |
441 | _resultobj = Py_BuildValue("i",_result); | |
442 | return _resultobj; | |
443 | } | |
444 | ||
445 | static PyObject *_wrap_wxSetCursor(PyObject *self, PyObject *args) { | |
446 | PyObject * _resultobj; | |
447 | wxCursor * _arg0; | |
448 | char * _argc0 = 0; | |
449 | ||
450 | self = self; | |
451 | if(!PyArg_ParseTuple(args,"s:wxSetCursor",&_argc0)) | |
452 | return NULL; | |
453 | if (_argc0) { | |
454 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCursor_p")) { | |
455 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p."); | |
456 | return NULL; | |
457 | } | |
458 | } | |
105e45b9 | 459 | wxSetCursor(*_arg0); |
70551f47 RD |
460 | Py_INCREF(Py_None); |
461 | _resultobj = Py_None; | |
462 | return _resultobj; | |
463 | } | |
464 | ||
465 | static PyObject *_wrap_NewId(PyObject *self, PyObject *args) { | |
466 | PyObject * _resultobj; | |
467 | long _result; | |
468 | ||
469 | self = self; | |
470 | if(!PyArg_ParseTuple(args,":NewId")) | |
471 | return NULL; | |
472 | _result = (long )NewId(); | |
473 | _resultobj = Py_BuildValue("l",_result); | |
474 | return _resultobj; | |
475 | } | |
476 | ||
477 | static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args) { | |
478 | PyObject * _resultobj; | |
479 | long _arg0; | |
480 | ||
481 | self = self; | |
482 | if(!PyArg_ParseTuple(args,"l:RegisterId",&_arg0)) | |
483 | return NULL; | |
484 | RegisterId(_arg0); | |
485 | Py_INCREF(Py_None); | |
486 | _resultobj = Py_None; | |
487 | return _resultobj; | |
488 | } | |
489 | ||
490 | static PyObject *_wrap_wxBeginBusyCursor(PyObject *self, PyObject *args) { | |
491 | PyObject * _resultobj; | |
492 | wxCursor * _arg0 = wxHOURGLASS_CURSOR; | |
493 | char * _argc0 = 0; | |
494 | ||
495 | self = self; | |
496 | if(!PyArg_ParseTuple(args,"|s:wxBeginBusyCursor",&_argc0)) | |
497 | return NULL; | |
498 | if (_argc0) { | |
499 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCursor_p")) { | |
500 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p."); | |
501 | return NULL; | |
502 | } | |
503 | } | |
504 | wxBeginBusyCursor(_arg0); | |
505 | Py_INCREF(Py_None); | |
506 | _resultobj = Py_None; | |
507 | return _resultobj; | |
508 | } | |
509 | ||
510 | static PyObject *_wrap_wxBell(PyObject *self, PyObject *args) { | |
511 | PyObject * _resultobj; | |
512 | ||
513 | self = self; | |
514 | if(!PyArg_ParseTuple(args,":wxBell")) | |
515 | return NULL; | |
516 | wxBell(); | |
517 | Py_INCREF(Py_None); | |
518 | _resultobj = Py_None; | |
519 | return _resultobj; | |
520 | } | |
521 | ||
522 | static PyObject *_wrap_wxDisplaySize(PyObject *self, PyObject *args) { | |
523 | PyObject * _resultobj; | |
524 | int * _arg0; | |
525 | int temp; | |
526 | int * _arg1; | |
527 | int temp0; | |
528 | ||
529 | self = self; | |
530 | { | |
531 | _arg0 = &temp; | |
532 | } | |
533 | { | |
534 | _arg1 = &temp0; | |
535 | } | |
536 | if(!PyArg_ParseTuple(args,":wxDisplaySize")) | |
537 | return NULL; | |
538 | wxDisplaySize(_arg0,_arg1); | |
539 | Py_INCREF(Py_None); | |
540 | _resultobj = Py_None; | |
541 | { | |
542 | PyObject *o; | |
543 | o = PyInt_FromLong((long) (*_arg0)); | |
544 | _resultobj = t_output_helper(_resultobj, o); | |
545 | } | |
546 | { | |
547 | PyObject *o; | |
548 | o = PyInt_FromLong((long) (*_arg1)); | |
549 | _resultobj = t_output_helper(_resultobj, o); | |
550 | } | |
551 | return _resultobj; | |
552 | } | |
553 | ||
554 | static PyObject *_wrap_wxEndBusyCursor(PyObject *self, PyObject *args) { | |
555 | PyObject * _resultobj; | |
556 | ||
557 | self = self; | |
558 | if(!PyArg_ParseTuple(args,":wxEndBusyCursor")) | |
559 | return NULL; | |
560 | wxEndBusyCursor(); | |
561 | Py_INCREF(Py_None); | |
562 | _resultobj = Py_None; | |
563 | return _resultobj; | |
564 | } | |
565 | ||
566 | static PyObject *_wrap_wxExecute(PyObject *self, PyObject *args) { | |
567 | PyObject * _resultobj; | |
568 | long _result; | |
569 | wxString * _arg0; | |
570 | bool _arg1 = (0); | |
571 | PyObject * _obj0 = 0; | |
572 | int tempbool1; | |
573 | ||
574 | self = self; | |
575 | if(!PyArg_ParseTuple(args,"O|i:wxExecute",&_obj0,&tempbool1)) | |
576 | return NULL; | |
577 | { | |
578 | if (!PyString_Check(_obj0)) { | |
579 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
580 | return NULL; | |
581 | } | |
582 | _arg0 = new wxString(PyString_AsString(_obj0)); | |
583 | } | |
584 | _arg1 = (bool ) tempbool1; | |
585 | _result = (long )wxExecute(*_arg0,_arg1); | |
586 | _resultobj = Py_BuildValue("l",_result); | |
587 | { | |
588 | if (_obj0) | |
589 | delete _arg0; | |
590 | } | |
591 | return _resultobj; | |
592 | } | |
593 | ||
594 | static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args) { | |
595 | PyObject * _resultobj; | |
596 | wxWindow * _result; | |
597 | wxString * _arg0; | |
598 | wxWindow * _arg1 = NULL; | |
599 | PyObject * _obj0 = 0; | |
600 | char * _argc1 = 0; | |
601 | char _ptemp[128]; | |
602 | ||
603 | self = self; | |
604 | if(!PyArg_ParseTuple(args,"O|s:wxFindWindowByLabel",&_obj0,&_argc1)) | |
605 | return NULL; | |
606 | { | |
607 | if (!PyString_Check(_obj0)) { | |
608 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
609 | return NULL; | |
610 | } | |
611 | _arg0 = new wxString(PyString_AsString(_obj0)); | |
612 | } | |
613 | if (_argc1) { | |
614 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
615 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p."); | |
616 | return NULL; | |
617 | } | |
618 | } | |
619 | _result = (wxWindow *)wxFindWindowByLabel(*_arg0,_arg1); | |
620 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
621 | _resultobj = Py_BuildValue("s",_ptemp); | |
622 | { | |
623 | if (_obj0) | |
624 | delete _arg0; | |
625 | } | |
626 | return _resultobj; | |
627 | } | |
628 | ||
629 | static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args) { | |
630 | PyObject * _resultobj; | |
631 | wxWindow * _result; | |
632 | wxString * _arg0; | |
633 | wxWindow * _arg1 = NULL; | |
634 | PyObject * _obj0 = 0; | |
635 | char * _argc1 = 0; | |
636 | char _ptemp[128]; | |
637 | ||
638 | self = self; | |
639 | if(!PyArg_ParseTuple(args,"O|s:wxFindWindowByName",&_obj0,&_argc1)) | |
640 | return NULL; | |
641 | { | |
642 | if (!PyString_Check(_obj0)) { | |
643 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
644 | return NULL; | |
645 | } | |
646 | _arg0 = new wxString(PyString_AsString(_obj0)); | |
647 | } | |
648 | if (_argc1) { | |
649 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
650 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p."); | |
651 | return NULL; | |
652 | } | |
653 | } | |
654 | _result = (wxWindow *)wxFindWindowByName(*_arg0,_arg1); | |
655 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
656 | _resultobj = Py_BuildValue("s",_ptemp); | |
657 | { | |
658 | if (_obj0) | |
659 | delete _arg0; | |
660 | } | |
661 | return _resultobj; | |
662 | } | |
663 | ||
664 | static PyObject *_wrap_wxGetMousePosition(PyObject *self, PyObject *args) { | |
665 | PyObject * _resultobj; | |
666 | int * _arg0; | |
667 | int temp; | |
668 | int * _arg1; | |
669 | int temp0; | |
670 | ||
671 | self = self; | |
672 | { | |
673 | _arg0 = &temp; | |
674 | } | |
675 | { | |
676 | _arg1 = &temp0; | |
677 | } | |
678 | if(!PyArg_ParseTuple(args,":wxGetMousePosition")) | |
679 | return NULL; | |
680 | wxGetMousePosition(_arg0,_arg1); | |
681 | Py_INCREF(Py_None); | |
682 | _resultobj = Py_None; | |
683 | { | |
684 | PyObject *o; | |
685 | o = PyInt_FromLong((long) (*_arg0)); | |
686 | _resultobj = t_output_helper(_resultobj, o); | |
687 | } | |
688 | { | |
689 | PyObject *o; | |
690 | o = PyInt_FromLong((long) (*_arg1)); | |
691 | _resultobj = t_output_helper(_resultobj, o); | |
692 | } | |
693 | return _resultobj; | |
694 | } | |
695 | ||
696 | static PyObject *_wrap_wxIsBusy(PyObject *self, PyObject *args) { | |
697 | PyObject * _resultobj; | |
698 | bool _result; | |
699 | ||
700 | self = self; | |
701 | if(!PyArg_ParseTuple(args,":wxIsBusy")) | |
702 | return NULL; | |
703 | _result = (bool )wxIsBusy(); | |
704 | _resultobj = Py_BuildValue("i",_result); | |
705 | return _resultobj; | |
706 | } | |
707 | ||
708 | static PyObject *_wrap_wxNow(PyObject *self, PyObject *args) { | |
709 | PyObject * _resultobj; | |
710 | wxString * _result; | |
711 | ||
712 | self = self; | |
713 | if(!PyArg_ParseTuple(args,":wxNow")) | |
714 | return NULL; | |
715 | _result = new wxString (wxNow()); | |
716 | { | |
717 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
718 | } | |
719 | { | |
720 | delete _result; | |
721 | } | |
722 | return _resultobj; | |
723 | } | |
724 | ||
725 | static PyObject *_wrap_wxYield(PyObject *self, PyObject *args) { | |
726 | PyObject * _resultobj; | |
727 | bool _result; | |
728 | ||
729 | self = self; | |
730 | if(!PyArg_ParseTuple(args,":wxYield")) | |
731 | return NULL; | |
732 | _result = (bool )wxYield(); | |
733 | _resultobj = Py_BuildValue("i",_result); | |
734 | return _resultobj; | |
735 | } | |
736 | ||
737 | static PyObject *_wrap_wxGetResource(PyObject *self, PyObject *args) { | |
738 | PyObject * _resultobj; | |
739 | char * _result; | |
740 | char * _arg0; | |
741 | char * _arg1; | |
742 | char * _arg2 = NULL; | |
743 | ||
744 | self = self; | |
745 | if(!PyArg_ParseTuple(args,"ss|s:wxGetResource",&_arg0,&_arg1,&_arg2)) | |
746 | return NULL; | |
747 | _result = (char *)wxGetResource(_arg0,_arg1,_arg2); | |
748 | _resultobj = Py_BuildValue("s", _result); | |
749 | return _resultobj; | |
750 | } | |
751 | ||
752 | static PyObject *_wrap_wxResourceAddIdentifier(PyObject *self, PyObject *args) { | |
753 | PyObject * _resultobj; | |
754 | bool _result; | |
755 | char * _arg0; | |
756 | int _arg1; | |
757 | ||
758 | self = self; | |
759 | if(!PyArg_ParseTuple(args,"si:wxResourceAddIdentifier",&_arg0,&_arg1)) | |
760 | return NULL; | |
761 | _result = (bool )wxResourceAddIdentifier(_arg0,_arg1); | |
762 | _resultobj = Py_BuildValue("i",_result); | |
763 | return _resultobj; | |
764 | } | |
765 | ||
766 | static PyObject *_wrap_wxResourceClear(PyObject *self, PyObject *args) { | |
767 | PyObject * _resultobj; | |
768 | ||
769 | self = self; | |
770 | if(!PyArg_ParseTuple(args,":wxResourceClear")) | |
771 | return NULL; | |
772 | wxResourceClear(); | |
773 | Py_INCREF(Py_None); | |
774 | _resultobj = Py_None; | |
775 | return _resultobj; | |
776 | } | |
777 | ||
778 | static PyObject *_wrap_wxResourceCreateBitmap(PyObject *self, PyObject *args) { | |
779 | PyObject * _resultobj; | |
780 | wxBitmap * _result; | |
781 | char * _arg0; | |
782 | char _ptemp[128]; | |
783 | ||
784 | self = self; | |
785 | if(!PyArg_ParseTuple(args,"s:wxResourceCreateBitmap",&_arg0)) | |
786 | return NULL; | |
78bba745 RD |
787 | _result = new wxBitmap (wxResourceCreateBitmap(_arg0)); |
788 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p"); | |
70551f47 RD |
789 | _resultobj = Py_BuildValue("s",_ptemp); |
790 | return _resultobj; | |
791 | } | |
792 | ||
793 | static PyObject *_wrap_wxResourceCreateIcon(PyObject *self, PyObject *args) { | |
794 | PyObject * _resultobj; | |
795 | wxIcon * _result; | |
796 | char * _arg0; | |
797 | char _ptemp[128]; | |
798 | ||
799 | self = self; | |
800 | if(!PyArg_ParseTuple(args,"s:wxResourceCreateIcon",&_arg0)) | |
801 | return NULL; | |
78bba745 RD |
802 | _result = new wxIcon (wxResourceCreateIcon(_arg0)); |
803 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxIcon_p"); | |
70551f47 RD |
804 | _resultobj = Py_BuildValue("s",_ptemp); |
805 | return _resultobj; | |
806 | } | |
807 | ||
808 | static PyObject *_wrap_wxResourceCreateMenuBar(PyObject *self, PyObject *args) { | |
809 | PyObject * _resultobj; | |
810 | wxMenuBar * _result; | |
811 | char * _arg0; | |
812 | char _ptemp[128]; | |
813 | ||
814 | self = self; | |
815 | if(!PyArg_ParseTuple(args,"s:wxResourceCreateMenuBar",&_arg0)) | |
816 | return NULL; | |
817 | _result = (wxMenuBar *)wxResourceCreateMenuBar(_arg0); | |
818 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p"); | |
819 | _resultobj = Py_BuildValue("s",_ptemp); | |
820 | return _resultobj; | |
821 | } | |
822 | ||
823 | static PyObject *_wrap_wxResourceGetIdentifier(PyObject *self, PyObject *args) { | |
824 | PyObject * _resultobj; | |
825 | int _result; | |
826 | char * _arg0; | |
827 | ||
828 | self = self; | |
829 | if(!PyArg_ParseTuple(args,"s:wxResourceGetIdentifier",&_arg0)) | |
830 | return NULL; | |
831 | _result = (int )wxResourceGetIdentifier(_arg0); | |
832 | _resultobj = Py_BuildValue("i",_result); | |
833 | return _resultobj; | |
834 | } | |
835 | ||
836 | static PyObject *_wrap_wxResourceParseData(PyObject *self, PyObject *args) { | |
837 | PyObject * _resultobj; | |
838 | bool _result; | |
839 | char * _arg0; | |
840 | wxResourceTable * _arg1 = NULL; | |
841 | char * _argc1 = 0; | |
842 | ||
843 | self = self; | |
844 | if(!PyArg_ParseTuple(args,"s|s:wxResourceParseData",&_arg0,&_argc1)) | |
845 | return NULL; | |
846 | if (_argc1) { | |
847 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxResourceTable_p")) { | |
848 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p."); | |
849 | return NULL; | |
850 | } | |
851 | } | |
852 | _result = (bool )wxResourceParseData(_arg0,_arg1); | |
853 | _resultobj = Py_BuildValue("i",_result); | |
854 | return _resultobj; | |
855 | } | |
856 | ||
857 | static PyObject *_wrap_wxResourceParseFile(PyObject *self, PyObject *args) { | |
858 | PyObject * _resultobj; | |
859 | bool _result; | |
860 | char * _arg0; | |
861 | wxResourceTable * _arg1 = NULL; | |
862 | char * _argc1 = 0; | |
863 | ||
864 | self = self; | |
865 | if(!PyArg_ParseTuple(args,"s|s:wxResourceParseFile",&_arg0,&_argc1)) | |
866 | return NULL; | |
867 | if (_argc1) { | |
868 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxResourceTable_p")) { | |
869 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p."); | |
870 | return NULL; | |
871 | } | |
872 | } | |
873 | _result = (bool )wxResourceParseFile(_arg0,_arg1); | |
874 | _resultobj = Py_BuildValue("i",_result); | |
875 | return _resultobj; | |
876 | } | |
877 | ||
878 | static PyObject *_wrap_wxResourceParseString(PyObject *self, PyObject *args) { | |
879 | PyObject * _resultobj; | |
880 | bool _result; | |
881 | char * _arg0; | |
882 | wxResourceTable * _arg1 = NULL; | |
883 | char * _argc1 = 0; | |
884 | ||
885 | self = self; | |
886 | if(!PyArg_ParseTuple(args,"s|s:wxResourceParseString",&_arg0,&_argc1)) | |
887 | return NULL; | |
888 | if (_argc1) { | |
889 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxResourceTable_p")) { | |
890 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p."); | |
891 | return NULL; | |
892 | } | |
893 | } | |
894 | _result = (bool )wxResourceParseString(_arg0,_arg1); | |
895 | _resultobj = Py_BuildValue("i",_result); | |
896 | return _resultobj; | |
897 | } | |
898 | ||
899 | #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval) | |
900 | static PyObject *_wrap_wxSize_width_set(PyObject *self, PyObject *args) { | |
901 | PyObject * _resultobj; | |
902 | long _result; | |
903 | wxSize * _arg0; | |
904 | long _arg1; | |
905 | char * _argc0 = 0; | |
906 | ||
907 | self = self; | |
908 | if(!PyArg_ParseTuple(args,"sl:wxSize_width_set",&_argc0,&_arg1)) | |
909 | return NULL; | |
910 | if (_argc0) { | |
911 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) { | |
912 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_width_set. Expected _wxSize_p."); | |
913 | return NULL; | |
914 | } | |
915 | } | |
916 | _result = (long )wxSize_x_set(_arg0,_arg1); | |
917 | _resultobj = Py_BuildValue("l",_result); | |
918 | return _resultobj; | |
919 | } | |
920 | ||
921 | #define wxSize_x_get(_swigobj) ((long ) _swigobj->x) | |
922 | static PyObject *_wrap_wxSize_width_get(PyObject *self, PyObject *args) { | |
923 | PyObject * _resultobj; | |
924 | long _result; | |
925 | wxSize * _arg0; | |
926 | char * _argc0 = 0; | |
927 | ||
928 | self = self; | |
929 | if(!PyArg_ParseTuple(args,"s:wxSize_width_get",&_argc0)) | |
930 | return NULL; | |
931 | if (_argc0) { | |
932 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) { | |
933 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_width_get. Expected _wxSize_p."); | |
934 | return NULL; | |
935 | } | |
936 | } | |
937 | _result = (long )wxSize_x_get(_arg0); | |
938 | _resultobj = Py_BuildValue("l",_result); | |
939 | return _resultobj; | |
940 | } | |
941 | ||
942 | #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval) | |
943 | static PyObject *_wrap_wxSize_height_set(PyObject *self, PyObject *args) { | |
944 | PyObject * _resultobj; | |
945 | long _result; | |
946 | wxSize * _arg0; | |
947 | long _arg1; | |
948 | char * _argc0 = 0; | |
949 | ||
950 | self = self; | |
951 | if(!PyArg_ParseTuple(args,"sl:wxSize_height_set",&_argc0,&_arg1)) | |
952 | return NULL; | |
953 | if (_argc0) { | |
954 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) { | |
955 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_height_set. Expected _wxSize_p."); | |
956 | return NULL; | |
957 | } | |
958 | } | |
959 | _result = (long )wxSize_y_set(_arg0,_arg1); | |
960 | _resultobj = Py_BuildValue("l",_result); | |
961 | return _resultobj; | |
962 | } | |
963 | ||
964 | #define wxSize_y_get(_swigobj) ((long ) _swigobj->y) | |
965 | static PyObject *_wrap_wxSize_height_get(PyObject *self, PyObject *args) { | |
966 | PyObject * _resultobj; | |
967 | long _result; | |
968 | wxSize * _arg0; | |
969 | char * _argc0 = 0; | |
970 | ||
971 | self = self; | |
972 | if(!PyArg_ParseTuple(args,"s:wxSize_height_get",&_argc0)) | |
973 | return NULL; | |
974 | if (_argc0) { | |
975 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) { | |
976 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_height_get. Expected _wxSize_p."); | |
977 | return NULL; | |
978 | } | |
979 | } | |
980 | _result = (long )wxSize_y_get(_arg0); | |
981 | _resultobj = Py_BuildValue("l",_result); | |
982 | return _resultobj; | |
983 | } | |
984 | ||
985 | #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1)) | |
986 | static PyObject *_wrap_new_wxSize(PyObject *self, PyObject *args) { | |
987 | PyObject * _resultobj; | |
988 | wxSize * _result; | |
989 | long _arg0 = 0; | |
990 | long _arg1 = 0; | |
991 | char _ptemp[128]; | |
992 | ||
993 | self = self; | |
994 | if(!PyArg_ParseTuple(args,"|ll:new_wxSize",&_arg0,&_arg1)) | |
995 | return NULL; | |
996 | _result = (wxSize *)new_wxSize(_arg0,_arg1); | |
997 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSize_p"); | |
998 | _resultobj = Py_BuildValue("s",_ptemp); | |
999 | return _resultobj; | |
1000 | } | |
1001 | ||
1002 | #define delete_wxSize(_swigobj) (delete _swigobj) | |
1003 | static PyObject *_wrap_delete_wxSize(PyObject *self, PyObject *args) { | |
1004 | PyObject * _resultobj; | |
1005 | wxSize * _arg0; | |
1006 | char * _argc0 = 0; | |
1007 | ||
1008 | self = self; | |
1009 | if(!PyArg_ParseTuple(args,"s:delete_wxSize",&_argc0)) | |
1010 | return NULL; | |
1011 | if (_argc0) { | |
1012 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) { | |
1013 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxSize. Expected _wxSize_p."); | |
1014 | return NULL; | |
1015 | } | |
1016 | } | |
1017 | delete_wxSize(_arg0); | |
1018 | Py_INCREF(Py_None); | |
1019 | _resultobj = Py_None; | |
1020 | return _resultobj; | |
1021 | } | |
1022 | ||
1023 | #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1)) | |
1024 | static PyObject *_wrap_wxSize_Set(PyObject *self, PyObject *args) { | |
1025 | PyObject * _resultobj; | |
1026 | wxSize * _arg0; | |
1027 | long _arg1; | |
1028 | long _arg2; | |
1029 | char * _argc0 = 0; | |
1030 | ||
1031 | self = self; | |
1032 | if(!PyArg_ParseTuple(args,"sll:wxSize_Set",&_argc0,&_arg1,&_arg2)) | |
1033 | return NULL; | |
1034 | if (_argc0) { | |
1035 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) { | |
1036 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_Set. Expected _wxSize_p."); | |
1037 | return NULL; | |
1038 | } | |
1039 | } | |
1040 | wxSize_Set(_arg0,_arg1,_arg2); | |
1041 | Py_INCREF(Py_None); | |
1042 | _resultobj = Py_None; | |
1043 | return _resultobj; | |
1044 | } | |
1045 | ||
1046 | #define wxSize_GetWidth(_swigobj) (_swigobj->GetX()) | |
1047 | static PyObject *_wrap_wxSize_GetWidth(PyObject *self, PyObject *args) { | |
1048 | PyObject * _resultobj; | |
1049 | long _result; | |
1050 | wxSize * _arg0; | |
1051 | char * _argc0 = 0; | |
1052 | ||
1053 | self = self; | |
1054 | if(!PyArg_ParseTuple(args,"s:wxSize_GetWidth",&_argc0)) | |
1055 | return NULL; | |
1056 | if (_argc0) { | |
1057 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) { | |
1058 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_GetWidth. Expected _wxSize_p."); | |
1059 | return NULL; | |
1060 | } | |
1061 | } | |
1062 | _result = (long )wxSize_GetWidth(_arg0); | |
1063 | _resultobj = Py_BuildValue("l",_result); | |
1064 | return _resultobj; | |
1065 | } | |
1066 | ||
1067 | #define wxSize_GetHeight(_swigobj) (_swigobj->GetY()) | |
1068 | static PyObject *_wrap_wxSize_GetHeight(PyObject *self, PyObject *args) { | |
1069 | PyObject * _resultobj; | |
1070 | long _result; | |
1071 | wxSize * _arg0; | |
1072 | char * _argc0 = 0; | |
1073 | ||
1074 | self = self; | |
1075 | if(!PyArg_ParseTuple(args,"s:wxSize_GetHeight",&_argc0)) | |
1076 | return NULL; | |
1077 | if (_argc0) { | |
1078 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) { | |
1079 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_GetHeight. Expected _wxSize_p."); | |
1080 | return NULL; | |
1081 | } | |
1082 | } | |
1083 | _result = (long )wxSize_GetHeight(_arg0); | |
1084 | _resultobj = Py_BuildValue("l",_result); | |
1085 | return _resultobj; | |
1086 | } | |
1087 | ||
1088 | static PyObject * wxSize___str__(wxSize *self) { | |
1089 | PyObject* tup = PyTuple_New(2); | |
1090 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x)); | |
1091 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y)); | |
1092 | return tup; | |
1093 | } | |
1094 | static PyObject *_wrap_wxSize___str__(PyObject *self, PyObject *args) { | |
1095 | PyObject * _resultobj; | |
1096 | PyObject * _result; | |
1097 | wxSize * _arg0; | |
1098 | char * _argc0 = 0; | |
1099 | ||
1100 | self = self; | |
1101 | if(!PyArg_ParseTuple(args,"s:wxSize___str__",&_argc0)) | |
1102 | return NULL; | |
1103 | if (_argc0) { | |
1104 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) { | |
1105 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize___str__. Expected _wxSize_p."); | |
1106 | return NULL; | |
1107 | } | |
1108 | } | |
1109 | _result = (PyObject *)wxSize___str__(_arg0); | |
1110 | { | |
1111 | _resultobj = _result; | |
1112 | } | |
1113 | return _resultobj; | |
1114 | } | |
1115 | ||
1116 | #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval) | |
1117 | static PyObject *_wrap_wxRealPoint_x_set(PyObject *self, PyObject *args) { | |
1118 | PyObject * _resultobj; | |
1119 | double _result; | |
1120 | wxRealPoint * _arg0; | |
1121 | double _arg1; | |
1122 | char * _argc0 = 0; | |
1123 | ||
1124 | self = self; | |
1125 | if(!PyArg_ParseTuple(args,"sd:wxRealPoint_x_set",&_argc0,&_arg1)) | |
1126 | return NULL; | |
1127 | if (_argc0) { | |
1128 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) { | |
1129 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRealPoint_x_set. Expected _wxRealPoint_p."); | |
1130 | return NULL; | |
1131 | } | |
1132 | } | |
1133 | _result = (double )wxRealPoint_x_set(_arg0,_arg1); | |
1134 | _resultobj = Py_BuildValue("d",_result); | |
1135 | return _resultobj; | |
1136 | } | |
1137 | ||
1138 | #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x) | |
1139 | static PyObject *_wrap_wxRealPoint_x_get(PyObject *self, PyObject *args) { | |
1140 | PyObject * _resultobj; | |
1141 | double _result; | |
1142 | wxRealPoint * _arg0; | |
1143 | char * _argc0 = 0; | |
1144 | ||
1145 | self = self; | |
1146 | if(!PyArg_ParseTuple(args,"s:wxRealPoint_x_get",&_argc0)) | |
1147 | return NULL; | |
1148 | if (_argc0) { | |
1149 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) { | |
1150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRealPoint_x_get. Expected _wxRealPoint_p."); | |
1151 | return NULL; | |
1152 | } | |
1153 | } | |
1154 | _result = (double )wxRealPoint_x_get(_arg0); | |
1155 | _resultobj = Py_BuildValue("d",_result); | |
1156 | return _resultobj; | |
1157 | } | |
1158 | ||
1159 | #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval) | |
1160 | static PyObject *_wrap_wxRealPoint_y_set(PyObject *self, PyObject *args) { | |
1161 | PyObject * _resultobj; | |
1162 | double _result; | |
1163 | wxRealPoint * _arg0; | |
1164 | double _arg1; | |
1165 | char * _argc0 = 0; | |
1166 | ||
1167 | self = self; | |
1168 | if(!PyArg_ParseTuple(args,"sd:wxRealPoint_y_set",&_argc0,&_arg1)) | |
1169 | return NULL; | |
1170 | if (_argc0) { | |
1171 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) { | |
1172 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRealPoint_y_set. Expected _wxRealPoint_p."); | |
1173 | return NULL; | |
1174 | } | |
1175 | } | |
1176 | _result = (double )wxRealPoint_y_set(_arg0,_arg1); | |
1177 | _resultobj = Py_BuildValue("d",_result); | |
1178 | return _resultobj; | |
1179 | } | |
1180 | ||
1181 | #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y) | |
1182 | static PyObject *_wrap_wxRealPoint_y_get(PyObject *self, PyObject *args) { | |
1183 | PyObject * _resultobj; | |
1184 | double _result; | |
1185 | wxRealPoint * _arg0; | |
1186 | char * _argc0 = 0; | |
1187 | ||
1188 | self = self; | |
1189 | if(!PyArg_ParseTuple(args,"s:wxRealPoint_y_get",&_argc0)) | |
1190 | return NULL; | |
1191 | if (_argc0) { | |
1192 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) { | |
1193 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRealPoint_y_get. Expected _wxRealPoint_p."); | |
1194 | return NULL; | |
1195 | } | |
1196 | } | |
1197 | _result = (double )wxRealPoint_y_get(_arg0); | |
1198 | _resultobj = Py_BuildValue("d",_result); | |
1199 | return _resultobj; | |
1200 | } | |
1201 | ||
1202 | #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1)) | |
1203 | static PyObject *_wrap_new_wxRealPoint(PyObject *self, PyObject *args) { | |
1204 | PyObject * _resultobj; | |
1205 | wxRealPoint * _result; | |
1206 | double _arg0 = 0.0; | |
1207 | double _arg1 = 0.0; | |
1208 | char _ptemp[128]; | |
1209 | ||
1210 | self = self; | |
1211 | if(!PyArg_ParseTuple(args,"|dd:new_wxRealPoint",&_arg0,&_arg1)) | |
1212 | return NULL; | |
1213 | _result = (wxRealPoint *)new_wxRealPoint(_arg0,_arg1); | |
1214 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxRealPoint_p"); | |
1215 | _resultobj = Py_BuildValue("s",_ptemp); | |
1216 | return _resultobj; | |
1217 | } | |
1218 | ||
1219 | #define delete_wxRealPoint(_swigobj) (delete _swigobj) | |
1220 | static PyObject *_wrap_delete_wxRealPoint(PyObject *self, PyObject *args) { | |
1221 | PyObject * _resultobj; | |
1222 | wxRealPoint * _arg0; | |
1223 | char * _argc0 = 0; | |
1224 | ||
1225 | self = self; | |
1226 | if(!PyArg_ParseTuple(args,"s:delete_wxRealPoint",&_argc0)) | |
1227 | return NULL; | |
1228 | if (_argc0) { | |
1229 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) { | |
1230 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRealPoint. Expected _wxRealPoint_p."); | |
1231 | return NULL; | |
1232 | } | |
1233 | } | |
1234 | delete_wxRealPoint(_arg0); | |
1235 | Py_INCREF(Py_None); | |
1236 | _resultobj = Py_None; | |
1237 | return _resultobj; | |
1238 | } | |
1239 | ||
1240 | #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval) | |
1241 | static PyObject *_wrap_wxPoint_x_set(PyObject *self, PyObject *args) { | |
1242 | PyObject * _resultobj; | |
1243 | long _result; | |
1244 | wxPoint * _arg0; | |
1245 | long _arg1; | |
1246 | char * _argc0 = 0; | |
1247 | ||
1248 | self = self; | |
1249 | if(!PyArg_ParseTuple(args,"sl:wxPoint_x_set",&_argc0,&_arg1)) | |
1250 | return NULL; | |
1251 | if (_argc0) { | |
1252 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) { | |
1253 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_x_set. Expected _wxPoint_p."); | |
1254 | return NULL; | |
1255 | } | |
1256 | } | |
1257 | _result = (long )wxPoint_x_set(_arg0,_arg1); | |
1258 | _resultobj = Py_BuildValue("l",_result); | |
1259 | return _resultobj; | |
1260 | } | |
1261 | ||
1262 | #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x) | |
1263 | static PyObject *_wrap_wxPoint_x_get(PyObject *self, PyObject *args) { | |
1264 | PyObject * _resultobj; | |
1265 | long _result; | |
1266 | wxPoint * _arg0; | |
1267 | char * _argc0 = 0; | |
1268 | ||
1269 | self = self; | |
1270 | if(!PyArg_ParseTuple(args,"s:wxPoint_x_get",&_argc0)) | |
1271 | return NULL; | |
1272 | if (_argc0) { | |
1273 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) { | |
1274 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_x_get. Expected _wxPoint_p."); | |
1275 | return NULL; | |
1276 | } | |
1277 | } | |
1278 | _result = (long )wxPoint_x_get(_arg0); | |
1279 | _resultobj = Py_BuildValue("l",_result); | |
1280 | return _resultobj; | |
1281 | } | |
1282 | ||
1283 | #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval) | |
1284 | static PyObject *_wrap_wxPoint_y_set(PyObject *self, PyObject *args) { | |
1285 | PyObject * _resultobj; | |
1286 | long _result; | |
1287 | wxPoint * _arg0; | |
1288 | long _arg1; | |
1289 | char * _argc0 = 0; | |
1290 | ||
1291 | self = self; | |
1292 | if(!PyArg_ParseTuple(args,"sl:wxPoint_y_set",&_argc0,&_arg1)) | |
1293 | return NULL; | |
1294 | if (_argc0) { | |
1295 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) { | |
1296 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_y_set. Expected _wxPoint_p."); | |
1297 | return NULL; | |
1298 | } | |
1299 | } | |
1300 | _result = (long )wxPoint_y_set(_arg0,_arg1); | |
1301 | _resultobj = Py_BuildValue("l",_result); | |
1302 | return _resultobj; | |
1303 | } | |
1304 | ||
1305 | #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y) | |
1306 | static PyObject *_wrap_wxPoint_y_get(PyObject *self, PyObject *args) { | |
1307 | PyObject * _resultobj; | |
1308 | long _result; | |
1309 | wxPoint * _arg0; | |
1310 | char * _argc0 = 0; | |
1311 | ||
1312 | self = self; | |
1313 | if(!PyArg_ParseTuple(args,"s:wxPoint_y_get",&_argc0)) | |
1314 | return NULL; | |
1315 | if (_argc0) { | |
1316 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) { | |
1317 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_y_get. Expected _wxPoint_p."); | |
1318 | return NULL; | |
1319 | } | |
1320 | } | |
1321 | _result = (long )wxPoint_y_get(_arg0); | |
1322 | _resultobj = Py_BuildValue("l",_result); | |
1323 | return _resultobj; | |
1324 | } | |
1325 | ||
1326 | #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1)) | |
1327 | static PyObject *_wrap_new_wxPoint(PyObject *self, PyObject *args) { | |
1328 | PyObject * _resultobj; | |
1329 | wxPoint * _result; | |
1330 | long _arg0 = 0; | |
1331 | long _arg1 = 0; | |
1332 | char _ptemp[128]; | |
1333 | ||
1334 | self = self; | |
1335 | if(!PyArg_ParseTuple(args,"|ll:new_wxPoint",&_arg0,&_arg1)) | |
1336 | return NULL; | |
1337 | _result = (wxPoint *)new_wxPoint(_arg0,_arg1); | |
1338 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); | |
1339 | _resultobj = Py_BuildValue("s",_ptemp); | |
1340 | return _resultobj; | |
1341 | } | |
1342 | ||
1343 | #define delete_wxPoint(_swigobj) (delete _swigobj) | |
1344 | static PyObject *_wrap_delete_wxPoint(PyObject *self, PyObject *args) { | |
1345 | PyObject * _resultobj; | |
1346 | wxPoint * _arg0; | |
1347 | char * _argc0 = 0; | |
1348 | ||
1349 | self = self; | |
1350 | if(!PyArg_ParseTuple(args,"s:delete_wxPoint",&_argc0)) | |
1351 | return NULL; | |
1352 | if (_argc0) { | |
1353 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) { | |
1354 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPoint. Expected _wxPoint_p."); | |
1355 | return NULL; | |
1356 | } | |
1357 | } | |
1358 | delete_wxPoint(_arg0); | |
1359 | Py_INCREF(Py_None); | |
1360 | _resultobj = Py_None; | |
1361 | return _resultobj; | |
1362 | } | |
1363 | ||
1364 | static void wxPoint_Set(wxPoint *self,long x,long y) { | |
1365 | self->x = x; | |
1366 | self->y = y; | |
1367 | } | |
1368 | static PyObject *_wrap_wxPoint_Set(PyObject *self, PyObject *args) { | |
1369 | PyObject * _resultobj; | |
1370 | wxPoint * _arg0; | |
1371 | long _arg1; | |
1372 | long _arg2; | |
1373 | char * _argc0 = 0; | |
1374 | ||
1375 | self = self; | |
1376 | if(!PyArg_ParseTuple(args,"sll:wxPoint_Set",&_argc0,&_arg1,&_arg2)) | |
1377 | return NULL; | |
1378 | if (_argc0) { | |
1379 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) { | |
1380 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_Set. Expected _wxPoint_p."); | |
1381 | return NULL; | |
1382 | } | |
1383 | } | |
1384 | wxPoint_Set(_arg0,_arg1,_arg2); | |
1385 | Py_INCREF(Py_None); | |
1386 | _resultobj = Py_None; | |
1387 | return _resultobj; | |
1388 | } | |
1389 | ||
1390 | static PyObject * wxPoint___str__(wxPoint *self) { | |
1391 | PyObject* tup = PyTuple_New(2); | |
1392 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x)); | |
1393 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y)); | |
1394 | return tup; | |
1395 | } | |
1396 | static PyObject *_wrap_wxPoint___str__(PyObject *self, PyObject *args) { | |
1397 | PyObject * _resultobj; | |
1398 | PyObject * _result; | |
1399 | wxPoint * _arg0; | |
1400 | char * _argc0 = 0; | |
1401 | ||
1402 | self = self; | |
1403 | if(!PyArg_ParseTuple(args,"s:wxPoint___str__",&_argc0)) | |
1404 | return NULL; | |
1405 | if (_argc0) { | |
1406 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) { | |
1407 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint___str__. Expected _wxPoint_p."); | |
1408 | return NULL; | |
1409 | } | |
1410 | } | |
1411 | _result = (PyObject *)wxPoint___str__(_arg0); | |
1412 | { | |
1413 | _resultobj = _result; | |
1414 | } | |
1415 | return _resultobj; | |
1416 | } | |
1417 | ||
1418 | #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1419 | static PyObject *_wrap_new_wxRect(PyObject *self, PyObject *args) { | |
1420 | PyObject * _resultobj; | |
1421 | wxRect * _result; | |
1422 | long _arg0 = 0; | |
1423 | long _arg1 = 0; | |
1424 | long _arg2 = 0; | |
1425 | long _arg3 = 0; | |
1426 | char _ptemp[128]; | |
1427 | ||
1428 | self = self; | |
1429 | if(!PyArg_ParseTuple(args,"|llll:new_wxRect",&_arg0,&_arg1,&_arg2,&_arg3)) | |
1430 | return NULL; | |
1431 | _result = (wxRect *)new_wxRect(_arg0,_arg1,_arg2,_arg3); | |
1432 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p"); | |
1433 | _resultobj = Py_BuildValue("s",_ptemp); | |
1434 | return _resultobj; | |
1435 | } | |
1436 | ||
1437 | #define delete_wxRect(_swigobj) (delete _swigobj) | |
1438 | static PyObject *_wrap_delete_wxRect(PyObject *self, PyObject *args) { | |
1439 | PyObject * _resultobj; | |
1440 | wxRect * _arg0; | |
1441 | char * _argc0 = 0; | |
1442 | ||
1443 | self = self; | |
1444 | if(!PyArg_ParseTuple(args,"s:delete_wxRect",&_argc0)) | |
1445 | return NULL; | |
1446 | if (_argc0) { | |
1447 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1448 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRect. Expected _wxRect_p."); | |
1449 | return NULL; | |
1450 | } | |
1451 | } | |
1452 | delete_wxRect(_arg0); | |
1453 | Py_INCREF(Py_None); | |
1454 | _resultobj = Py_None; | |
1455 | return _resultobj; | |
1456 | } | |
1457 | ||
1458 | #define wxRect_GetX(_swigobj) (_swigobj->GetX()) | |
1459 | static PyObject *_wrap_wxRect_GetX(PyObject *self, PyObject *args) { | |
1460 | PyObject * _resultobj; | |
1461 | long _result; | |
1462 | wxRect * _arg0; | |
1463 | char * _argc0 = 0; | |
1464 | ||
1465 | self = self; | |
1466 | if(!PyArg_ParseTuple(args,"s:wxRect_GetX",&_argc0)) | |
1467 | return NULL; | |
1468 | if (_argc0) { | |
1469 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1470 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetX. Expected _wxRect_p."); | |
1471 | return NULL; | |
1472 | } | |
1473 | } | |
1474 | _result = (long )wxRect_GetX(_arg0); | |
1475 | _resultobj = Py_BuildValue("l",_result); | |
1476 | return _resultobj; | |
1477 | } | |
1478 | ||
1479 | #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0)) | |
1480 | static PyObject *_wrap_wxRect_SetX(PyObject *self, PyObject *args) { | |
1481 | PyObject * _resultobj; | |
1482 | wxRect * _arg0; | |
1483 | long _arg1; | |
1484 | char * _argc0 = 0; | |
1485 | ||
1486 | self = self; | |
1487 | if(!PyArg_ParseTuple(args,"sl:wxRect_SetX",&_argc0,&_arg1)) | |
1488 | return NULL; | |
1489 | if (_argc0) { | |
1490 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1491 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_SetX. Expected _wxRect_p."); | |
1492 | return NULL; | |
1493 | } | |
1494 | } | |
1495 | wxRect_SetX(_arg0,_arg1); | |
1496 | Py_INCREF(Py_None); | |
1497 | _resultobj = Py_None; | |
1498 | return _resultobj; | |
1499 | } | |
1500 | ||
1501 | #define wxRect_GetY(_swigobj) (_swigobj->GetY()) | |
1502 | static PyObject *_wrap_wxRect_GetY(PyObject *self, PyObject *args) { | |
1503 | PyObject * _resultobj; | |
1504 | long _result; | |
1505 | wxRect * _arg0; | |
1506 | char * _argc0 = 0; | |
1507 | ||
1508 | self = self; | |
1509 | if(!PyArg_ParseTuple(args,"s:wxRect_GetY",&_argc0)) | |
1510 | return NULL; | |
1511 | if (_argc0) { | |
1512 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1513 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetY. Expected _wxRect_p."); | |
1514 | return NULL; | |
1515 | } | |
1516 | } | |
1517 | _result = (long )wxRect_GetY(_arg0); | |
1518 | _resultobj = Py_BuildValue("l",_result); | |
1519 | return _resultobj; | |
1520 | } | |
1521 | ||
1522 | #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0)) | |
1523 | static PyObject *_wrap_wxRect_SetY(PyObject *self, PyObject *args) { | |
1524 | PyObject * _resultobj; | |
1525 | wxRect * _arg0; | |
1526 | long _arg1; | |
1527 | char * _argc0 = 0; | |
1528 | ||
1529 | self = self; | |
1530 | if(!PyArg_ParseTuple(args,"sl:wxRect_SetY",&_argc0,&_arg1)) | |
1531 | return NULL; | |
1532 | if (_argc0) { | |
1533 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1534 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_SetY. Expected _wxRect_p."); | |
1535 | return NULL; | |
1536 | } | |
1537 | } | |
1538 | wxRect_SetY(_arg0,_arg1); | |
1539 | Py_INCREF(Py_None); | |
1540 | _resultobj = Py_None; | |
1541 | return _resultobj; | |
1542 | } | |
1543 | ||
1544 | #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth()) | |
1545 | static PyObject *_wrap_wxRect_GetWidth(PyObject *self, PyObject *args) { | |
1546 | PyObject * _resultobj; | |
1547 | long _result; | |
1548 | wxRect * _arg0; | |
1549 | char * _argc0 = 0; | |
1550 | ||
1551 | self = self; | |
1552 | if(!PyArg_ParseTuple(args,"s:wxRect_GetWidth",&_argc0)) | |
1553 | return NULL; | |
1554 | if (_argc0) { | |
1555 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1556 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetWidth. Expected _wxRect_p."); | |
1557 | return NULL; | |
1558 | } | |
1559 | } | |
1560 | _result = (long )wxRect_GetWidth(_arg0); | |
1561 | _resultobj = Py_BuildValue("l",_result); | |
1562 | return _resultobj; | |
1563 | } | |
1564 | ||
1565 | #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0)) | |
1566 | static PyObject *_wrap_wxRect_SetWidth(PyObject *self, PyObject *args) { | |
1567 | PyObject * _resultobj; | |
1568 | wxRect * _arg0; | |
1569 | long _arg1; | |
1570 | char * _argc0 = 0; | |
1571 | ||
1572 | self = self; | |
1573 | if(!PyArg_ParseTuple(args,"sl:wxRect_SetWidth",&_argc0,&_arg1)) | |
1574 | return NULL; | |
1575 | if (_argc0) { | |
1576 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1577 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_SetWidth. Expected _wxRect_p."); | |
1578 | return NULL; | |
1579 | } | |
1580 | } | |
1581 | wxRect_SetWidth(_arg0,_arg1); | |
1582 | Py_INCREF(Py_None); | |
1583 | _resultobj = Py_None; | |
1584 | return _resultobj; | |
1585 | } | |
1586 | ||
1587 | #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight()) | |
1588 | static PyObject *_wrap_wxRect_GetHeight(PyObject *self, PyObject *args) { | |
1589 | PyObject * _resultobj; | |
1590 | long _result; | |
1591 | wxRect * _arg0; | |
1592 | char * _argc0 = 0; | |
1593 | ||
1594 | self = self; | |
1595 | if(!PyArg_ParseTuple(args,"s:wxRect_GetHeight",&_argc0)) | |
1596 | return NULL; | |
1597 | if (_argc0) { | |
1598 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1599 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetHeight. Expected _wxRect_p."); | |
1600 | return NULL; | |
1601 | } | |
1602 | } | |
1603 | _result = (long )wxRect_GetHeight(_arg0); | |
1604 | _resultobj = Py_BuildValue("l",_result); | |
1605 | return _resultobj; | |
1606 | } | |
1607 | ||
1608 | #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0)) | |
1609 | static PyObject *_wrap_wxRect_SetHeight(PyObject *self, PyObject *args) { | |
1610 | PyObject * _resultobj; | |
1611 | wxRect * _arg0; | |
1612 | long _arg1; | |
1613 | char * _argc0 = 0; | |
1614 | ||
1615 | self = self; | |
1616 | if(!PyArg_ParseTuple(args,"sl:wxRect_SetHeight",&_argc0,&_arg1)) | |
1617 | return NULL; | |
1618 | if (_argc0) { | |
1619 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1620 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_SetHeight. Expected _wxRect_p."); | |
1621 | return NULL; | |
1622 | } | |
1623 | } | |
1624 | wxRect_SetHeight(_arg0,_arg1); | |
1625 | Py_INCREF(Py_None); | |
1626 | _resultobj = Py_None; | |
1627 | return _resultobj; | |
1628 | } | |
1629 | ||
1630 | #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
1631 | static PyObject *_wrap_wxRect_GetPosition(PyObject *self, PyObject *args) { | |
1632 | PyObject * _resultobj; | |
1633 | wxPoint * _result; | |
1634 | wxRect * _arg0; | |
1635 | char * _argc0 = 0; | |
1636 | char _ptemp[128]; | |
1637 | ||
1638 | self = self; | |
1639 | if(!PyArg_ParseTuple(args,"s:wxRect_GetPosition",&_argc0)) | |
1640 | return NULL; | |
1641 | if (_argc0) { | |
1642 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1643 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetPosition. Expected _wxRect_p."); | |
1644 | return NULL; | |
1645 | } | |
1646 | } | |
1647 | _result = new wxPoint (wxRect_GetPosition(_arg0)); | |
1648 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
1649 | _resultobj = Py_BuildValue("s",_ptemp); | |
1650 | return _resultobj; | |
1651 | } | |
1652 | ||
1653 | #define wxRect_GetSize(_swigobj) (_swigobj->GetSize()) | |
1654 | static PyObject *_wrap_wxRect_GetSize(PyObject *self, PyObject *args) { | |
1655 | PyObject * _resultobj; | |
1656 | wxSize * _result; | |
1657 | wxRect * _arg0; | |
1658 | char * _argc0 = 0; | |
1659 | char _ptemp[128]; | |
1660 | ||
1661 | self = self; | |
1662 | if(!PyArg_ParseTuple(args,"s:wxRect_GetSize",&_argc0)) | |
1663 | return NULL; | |
1664 | if (_argc0) { | |
1665 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1666 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetSize. Expected _wxRect_p."); | |
1667 | return NULL; | |
1668 | } | |
1669 | } | |
1670 | _result = new wxSize (wxRect_GetSize(_arg0)); | |
1671 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
1672 | _resultobj = Py_BuildValue("s",_ptemp); | |
1673 | return _resultobj; | |
1674 | } | |
1675 | ||
1676 | #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft()) | |
1677 | static PyObject *_wrap_wxRect_GetLeft(PyObject *self, PyObject *args) { | |
1678 | PyObject * _resultobj; | |
1679 | long _result; | |
1680 | wxRect * _arg0; | |
1681 | char * _argc0 = 0; | |
1682 | ||
1683 | self = self; | |
1684 | if(!PyArg_ParseTuple(args,"s:wxRect_GetLeft",&_argc0)) | |
1685 | return NULL; | |
1686 | if (_argc0) { | |
1687 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1688 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetLeft. Expected _wxRect_p."); | |
1689 | return NULL; | |
1690 | } | |
1691 | } | |
1692 | _result = (long )wxRect_GetLeft(_arg0); | |
1693 | _resultobj = Py_BuildValue("l",_result); | |
1694 | return _resultobj; | |
1695 | } | |
1696 | ||
1697 | #define wxRect_GetTop(_swigobj) (_swigobj->GetTop()) | |
1698 | static PyObject *_wrap_wxRect_GetTop(PyObject *self, PyObject *args) { | |
1699 | PyObject * _resultobj; | |
1700 | long _result; | |
1701 | wxRect * _arg0; | |
1702 | char * _argc0 = 0; | |
1703 | ||
1704 | self = self; | |
1705 | if(!PyArg_ParseTuple(args,"s:wxRect_GetTop",&_argc0)) | |
1706 | return NULL; | |
1707 | if (_argc0) { | |
1708 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1709 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetTop. Expected _wxRect_p."); | |
1710 | return NULL; | |
1711 | } | |
1712 | } | |
1713 | _result = (long )wxRect_GetTop(_arg0); | |
1714 | _resultobj = Py_BuildValue("l",_result); | |
1715 | return _resultobj; | |
1716 | } | |
1717 | ||
1718 | #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom()) | |
1719 | static PyObject *_wrap_wxRect_GetBottom(PyObject *self, PyObject *args) { | |
1720 | PyObject * _resultobj; | |
1721 | long _result; | |
1722 | wxRect * _arg0; | |
1723 | char * _argc0 = 0; | |
1724 | ||
1725 | self = self; | |
1726 | if(!PyArg_ParseTuple(args,"s:wxRect_GetBottom",&_argc0)) | |
1727 | return NULL; | |
1728 | if (_argc0) { | |
1729 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1730 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetBottom. Expected _wxRect_p."); | |
1731 | return NULL; | |
1732 | } | |
1733 | } | |
1734 | _result = (long )wxRect_GetBottom(_arg0); | |
1735 | _resultobj = Py_BuildValue("l",_result); | |
1736 | return _resultobj; | |
1737 | } | |
1738 | ||
1739 | #define wxRect_GetRight(_swigobj) (_swigobj->GetRight()) | |
1740 | static PyObject *_wrap_wxRect_GetRight(PyObject *self, PyObject *args) { | |
1741 | PyObject * _resultobj; | |
1742 | long _result; | |
1743 | wxRect * _arg0; | |
1744 | char * _argc0 = 0; | |
1745 | ||
1746 | self = self; | |
1747 | if(!PyArg_ParseTuple(args,"s:wxRect_GetRight",&_argc0)) | |
1748 | return NULL; | |
1749 | if (_argc0) { | |
1750 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1751 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetRight. Expected _wxRect_p."); | |
1752 | return NULL; | |
1753 | } | |
1754 | } | |
1755 | _result = (long )wxRect_GetRight(_arg0); | |
1756 | _resultobj = Py_BuildValue("l",_result); | |
1757 | return _resultobj; | |
1758 | } | |
1759 | ||
1760 | #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval) | |
1761 | static PyObject *_wrap_wxRect_x_set(PyObject *self, PyObject *args) { | |
1762 | PyObject * _resultobj; | |
1763 | long _result; | |
1764 | wxRect * _arg0; | |
1765 | long _arg1; | |
1766 | char * _argc0 = 0; | |
1767 | ||
1768 | self = self; | |
1769 | if(!PyArg_ParseTuple(args,"sl:wxRect_x_set",&_argc0,&_arg1)) | |
1770 | return NULL; | |
1771 | if (_argc0) { | |
1772 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1773 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_x_set. Expected _wxRect_p."); | |
1774 | return NULL; | |
1775 | } | |
1776 | } | |
1777 | _result = (long )wxRect_x_set(_arg0,_arg1); | |
1778 | _resultobj = Py_BuildValue("l",_result); | |
1779 | return _resultobj; | |
1780 | } | |
1781 | ||
1782 | #define wxRect_x_get(_swigobj) ((long ) _swigobj->x) | |
1783 | static PyObject *_wrap_wxRect_x_get(PyObject *self, PyObject *args) { | |
1784 | PyObject * _resultobj; | |
1785 | long _result; | |
1786 | wxRect * _arg0; | |
1787 | char * _argc0 = 0; | |
1788 | ||
1789 | self = self; | |
1790 | if(!PyArg_ParseTuple(args,"s:wxRect_x_get",&_argc0)) | |
1791 | return NULL; | |
1792 | if (_argc0) { | |
1793 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1794 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_x_get. Expected _wxRect_p."); | |
1795 | return NULL; | |
1796 | } | |
1797 | } | |
1798 | _result = (long )wxRect_x_get(_arg0); | |
1799 | _resultobj = Py_BuildValue("l",_result); | |
1800 | return _resultobj; | |
1801 | } | |
1802 | ||
1803 | #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval) | |
1804 | static PyObject *_wrap_wxRect_y_set(PyObject *self, PyObject *args) { | |
1805 | PyObject * _resultobj; | |
1806 | long _result; | |
1807 | wxRect * _arg0; | |
1808 | long _arg1; | |
1809 | char * _argc0 = 0; | |
1810 | ||
1811 | self = self; | |
1812 | if(!PyArg_ParseTuple(args,"sl:wxRect_y_set",&_argc0,&_arg1)) | |
1813 | return NULL; | |
1814 | if (_argc0) { | |
1815 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_y_set. Expected _wxRect_p."); | |
1817 | return NULL; | |
1818 | } | |
1819 | } | |
1820 | _result = (long )wxRect_y_set(_arg0,_arg1); | |
1821 | _resultobj = Py_BuildValue("l",_result); | |
1822 | return _resultobj; | |
1823 | } | |
1824 | ||
1825 | #define wxRect_y_get(_swigobj) ((long ) _swigobj->y) | |
1826 | static PyObject *_wrap_wxRect_y_get(PyObject *self, PyObject *args) { | |
1827 | PyObject * _resultobj; | |
1828 | long _result; | |
1829 | wxRect * _arg0; | |
1830 | char * _argc0 = 0; | |
1831 | ||
1832 | self = self; | |
1833 | if(!PyArg_ParseTuple(args,"s:wxRect_y_get",&_argc0)) | |
1834 | return NULL; | |
1835 | if (_argc0) { | |
1836 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1837 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_y_get. Expected _wxRect_p."); | |
1838 | return NULL; | |
1839 | } | |
1840 | } | |
1841 | _result = (long )wxRect_y_get(_arg0); | |
1842 | _resultobj = Py_BuildValue("l",_result); | |
1843 | return _resultobj; | |
1844 | } | |
1845 | ||
1846 | #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval) | |
1847 | static PyObject *_wrap_wxRect_width_set(PyObject *self, PyObject *args) { | |
1848 | PyObject * _resultobj; | |
1849 | long _result; | |
1850 | wxRect * _arg0; | |
1851 | long _arg1; | |
1852 | char * _argc0 = 0; | |
1853 | ||
1854 | self = self; | |
1855 | if(!PyArg_ParseTuple(args,"sl:wxRect_width_set",&_argc0,&_arg1)) | |
1856 | return NULL; | |
1857 | if (_argc0) { | |
1858 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1859 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_width_set. Expected _wxRect_p."); | |
1860 | return NULL; | |
1861 | } | |
1862 | } | |
1863 | _result = (long )wxRect_width_set(_arg0,_arg1); | |
1864 | _resultobj = Py_BuildValue("l",_result); | |
1865 | return _resultobj; | |
1866 | } | |
1867 | ||
1868 | #define wxRect_width_get(_swigobj) ((long ) _swigobj->width) | |
1869 | static PyObject *_wrap_wxRect_width_get(PyObject *self, PyObject *args) { | |
1870 | PyObject * _resultobj; | |
1871 | long _result; | |
1872 | wxRect * _arg0; | |
1873 | char * _argc0 = 0; | |
1874 | ||
1875 | self = self; | |
1876 | if(!PyArg_ParseTuple(args,"s:wxRect_width_get",&_argc0)) | |
1877 | return NULL; | |
1878 | if (_argc0) { | |
1879 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1880 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_width_get. Expected _wxRect_p."); | |
1881 | return NULL; | |
1882 | } | |
1883 | } | |
1884 | _result = (long )wxRect_width_get(_arg0); | |
1885 | _resultobj = Py_BuildValue("l",_result); | |
1886 | return _resultobj; | |
1887 | } | |
1888 | ||
1889 | #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval) | |
1890 | static PyObject *_wrap_wxRect_height_set(PyObject *self, PyObject *args) { | |
1891 | PyObject * _resultobj; | |
1892 | long _result; | |
1893 | wxRect * _arg0; | |
1894 | long _arg1; | |
1895 | char * _argc0 = 0; | |
1896 | ||
1897 | self = self; | |
1898 | if(!PyArg_ParseTuple(args,"sl:wxRect_height_set",&_argc0,&_arg1)) | |
1899 | return NULL; | |
1900 | if (_argc0) { | |
1901 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1902 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_height_set. Expected _wxRect_p."); | |
1903 | return NULL; | |
1904 | } | |
1905 | } | |
1906 | _result = (long )wxRect_height_set(_arg0,_arg1); | |
1907 | _resultobj = Py_BuildValue("l",_result); | |
1908 | return _resultobj; | |
1909 | } | |
1910 | ||
1911 | #define wxRect_height_get(_swigobj) ((long ) _swigobj->height) | |
1912 | static PyObject *_wrap_wxRect_height_get(PyObject *self, PyObject *args) { | |
1913 | PyObject * _resultobj; | |
1914 | long _result; | |
1915 | wxRect * _arg0; | |
1916 | char * _argc0 = 0; | |
1917 | ||
1918 | self = self; | |
1919 | if(!PyArg_ParseTuple(args,"s:wxRect_height_get",&_argc0)) | |
1920 | return NULL; | |
1921 | if (_argc0) { | |
1922 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1923 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_height_get. Expected _wxRect_p."); | |
1924 | return NULL; | |
1925 | } | |
1926 | } | |
1927 | _result = (long )wxRect_height_get(_arg0); | |
1928 | _resultobj = Py_BuildValue("l",_result); | |
1929 | return _resultobj; | |
1930 | } | |
1931 | ||
1932 | #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0)) | |
1933 | static PyObject *_wrap_new_wxPyTimer(PyObject *self, PyObject *args) { | |
1934 | PyObject * _resultobj; | |
1935 | wxPyTimer * _result; | |
1936 | PyObject * _arg0; | |
1937 | PyObject * _obj0 = 0; | |
1938 | char _ptemp[128]; | |
1939 | ||
1940 | self = self; | |
1941 | if(!PyArg_ParseTuple(args,"O:new_wxPyTimer",&_obj0)) | |
1942 | return NULL; | |
1943 | { | |
1944 | _arg0 = _obj0; | |
1945 | } | |
1946 | _result = (wxPyTimer *)new_wxPyTimer(_arg0); | |
1947 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTimer_p"); | |
1948 | _resultobj = Py_BuildValue("s",_ptemp); | |
1949 | return _resultobj; | |
1950 | } | |
1951 | ||
1952 | #define delete_wxPyTimer(_swigobj) (delete _swigobj) | |
1953 | static PyObject *_wrap_delete_wxPyTimer(PyObject *self, PyObject *args) { | |
1954 | PyObject * _resultobj; | |
1955 | wxPyTimer * _arg0; | |
1956 | char * _argc0 = 0; | |
1957 | ||
1958 | self = self; | |
1959 | if(!PyArg_ParseTuple(args,"s:delete_wxPyTimer",&_argc0)) | |
1960 | return NULL; | |
1961 | if (_argc0) { | |
1962 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyTimer_p")) { | |
1963 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p."); | |
1964 | return NULL; | |
1965 | } | |
1966 | } | |
1967 | delete_wxPyTimer(_arg0); | |
1968 | Py_INCREF(Py_None); | |
1969 | _resultobj = Py_None; | |
1970 | return _resultobj; | |
1971 | } | |
1972 | ||
1973 | #define wxPyTimer_Interval(_swigobj) (_swigobj->Interval()) | |
1974 | static PyObject *_wrap_wxPyTimer_Interval(PyObject *self, PyObject *args) { | |
1975 | PyObject * _resultobj; | |
1976 | int _result; | |
1977 | wxPyTimer * _arg0; | |
1978 | char * _argc0 = 0; | |
1979 | ||
1980 | self = self; | |
1981 | if(!PyArg_ParseTuple(args,"s:wxPyTimer_Interval",&_argc0)) | |
1982 | return NULL; | |
1983 | if (_argc0) { | |
1984 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyTimer_p")) { | |
1985 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Interval. Expected _wxPyTimer_p."); | |
1986 | return NULL; | |
1987 | } | |
1988 | } | |
1989 | _result = (int )wxPyTimer_Interval(_arg0); | |
1990 | _resultobj = Py_BuildValue("i",_result); | |
1991 | return _resultobj; | |
1992 | } | |
1993 | ||
1994 | #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1)) | |
1995 | static PyObject *_wrap_wxPyTimer_Start(PyObject *self, PyObject *args) { | |
1996 | PyObject * _resultobj; | |
1997 | wxPyTimer * _arg0; | |
1998 | int _arg1 = -1; | |
1999 | int _arg2 = (0); | |
2000 | char * _argc0 = 0; | |
2001 | ||
2002 | self = self; | |
2003 | if(!PyArg_ParseTuple(args,"s|ii:wxPyTimer_Start",&_argc0,&_arg1,&_arg2)) | |
2004 | return NULL; | |
2005 | if (_argc0) { | |
2006 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyTimer_p")) { | |
2007 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p."); | |
2008 | return NULL; | |
2009 | } | |
2010 | } | |
2011 | wxPyTimer_Start(_arg0,_arg1,_arg2); | |
2012 | Py_INCREF(Py_None); | |
2013 | _resultobj = Py_None; | |
2014 | return _resultobj; | |
2015 | } | |
2016 | ||
2017 | #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop()) | |
2018 | static PyObject *_wrap_wxPyTimer_Stop(PyObject *self, PyObject *args) { | |
2019 | PyObject * _resultobj; | |
2020 | wxPyTimer * _arg0; | |
2021 | char * _argc0 = 0; | |
2022 | ||
2023 | self = self; | |
2024 | if(!PyArg_ParseTuple(args,"s:wxPyTimer_Stop",&_argc0)) | |
2025 | return NULL; | |
2026 | if (_argc0) { | |
2027 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyTimer_p")) { | |
2028 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p."); | |
2029 | return NULL; | |
2030 | } | |
2031 | } | |
2032 | wxPyTimer_Stop(_arg0); | |
2033 | Py_INCREF(Py_None); | |
2034 | _resultobj = Py_None; | |
2035 | return _resultobj; | |
2036 | } | |
2037 | ||
2038 | #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1)) | |
2039 | static PyObject *_wrap_wxIndividualLayoutConstraint_Above(PyObject *self, PyObject *args) { | |
2040 | PyObject * _resultobj; | |
2041 | wxIndividualLayoutConstraint * _arg0; | |
2042 | wxWindow * _arg1; | |
2043 | int _arg2 = 0; | |
2044 | char * _argc0 = 0; | |
2045 | char * _argc1 = 0; | |
2046 | ||
2047 | self = self; | |
2048 | if(!PyArg_ParseTuple(args,"ss|i:wxIndividualLayoutConstraint_Above",&_argc0,&_argc1,&_arg2)) | |
2049 | return NULL; | |
2050 | if (_argc0) { | |
2051 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2052 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p."); | |
2053 | return NULL; | |
2054 | } | |
2055 | } | |
2056 | if (_argc1) { | |
2057 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
2058 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p."); | |
2059 | return NULL; | |
2060 | } | |
2061 | } | |
2062 | wxIndividualLayoutConstraint_Above(_arg0,_arg1,_arg2); | |
2063 | Py_INCREF(Py_None); | |
2064 | _resultobj = Py_None; | |
2065 | return _resultobj; | |
2066 | } | |
2067 | ||
2068 | #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0)) | |
2069 | static PyObject *_wrap_wxIndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args) { | |
2070 | PyObject * _resultobj; | |
2071 | wxIndividualLayoutConstraint * _arg0; | |
2072 | int _arg1; | |
2073 | char * _argc0 = 0; | |
2074 | ||
2075 | self = self; | |
2076 | if(!PyArg_ParseTuple(args,"si:wxIndividualLayoutConstraint_Absolute",&_argc0,&_arg1)) | |
2077 | return NULL; | |
2078 | if (_argc0) { | |
2079 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2080 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p."); | |
2081 | return NULL; | |
2082 | } | |
2083 | } | |
2084 | wxIndividualLayoutConstraint_Absolute(_arg0,_arg1); | |
2085 | Py_INCREF(Py_None); | |
2086 | _resultobj = Py_None; | |
2087 | return _resultobj; | |
2088 | } | |
2089 | ||
2090 | #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs()) | |
2091 | static PyObject *_wrap_wxIndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args) { | |
2092 | PyObject * _resultobj; | |
2093 | wxIndividualLayoutConstraint * _arg0; | |
2094 | char * _argc0 = 0; | |
2095 | ||
2096 | self = self; | |
2097 | if(!PyArg_ParseTuple(args,"s:wxIndividualLayoutConstraint_AsIs",&_argc0)) | |
2098 | return NULL; | |
2099 | if (_argc0) { | |
2100 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2101 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p."); | |
2102 | return NULL; | |
2103 | } | |
2104 | } | |
2105 | wxIndividualLayoutConstraint_AsIs(_arg0); | |
2106 | Py_INCREF(Py_None); | |
2107 | _resultobj = Py_None; | |
2108 | return _resultobj; | |
2109 | } | |
2110 | ||
2111 | #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1)) | |
2112 | static PyObject *_wrap_wxIndividualLayoutConstraint_Below(PyObject *self, PyObject *args) { | |
2113 | PyObject * _resultobj; | |
2114 | wxIndividualLayoutConstraint * _arg0; | |
2115 | wxWindow * _arg1; | |
2116 | int _arg2 = 0; | |
2117 | char * _argc0 = 0; | |
2118 | char * _argc1 = 0; | |
2119 | ||
2120 | self = self; | |
2121 | if(!PyArg_ParseTuple(args,"ss|i:wxIndividualLayoutConstraint_Below",&_argc0,&_argc1,&_arg2)) | |
2122 | return NULL; | |
2123 | if (_argc0) { | |
2124 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2125 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p."); | |
2126 | return NULL; | |
2127 | } | |
2128 | } | |
2129 | if (_argc1) { | |
2130 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
2131 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p."); | |
2132 | return NULL; | |
2133 | } | |
2134 | } | |
2135 | wxIndividualLayoutConstraint_Below(_arg0,_arg1,_arg2); | |
2136 | Py_INCREF(Py_None); | |
2137 | _resultobj = Py_None; | |
2138 | return _resultobj; | |
2139 | } | |
2140 | ||
2141 | #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained()) | |
2142 | static PyObject *_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args) { | |
2143 | PyObject * _resultobj; | |
2144 | wxIndividualLayoutConstraint * _arg0; | |
2145 | char * _argc0 = 0; | |
2146 | ||
2147 | self = self; | |
2148 | if(!PyArg_ParseTuple(args,"s:wxIndividualLayoutConstraint_Unconstrained",&_argc0)) | |
2149 | return NULL; | |
2150 | if (_argc0) { | |
2151 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2152 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p."); | |
2153 | return NULL; | |
2154 | } | |
2155 | } | |
2156 | wxIndividualLayoutConstraint_Unconstrained(_arg0); | |
2157 | Py_INCREF(Py_None); | |
2158 | _resultobj = Py_None; | |
2159 | return _resultobj; | |
2160 | } | |
2161 | ||
2162 | #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1)) | |
2163 | static PyObject *_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args) { | |
2164 | PyObject * _resultobj; | |
2165 | wxIndividualLayoutConstraint * _arg0; | |
2166 | wxWindow * _arg1; | |
2167 | int _arg2 = 0; | |
2168 | char * _argc0 = 0; | |
2169 | char * _argc1 = 0; | |
2170 | ||
2171 | self = self; | |
2172 | if(!PyArg_ParseTuple(args,"ss|i:wxIndividualLayoutConstraint_LeftOf",&_argc0,&_argc1,&_arg2)) | |
2173 | return NULL; | |
2174 | if (_argc0) { | |
2175 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2176 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p."); | |
2177 | return NULL; | |
2178 | } | |
2179 | } | |
2180 | if (_argc1) { | |
2181 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
2182 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p."); | |
2183 | return NULL; | |
2184 | } | |
2185 | } | |
2186 | wxIndividualLayoutConstraint_LeftOf(_arg0,_arg1,_arg2); | |
2187 | Py_INCREF(Py_None); | |
2188 | _resultobj = Py_None; | |
2189 | return _resultobj; | |
2190 | } | |
2191 | ||
2192 | #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2)) | |
2193 | static PyObject *_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args) { | |
2194 | PyObject * _resultobj; | |
2195 | wxIndividualLayoutConstraint * _arg0; | |
2196 | wxWindow * _arg1; | |
2197 | wxEdge _arg2; | |
2198 | int _arg3; | |
2199 | char * _argc0 = 0; | |
2200 | char * _argc1 = 0; | |
2201 | ||
2202 | self = self; | |
2203 | if(!PyArg_ParseTuple(args,"ssii:wxIndividualLayoutConstraint_PercentOf",&_argc0,&_argc1,&_arg2,&_arg3)) | |
2204 | return NULL; | |
2205 | if (_argc0) { | |
2206 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2207 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p."); | |
2208 | return NULL; | |
2209 | } | |
2210 | } | |
2211 | if (_argc1) { | |
2212 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
2213 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p."); | |
2214 | return NULL; | |
2215 | } | |
2216 | } | |
2217 | wxIndividualLayoutConstraint_PercentOf(_arg0,_arg1,_arg2,_arg3); | |
2218 | Py_INCREF(Py_None); | |
2219 | _resultobj = Py_None; | |
2220 | return _resultobj; | |
2221 | } | |
2222 | ||
2223 | #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1)) | |
2224 | static PyObject *_wrap_wxIndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args) { | |
2225 | PyObject * _resultobj; | |
2226 | wxIndividualLayoutConstraint * _arg0; | |
2227 | wxWindow * _arg1; | |
2228 | int _arg2 = 0; | |
2229 | char * _argc0 = 0; | |
2230 | char * _argc1 = 0; | |
2231 | ||
2232 | self = self; | |
2233 | if(!PyArg_ParseTuple(args,"ss|i:wxIndividualLayoutConstraint_RightOf",&_argc0,&_argc1,&_arg2)) | |
2234 | return NULL; | |
2235 | if (_argc0) { | |
2236 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2237 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p."); | |
2238 | return NULL; | |
2239 | } | |
2240 | } | |
2241 | if (_argc1) { | |
2242 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
2243 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p."); | |
2244 | return NULL; | |
2245 | } | |
2246 | } | |
2247 | wxIndividualLayoutConstraint_RightOf(_arg0,_arg1,_arg2); | |
2248 | Py_INCREF(Py_None); | |
2249 | _resultobj = Py_None; | |
2250 | return _resultobj; | |
2251 | } | |
2252 | ||
2253 | #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2)) | |
2254 | static PyObject *_wrap_wxIndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args) { | |
2255 | PyObject * _resultobj; | |
2256 | wxIndividualLayoutConstraint * _arg0; | |
2257 | wxWindow * _arg1; | |
2258 | wxEdge _arg2; | |
2259 | int _arg3 = 0; | |
2260 | char * _argc0 = 0; | |
2261 | char * _argc1 = 0; | |
2262 | ||
2263 | self = self; | |
2264 | if(!PyArg_ParseTuple(args,"ssi|i:wxIndividualLayoutConstraint_SameAs",&_argc0,&_argc1,&_arg2,&_arg3)) | |
2265 | return NULL; | |
2266 | if (_argc0) { | |
2267 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2268 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p."); | |
2269 | return NULL; | |
2270 | } | |
2271 | } | |
2272 | if (_argc1) { | |
2273 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
2274 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p."); | |
2275 | return NULL; | |
2276 | } | |
2277 | } | |
2278 | wxIndividualLayoutConstraint_SameAs(_arg0,_arg1,_arg2,_arg3); | |
2279 | Py_INCREF(Py_None); | |
2280 | _resultobj = Py_None; | |
2281 | return _resultobj; | |
2282 | } | |
2283 | ||
2284 | #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2285 | static PyObject *_wrap_wxIndividualLayoutConstraint_Set(PyObject *self, PyObject *args) { | |
2286 | PyObject * _resultobj; | |
2287 | wxIndividualLayoutConstraint * _arg0; | |
2288 | wxRelationship _arg1; | |
2289 | wxWindow * _arg2; | |
2290 | wxEdge _arg3; | |
2291 | int _arg4 = 0; | |
2292 | int _arg5 = 0; | |
2293 | char * _argc0 = 0; | |
2294 | char * _argc2 = 0; | |
2295 | ||
2296 | self = self; | |
2297 | if(!PyArg_ParseTuple(args,"sisi|ii:wxIndividualLayoutConstraint_Set",&_argc0,&_arg1,&_argc2,&_arg3,&_arg4,&_arg5)) | |
2298 | return NULL; | |
2299 | if (_argc0) { | |
2300 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2301 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p."); | |
2302 | return NULL; | |
2303 | } | |
2304 | } | |
2305 | if (_argc2) { | |
2306 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxWindow_p")) { | |
2307 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p."); | |
2308 | return NULL; | |
2309 | } | |
2310 | } | |
2311 | wxIndividualLayoutConstraint_Set(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2312 | Py_INCREF(Py_None); | |
2313 | _resultobj = Py_None; | |
2314 | return _resultobj; | |
2315 | } | |
2316 | ||
2317 | #define new_wxLayoutConstraints() (new wxLayoutConstraints()) | |
2318 | static PyObject *_wrap_new_wxLayoutConstraints(PyObject *self, PyObject *args) { | |
2319 | PyObject * _resultobj; | |
2320 | wxLayoutConstraints * _result; | |
2321 | char _ptemp[128]; | |
2322 | ||
2323 | self = self; | |
2324 | if(!PyArg_ParseTuple(args,":new_wxLayoutConstraints")) | |
2325 | return NULL; | |
2326 | _result = (wxLayoutConstraints *)new_wxLayoutConstraints(); | |
2327 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p"); | |
2328 | _resultobj = Py_BuildValue("s",_ptemp); | |
2329 | return _resultobj; | |
2330 | } | |
2331 | ||
2332 | #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom) | |
2333 | static PyObject *_wrap_wxLayoutConstraints_bottom_get(PyObject *self, PyObject *args) { | |
2334 | PyObject * _resultobj; | |
2335 | wxIndividualLayoutConstraint * _result; | |
2336 | wxLayoutConstraints * _arg0; | |
2337 | char * _argc0 = 0; | |
2338 | char _ptemp[128]; | |
2339 | ||
2340 | self = self; | |
2341 | if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_bottom_get",&_argc0)) | |
2342 | return NULL; | |
2343 | if (_argc0) { | |
2344 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) { | |
2345 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p."); | |
2346 | return NULL; | |
2347 | } | |
2348 | } | |
2349 | _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_bottom_get(_arg0); | |
2350 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p"); | |
2351 | _resultobj = Py_BuildValue("s",_ptemp); | |
2352 | return _resultobj; | |
2353 | } | |
2354 | ||
2355 | #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX) | |
2356 | static PyObject *_wrap_wxLayoutConstraints_centreX_get(PyObject *self, PyObject *args) { | |
2357 | PyObject * _resultobj; | |
2358 | wxIndividualLayoutConstraint * _result; | |
2359 | wxLayoutConstraints * _arg0; | |
2360 | char * _argc0 = 0; | |
2361 | char _ptemp[128]; | |
2362 | ||
2363 | self = self; | |
2364 | if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_centreX_get",&_argc0)) | |
2365 | return NULL; | |
2366 | if (_argc0) { | |
2367 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) { | |
2368 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p."); | |
2369 | return NULL; | |
2370 | } | |
2371 | } | |
2372 | _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_centreX_get(_arg0); | |
2373 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p"); | |
2374 | _resultobj = Py_BuildValue("s",_ptemp); | |
2375 | return _resultobj; | |
2376 | } | |
2377 | ||
2378 | #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY) | |
2379 | static PyObject *_wrap_wxLayoutConstraints_centreY_get(PyObject *self, PyObject *args) { | |
2380 | PyObject * _resultobj; | |
2381 | wxIndividualLayoutConstraint * _result; | |
2382 | wxLayoutConstraints * _arg0; | |
2383 | char * _argc0 = 0; | |
2384 | char _ptemp[128]; | |
2385 | ||
2386 | self = self; | |
2387 | if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_centreY_get",&_argc0)) | |
2388 | return NULL; | |
2389 | if (_argc0) { | |
2390 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) { | |
2391 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p."); | |
2392 | return NULL; | |
2393 | } | |
2394 | } | |
2395 | _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_centreY_get(_arg0); | |
2396 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p"); | |
2397 | _resultobj = Py_BuildValue("s",_ptemp); | |
2398 | return _resultobj; | |
2399 | } | |
2400 | ||
2401 | #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height) | |
2402 | static PyObject *_wrap_wxLayoutConstraints_height_get(PyObject *self, PyObject *args) { | |
2403 | PyObject * _resultobj; | |
2404 | wxIndividualLayoutConstraint * _result; | |
2405 | wxLayoutConstraints * _arg0; | |
2406 | char * _argc0 = 0; | |
2407 | char _ptemp[128]; | |
2408 | ||
2409 | self = self; | |
2410 | if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_height_get",&_argc0)) | |
2411 | return NULL; | |
2412 | if (_argc0) { | |
2413 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) { | |
2414 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p."); | |
2415 | return NULL; | |
2416 | } | |
2417 | } | |
2418 | _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_height_get(_arg0); | |
2419 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p"); | |
2420 | _resultobj = Py_BuildValue("s",_ptemp); | |
2421 | return _resultobj; | |
2422 | } | |
2423 | ||
2424 | #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left) | |
2425 | static PyObject *_wrap_wxLayoutConstraints_left_get(PyObject *self, PyObject *args) { | |
2426 | PyObject * _resultobj; | |
2427 | wxIndividualLayoutConstraint * _result; | |
2428 | wxLayoutConstraints * _arg0; | |
2429 | char * _argc0 = 0; | |
2430 | char _ptemp[128]; | |
2431 | ||
2432 | self = self; | |
2433 | if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_left_get",&_argc0)) | |
2434 | return NULL; | |
2435 | if (_argc0) { | |
2436 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) { | |
2437 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p."); | |
2438 | return NULL; | |
2439 | } | |
2440 | } | |
2441 | _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_left_get(_arg0); | |
2442 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p"); | |
2443 | _resultobj = Py_BuildValue("s",_ptemp); | |
2444 | return _resultobj; | |
2445 | } | |
2446 | ||
2447 | #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right) | |
2448 | static PyObject *_wrap_wxLayoutConstraints_right_get(PyObject *self, PyObject *args) { | |
2449 | PyObject * _resultobj; | |
2450 | wxIndividualLayoutConstraint * _result; | |
2451 | wxLayoutConstraints * _arg0; | |
2452 | char * _argc0 = 0; | |
2453 | char _ptemp[128]; | |
2454 | ||
2455 | self = self; | |
2456 | if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_right_get",&_argc0)) | |
2457 | return NULL; | |
2458 | if (_argc0) { | |
2459 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) { | |
2460 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p."); | |
2461 | return NULL; | |
2462 | } | |
2463 | } | |
2464 | _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_right_get(_arg0); | |
2465 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p"); | |
2466 | _resultobj = Py_BuildValue("s",_ptemp); | |
2467 | return _resultobj; | |
2468 | } | |
2469 | ||
2470 | #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top) | |
2471 | static PyObject *_wrap_wxLayoutConstraints_top_get(PyObject *self, PyObject *args) { | |
2472 | PyObject * _resultobj; | |
2473 | wxIndividualLayoutConstraint * _result; | |
2474 | wxLayoutConstraints * _arg0; | |
2475 | char * _argc0 = 0; | |
2476 | char _ptemp[128]; | |
2477 | ||
2478 | self = self; | |
2479 | if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_top_get",&_argc0)) | |
2480 | return NULL; | |
2481 | if (_argc0) { | |
2482 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) { | |
2483 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p."); | |
2484 | return NULL; | |
2485 | } | |
2486 | } | |
2487 | _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_top_get(_arg0); | |
2488 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p"); | |
2489 | _resultobj = Py_BuildValue("s",_ptemp); | |
2490 | return _resultobj; | |
2491 | } | |
2492 | ||
2493 | #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width) | |
2494 | static PyObject *_wrap_wxLayoutConstraints_width_get(PyObject *self, PyObject *args) { | |
2495 | PyObject * _resultobj; | |
2496 | wxIndividualLayoutConstraint * _result; | |
2497 | wxLayoutConstraints * _arg0; | |
2498 | char * _argc0 = 0; | |
2499 | char _ptemp[128]; | |
2500 | ||
2501 | self = self; | |
2502 | if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_width_get",&_argc0)) | |
2503 | return NULL; | |
2504 | if (_argc0) { | |
2505 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) { | |
2506 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p."); | |
2507 | return NULL; | |
2508 | } | |
2509 | } | |
2510 | _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_width_get(_arg0); | |
2511 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p"); | |
2512 | _resultobj = Py_BuildValue("s",_ptemp); | |
2513 | return _resultobj; | |
2514 | } | |
2515 | ||
105e45b9 RD |
2516 | #define new_wxRegion() (new wxRegion()) |
2517 | static PyObject *_wrap_new_wxRegion(PyObject *self, PyObject *args) { | |
2518 | PyObject * _resultobj; | |
2519 | wxRegion * _result; | |
2520 | char _ptemp[128]; | |
2521 | ||
2522 | self = self; | |
2523 | if(!PyArg_ParseTuple(args,":new_wxRegion")) | |
2524 | return NULL; | |
2525 | _result = (wxRegion *)new_wxRegion(); | |
2526 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxRegion_p"); | |
2527 | _resultobj = Py_BuildValue("s",_ptemp); | |
2528 | return _resultobj; | |
2529 | } | |
2530 | ||
2531 | #define delete_wxRegion(_swigobj) (delete _swigobj) | |
2532 | static PyObject *_wrap_delete_wxRegion(PyObject *self, PyObject *args) { | |
2533 | PyObject * _resultobj; | |
2534 | wxRegion * _arg0; | |
2535 | char * _argc0 = 0; | |
2536 | ||
2537 | self = self; | |
2538 | if(!PyArg_ParseTuple(args,"s:delete_wxRegion",&_argc0)) | |
2539 | return NULL; | |
2540 | if (_argc0) { | |
2541 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) { | |
2542 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p."); | |
2543 | return NULL; | |
2544 | } | |
2545 | } | |
2546 | delete_wxRegion(_arg0); | |
2547 | Py_INCREF(Py_None); | |
2548 | _resultobj = Py_None; | |
2549 | return _resultobj; | |
2550 | } | |
2551 | ||
2552 | #define wxRegion_Clear(_swigobj) (_swigobj->Clear()) | |
2553 | static PyObject *_wrap_wxRegion_Clear(PyObject *self, PyObject *args) { | |
2554 | PyObject * _resultobj; | |
2555 | wxRegion * _arg0; | |
2556 | char * _argc0 = 0; | |
2557 | ||
2558 | self = self; | |
2559 | if(!PyArg_ParseTuple(args,"s:wxRegion_Clear",&_argc0)) | |
2560 | return NULL; | |
2561 | if (_argc0) { | |
2562 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) { | |
2563 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p."); | |
2564 | return NULL; | |
2565 | } | |
2566 | } | |
2567 | wxRegion_Clear(_arg0); | |
2568 | Py_INCREF(Py_None); | |
2569 | _resultobj = Py_None; | |
2570 | return _resultobj; | |
2571 | } | |
2572 | ||
2573 | #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1)) | |
2574 | static PyObject *_wrap_wxRegion_Contains(PyObject *self, PyObject *args) { | |
2575 | PyObject * _resultobj; | |
2576 | wxRegionContain _result; | |
2577 | wxRegion * _arg0; | |
2578 | long _arg1; | |
2579 | long _arg2; | |
2580 | char * _argc0 = 0; | |
2581 | ||
2582 | self = self; | |
2583 | if(!PyArg_ParseTuple(args,"sll:wxRegion_Contains",&_argc0,&_arg1,&_arg2)) | |
2584 | return NULL; | |
2585 | if (_argc0) { | |
2586 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) { | |
2587 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p."); | |
2588 | return NULL; | |
2589 | } | |
2590 | } | |
2591 | _result = (wxRegionContain )wxRegion_Contains(_arg0,_arg1,_arg2); | |
2592 | _resultobj = Py_BuildValue("i",_result); | |
2593 | return _resultobj; | |
2594 | } | |
2595 | ||
2596 | #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0)) | |
2597 | static PyObject *_wrap_wxRegion_ContainsPoint(PyObject *self, PyObject *args) { | |
2598 | PyObject * _resultobj; | |
2599 | wxRegionContain _result; | |
2600 | wxRegion * _arg0; | |
2601 | wxPoint * _arg1; | |
2602 | char * _argc0 = 0; | |
2603 | char * _argc1 = 0; | |
2604 | ||
2605 | self = self; | |
2606 | if(!PyArg_ParseTuple(args,"ss:wxRegion_ContainsPoint",&_argc0,&_argc1)) | |
2607 | return NULL; | |
2608 | if (_argc0) { | |
2609 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) { | |
2610 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p."); | |
2611 | return NULL; | |
2612 | } | |
2613 | } | |
2614 | if (_argc1) { | |
2615 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) { | |
2616 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_ContainsPoint. Expected _wxPoint_p."); | |
2617 | return NULL; | |
2618 | } | |
2619 | } | |
2620 | _result = (wxRegionContain )wxRegion_ContainsPoint(_arg0,*_arg1); | |
2621 | _resultobj = Py_BuildValue("i",_result); | |
2622 | return _resultobj; | |
2623 | } | |
2624 | ||
2625 | #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0)) | |
2626 | static PyObject *_wrap_wxRegion_ContainsRect(PyObject *self, PyObject *args) { | |
2627 | PyObject * _resultobj; | |
2628 | wxRegionContain _result; | |
2629 | wxRegion * _arg0; | |
2630 | wxRect * _arg1; | |
2631 | char * _argc0 = 0; | |
2632 | char * _argc1 = 0; | |
2633 | ||
2634 | self = self; | |
2635 | if(!PyArg_ParseTuple(args,"ss:wxRegion_ContainsRect",&_argc0,&_argc1)) | |
2636 | return NULL; | |
2637 | if (_argc0) { | |
2638 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) { | |
2639 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p."); | |
2640 | return NULL; | |
2641 | } | |
2642 | } | |
2643 | if (_argc1) { | |
2644 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxRect_p")) { | |
2645 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_ContainsRect. Expected _wxRect_p."); | |
2646 | return NULL; | |
2647 | } | |
2648 | } | |
2649 | _result = (wxRegionContain )wxRegion_ContainsRect(_arg0,*_arg1); | |
2650 | _resultobj = Py_BuildValue("i",_result); | |
2651 | return _resultobj; | |
2652 | } | |
2653 | ||
2654 | #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox()) | |
2655 | static PyObject *_wrap_wxRegion_GetBox(PyObject *self, PyObject *args) { | |
2656 | PyObject * _resultobj; | |
2657 | wxRect * _result; | |
2658 | wxRegion * _arg0; | |
2659 | char * _argc0 = 0; | |
2660 | char _ptemp[128]; | |
2661 | ||
2662 | self = self; | |
2663 | if(!PyArg_ParseTuple(args,"s:wxRegion_GetBox",&_argc0)) | |
2664 | return NULL; | |
2665 | if (_argc0) { | |
2666 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) { | |
2667 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p."); | |
2668 | return NULL; | |
2669 | } | |
2670 | } | |
2671 | _result = new wxRect (wxRegion_GetBox(_arg0)); | |
2672 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p"); | |
2673 | _resultobj = Py_BuildValue("s",_ptemp); | |
2674 | return _resultobj; | |
2675 | } | |
2676 | ||
2677 | #define wxRegion_Intersect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0)) | |
2678 | static PyObject *_wrap_wxRegion_Intersect(PyObject *self, PyObject *args) { | |
2679 | PyObject * _resultobj; | |
2680 | bool _result; | |
2681 | wxRegion * _arg0; | |
2682 | wxRect * _arg1; | |
2683 | char * _argc0 = 0; | |
2684 | char * _argc1 = 0; | |
2685 | ||
2686 | self = self; | |
2687 | if(!PyArg_ParseTuple(args,"ss:wxRegion_Intersect",&_argc0,&_argc1)) | |
2688 | return NULL; | |
2689 | if (_argc0) { | |
2690 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) { | |
2691 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p."); | |
2692 | return NULL; | |
2693 | } | |
2694 | } | |
2695 | if (_argc1) { | |
2696 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxRect_p")) { | |
2697 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_Intersect. Expected _wxRect_p."); | |
2698 | return NULL; | |
2699 | } | |
2700 | } | |
2701 | _result = (bool )wxRegion_Intersect(_arg0,*_arg1); | |
2702 | _resultobj = Py_BuildValue("i",_result); | |
2703 | return _resultobj; | |
2704 | } | |
2705 | ||
2706 | #define wxRegion_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0)) | |
2707 | static PyObject *_wrap_wxRegion_Subtract(PyObject *self, PyObject *args) { | |
2708 | PyObject * _resultobj; | |
2709 | bool _result; | |
2710 | wxRegion * _arg0; | |
2711 | wxRect * _arg1; | |
2712 | char * _argc0 = 0; | |
2713 | char * _argc1 = 0; | |
2714 | ||
2715 | self = self; | |
2716 | if(!PyArg_ParseTuple(args,"ss:wxRegion_Subtract",&_argc0,&_argc1)) | |
2717 | return NULL; | |
2718 | if (_argc0) { | |
2719 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) { | |
2720 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p."); | |
2721 | return NULL; | |
2722 | } | |
2723 | } | |
2724 | if (_argc1) { | |
2725 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxRect_p")) { | |
2726 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_Subtract. Expected _wxRect_p."); | |
2727 | return NULL; | |
2728 | } | |
2729 | } | |
2730 | _result = (bool )wxRegion_Subtract(_arg0,*_arg1); | |
2731 | _resultobj = Py_BuildValue("i",_result); | |
2732 | return _resultobj; | |
2733 | } | |
2734 | ||
2735 | #define wxRegion_Union(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0)) | |
2736 | static PyObject *_wrap_wxRegion_Union(PyObject *self, PyObject *args) { | |
2737 | PyObject * _resultobj; | |
2738 | bool _result; | |
2739 | wxRegion * _arg0; | |
2740 | wxRect * _arg1; | |
2741 | char * _argc0 = 0; | |
2742 | char * _argc1 = 0; | |
2743 | ||
2744 | self = self; | |
2745 | if(!PyArg_ParseTuple(args,"ss:wxRegion_Union",&_argc0,&_argc1)) | |
2746 | return NULL; | |
2747 | if (_argc0) { | |
2748 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) { | |
2749 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p."); | |
2750 | return NULL; | |
2751 | } | |
2752 | } | |
2753 | if (_argc1) { | |
2754 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxRect_p")) { | |
2755 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_Union. Expected _wxRect_p."); | |
2756 | return NULL; | |
2757 | } | |
2758 | } | |
2759 | _result = (bool )wxRegion_Union(_arg0,*_arg1); | |
2760 | _resultobj = Py_BuildValue("i",_result); | |
2761 | return _resultobj; | |
2762 | } | |
2763 | ||
2764 | #define wxRegion_Xor(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0)) | |
2765 | static PyObject *_wrap_wxRegion_Xor(PyObject *self, PyObject *args) { | |
2766 | PyObject * _resultobj; | |
2767 | bool _result; | |
2768 | wxRegion * _arg0; | |
2769 | wxRect * _arg1; | |
2770 | char * _argc0 = 0; | |
2771 | char * _argc1 = 0; | |
2772 | ||
2773 | self = self; | |
2774 | if(!PyArg_ParseTuple(args,"ss:wxRegion_Xor",&_argc0,&_argc1)) | |
2775 | return NULL; | |
2776 | if (_argc0) { | |
2777 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) { | |
2778 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p."); | |
2779 | return NULL; | |
2780 | } | |
2781 | } | |
2782 | if (_argc1) { | |
2783 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxRect_p")) { | |
2784 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_Xor. Expected _wxRect_p."); | |
2785 | return NULL; | |
2786 | } | |
2787 | } | |
2788 | _result = (bool )wxRegion_Xor(_arg0,*_arg1); | |
2789 | _resultobj = Py_BuildValue("i",_result); | |
2790 | return _resultobj; | |
2791 | } | |
2792 | ||
2793 | #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0)) | |
2794 | static PyObject *_wrap_new_wxRegionIterator(PyObject *self, PyObject *args) { | |
2795 | PyObject * _resultobj; | |
2796 | wxRegionIterator * _result; | |
2797 | wxRegion * _arg0; | |
2798 | char * _argc0 = 0; | |
2799 | char _ptemp[128]; | |
2800 | ||
2801 | self = self; | |
2802 | if(!PyArg_ParseTuple(args,"s:new_wxRegionIterator",&_argc0)) | |
2803 | return NULL; | |
2804 | if (_argc0) { | |
2805 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) { | |
2806 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p."); | |
2807 | return NULL; | |
2808 | } | |
2809 | } | |
2810 | _result = (wxRegionIterator *)new_wxRegionIterator(*_arg0); | |
2811 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxRegionIterator_p"); | |
2812 | _resultobj = Py_BuildValue("s",_ptemp); | |
2813 | return _resultobj; | |
2814 | } | |
2815 | ||
2816 | #define delete_wxRegionIterator(_swigobj) (delete _swigobj) | |
2817 | static PyObject *_wrap_delete_wxRegionIterator(PyObject *self, PyObject *args) { | |
2818 | PyObject * _resultobj; | |
2819 | wxRegionIterator * _arg0; | |
2820 | char * _argc0 = 0; | |
2821 | ||
2822 | self = self; | |
2823 | if(!PyArg_ParseTuple(args,"s:delete_wxRegionIterator",&_argc0)) | |
2824 | return NULL; | |
2825 | if (_argc0) { | |
2826 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
2827 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p."); | |
2828 | return NULL; | |
2829 | } | |
2830 | } | |
2831 | delete_wxRegionIterator(_arg0); | |
2832 | Py_INCREF(Py_None); | |
2833 | _resultobj = Py_None; | |
2834 | return _resultobj; | |
2835 | } | |
2836 | ||
2837 | #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX()) | |
2838 | static PyObject *_wrap_wxRegionIterator_GetX(PyObject *self, PyObject *args) { | |
2839 | PyObject * _resultobj; | |
2840 | long _result; | |
2841 | wxRegionIterator * _arg0; | |
2842 | char * _argc0 = 0; | |
2843 | ||
2844 | self = self; | |
2845 | if(!PyArg_ParseTuple(args,"s:wxRegionIterator_GetX",&_argc0)) | |
2846 | return NULL; | |
2847 | if (_argc0) { | |
2848 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
2849 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p."); | |
2850 | return NULL; | |
2851 | } | |
2852 | } | |
2853 | _result = (long )wxRegionIterator_GetX(_arg0); | |
2854 | _resultobj = Py_BuildValue("l",_result); | |
2855 | return _resultobj; | |
2856 | } | |
2857 | ||
2858 | #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY()) | |
2859 | static PyObject *_wrap_wxRegionIterator_GetY(PyObject *self, PyObject *args) { | |
2860 | PyObject * _resultobj; | |
2861 | long _result; | |
2862 | wxRegionIterator * _arg0; | |
2863 | char * _argc0 = 0; | |
2864 | ||
2865 | self = self; | |
2866 | if(!PyArg_ParseTuple(args,"s:wxRegionIterator_GetY",&_argc0)) | |
2867 | return NULL; | |
2868 | if (_argc0) { | |
2869 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
2870 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p."); | |
2871 | return NULL; | |
2872 | } | |
2873 | } | |
2874 | _result = (long )wxRegionIterator_GetY(_arg0); | |
2875 | _resultobj = Py_BuildValue("l",_result); | |
2876 | return _resultobj; | |
2877 | } | |
2878 | ||
2879 | #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW()) | |
2880 | static PyObject *_wrap_wxRegionIterator_GetW(PyObject *self, PyObject *args) { | |
2881 | PyObject * _resultobj; | |
2882 | long _result; | |
2883 | wxRegionIterator * _arg0; | |
2884 | char * _argc0 = 0; | |
2885 | ||
2886 | self = self; | |
2887 | if(!PyArg_ParseTuple(args,"s:wxRegionIterator_GetW",&_argc0)) | |
2888 | return NULL; | |
2889 | if (_argc0) { | |
2890 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
2891 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p."); | |
2892 | return NULL; | |
2893 | } | |
2894 | } | |
2895 | _result = (long )wxRegionIterator_GetW(_arg0); | |
2896 | _resultobj = Py_BuildValue("l",_result); | |
2897 | return _resultobj; | |
2898 | } | |
2899 | ||
2900 | #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth()) | |
2901 | static PyObject *_wrap_wxRegionIterator_GetWidth(PyObject *self, PyObject *args) { | |
2902 | PyObject * _resultobj; | |
2903 | long _result; | |
2904 | wxRegionIterator * _arg0; | |
2905 | char * _argc0 = 0; | |
2906 | ||
2907 | self = self; | |
2908 | if(!PyArg_ParseTuple(args,"s:wxRegionIterator_GetWidth",&_argc0)) | |
2909 | return NULL; | |
2910 | if (_argc0) { | |
2911 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
2912 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p."); | |
2913 | return NULL; | |
2914 | } | |
2915 | } | |
2916 | _result = (long )wxRegionIterator_GetWidth(_arg0); | |
2917 | _resultobj = Py_BuildValue("l",_result); | |
2918 | return _resultobj; | |
2919 | } | |
2920 | ||
2921 | #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH()) | |
2922 | static PyObject *_wrap_wxRegionIterator_GetH(PyObject *self, PyObject *args) { | |
2923 | PyObject * _resultobj; | |
2924 | long _result; | |
2925 | wxRegionIterator * _arg0; | |
2926 | char * _argc0 = 0; | |
2927 | ||
2928 | self = self; | |
2929 | if(!PyArg_ParseTuple(args,"s:wxRegionIterator_GetH",&_argc0)) | |
2930 | return NULL; | |
2931 | if (_argc0) { | |
2932 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
2933 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p."); | |
2934 | return NULL; | |
2935 | } | |
2936 | } | |
2937 | _result = (long )wxRegionIterator_GetH(_arg0); | |
2938 | _resultobj = Py_BuildValue("l",_result); | |
2939 | return _resultobj; | |
2940 | } | |
2941 | ||
2942 | #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight()) | |
2943 | static PyObject *_wrap_wxRegionIterator_GetHeight(PyObject *self, PyObject *args) { | |
2944 | PyObject * _resultobj; | |
2945 | long _result; | |
2946 | wxRegionIterator * _arg0; | |
2947 | char * _argc0 = 0; | |
2948 | ||
2949 | self = self; | |
2950 | if(!PyArg_ParseTuple(args,"s:wxRegionIterator_GetHeight",&_argc0)) | |
2951 | return NULL; | |
2952 | if (_argc0) { | |
2953 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
2954 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p."); | |
2955 | return NULL; | |
2956 | } | |
2957 | } | |
2958 | _result = (long )wxRegionIterator_GetHeight(_arg0); | |
2959 | _resultobj = Py_BuildValue("l",_result); | |
2960 | return _resultobj; | |
2961 | } | |
2962 | ||
2963 | #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect()) | |
2964 | static PyObject *_wrap_wxRegionIterator_GetRect(PyObject *self, PyObject *args) { | |
2965 | PyObject * _resultobj; | |
2966 | wxRect * _result; | |
2967 | wxRegionIterator * _arg0; | |
2968 | char * _argc0 = 0; | |
2969 | char _ptemp[128]; | |
2970 | ||
2971 | self = self; | |
2972 | if(!PyArg_ParseTuple(args,"s:wxRegionIterator_GetRect",&_argc0)) | |
2973 | return NULL; | |
2974 | if (_argc0) { | |
2975 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
2976 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p."); | |
2977 | return NULL; | |
2978 | } | |
2979 | } | |
2980 | _result = new wxRect (wxRegionIterator_GetRect(_arg0)); | |
2981 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p"); | |
2982 | _resultobj = Py_BuildValue("s",_ptemp); | |
2983 | return _resultobj; | |
2984 | } | |
2985 | ||
2986 | #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects()) | |
2987 | static PyObject *_wrap_wxRegionIterator_HaveRects(PyObject *self, PyObject *args) { | |
2988 | PyObject * _resultobj; | |
2989 | bool _result; | |
2990 | wxRegionIterator * _arg0; | |
2991 | char * _argc0 = 0; | |
2992 | ||
2993 | self = self; | |
2994 | if(!PyArg_ParseTuple(args,"s:wxRegionIterator_HaveRects",&_argc0)) | |
2995 | return NULL; | |
2996 | if (_argc0) { | |
2997 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
2998 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p."); | |
2999 | return NULL; | |
3000 | } | |
3001 | } | |
3002 | _result = (bool )wxRegionIterator_HaveRects(_arg0); | |
3003 | _resultobj = Py_BuildValue("i",_result); | |
3004 | return _resultobj; | |
3005 | } | |
3006 | ||
3007 | #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset()) | |
3008 | static PyObject *_wrap_wxRegionIterator_Reset(PyObject *self, PyObject *args) { | |
3009 | PyObject * _resultobj; | |
3010 | wxRegionIterator * _arg0; | |
3011 | char * _argc0 = 0; | |
3012 | ||
3013 | self = self; | |
3014 | if(!PyArg_ParseTuple(args,"s:wxRegionIterator_Reset",&_argc0)) | |
3015 | return NULL; | |
3016 | if (_argc0) { | |
3017 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
3018 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p."); | |
3019 | return NULL; | |
3020 | } | |
3021 | } | |
3022 | wxRegionIterator_Reset(_arg0); | |
3023 | Py_INCREF(Py_None); | |
3024 | _resultobj = Py_None; | |
3025 | return _resultobj; | |
3026 | } | |
3027 | ||
3028 | static void wxRegionIterator_Next(wxRegionIterator *self) { | |
3029 | (*self) ++; | |
3030 | } | |
3031 | static PyObject *_wrap_wxRegionIterator_Next(PyObject *self, PyObject *args) { | |
3032 | PyObject * _resultobj; | |
3033 | wxRegionIterator * _arg0; | |
3034 | char * _argc0 = 0; | |
3035 | ||
3036 | self = self; | |
3037 | if(!PyArg_ParseTuple(args,"s:wxRegionIterator_Next",&_argc0)) | |
3038 | return NULL; | |
3039 | if (_argc0) { | |
3040 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
3041 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p."); | |
3042 | return NULL; | |
3043 | } | |
3044 | } | |
3045 | wxRegionIterator_Next(_arg0); | |
3046 | Py_INCREF(Py_None); | |
3047 | _resultobj = Py_None; | |
3048 | return _resultobj; | |
3049 | } | |
3050 | ||
faf3cb35 RD |
3051 | #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2)) |
3052 | static PyObject *_wrap_new_wxAcceleratorEntry(PyObject *self, PyObject *args) { | |
3053 | PyObject * _resultobj; | |
3054 | wxAcceleratorEntry * _result; | |
3055 | int _arg0 = 0; | |
3056 | int _arg1 = 0; | |
3057 | int _arg2 = 0; | |
3058 | char _ptemp[128]; | |
3059 | ||
3060 | self = self; | |
3061 | if(!PyArg_ParseTuple(args,"|iii:new_wxAcceleratorEntry",&_arg0,&_arg1,&_arg2)) | |
3062 | return NULL; | |
3063 | _result = (wxAcceleratorEntry *)new_wxAcceleratorEntry(_arg0,_arg1,_arg2); | |
3064 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorEntry_p"); | |
3065 | _resultobj = Py_BuildValue("s",_ptemp); | |
3066 | return _resultobj; | |
3067 | } | |
3068 | ||
3069 | #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2)) | |
3070 | static PyObject *_wrap_wxAcceleratorEntry_Set(PyObject *self, PyObject *args) { | |
3071 | PyObject * _resultobj; | |
3072 | wxAcceleratorEntry * _arg0; | |
3073 | int _arg1; | |
3074 | int _arg2; | |
3075 | int _arg3; | |
3076 | char * _argc0 = 0; | |
3077 | ||
3078 | self = self; | |
3079 | if(!PyArg_ParseTuple(args,"siii:wxAcceleratorEntry_Set",&_argc0,&_arg1,&_arg2,&_arg3)) | |
3080 | return NULL; | |
3081 | if (_argc0) { | |
3082 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxAcceleratorEntry_p")) { | |
3083 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p."); | |
3084 | return NULL; | |
3085 | } | |
3086 | } | |
3087 | wxAcceleratorEntry_Set(_arg0,_arg1,_arg2,_arg3); | |
3088 | Py_INCREF(Py_None); | |
3089 | _resultobj = Py_None; | |
3090 | return _resultobj; | |
3091 | } | |
3092 | ||
3093 | #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags()) | |
3094 | static PyObject *_wrap_wxAcceleratorEntry_GetFlags(PyObject *self, PyObject *args) { | |
3095 | PyObject * _resultobj; | |
3096 | int _result; | |
3097 | wxAcceleratorEntry * _arg0; | |
3098 | char * _argc0 = 0; | |
3099 | ||
3100 | self = self; | |
3101 | if(!PyArg_ParseTuple(args,"s:wxAcceleratorEntry_GetFlags",&_argc0)) | |
3102 | return NULL; | |
3103 | if (_argc0) { | |
3104 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxAcceleratorEntry_p")) { | |
3105 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p."); | |
3106 | return NULL; | |
3107 | } | |
3108 | } | |
3109 | _result = (int )wxAcceleratorEntry_GetFlags(_arg0); | |
3110 | _resultobj = Py_BuildValue("i",_result); | |
3111 | return _resultobj; | |
3112 | } | |
3113 | ||
3114 | #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode()) | |
3115 | static PyObject *_wrap_wxAcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args) { | |
3116 | PyObject * _resultobj; | |
3117 | int _result; | |
3118 | wxAcceleratorEntry * _arg0; | |
3119 | char * _argc0 = 0; | |
3120 | ||
3121 | self = self; | |
3122 | if(!PyArg_ParseTuple(args,"s:wxAcceleratorEntry_GetKeyCode",&_argc0)) | |
3123 | return NULL; | |
3124 | if (_argc0) { | |
3125 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxAcceleratorEntry_p")) { | |
3126 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p."); | |
3127 | return NULL; | |
3128 | } | |
3129 | } | |
3130 | _result = (int )wxAcceleratorEntry_GetKeyCode(_arg0); | |
3131 | _resultobj = Py_BuildValue("i",_result); | |
3132 | return _resultobj; | |
3133 | } | |
3134 | ||
3135 | #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand()) | |
3136 | static PyObject *_wrap_wxAcceleratorEntry_GetCommand(PyObject *self, PyObject *args) { | |
3137 | PyObject * _resultobj; | |
3138 | int _result; | |
3139 | wxAcceleratorEntry * _arg0; | |
3140 | char * _argc0 = 0; | |
3141 | ||
3142 | self = self; | |
3143 | if(!PyArg_ParseTuple(args,"s:wxAcceleratorEntry_GetCommand",&_argc0)) | |
3144 | return NULL; | |
3145 | if (_argc0) { | |
3146 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxAcceleratorEntry_p")) { | |
3147 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p."); | |
3148 | return NULL; | |
3149 | } | |
3150 | } | |
3151 | _result = (int )wxAcceleratorEntry_GetCommand(_arg0); | |
3152 | _resultobj = Py_BuildValue("i",_result); | |
3153 | return _resultobj; | |
3154 | } | |
3155 | ||
3156 | #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1)) | |
3157 | static PyObject *_wrap_new_wxAcceleratorTable(PyObject *self, PyObject *args) { | |
3158 | PyObject * _resultobj; | |
3159 | wxAcceleratorTable * _result; | |
3160 | int _arg0; | |
3161 | wxAcceleratorEntry * _arg1; | |
3162 | PyObject * _obj1 = 0; | |
3163 | char _ptemp[128]; | |
3164 | ||
3165 | self = self; | |
3166 | if(!PyArg_ParseTuple(args,"O:new_wxAcceleratorTable",&_obj1)) | |
3167 | return NULL; | |
3168 | if (_obj1) | |
3169 | { | |
3170 | _arg1 = wxAcceleratorEntry_LIST_helper(_obj1); | |
3171 | if (_arg1 == NULL) { | |
3172 | return NULL; | |
3173 | } | |
3174 | } | |
3175 | { | |
3176 | _arg0 = PyList_Size(_obj1); | |
3177 | } | |
3178 | _result = (wxAcceleratorTable *)new_wxAcceleratorTable(_arg0,_arg1); | |
3179 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorTable_p"); | |
3180 | _resultobj = Py_BuildValue("s",_ptemp); | |
3181 | { | |
3182 | delete [] _arg1; | |
3183 | } | |
3184 | return _resultobj; | |
3185 | } | |
3186 | ||
70551f47 | 3187 | static PyMethodDef misccMethods[] = { |
faf3cb35 RD |
3188 | { "new_wxAcceleratorTable", _wrap_new_wxAcceleratorTable, 1 }, |
3189 | { "wxAcceleratorEntry_GetCommand", _wrap_wxAcceleratorEntry_GetCommand, 1 }, | |
3190 | { "wxAcceleratorEntry_GetKeyCode", _wrap_wxAcceleratorEntry_GetKeyCode, 1 }, | |
3191 | { "wxAcceleratorEntry_GetFlags", _wrap_wxAcceleratorEntry_GetFlags, 1 }, | |
3192 | { "wxAcceleratorEntry_Set", _wrap_wxAcceleratorEntry_Set, 1 }, | |
3193 | { "new_wxAcceleratorEntry", _wrap_new_wxAcceleratorEntry, 1 }, | |
105e45b9 RD |
3194 | { "wxRegionIterator_Next", _wrap_wxRegionIterator_Next, 1 }, |
3195 | { "wxRegionIterator_Reset", _wrap_wxRegionIterator_Reset, 1 }, | |
3196 | { "wxRegionIterator_HaveRects", _wrap_wxRegionIterator_HaveRects, 1 }, | |
3197 | { "wxRegionIterator_GetRect", _wrap_wxRegionIterator_GetRect, 1 }, | |
3198 | { "wxRegionIterator_GetHeight", _wrap_wxRegionIterator_GetHeight, 1 }, | |
3199 | { "wxRegionIterator_GetH", _wrap_wxRegionIterator_GetH, 1 }, | |
3200 | { "wxRegionIterator_GetWidth", _wrap_wxRegionIterator_GetWidth, 1 }, | |
3201 | { "wxRegionIterator_GetW", _wrap_wxRegionIterator_GetW, 1 }, | |
3202 | { "wxRegionIterator_GetY", _wrap_wxRegionIterator_GetY, 1 }, | |
3203 | { "wxRegionIterator_GetX", _wrap_wxRegionIterator_GetX, 1 }, | |
3204 | { "delete_wxRegionIterator", _wrap_delete_wxRegionIterator, 1 }, | |
3205 | { "new_wxRegionIterator", _wrap_new_wxRegionIterator, 1 }, | |
3206 | { "wxRegion_Xor", _wrap_wxRegion_Xor, 1 }, | |
3207 | { "wxRegion_Union", _wrap_wxRegion_Union, 1 }, | |
3208 | { "wxRegion_Subtract", _wrap_wxRegion_Subtract, 1 }, | |
3209 | { "wxRegion_Intersect", _wrap_wxRegion_Intersect, 1 }, | |
3210 | { "wxRegion_GetBox", _wrap_wxRegion_GetBox, 1 }, | |
3211 | { "wxRegion_ContainsRect", _wrap_wxRegion_ContainsRect, 1 }, | |
3212 | { "wxRegion_ContainsPoint", _wrap_wxRegion_ContainsPoint, 1 }, | |
3213 | { "wxRegion_Contains", _wrap_wxRegion_Contains, 1 }, | |
3214 | { "wxRegion_Clear", _wrap_wxRegion_Clear, 1 }, | |
3215 | { "delete_wxRegion", _wrap_delete_wxRegion, 1 }, | |
3216 | { "new_wxRegion", _wrap_new_wxRegion, 1 }, | |
70551f47 RD |
3217 | { "wxLayoutConstraints_width_get", _wrap_wxLayoutConstraints_width_get, 1 }, |
3218 | { "wxLayoutConstraints_top_get", _wrap_wxLayoutConstraints_top_get, 1 }, | |
3219 | { "wxLayoutConstraints_right_get", _wrap_wxLayoutConstraints_right_get, 1 }, | |
3220 | { "wxLayoutConstraints_left_get", _wrap_wxLayoutConstraints_left_get, 1 }, | |
3221 | { "wxLayoutConstraints_height_get", _wrap_wxLayoutConstraints_height_get, 1 }, | |
3222 | { "wxLayoutConstraints_centreY_get", _wrap_wxLayoutConstraints_centreY_get, 1 }, | |
3223 | { "wxLayoutConstraints_centreX_get", _wrap_wxLayoutConstraints_centreX_get, 1 }, | |
3224 | { "wxLayoutConstraints_bottom_get", _wrap_wxLayoutConstraints_bottom_get, 1 }, | |
3225 | { "new_wxLayoutConstraints", _wrap_new_wxLayoutConstraints, 1 }, | |
3226 | { "wxIndividualLayoutConstraint_Set", _wrap_wxIndividualLayoutConstraint_Set, 1 }, | |
3227 | { "wxIndividualLayoutConstraint_SameAs", _wrap_wxIndividualLayoutConstraint_SameAs, 1 }, | |
3228 | { "wxIndividualLayoutConstraint_RightOf", _wrap_wxIndividualLayoutConstraint_RightOf, 1 }, | |
3229 | { "wxIndividualLayoutConstraint_PercentOf", _wrap_wxIndividualLayoutConstraint_PercentOf, 1 }, | |
3230 | { "wxIndividualLayoutConstraint_LeftOf", _wrap_wxIndividualLayoutConstraint_LeftOf, 1 }, | |
3231 | { "wxIndividualLayoutConstraint_Unconstrained", _wrap_wxIndividualLayoutConstraint_Unconstrained, 1 }, | |
3232 | { "wxIndividualLayoutConstraint_Below", _wrap_wxIndividualLayoutConstraint_Below, 1 }, | |
3233 | { "wxIndividualLayoutConstraint_AsIs", _wrap_wxIndividualLayoutConstraint_AsIs, 1 }, | |
3234 | { "wxIndividualLayoutConstraint_Absolute", _wrap_wxIndividualLayoutConstraint_Absolute, 1 }, | |
3235 | { "wxIndividualLayoutConstraint_Above", _wrap_wxIndividualLayoutConstraint_Above, 1 }, | |
3236 | { "wxPyTimer_Stop", _wrap_wxPyTimer_Stop, 1 }, | |
3237 | { "wxPyTimer_Start", _wrap_wxPyTimer_Start, 1 }, | |
3238 | { "wxPyTimer_Interval", _wrap_wxPyTimer_Interval, 1 }, | |
3239 | { "delete_wxPyTimer", _wrap_delete_wxPyTimer, 1 }, | |
3240 | { "new_wxPyTimer", _wrap_new_wxPyTimer, 1 }, | |
3241 | { "wxRect_height_get", _wrap_wxRect_height_get, 1 }, | |
3242 | { "wxRect_height_set", _wrap_wxRect_height_set, 1 }, | |
3243 | { "wxRect_width_get", _wrap_wxRect_width_get, 1 }, | |
3244 | { "wxRect_width_set", _wrap_wxRect_width_set, 1 }, | |
3245 | { "wxRect_y_get", _wrap_wxRect_y_get, 1 }, | |
3246 | { "wxRect_y_set", _wrap_wxRect_y_set, 1 }, | |
3247 | { "wxRect_x_get", _wrap_wxRect_x_get, 1 }, | |
3248 | { "wxRect_x_set", _wrap_wxRect_x_set, 1 }, | |
3249 | { "wxRect_GetRight", _wrap_wxRect_GetRight, 1 }, | |
3250 | { "wxRect_GetBottom", _wrap_wxRect_GetBottom, 1 }, | |
3251 | { "wxRect_GetTop", _wrap_wxRect_GetTop, 1 }, | |
3252 | { "wxRect_GetLeft", _wrap_wxRect_GetLeft, 1 }, | |
3253 | { "wxRect_GetSize", _wrap_wxRect_GetSize, 1 }, | |
3254 | { "wxRect_GetPosition", _wrap_wxRect_GetPosition, 1 }, | |
3255 | { "wxRect_SetHeight", _wrap_wxRect_SetHeight, 1 }, | |
3256 | { "wxRect_GetHeight", _wrap_wxRect_GetHeight, 1 }, | |
3257 | { "wxRect_SetWidth", _wrap_wxRect_SetWidth, 1 }, | |
3258 | { "wxRect_GetWidth", _wrap_wxRect_GetWidth, 1 }, | |
3259 | { "wxRect_SetY", _wrap_wxRect_SetY, 1 }, | |
3260 | { "wxRect_GetY", _wrap_wxRect_GetY, 1 }, | |
3261 | { "wxRect_SetX", _wrap_wxRect_SetX, 1 }, | |
3262 | { "wxRect_GetX", _wrap_wxRect_GetX, 1 }, | |
3263 | { "delete_wxRect", _wrap_delete_wxRect, 1 }, | |
3264 | { "new_wxRect", _wrap_new_wxRect, 1 }, | |
3265 | { "wxPoint___str__", _wrap_wxPoint___str__, 1 }, | |
3266 | { "wxPoint_Set", _wrap_wxPoint_Set, 1 }, | |
3267 | { "delete_wxPoint", _wrap_delete_wxPoint, 1 }, | |
3268 | { "new_wxPoint", _wrap_new_wxPoint, 1 }, | |
3269 | { "wxPoint_y_get", _wrap_wxPoint_y_get, 1 }, | |
3270 | { "wxPoint_y_set", _wrap_wxPoint_y_set, 1 }, | |
3271 | { "wxPoint_x_get", _wrap_wxPoint_x_get, 1 }, | |
3272 | { "wxPoint_x_set", _wrap_wxPoint_x_set, 1 }, | |
3273 | { "delete_wxRealPoint", _wrap_delete_wxRealPoint, 1 }, | |
3274 | { "new_wxRealPoint", _wrap_new_wxRealPoint, 1 }, | |
3275 | { "wxRealPoint_y_get", _wrap_wxRealPoint_y_get, 1 }, | |
3276 | { "wxRealPoint_y_set", _wrap_wxRealPoint_y_set, 1 }, | |
3277 | { "wxRealPoint_x_get", _wrap_wxRealPoint_x_get, 1 }, | |
3278 | { "wxRealPoint_x_set", _wrap_wxRealPoint_x_set, 1 }, | |
3279 | { "wxSize___str__", _wrap_wxSize___str__, 1 }, | |
3280 | { "wxSize_GetHeight", _wrap_wxSize_GetHeight, 1 }, | |
3281 | { "wxSize_GetWidth", _wrap_wxSize_GetWidth, 1 }, | |
3282 | { "wxSize_Set", _wrap_wxSize_Set, 1 }, | |
3283 | { "delete_wxSize", _wrap_delete_wxSize, 1 }, | |
3284 | { "new_wxSize", _wrap_new_wxSize, 1 }, | |
3285 | { "wxSize_height_get", _wrap_wxSize_height_get, 1 }, | |
3286 | { "wxSize_height_set", _wrap_wxSize_height_set, 1 }, | |
3287 | { "wxSize_width_get", _wrap_wxSize_width_get, 1 }, | |
3288 | { "wxSize_width_set", _wrap_wxSize_width_set, 1 }, | |
3289 | { "wxResourceParseString", _wrap_wxResourceParseString, 1 }, | |
3290 | { "wxResourceParseFile", _wrap_wxResourceParseFile, 1 }, | |
3291 | { "wxResourceParseData", _wrap_wxResourceParseData, 1 }, | |
3292 | { "wxResourceGetIdentifier", _wrap_wxResourceGetIdentifier, 1 }, | |
3293 | { "wxResourceCreateMenuBar", _wrap_wxResourceCreateMenuBar, 1 }, | |
3294 | { "wxResourceCreateIcon", _wrap_wxResourceCreateIcon, 1 }, | |
3295 | { "wxResourceCreateBitmap", _wrap_wxResourceCreateBitmap, 1 }, | |
3296 | { "wxResourceClear", _wrap_wxResourceClear, 1 }, | |
3297 | { "wxResourceAddIdentifier", _wrap_wxResourceAddIdentifier, 1 }, | |
3298 | { "wxGetResource", _wrap_wxGetResource, 1 }, | |
3299 | { "wxYield", _wrap_wxYield, 1 }, | |
3300 | { "wxNow", _wrap_wxNow, 1 }, | |
3301 | { "wxIsBusy", _wrap_wxIsBusy, 1 }, | |
3302 | { "wxGetMousePosition", _wrap_wxGetMousePosition, 1 }, | |
3303 | { "wxFindWindowByName", _wrap_wxFindWindowByName, 1 }, | |
3304 | { "wxFindWindowByLabel", _wrap_wxFindWindowByLabel, 1 }, | |
3305 | { "wxExecute", _wrap_wxExecute, 1 }, | |
3306 | { "wxEndBusyCursor", _wrap_wxEndBusyCursor, 1 }, | |
3307 | { "wxDisplaySize", _wrap_wxDisplaySize, 1 }, | |
3308 | { "wxBell", _wrap_wxBell, 1 }, | |
3309 | { "wxBeginBusyCursor", _wrap_wxBeginBusyCursor, 1 }, | |
3310 | { "RegisterId", _wrap_RegisterId, 1 }, | |
3311 | { "NewId", _wrap_NewId, 1 }, | |
3312 | { "wxSetCursor", _wrap_wxSetCursor, 1 }, | |
3313 | { "wxDisplayDepth", _wrap_wxDisplayDepth, 1 }, | |
3314 | { "wxColourDisplay", _wrap_wxColourDisplay, 1 }, | |
3315 | { "wxMessageBox", _wrap_wxMessageBox, 1 }, | |
3316 | { "wxGetSingleChoiceIndex", _wrap_wxGetSingleChoiceIndex, 1 }, | |
3317 | { "wxGetSingleChoice", _wrap_wxGetSingleChoice, 1 }, | |
3318 | { "wxGetTextFromUser", _wrap_wxGetTextFromUser, 1 }, | |
3319 | { "wxFileSelector", _wrap_wxFileSelector, 1 }, | |
3320 | { NULL, NULL } | |
3321 | }; | |
3322 | static PyObject *SWIG_globals; | |
3323 | #ifdef __cplusplus | |
3324 | extern "C" | |
3325 | #endif | |
3326 | SWIGEXPORT(void,initmiscc)() { | |
3327 | PyObject *m, *d; | |
3328 | SWIG_globals = SWIG_newvarlink(); | |
3329 | m = Py_InitModule("miscc", misccMethods); | |
3330 | d = PyModule_GetDict(m); | |
3331 | PyDict_SetItemString(d,"wxLeft", PyInt_FromLong((long) wxLeft)); | |
3332 | PyDict_SetItemString(d,"wxTop", PyInt_FromLong((long) wxTop)); | |
3333 | PyDict_SetItemString(d,"wxRight", PyInt_FromLong((long) wxRight)); | |
3334 | PyDict_SetItemString(d,"wxBottom", PyInt_FromLong((long) wxBottom)); | |
3335 | PyDict_SetItemString(d,"wxWidth", PyInt_FromLong((long) wxWidth)); | |
3336 | PyDict_SetItemString(d,"wxHeight", PyInt_FromLong((long) wxHeight)); | |
3337 | PyDict_SetItemString(d,"wxCentre", PyInt_FromLong((long) wxCentre)); | |
3338 | PyDict_SetItemString(d,"wxCenter", PyInt_FromLong((long) wxCenter)); | |
3339 | PyDict_SetItemString(d,"wxCentreX", PyInt_FromLong((long) wxCentreX)); | |
3340 | PyDict_SetItemString(d,"wxCentreY", PyInt_FromLong((long) wxCentreY)); | |
3341 | PyDict_SetItemString(d,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained)); | |
3342 | PyDict_SetItemString(d,"wxAsIs", PyInt_FromLong((long) wxAsIs)); | |
3343 | PyDict_SetItemString(d,"wxPercentOf", PyInt_FromLong((long) wxPercentOf)); | |
3344 | PyDict_SetItemString(d,"wxAbove", PyInt_FromLong((long) wxAbove)); | |
3345 | PyDict_SetItemString(d,"wxBelow", PyInt_FromLong((long) wxBelow)); | |
3346 | PyDict_SetItemString(d,"wxLeftOf", PyInt_FromLong((long) wxLeftOf)); | |
3347 | PyDict_SetItemString(d,"wxRightOf", PyInt_FromLong((long) wxRightOf)); | |
3348 | PyDict_SetItemString(d,"wxSameAs", PyInt_FromLong((long) wxSameAs)); | |
3349 | PyDict_SetItemString(d,"wxAbsolute", PyInt_FromLong((long) wxAbsolute)); | |
105e45b9 RD |
3350 | PyDict_SetItemString(d,"wxOutRegion", PyInt_FromLong((long) wxOutRegion)); |
3351 | PyDict_SetItemString(d,"wxPartRegion", PyInt_FromLong((long) wxPartRegion)); | |
3352 | PyDict_SetItemString(d,"wxInRegion", PyInt_FromLong((long) wxInRegion)); | |
70551f47 RD |
3353 | /* |
3354 | * These are the pointer type-equivalency mappings. | |
3355 | * (Used by the SWIG pointer type-checker). | |
3356 | */ | |
faf3cb35 | 3357 | SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0); |
70551f47 | 3358 | SWIG_RegisterMapping("_signed_long","_long",0); |
105e45b9 | 3359 | SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0); |
70551f47 RD |
3360 | SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0); |
3361 | SWIG_RegisterMapping("_byte","_unsigned_char",0); | |
3362 | SWIG_RegisterMapping("_long","_unsigned_long",0); | |
3363 | SWIG_RegisterMapping("_long","_signed_long",0); | |
faf3cb35 | 3364 | SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0); |
70551f47 RD |
3365 | SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0); |
3366 | SWIG_RegisterMapping("_uint","_unsigned_int",0); | |
3367 | SWIG_RegisterMapping("_uint","_int",0); | |
3368 | SWIG_RegisterMapping("_uint","_wxWindowID",0); | |
3369 | SWIG_RegisterMapping("_wxRect","_class_wxRect",0); | |
3370 | SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0); | |
3371 | SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0); | |
3372 | SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0); | |
3373 | SWIG_RegisterMapping("_EBool","_signed_int",0); | |
3374 | SWIG_RegisterMapping("_EBool","_int",0); | |
3375 | SWIG_RegisterMapping("_EBool","_wxWindowID",0); | |
105e45b9 | 3376 | SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0); |
70551f47 RD |
3377 | SWIG_RegisterMapping("_unsigned_long","_long",0); |
3378 | SWIG_RegisterMapping("_class_wxRect","_wxRect",0); | |
3379 | SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0); | |
faf3cb35 | 3380 | SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0); |
70551f47 RD |
3381 | SWIG_RegisterMapping("_signed_int","_EBool",0); |
3382 | SWIG_RegisterMapping("_signed_int","_wxWindowID",0); | |
3383 | SWIG_RegisterMapping("_signed_int","_int",0); | |
3384 | SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0); | |
3385 | SWIG_RegisterMapping("_WXTYPE","_short",0); | |
3386 | SWIG_RegisterMapping("_WXTYPE","_signed_short",0); | |
3387 | SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0); | |
3388 | SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0); | |
3389 | SWIG_RegisterMapping("_unsigned_short","_short",0); | |
3390 | SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0); | |
3391 | SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0); | |
3392 | SWIG_RegisterMapping("_signed_short","_WXTYPE",0); | |
3393 | SWIG_RegisterMapping("_signed_short","_short",0); | |
faf3cb35 | 3394 | SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0); |
70551f47 RD |
3395 | SWIG_RegisterMapping("_unsigned_char","_byte",0); |
3396 | SWIG_RegisterMapping("_unsigned_int","_uint",0); | |
3397 | SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0); | |
3398 | SWIG_RegisterMapping("_unsigned_int","_int",0); | |
3399 | SWIG_RegisterMapping("_short","_WXTYPE",0); | |
3400 | SWIG_RegisterMapping("_short","_unsigned_short",0); | |
3401 | SWIG_RegisterMapping("_short","_signed_short",0); | |
3402 | SWIG_RegisterMapping("_wxWindowID","_EBool",0); | |
3403 | SWIG_RegisterMapping("_wxWindowID","_uint",0); | |
3404 | SWIG_RegisterMapping("_wxWindowID","_int",0); | |
3405 | SWIG_RegisterMapping("_wxWindowID","_signed_int",0); | |
3406 | SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0); | |
3407 | SWIG_RegisterMapping("_int","_EBool",0); | |
3408 | SWIG_RegisterMapping("_int","_uint",0); | |
3409 | SWIG_RegisterMapping("_int","_wxWindowID",0); | |
3410 | SWIG_RegisterMapping("_int","_unsigned_int",0); | |
3411 | SWIG_RegisterMapping("_int","_signed_int",0); | |
3412 | SWIG_RegisterMapping("_wxSize","_class_wxSize",0); | |
105e45b9 | 3413 | SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0); |
70551f47 | 3414 | SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0); |
105e45b9 | 3415 | SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0); |
70551f47 RD |
3416 | SWIG_RegisterMapping("_class_wxSize","_wxSize",0); |
3417 | } |