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